Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Unified Diff: content/test/data/accessibility/readme.txt

Issue 1552683002: Enable DumpAccessibilityTree tests to use cross-process iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebaseline last Android test Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/test/data/accessibility/readme.txt
diff --git a/content/test/data/accessibility/readme.txt b/content/test/data/accessibility/readme.txt
index 6f90c28ef1ed3cd09b7fd173cb9f49b813c773c6..4d89e1a4cfef904ebee9d5f148a496c543f85558 100644
--- a/content/test/data/accessibility/readme.txt
+++ b/content/test/data/accessibility/readme.txt
@@ -85,12 +85,19 @@ document before it runs the test. In that case you can use a special
that should be present in the dump when the document is ready. The system
will keep blocking until that text appears.
+You can add as many @WAIT-FOR: directives as you want, the test won't finish
+until all strings appear.
+
To skip dumping a particular element, make its accessible name equal to
@NO_DUMP, for example <div aria-label="@NO_DUMP"></div>.
To skip dumping all children of a particular element, make its accessible
name equal to @NO_CHILDREN_DUMP.
+To load an iframe from a different site, forcing it into a different process,
+use /cross-site/HOSTNAME/ in the url, for example:
+ <iframe src="cross-site/1.com/accessibility/html/frame.html"></iframe>
+
Generating expectations and rebaselining:
If you want to populate the expectation file directly rather than typing it

Powered by Google App Engine
This is Rietveld 408576698