Commit 405209d1 authored by Nektarios Paisios's avatar Nektarios Paisios Committed by Commit Bot

Adds a method in AccessibilityBrowserTest that loads an HTML page and waits until ready

Instead of having to create an AccessibilityNotificationWaiter at the start of every test and wait on it,
this method makes loading an HTML document easier and removes repeated code from tests.

This patch also switches to using the modern C++ raw string litterals
which have the advantage that quotes and line breaks don't need to be escaped,
and the HTML could be formatted the same way as in an HTML file.

R=aboxhall@chromium.org

Change-Id: Iaf8e59be8eb7b9bf2b0ca90caaa7cb6c3380622a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1696423
Auto-Submit: Nektarios Paisios <nektar@chromium.org>
Commit-Queue: Alice Boxhall <aboxhall@chromium.org>
Reviewed-by: default avatarAlice Boxhall <aboxhall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#676295}
parent 1a41c38d
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment