forked from mirrors/gecko-dev
Bug 1867939, part 6: Enabled tests for Text Fragments which pass now. r=dom-core,hsivonen
This test sets the pref `dom.text_fragments.enabled` to true for web-platform tests in - /scroll-to-text-fragment - / css/css-pseudo (which contains various tests for `::target-text` Differential Revision: https://phabricator.services.mozilla.com/D195690
This commit is contained in:
parent
fda59c7c38
commit
058828f027
35 changed files with 123 additions and 646 deletions
|
|
@ -1,2 +1,2 @@
|
|||
prefs: [dom.css_pseudo_element.enabled:true, layout.css.animation-composition.enabled:true, layout.css.floating-first-letter.tight-glyph-bounds:0, dom.customHighlightAPI.enabled:true, layout.css.modern-range-pseudos.enabled:true]
|
||||
prefs: [dom.css_pseudo_element.enabled:true, layout.css.animation-composition.enabled:true, layout.css.floating-first-letter.tight-glyph-bounds:0, dom.customHighlightAPI.enabled:true, layout.css.modern-range-pseudos.enabled:true, dom.text_fragments.enabled:true]
|
||||
leak-threshold: [tab:51200]
|
||||
|
|
|
|||
|
|
@ -1,12 +1,6 @@
|
|||
[highlight-currentcolor-computed-visited.html]
|
||||
expected:
|
||||
if (os == "android") and fission: [OK, TIMEOUT]
|
||||
[getComputedStyle() for ::target-text at #target1]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::target-text at #target2]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::spelling-error at #target1]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,6 @@
|
|||
[highlight-currentcolor-computed.html]
|
||||
expected:
|
||||
if (os == "android") and fission: [OK, TIMEOUT]
|
||||
[getComputedStyle() for ::target-text at #target1]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::target-text at #target2]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::spelling-error at #target1]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +0,0 @@
|
|||
[highlight-paired-cascade-004.html]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,6 +1,4 @@
|
|||
[highlight-pseudos-computed.html]
|
||||
[getComputedStyle() for ::target-text]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::spelling-error]
|
||||
expected: FAIL
|
||||
|
|
|
|||
|
|
@ -1,12 +1,6 @@
|
|||
[highlight-pseudos-visited-computed-001.html]
|
||||
expected:
|
||||
if (os == "android") and fission: [OK, TIMEOUT]
|
||||
[getComputedStyle() for ::target-text at #target1]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::target-text at #target2]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::spelling-error at #target1]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
|||
|
|
@ -1,16 +1,4 @@
|
|||
[highlight-pseudos.html]
|
||||
["::target-text" should be a valid selector]
|
||||
expected: FAIL
|
||||
|
||||
[".a::target-text" should be a valid selector]
|
||||
expected: FAIL
|
||||
|
||||
["div ::target-text" should be a valid selector]
|
||||
expected: FAIL
|
||||
|
||||
["::part(my-part)::target-text" should be a valid selector]
|
||||
expected: FAIL
|
||||
|
||||
["::spelling-error" should be a valid selector]
|
||||
expected: FAIL
|
||||
|
||||
|
|
@ -34,4 +22,3 @@
|
|||
|
||||
["::part(my-part)::grammar-error" should be a valid selector]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +0,0 @@
|
|||
[target-text-001.html]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
[target-text-002.html]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
[target-text-003.html]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,2 +1,2 @@
|
|||
[target-text-004.html]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
|
|
|||
|
|
@ -1,2 +0,0 @@
|
|||
[target-text-005.html]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
[target-text-006.html]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,2 +1,2 @@
|
|||
[target-text-007.html]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
[target-text-008.html]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
[target-text-009.html]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
[target-text-010.html]
|
||||
expected: TIMEOUT
|
||||
fuzzy: maxDifference=0-255;totalPixels=0-2
|
||||
|
|
|
|||
|
|
@ -1,2 +0,0 @@
|
|||
[target-text-dynamic-001.html]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,2 +1,2 @@
|
|||
[target-text-dynamic-002.html]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
|
|
|||
|
|
@ -1,2 +0,0 @@
|
|||
[target-text-dynamic-003.html]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,2 +1,2 @@
|
|||
[target-text-dynamic-004.html]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
[target-text-text-decoration-001.html]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1753933
|
||||
implementation-status: backlog
|
||||
prefs: [dom.text_fragments.enabled:true]
|
||||
|
|
|
|||
|
|
@ -1,207 +1,9 @@
|
|||
[find-range-from-text-directive.html]
|
||||
expected:
|
||||
if os == "mac": [OK, TIMEOUT]
|
||||
[TIMEOUT, OK]
|
||||
[inverted range search.]
|
||||
expected:
|
||||
if os == "mac": [PASS, TIMEOUT, NOTRUN]
|
||||
if os == "linux": [PASS, NOTRUN, TIMEOUT]
|
||||
if os == "win": [PASS, TIMEOUT, NOTRUN]
|
||||
[NOTRUN, PASS, TIMEOUT]
|
||||
|
||||
[Suffix comes before |end|.]
|
||||
expected:
|
||||
if os == "win": [PASS, NOTRUN, TIMEOUT]
|
||||
if os == "mac": [PASS, TIMEOUT, NOTRUN]
|
||||
[NOTRUN, PASS, TIMEOUT]
|
||||
|
||||
[Multiple overlapping prefixes.]
|
||||
expected: FAIL
|
||||
|
||||
[match doesn't immediately follow prefix.]
|
||||
expected:
|
||||
if os == "android": [NOTRUN, PASS, TIMEOUT]
|
||||
FAIL
|
||||
|
||||
[match doesn't immediately follow first prefix instance.]
|
||||
expected:
|
||||
if os == "android": [FAIL, TIMEOUT, NOTRUN, PASS]
|
||||
[FAIL, PASS, TIMEOUT, NOTRUN]
|
||||
|
||||
[Suffix must be end bounded.]
|
||||
expected:
|
||||
if os == "win": [PASS, NOTRUN, TIMEOUT]
|
||||
if os == "mac": [PASS, TIMEOUT, NOTRUN]
|
||||
[NOTRUN, PASS, TIMEOUT]
|
||||
|
||||
[non-existent exact match.]
|
||||
expected:
|
||||
if os == "android": [NOTRUN, PASS, TIMEOUT]
|
||||
[PASS, TIMEOUT, NOTRUN]
|
||||
|
||||
[non-existent range match.]
|
||||
expected:
|
||||
if os == "android": [NOTRUN, PASS, TIMEOUT]
|
||||
[PASS, TIMEOUT, NOTRUN]
|
||||
|
||||
[Multiple overlapping one letter prefixes.]
|
||||
expected: FAIL
|
||||
|
||||
[Content appears between match and suffix.]
|
||||
expected:
|
||||
if os == "win": [PASS, NOTRUN, TIMEOUT]
|
||||
if os == "mac": [PASS, TIMEOUT, NOTRUN]
|
||||
[NOTRUN, PASS]
|
||||
|
||||
[overlapping exact matches with suffix.]
|
||||
expected:
|
||||
if os == "android": [NOTRUN, FAIL, TIMEOUT]
|
||||
[FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Match with no suffix.]
|
||||
expected:
|
||||
if os == "mac": [FAIL, TIMEOUT, NOTRUN]
|
||||
if os == "win": [FAIL, NOTRUN, TIMEOUT]
|
||||
[NOTRUN, FAIL, TIMEOUT]
|
||||
|
||||
[Match text after prefix.]
|
||||
expected: FAIL
|
||||
|
||||
[Search invisible content between |end| and suffix.]
|
||||
expected:
|
||||
if os == "win": [FAIL, TIMEOUT, NOTRUN]
|
||||
if os == "mac": [FAIL, TIMEOUT, NOTRUN]
|
||||
[NOTRUN, FAIL, TIMEOUT]
|
||||
|
||||
[Range with preceeding suffix.]
|
||||
expected:
|
||||
if os == "linux": [NOTRUN, TIMEOUT, PASS]
|
||||
if os == "win": [PASS, TIMEOUT, NOTRUN]
|
||||
if os == "mac": [PASS, TIMEOUT, NOTRUN]
|
||||
[NOTRUN, PASS, TIMEOUT]
|
||||
|
||||
[no suffix forces |end| to be end bounded.]
|
||||
expected:
|
||||
if os == "android": [NOTRUN, PASS, TIMEOUT]
|
||||
[PASS, TIMEOUT, NOTRUN]
|
||||
|
||||
[|end| must be start bounded even if full range is word bounded.]
|
||||
expected:
|
||||
if os == "linux": [PASS, NOTRUN, TIMEOUT]
|
||||
if os == "win": [PASS, TIMEOUT, NOTRUN]
|
||||
if os == "mac": [PASS, TIMEOUT, NOTRUN]
|
||||
[NOTRUN, PASS, TIMEOUT]
|
||||
|
||||
[non-existent |end|.]
|
||||
expected:
|
||||
if os == "win": [PASS, TIMEOUT, NOTRUN]
|
||||
if os == "mac": [PASS, TIMEOUT, NOTRUN]
|
||||
[NOTRUN, PASS, TIMEOUT]
|
||||
|
||||
[suffix means |start| need not end on word boundary.]
|
||||
expected:
|
||||
if os == "linux": [FAIL, NOTRUN]
|
||||
FAIL
|
||||
|
||||
[Search invisible content between prefix and match.]
|
||||
expected: FAIL
|
||||
|
||||
[overlapping one letter exact matches with suffix.]
|
||||
expected:
|
||||
if os == "android": [NOTRUN, FAIL, TIMEOUT]
|
||||
[FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Basic smoke test - full word match.]
|
||||
[Search invisible content between |end| and suffix.]
|
||||
expected: FAIL
|
||||
|
||||
[matching range search.]
|
||||
expected:
|
||||
if os == "android": [NOTRUN, FAIL, TIMEOUT]
|
||||
[FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Prefix need not end on a word boundary.]
|
||||
expected: FAIL
|
||||
|
||||
[|start| doesn't need to start on word boundary.]
|
||||
expected:
|
||||
if os == "linux": [FAIL, NOTRUN]
|
||||
FAIL
|
||||
|
||||
[no-prefix; suffix means |start| need not end on word boundary.]
|
||||
expected:
|
||||
if os == "android": [NOTRUN, FAIL, TIMEOUT]
|
||||
[FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[no-prefix; |end| forces |start| to end on word boundary.]
|
||||
expected:
|
||||
if os == "android": [NOTRUN, TIMEOUT, PASS]
|
||||
[PASS, TIMEOUT, NOTRUN]
|
||||
|
||||
[no-prefix; no |end| or suffix forces |start| to end on word boundary.]
|
||||
expected:
|
||||
if os == "android": [NOTRUN, PASS, TIMEOUT]
|
||||
[PASS, TIMEOUT, NOTRUN]
|
||||
|
||||
[Non-existent suffix.]
|
||||
expected:
|
||||
if os == "win": [PASS, NOTRUN, TIMEOUT]
|
||||
if os == "mac": [PASS, TIMEOUT, NOTRUN]
|
||||
[NOTRUN, PASS, TIMEOUT]
|
||||
|
||||
[Suffix need not be start bounded.]
|
||||
expected:
|
||||
if os == "win": [FAIL, NOTRUN, TIMEOUT]
|
||||
if os == "mac": [FAIL, TIMEOUT, NOTRUN]
|
||||
[NOTRUN, FAIL, TIMEOUT]
|
||||
|
||||
[|end| must be start bounded.]
|
||||
expected:
|
||||
if os == "mac": [PASS, TIMEOUT, NOTRUN]
|
||||
if os == "linux": [PASS, NOTRUN, TIMEOUT]
|
||||
if os == "win": [PASS, TIMEOUT, NOTRUN]
|
||||
[NOTRUN, PASS, TIMEOUT]
|
||||
|
||||
[suffix means |end| need not be end bounded.]
|
||||
expected:
|
||||
if os == "win": [FAIL, TIMEOUT, NOTRUN]
|
||||
if os == "mac": [FAIL, TIMEOUT, NOTRUN]
|
||||
if os == "linux": [FAIL, NOTRUN, TIMEOUT]
|
||||
[NOTRUN, FAIL, TIMEOUT]
|
||||
|
||||
[|start| must start on a word boundary.]
|
||||
expected:
|
||||
if os == "android": [NOTRUN, PASS, TIMEOUT]
|
||||
[PASS, TIMEOUT, NOTRUN]
|
||||
|
||||
[Non-matching suffix search continues to prefix match.]
|
||||
expected:
|
||||
if os == "mac": [FAIL, NOTRUN, TIMEOUT]
|
||||
if os == "win": [FAIL, NOTRUN, TIMEOUT]
|
||||
[NOTRUN, FAIL, TIMEOUT]
|
||||
|
||||
[Range end matches correct suffix.]
|
||||
expected:
|
||||
if os == "mac": [FAIL, NOTRUN, TIMEOUT]
|
||||
[NOTRUN, FAIL, TIMEOUT]
|
||||
|
||||
[Non-matching suffix in first potential match.]
|
||||
expected:
|
||||
if os == "mac": [FAIL, TIMEOUT, NOTRUN]
|
||||
if os == "win": [FAIL, NOTRUN, TIMEOUT]
|
||||
[NOTRUN, FAIL, TIMEOUT]
|
||||
|
||||
[match doesn't immediately follow prefix.]
|
||||
expected: [PASS, TIMEOUT, NOTRUN]
|
||||
|
||||
[prefix with non-existent range match.]
|
||||
expected:
|
||||
if os == "linux": [PASS, TIMEOUT, NOTRUN]
|
||||
[PASS, TIMEOUT]
|
||||
|
||||
[no |end| or suffix forces |start| to end on word boundary.]
|
||||
expected:
|
||||
if os == "linux": [PASS, TIMEOUT]
|
||||
|
||||
[prefix with non-existent exact match.]
|
||||
expected:
|
||||
if os == "linux": [PASS, NOTRUN]
|
||||
expected: FAIL
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
[force-load-at-top.html]
|
||||
expected:
|
||||
if os == "linux": OK
|
||||
[OK, TIMEOUT]
|
||||
[force-load-at-top must block scroll on load from element fragment.]
|
||||
expected: [FAIL, PASS, TIMEOUT, NOTRUN]
|
||||
|
||||
|
|
@ -10,12 +7,6 @@
|
|||
if os == "win": [PASS, TIMEOUT, NOTRUN]
|
||||
if os == "mac": [PASS, TIMEOUT, NOTRUN]
|
||||
|
||||
[no-force-load-at-top must not block scroll on load from text fragment.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[no-force-load-at-top must not block scroll on load from text fragment with element fallback.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[no-force-load-at-top must not block scroll on load from element fragment.]
|
||||
expected: [PASS, TIMEOUT, NOTRUN]
|
||||
|
||||
|
|
@ -24,4 +15,7 @@
|
|||
|
||||
[force-load-at-top must block scroll on load from text fragment with element fallback.]
|
||||
expected:
|
||||
if os == "win": [PASS, TIMEOUT]
|
||||
FAIL
|
||||
|
||||
[force-load-at-top must block scroll on load from text fragment.]
|
||||
expected: FAIL
|
||||
|
|
|
|||
|
|
@ -1,32 +0,0 @@
|
|||
[idlharness.window.html]
|
||||
expected:
|
||||
if os == "android": [OK, TIMEOUT]
|
||||
[FragmentDirective interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
[FragmentDirective interface object length]
|
||||
expected: FAIL
|
||||
|
||||
[FragmentDirective interface object name]
|
||||
expected: FAIL
|
||||
|
||||
[FragmentDirective interface: existence and properties of interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[FragmentDirective interface: existence and properties of interface prototype object's "constructor" property]
|
||||
expected: FAIL
|
||||
|
||||
[FragmentDirective interface: existence and properties of interface prototype object's @@unscopables property]
|
||||
expected: FAIL
|
||||
|
||||
[Stringification of document.fragmentDirective]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: document must inherit property "fragmentDirective" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[FragmentDirective must be primary interface of document.fragmentDirective]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: attribute fragmentDirective]
|
||||
expected: FAIL
|
||||
|
|
@ -1,7 +1,3 @@
|
|||
[iframe-scroll.sub.html]
|
||||
expected: TIMEOUT
|
||||
[CROSS-ORIGIN: Text directive in iframe doesn't bubble to outer frame.]
|
||||
expected: TIMEOUT
|
||||
|
||||
[SAME-ORIGIN: Text directive in iframe bubbles to outer frame.]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
|
|
|||
|
|
@ -5,9 +5,6 @@
|
|||
[Navigate same-origin iframe via window.location]
|
||||
expected: FAIL
|
||||
|
||||
[Navigate cross-origin iframe via window.location]
|
||||
expected: FAIL
|
||||
|
||||
[Cross-origin with element-id fallback]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
|||
|
|
@ -1,21 +1,13 @@
|
|||
[non-html-documents.html]
|
||||
expected:
|
||||
if os == "android": [TIMEOUT, OK]
|
||||
TIMEOUT
|
||||
[Text directive allowed in text/plain]
|
||||
expected:
|
||||
if os == "android": [FAIL, TIMEOUT]
|
||||
NOTRUN
|
||||
|
||||
[Text directive blocked in application/xml]
|
||||
expected:
|
||||
if os == "android": [TIMEOUT, NOTRUN]
|
||||
NOTRUN
|
||||
|
||||
[Text directive allowed in text/html]
|
||||
expected: TIMEOUT
|
||||
[Text directive blocked in text/javascript]
|
||||
expected: FAIL
|
||||
|
||||
[Text directive blocked in application/json]
|
||||
expected:
|
||||
if os == "android": PASS
|
||||
TIMEOUT
|
||||
expected: [TIMEOUT, FAIL, NOTRUN]
|
||||
|
||||
[Text directive allowed in text/plain]
|
||||
expected: [NOTRUN, FAIL, TIMEOUT, PASS]
|
||||
|
||||
[Text directive blocked in application/xml]
|
||||
expected: [NOTRUN, FAIL, TIMEOUT]
|
||||
|
|
|
|||
|
|
@ -1,31 +1,15 @@
|
|||
[percent-encoding.html]
|
||||
expected:
|
||||
if os == "win": [OK, TIMEOUT]
|
||||
[Test navigation with fragment: Percent-encoded "%" char..]
|
||||
[Test navigation with fragment: Percent-encoding limited to two digits..]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Single digit percent-encoding is invalid..]
|
||||
expected:
|
||||
if os == "win": [PASS, TIMEOUT]
|
||||
if os == "android": [PASS, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Percent-encoding limited to two digits..]
|
||||
expected:
|
||||
if os == "win": [FAIL, NOTRUN]
|
||||
FAIL
|
||||
|
||||
[Test navigation with fragment: Percent-encoded "%%F".]
|
||||
expected:
|
||||
if os == "win": [FAIL, TIMEOUT, NOTRUN]
|
||||
if os == "linux": [FAIL, TIMEOUT, NOTRUN]
|
||||
FAIL
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Percent-encoding multibyte codepoint (CHECKMARK)..]
|
||||
expected:
|
||||
if os == "win": [FAIL, TIMEOUT, NOTRUN]
|
||||
if os == "linux": [FAIL, TIMEOUT, NOTRUN]
|
||||
FAIL
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Percent char without hex digits is invalid..]
|
||||
expected: [FAIL, PASS]
|
||||
|
||||
[Test navigation with fragment: Percent char followed by percent char is invalid..]
|
||||
expected:
|
||||
if os == "android": [PASS, TIMEOUT]
|
||||
expected: [FAIL, PASS]
|
||||
|
|
|
|||
|
|
@ -1,11 +1,8 @@
|
|||
[same-document-tests.html]
|
||||
expected:
|
||||
if os == "android": [OK, TIMEOUT]
|
||||
[Basic text directive navigation]
|
||||
expected: FAIL
|
||||
|
||||
[OK, TIMEOUT]
|
||||
[Basic element id fallback]
|
||||
expected: FAIL
|
||||
|
||||
[Malformed text directive element id fallback]
|
||||
expected: FAIL
|
||||
expected: [FAIL, TIMEOUT]
|
||||
|
|
|
|||
|
|
@ -1,9 +1,3 @@
|
|||
[scroll-to-text-fragment-api.html]
|
||||
disabled:
|
||||
if (os == "win") and (processor == "x86_64"): random test
|
||||
[Scroll to text is feature detectable via document.fragmentDirective]
|
||||
expected: FAIL
|
||||
|
||||
[Setting document.fragmentDirective has no effect]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,3 @@
|
|||
[scroll-to-text-fragment-same-doc.html]
|
||||
[Activated for same-document window.location setter]
|
||||
expected: FAIL
|
||||
|
||||
[Activated for same-document window.location.replace]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
|||
|
|
@ -1,24 +1,17 @@
|
|||
[scroll-to-text-fragment-security.sub.html]
|
||||
expected:
|
||||
if os == "android": [TIMEOUT, OK]
|
||||
[OK, TIMEOUT]
|
||||
[Test that a text fragment directive requires a user activation (user_activation=true).]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test that a text fragment directive is not activated when there is a window opener (noopener=true).]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test that a text fragment directive requires a user activation (user_activation=false).]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
expected: [OK, TIMEOUT]
|
||||
|
||||
[Test that a text fragment directive is not activated within an iframe.]
|
||||
expected:
|
||||
if os == "linux": [FAIL, NOTRUN, TIMEOUT]
|
||||
if os == "android": [NOTRUN, FAIL, TIMEOUT]
|
||||
[FAIL, TIMEOUT, NOTRUN]
|
||||
expected: FAIL
|
||||
|
||||
[Test that a text fragment directive is not activated when there is a window opener (noopener=false).]
|
||||
expected:
|
||||
if os == "linux": [FAIL, NOTRUN, TIMEOUT]
|
||||
if os == "android": [TIMEOUT, FAIL, NOTRUN]
|
||||
[FAIL, TIMEOUT, NOTRUN]
|
||||
expected: FAIL
|
||||
|
||||
[Test that a text fragment directive is not activated when there is a window opener (noopener=true).]
|
||||
expected: [FAIL, PASS]
|
||||
|
||||
[Test that a text fragment directive requires a user activation (user_activation=false).]
|
||||
expected: FAIL
|
||||
|
||||
[Test that a text fragment directive requires a user activation (user_activation=true).]
|
||||
expected: [FAIL, PASS]
|
||||
|
|
|
|||
|
|
@ -1,275 +1,88 @@
|
|||
[scroll-to-text-fragment.html]
|
||||
expected:
|
||||
if os == "mac": [OK, TIMEOUT]
|
||||
if os == "win": [OK, TIMEOUT]
|
||||
[TIMEOUT, OK]
|
||||
[Test navigation with fragment: Fragment directive with percent encoded syntactical characters "&,-" should match text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Multiple match text directive disambiguated by suffix should match the suffixed text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Generic fragment directive with existing element fragment should scroll to element.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Exact text with prefix should match text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Non-matching text directive with existing element fragment should scroll to element.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Exact text with suffix should match text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text directive should match when context terms are separated by node boundaries.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Non-matching text directive with nonexistent element fragment should not match and not scroll.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Non-whole-word exact text with spaces should not match.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text range with prefix and suffix should match text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text directive should not scroll to hidden text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Fragment directive with percent encoded non-ASCII unicode character should match text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Multiple match text directive disambiguated by prefix should match the prefixed text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text range with no context should match text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Uppercase TEXT directive should not parse as a text directive.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text range with prefix and nonmatching suffix should not match.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Multiple non-whole-word exact texts should not match.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text directive should match text within shadow DOM.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text range with non-matching startText should not match.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text directive with invalid syntax (context terms without "-") should not parse as a text directive.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Multiple match text directive disambiguated by prefix and suffix should match the text with the given context.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text directive with existing element fragment should match and scroll into view text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text range with prefix should match text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text range with suffix should match text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text directive with nonexistent element fragment should match and scroll into view text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text range with nonmatching prefix and matching suffix should not match.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Exact text with prefix and suffix should match text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Fragment directive with all TextMatchChars should match text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Exact text with percent encoded spaces should match text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: A non-matching text directive followed by a matching text directive should match and scroll into view the second text directive.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text directive should not scroll to display none text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Multiple text directives and a non-text directive should match text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Multiple matching exact texts should match text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text range with non-matching endText should not match.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Exact text with no context should match text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text directive should horizontally scroll into view.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text directive followed by non-text directive should match text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Fragment directive with percent encoded syntactical characters "&,-" should match text.]
|
||||
expected:
|
||||
if os == "android": [TIMEOUT, NOTRUN, FAIL]
|
||||
[FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Non-matching text directive with existing element fragment should scroll to element.]
|
||||
expected:
|
||||
if os == "android": [NOTRUN, FAIL, TIMEOUT]
|
||||
[FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Generic fragment directive with existing element fragment should scroll to element.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Exact text with prefix should match text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Multiple match text directive disambiguated by suffix should match the suffixed text.]
|
||||
expected:
|
||||
if os == "android": [NOTRUN, FAIL, TIMEOUT]
|
||||
[FAIL, TIMEOUT, NOTRUN]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Exact text with suffix should match text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text directive should match when context terms are separated by node boundaries.]
|
||||
expected:
|
||||
if os == "win": [FAIL, TIMEOUT, NOTRUN]
|
||||
if os == "mac": [FAIL, TIMEOUT, NOTRUN]
|
||||
[NOTRUN, FAIL, TIMEOUT]
|
||||
|
||||
[Test navigation with fragment: Non-matching text directive with nonexistent element fragment should not match and not scroll.]
|
||||
expected:
|
||||
if os == "android": [NOTRUN, FAIL, TIMEOUT]
|
||||
[FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Non-whole-word exact text with spaces should not match.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text range with prefix and suffix should match text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text directive should not scroll to hidden text.]
|
||||
expected:
|
||||
if os == "mac": [FAIL, TIMEOUT, NOTRUN]
|
||||
if os == "win": [FAIL, TIMEOUT, NOTRUN]
|
||||
[NOTRUN, FAIL, TIMEOUT]
|
||||
|
||||
[Test navigation with fragment: Multiple match text directive disambiguated by prefix should match the prefixed text.]
|
||||
expected:
|
||||
if os == "android": [NOTRUN, FAIL, TIMEOUT]
|
||||
[FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text range with no context should match text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text range with prefix and nonmatching suffix should not match.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Multiple non-whole-word exact texts should not match.]
|
||||
expected:
|
||||
if os == "android": [NOTRUN, FAIL, TIMEOUT]
|
||||
[FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Multiple text directives and a non-text directive should match text.]
|
||||
expected:
|
||||
if os == "android": [NOTRUN, FAIL, TIMEOUT]
|
||||
[FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text directive should match text within shadow DOM.]
|
||||
expected:
|
||||
if os == "win": [FAIL, TIMEOUT, NOTRUN]
|
||||
if os == "mac": [FAIL, TIMEOUT, NOTRUN]
|
||||
[NOTRUN, FAIL, TIMEOUT]
|
||||
|
||||
[Test navigation with fragment: Text range with non-matching startText should not match.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text directive with invalid syntax (context terms without "-") should not parse as a text directive.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text directive with existing element fragment should match and scroll into view text.]
|
||||
expected:
|
||||
if os == "android": [NOTRUN, FAIL, TIMEOUT]
|
||||
[FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Multiple match text directive disambiguated by prefix and suffix should match the text with the given context.]
|
||||
expected:
|
||||
if os == "linux": [TIMEOUT, FAIL, NOTRUN]
|
||||
if os == "android": [NOTRUN, FAIL, TIMEOUT]
|
||||
[FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text range with non-matching endText should not match.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text range with prefix should match text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text range with suffix should match text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text directive with nonexistent element fragment should match and scroll into view text.]
|
||||
expected:
|
||||
if os == "android": [NOTRUN, FAIL, TIMEOUT]
|
||||
[FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text range with nonmatching prefix and matching suffix should not match.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Exact text with prefix and suffix should match text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Fragment directive with all TextMatchChars should match text.]
|
||||
expected:
|
||||
if os == "android": [NOTRUN, FAIL, TIMEOUT]
|
||||
[FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Exact text with percent encoded spaces should match text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: A non-matching text directive followed by a matching text directive should match and scroll into view the second text directive.]
|
||||
expected:
|
||||
if os == "android": [NOTRUN, FAIL, TIMEOUT]
|
||||
[FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text directive should not scroll to display none text.]
|
||||
expected:
|
||||
if os == "win": [FAIL, TIMEOUT, NOTRUN]
|
||||
if os == "mac": [FAIL, TIMEOUT, NOTRUN]
|
||||
[NOTRUN, FAIL, TIMEOUT]
|
||||
|
||||
[Test navigation with fragment: Uppercase TEXT directive should not parse as a text directive.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Multiple matching exact texts should match text.]
|
||||
expected:
|
||||
if os == "android": [NOTRUN, FAIL, TIMEOUT]
|
||||
[FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Fragment directive with percent encoded non-ASCII unicode character should match text.]
|
||||
expected:
|
||||
if os == "android": [NOTRUN, FAIL, TIMEOUT]
|
||||
[FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Exact text with no context should match text.]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
|
||||
[Test navigation with fragment: Text directive should horizontally scroll into view.]
|
||||
expected:
|
||||
if os == "win": [FAIL, TIMEOUT, NOTRUN]
|
||||
if os == "mac": [FAIL, TIMEOUT, NOTRUN]
|
||||
[NOTRUN, FAIL, TIMEOUT]
|
||||
|
||||
[Test navigation with fragment: Text directive followed by non-text directive should match text.]
|
||||
expected:
|
||||
if os == "android": [NOTRUN, FAIL, TIMEOUT]
|
||||
[FAIL, TIMEOUT, NOTRUN]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Exact text with prefix and suffix and query equals prefix..]
|
||||
expected: [FAIL, TIMEOUT, NOTRUN]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Text range with no context should match text.]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Text range with prefix should match text.]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Text range with suffix should match text.]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Text range with prefix and suffix should match text.]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Exact text with percent encoded spaces should match text.]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Fragment directive with percent encoded syntactical characters "&,-" should match text.]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Fragment directive with percent encoded non-ASCII unicode character should match text.]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Fragment directive with all TextMatchChars should match text.]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Multiple matching exact texts should match text.]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: A non-matching text directive followed by a matching text directive should match and scroll into view the second text directive.]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Text directive followed by non-text directive should match text.]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Multiple text directives and a non-text directive should match text.]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Text directive with existing element fragment should match and scroll into view text.]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Text directive with nonexistent element fragment should match and scroll into view text.]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Multiple match text directive disambiguated by prefix should match the prefixed text.]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Multiple match text directive disambiguated by suffix should match the suffixed text.]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Multiple match text directive disambiguated by prefix and suffix should match the text with the given context.]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Text directive should match when context terms are separated by node boundaries.]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Text directive should match text within shadow DOM.]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Text directive should horizontally scroll into view.]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Uppercase TEXT directive should not parse as a text directive.]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Generic fragment directive with existing element fragment should scroll to element.]
|
||||
expected: FAIL
|
||||
|
||||
[Test navigation with fragment: Non-matching text directive with existing element fragment should scroll to element.]
|
||||
expected:
|
||||
if os == "android": [PASS, NOTRUN, FAIL, TIMEOUT]
|
||||
Loading…
Reference in a new issue