+2016-10-27 Chris Dumez <cdumez@apple.com>
+
+ testharnessreport.js should sanitize the results before printing them
+ https://bugs.webkit.org/show_bug.cgi?id=164064
+
+ Reviewed by Youenn Fablet.
+
+ testharnessreport.js should sanitize the results before printing them. We
+ currently have 3 copies of this script and only 1 does the sanitization.
+ Short term, let do the sanitization in all of them. Longer term, we should
+ merge these and have a way to keep them in sync.
+
+ * fast/media/w3c/test_media_queries-expected.txt:
+ * fetch/fetch-url-serialization-expected.txt:
+ * http/tests/w3c/resources/testharnessreport.js:
+ (add_completion_callback.sanitize):
+ (add_completion_callback):
+ * resources/testharnessreport.js:
+ (self.testRunner.add_completion_callback.):
+ (self.testRunner.add_completion_callback):
+
2016-10-27 Xabier Rodriguez Calvar <calvaris@igalia.com>
Unreviewed fix of GTK and EFL test bots.
PASS expression max-aspect-ratio: 1 /1 should be parseable
PASS expression max-aspect-ratio: 1 /
1 should be parseable
-PASS expression max-aspect-ratio: 1/
-1 should be parseable
+PASS expression max-aspect-ratio: 1/\r1 should be parseable
PASS expression max-aspect-ratio: 1 should not be parseable
PASS expression max-aspect-ratio: 0.5 should not be parseable
PASS expression max-aspect-ratio: 1.0/1 should not be parseable
PASS expression device-aspect-ratio: 1 /1 should be parseable
PASS expression device-aspect-ratio: 1 /
1 should be parseable
-PASS expression device-aspect-ratio: 1/
-1 should be parseable
+PASS expression device-aspect-ratio: 1/\r1 should be parseable
PASS expression device-aspect-ratio: 1 should not be parseable
PASS expression device-aspect-ratio: 0.5 should not be parseable
PASS expression device-aspect-ratio: 1.0/1 should not be parseable
PASS Testing Request url 'http://facebook.com/?foo=%7B%22abc%22' with base 'about:blank'
PASS Testing Request url 'https://localhost:3000/jqueryui@1.2.3' with base 'about:blank'
PASS Testing Request url 'h t
-t
-p://h o
-s
-t:9 0
-0
-0/p a
-t
-h?q u
-e
-ry#f r
-a
-g' with base 'about:blank'
+t\rp://h o
+s\rt:9 0
+0\r0/p a
+t\rh?q u
+e\rry#f r
+a\rg' with base 'about:blank'
PASS Testing Request url '?a=b&c=d' with base 'http://example.org/foo/bar'
PASS Testing Request url '??a=b&c=d' with base 'http://example.org/foo/bar'
PASS Testing Request url 'http:' with base 'http://example.org/foo/bar'
\r
// Declare result string\r
var resultStr = "\n";\r
+\r
+ // Sanitizes the given text for display in test results.\r
+ function sanitize(text) {\r
+ if (!text) {\r
+ return "";\r
+ }\r
+ // Escape null characters, otherwise diff will think the file is binary.\r
+ text = text.replace(/\0/g, "\\0");\r
+ // Escape carriage returns as they break rietveld's difftools.\r
+ return text.replace(/\r/g, "\\r");\r
+ }\r
+\r
\r
// Check harness_status. If it is not 0, tests did not\r
// execute correctly, output the error code and message\r
// results for all tests\r
for(var i=0; i<tests.length; i++){ \r
resultStr += convertResult(tests[i].status) + " " + \r
- ( (tests[i].name!=null) ? tests[i].name : "" ) + " " +\r
- ( (tests[i].message!=null) ? tests[i].message : "" ) + \r
- "\n";\r
+ sanitize(tests[i].name) + " " +\r
+ sanitize(tests[i].message) + "\n";\r
} \r
}\r
\r
+2016-10-27 Chris Dumez <cdumez@apple.com>
+
+ testharnessreport.js should sanitize the results before printing them
+ https://bugs.webkit.org/show_bug.cgi?id=164064
+
+ Reviewed by Youenn Fablet.
+
+ testharnessreport.js should sanitize the results before printing them. We
+ currently have 3 copies of this script and only 1 does the sanitization.
+ Short term, let do the sanitization in all of them. Longer term, we should
+ merge these and have a way to keep them in sync.
+
+ * web-platform-tests/dom/nodes/Element-matches-expected.txt:
+ * web-platform-tests/dom/nodes/ParentNode-querySelector-All-expected.txt:
+ * web-platform-tests/dom/nodes/ParentNode-querySelector-All-xht-expected.txt:
+ * web-platform-tests/url/a-element-expected.txt:
+ * web-platform-tests/url/a-element-xhtml-expected.txt:
+ * web-platform-tests/url/url-constructor-expected.txt:
+ * web-platform-tests/url/url-setters-expected.txt:
+
2016-10-26 Youenn Fablet <youennf@gmail.com>
Refresh WPT tests up to 0acd8f6
PASS In-document Element.matches: Descendant combinator, matching element with id that is a descendant of an element with id (with no refNodes): #descendant #descendant-div2
PASS In-document Element.matches: Descendant combinator, matching element with class that is a descendant of an element with id (with no refNodes): #descendant .descendant-div2
PASS In-document Element.matches: Descendant combinator, matching element with class that is a descendant of an element with class (with no refNodes): .descendant-div1 .descendant-div3
-PASS In-document Element.matches: Descendant combinator, whitespace characters (with no refNodes): #descendant
+PASS In-document Element.matches: Descendant combinator, whitespace characters (with no refNodes): #descendant \r
#descendant-div2
PASS In-document Element.matches: Descendant combinator '>>', matching element that is a descendant of an element with id (with no refNodes): #descendant>>div
PASS In-document Element.matches: Descendant combinator '>>', matching element with id that is a descendant of an element (with no refNodes): body>>#descendant-div1
PASS In-document Element.matches: Child combinator, matching element with id that is a child of an element with id (with no refNodes): #child>#child-div1
PASS In-document Element.matches: Child combinator, matching element with id that is a child of an element with class (with no refNodes): #child-div1>.child-div2
PASS In-document Element.matches: Child combinator, matching element with class that is a child of an element with class (with no refNodes): .child-div1>.child-div2
-PASS In-document Element.matches: Child combinator, surrounded by whitespace (with no refNodes): #child-div1
->
+PASS In-document Element.matches: Child combinator, surrounded by whitespace (with no refNodes): #child-div1 \r
+> \r
#child-div2
-PASS In-document Element.matches: Child combinator, whitespace after (with no refNodes): #child-div1>
+PASS In-document Element.matches: Child combinator, whitespace after (with no refNodes): #child-div1> \r
#child-div2
-PASS In-document Element.matches: Child combinator, whitespace before (with no refNodes): #child-div1
+PASS In-document Element.matches: Child combinator, whitespace before (with no refNodes): #child-div1 \r
>#child-div2
PASS In-document Element.matches: Child combinator, no whitespace (with no refNodes): #child-div1>#child-div2
PASS In-document Element.matches: Adjacent sibling combinator, matching element that is an adjacent sibling of an element with id (with no refNodes): #adjacent-div2+div
PASS In-document Element.matches: Adjacent sibling combinator, matching element with class that is an adjacent sibling of an element with id (with no refNodes): #adjacent-div2+.adjacent-div4
PASS In-document Element.matches: Adjacent sibling combinator, matching element with class that is an adjacent sibling of an element with class (with no refNodes): .adjacent-div2+.adjacent-div4
PASS In-document Element.matches: Adjacent sibling combinator, matching p element that is an adjacent sibling of a div element (with no refNodes): #adjacent div+p
-PASS In-document Element.matches: Adjacent sibling combinator, surrounded by whitespace (with no refNodes): #adjacent-p2
-+
+PASS In-document Element.matches: Adjacent sibling combinator, surrounded by whitespace (with no refNodes): #adjacent-p2 \r
++ \r
#adjacent-p3
-PASS In-document Element.matches: Adjacent sibling combinator, whitespace after (with no refNodes): #adjacent-p2+
+PASS In-document Element.matches: Adjacent sibling combinator, whitespace after (with no refNodes): #adjacent-p2+ \r
#adjacent-p3
-PASS In-document Element.matches: Adjacent sibling combinator, whitespace before (with no refNodes): #adjacent-p2
+PASS In-document Element.matches: Adjacent sibling combinator, whitespace before (with no refNodes): #adjacent-p2 \r
+#adjacent-p3
PASS In-document Element.matches: Adjacent sibling combinator, no whitespace (with no refNodes): #adjacent-p2+#adjacent-p3
PASS In-document Element.matches: General sibling combinator, matching element that is a sibling of an element with id (with no refNodes): #sibling-div2~div
PASS In-document Element.matches: General sibling combinator, matching element with id that is a sibling of an element with id (with no refNodes): #sibling-div2~#sibling-div4
PASS In-document Element.matches: General sibling combinator, matching element with class that is a sibling of an element with id (with no refNodes): #sibling-div2~.sibling-div
PASS In-document Element.matches: General sibling combinator, matching p element that is a sibling of a div element (with no refNodes): #sibling div~p
-PASS In-document Element.matches: General sibling combinator, surrounded by whitespace (with no refNodes): #sibling-p2
-~
+PASS In-document Element.matches: General sibling combinator, surrounded by whitespace (with no refNodes): #sibling-p2 \r
+~ \r
#sibling-p3
-PASS In-document Element.matches: General sibling combinator, whitespace after (with no refNodes): #sibling-p2~
+PASS In-document Element.matches: General sibling combinator, whitespace after (with no refNodes): #sibling-p2~ \r
#sibling-p3
-PASS In-document Element.matches: General sibling combinator, whitespace before (with no refNodes): #sibling-p2
+PASS In-document Element.matches: General sibling combinator, whitespace before (with no refNodes): #sibling-p2 \r
~#sibling-p3
PASS In-document Element.matches: General sibling combinator, no whitespace (with no refNodes): #sibling-p2~#sibling-p3
-PASS In-document Element.matches: Syntax, group of selectors separator, surrounded by whitespace (with no refNodes): #group em
-
-,
-
+PASS In-document Element.matches: Syntax, group of selectors separator, surrounded by whitespace (with no refNodes): #group em \r
+, \r
#group strong
-PASS In-document Element.matches: Syntax, group of selectors separator, whitespace after (with no refNodes): #group em,
+PASS In-document Element.matches: Syntax, group of selectors separator, whitespace after (with no refNodes): #group em, \r
#group strong
-PASS In-document Element.matches: Syntax, group of selectors separator, whitespace before (with no refNodes): #group em
+PASS In-document Element.matches: Syntax, group of selectors separator, whitespace before (with no refNodes): #group em \r
,#group strong
PASS In-document Element.matches: Syntax, group of selectors separator, no whitespace (with no refNodes): #group em,#group strong
PASS Detached Element.matches: Universal selector, matching all children of element with specified ID (with no refNodes): #universal>*
PASS Detached Element.matches: Descendant combinator, matching element with id that is a descendant of an element with id (with no refNodes): #descendant #descendant-div2
PASS Detached Element.matches: Descendant combinator, matching element with class that is a descendant of an element with id (with no refNodes): #descendant .descendant-div2
PASS Detached Element.matches: Descendant combinator, matching element with class that is a descendant of an element with class (with no refNodes): .descendant-div1 .descendant-div3
-PASS Detached Element.matches: Descendant combinator, whitespace characters (with no refNodes): #descendant
+PASS Detached Element.matches: Descendant combinator, whitespace characters (with no refNodes): #descendant \r
#descendant-div2
PASS Detached Element.matches: Descendant combinator '>>', matching element that is a descendant of an element with id (with no refNodes): #descendant>>div
PASS Detached Element.matches: Descendant combinator '>>', matching element with id that is a descendant of an element (with no refNodes): div>>#descendant-div1
PASS Detached Element.matches: Child combinator, matching element with id that is a child of an element with id (with no refNodes): #child>#child-div1
PASS Detached Element.matches: Child combinator, matching element with id that is a child of an element with class (with no refNodes): #child-div1>.child-div2
PASS Detached Element.matches: Child combinator, matching element with class that is a child of an element with class (with no refNodes): .child-div1>.child-div2
-PASS Detached Element.matches: Child combinator, surrounded by whitespace (with no refNodes): #child-div1
->
+PASS Detached Element.matches: Child combinator, surrounded by whitespace (with no refNodes): #child-div1 \r
+> \r
#child-div2
-PASS Detached Element.matches: Child combinator, whitespace after (with no refNodes): #child-div1>
+PASS Detached Element.matches: Child combinator, whitespace after (with no refNodes): #child-div1> \r
#child-div2
-PASS Detached Element.matches: Child combinator, whitespace before (with no refNodes): #child-div1
+PASS Detached Element.matches: Child combinator, whitespace before (with no refNodes): #child-div1 \r
>#child-div2
PASS Detached Element.matches: Child combinator, no whitespace (with no refNodes): #child-div1>#child-div2
PASS Detached Element.matches: Adjacent sibling combinator, matching element that is an adjacent sibling of an element with id (with no refNodes): #adjacent-div2+div
PASS Detached Element.matches: Adjacent sibling combinator, matching element with class that is an adjacent sibling of an element with id (with no refNodes): #adjacent-div2+.adjacent-div4
PASS Detached Element.matches: Adjacent sibling combinator, matching element with class that is an adjacent sibling of an element with class (with no refNodes): .adjacent-div2+.adjacent-div4
PASS Detached Element.matches: Adjacent sibling combinator, matching p element that is an adjacent sibling of a div element (with no refNodes): #adjacent div+p
-PASS Detached Element.matches: Adjacent sibling combinator, surrounded by whitespace (with no refNodes): #adjacent-p2
-+
+PASS Detached Element.matches: Adjacent sibling combinator, surrounded by whitespace (with no refNodes): #adjacent-p2 \r
++ \r
#adjacent-p3
-PASS Detached Element.matches: Adjacent sibling combinator, whitespace after (with no refNodes): #adjacent-p2+
+PASS Detached Element.matches: Adjacent sibling combinator, whitespace after (with no refNodes): #adjacent-p2+ \r
#adjacent-p3
-PASS Detached Element.matches: Adjacent sibling combinator, whitespace before (with no refNodes): #adjacent-p2
+PASS Detached Element.matches: Adjacent sibling combinator, whitespace before (with no refNodes): #adjacent-p2 \r
+#adjacent-p3
PASS Detached Element.matches: Adjacent sibling combinator, no whitespace (with no refNodes): #adjacent-p2+#adjacent-p3
PASS Detached Element.matches: General sibling combinator, matching element that is a sibling of an element with id (with no refNodes): #sibling-div2~div
PASS Detached Element.matches: General sibling combinator, matching element with id that is a sibling of an element with id (with no refNodes): #sibling-div2~#sibling-div4
PASS Detached Element.matches: General sibling combinator, matching element with class that is a sibling of an element with id (with no refNodes): #sibling-div2~.sibling-div
PASS Detached Element.matches: General sibling combinator, matching p element that is a sibling of a div element (with no refNodes): #sibling div~p
-PASS Detached Element.matches: General sibling combinator, surrounded by whitespace (with no refNodes): #sibling-p2
-~
+PASS Detached Element.matches: General sibling combinator, surrounded by whitespace (with no refNodes): #sibling-p2 \r
+~ \r
#sibling-p3
-PASS Detached Element.matches: General sibling combinator, whitespace after (with no refNodes): #sibling-p2~
+PASS Detached Element.matches: General sibling combinator, whitespace after (with no refNodes): #sibling-p2~ \r
#sibling-p3
-PASS Detached Element.matches: General sibling combinator, whitespace before (with no refNodes): #sibling-p2
+PASS Detached Element.matches: General sibling combinator, whitespace before (with no refNodes): #sibling-p2 \r
~#sibling-p3
PASS Detached Element.matches: General sibling combinator, no whitespace (with no refNodes): #sibling-p2~#sibling-p3
-PASS Detached Element.matches: Syntax, group of selectors separator, surrounded by whitespace (with no refNodes): #group em
-
-,
-
+PASS Detached Element.matches: Syntax, group of selectors separator, surrounded by whitespace (with no refNodes): #group em \r
+, \r
#group strong
-PASS Detached Element.matches: Syntax, group of selectors separator, whitespace after (with no refNodes): #group em,
+PASS Detached Element.matches: Syntax, group of selectors separator, whitespace after (with no refNodes): #group em, \r
#group strong
-PASS Detached Element.matches: Syntax, group of selectors separator, whitespace before (with no refNodes): #group em
+PASS Detached Element.matches: Syntax, group of selectors separator, whitespace before (with no refNodes): #group em \r
,#group strong
PASS Detached Element.matches: Syntax, group of selectors separator, no whitespace (with no refNodes): #group em,#group strong
PASS Fragment Element.matches: Universal selector, matching all children of element with specified ID (with no refNodes): #universal>*
PASS Fragment Element.matches: Descendant combinator, matching element with id that is a descendant of an element with id (with no refNodes): #descendant #descendant-div2
PASS Fragment Element.matches: Descendant combinator, matching element with class that is a descendant of an element with id (with no refNodes): #descendant .descendant-div2
PASS Fragment Element.matches: Descendant combinator, matching element with class that is a descendant of an element with class (with no refNodes): .descendant-div1 .descendant-div3
-PASS Fragment Element.matches: Descendant combinator, whitespace characters (with no refNodes): #descendant
+PASS Fragment Element.matches: Descendant combinator, whitespace characters (with no refNodes): #descendant \r
#descendant-div2
PASS Fragment Element.matches: Descendant combinator '>>', matching element that is a descendant of an element with id (with no refNodes): #descendant>>div
PASS Fragment Element.matches: Descendant combinator '>>', matching element with id that is a descendant of an element (with no refNodes): div>>#descendant-div1
PASS Fragment Element.matches: Child combinator, matching element with id that is a child of an element with id (with no refNodes): #child>#child-div1
PASS Fragment Element.matches: Child combinator, matching element with id that is a child of an element with class (with no refNodes): #child-div1>.child-div2
PASS Fragment Element.matches: Child combinator, matching element with class that is a child of an element with class (with no refNodes): .child-div1>.child-div2
-PASS Fragment Element.matches: Child combinator, surrounded by whitespace (with no refNodes): #child-div1
->
+PASS Fragment Element.matches: Child combinator, surrounded by whitespace (with no refNodes): #child-div1 \r
+> \r
#child-div2
-PASS Fragment Element.matches: Child combinator, whitespace after (with no refNodes): #child-div1>
+PASS Fragment Element.matches: Child combinator, whitespace after (with no refNodes): #child-div1> \r
#child-div2
-PASS Fragment Element.matches: Child combinator, whitespace before (with no refNodes): #child-div1
+PASS Fragment Element.matches: Child combinator, whitespace before (with no refNodes): #child-div1 \r
>#child-div2
PASS Fragment Element.matches: Child combinator, no whitespace (with no refNodes): #child-div1>#child-div2
PASS Fragment Element.matches: Adjacent sibling combinator, matching element that is an adjacent sibling of an element with id (with no refNodes): #adjacent-div2+div
PASS Fragment Element.matches: Adjacent sibling combinator, matching element with class that is an adjacent sibling of an element with id (with no refNodes): #adjacent-div2+.adjacent-div4
PASS Fragment Element.matches: Adjacent sibling combinator, matching element with class that is an adjacent sibling of an element with class (with no refNodes): .adjacent-div2+.adjacent-div4
PASS Fragment Element.matches: Adjacent sibling combinator, matching p element that is an adjacent sibling of a div element (with no refNodes): #adjacent div+p
-PASS Fragment Element.matches: Adjacent sibling combinator, surrounded by whitespace (with no refNodes): #adjacent-p2
-+
+PASS Fragment Element.matches: Adjacent sibling combinator, surrounded by whitespace (with no refNodes): #adjacent-p2 \r
++ \r
#adjacent-p3
-PASS Fragment Element.matches: Adjacent sibling combinator, whitespace after (with no refNodes): #adjacent-p2+
+PASS Fragment Element.matches: Adjacent sibling combinator, whitespace after (with no refNodes): #adjacent-p2+ \r
#adjacent-p3
-PASS Fragment Element.matches: Adjacent sibling combinator, whitespace before (with no refNodes): #adjacent-p2
+PASS Fragment Element.matches: Adjacent sibling combinator, whitespace before (with no refNodes): #adjacent-p2 \r
+#adjacent-p3
PASS Fragment Element.matches: Adjacent sibling combinator, no whitespace (with no refNodes): #adjacent-p2+#adjacent-p3
PASS Fragment Element.matches: General sibling combinator, matching element that is a sibling of an element with id (with no refNodes): #sibling-div2~div
PASS Fragment Element.matches: General sibling combinator, matching element with id that is a sibling of an element with id (with no refNodes): #sibling-div2~#sibling-div4
PASS Fragment Element.matches: General sibling combinator, matching element with class that is a sibling of an element with id (with no refNodes): #sibling-div2~.sibling-div
PASS Fragment Element.matches: General sibling combinator, matching p element that is a sibling of a div element (with no refNodes): #sibling div~p
-PASS Fragment Element.matches: General sibling combinator, surrounded by whitespace (with no refNodes): #sibling-p2
-~
+PASS Fragment Element.matches: General sibling combinator, surrounded by whitespace (with no refNodes): #sibling-p2 \r
+~ \r
#sibling-p3
-PASS Fragment Element.matches: General sibling combinator, whitespace after (with no refNodes): #sibling-p2~
+PASS Fragment Element.matches: General sibling combinator, whitespace after (with no refNodes): #sibling-p2~ \r
#sibling-p3
-PASS Fragment Element.matches: General sibling combinator, whitespace before (with no refNodes): #sibling-p2
+PASS Fragment Element.matches: General sibling combinator, whitespace before (with no refNodes): #sibling-p2 \r
~#sibling-p3
PASS Fragment Element.matches: General sibling combinator, no whitespace (with no refNodes): #sibling-p2~#sibling-p3
-PASS Fragment Element.matches: Syntax, group of selectors separator, surrounded by whitespace (with no refNodes): #group em
-
-,
-
+PASS Fragment Element.matches: Syntax, group of selectors separator, surrounded by whitespace (with no refNodes): #group em \r
+, \r
#group strong
-PASS Fragment Element.matches: Syntax, group of selectors separator, whitespace after (with no refNodes): #group em,
+PASS Fragment Element.matches: Syntax, group of selectors separator, whitespace after (with no refNodes): #group em, \r
#group strong
-PASS Fragment Element.matches: Syntax, group of selectors separator, whitespace before (with no refNodes): #group em
+PASS Fragment Element.matches: Syntax, group of selectors separator, whitespace before (with no refNodes): #group em \r
,#group strong
PASS Fragment Element.matches: Syntax, group of selectors separator, no whitespace (with no refNodes): #group em,#group strong
FAIL In-document Element.matches: Universal selector, matching all children of the specified reference element (with refNode Element): >* The string did not match the expected pattern.
PASS In-document Element.matches: Descendant combinator, matching element with id that is a descendant of an element with id (1) (with no refNodes): #descendant #descendant-div2
PASS In-document Element.matches: Descendant combinator, matching element with class that is a descendant of an element with id (1) (with no refNodes): #descendant .descendant-div2
PASS In-document Element.matches: Descendant combinator, matching element with class that is a descendant of an element with class (1) (with no refNodes): .descendant-div1 .descendant-div3
-PASS In-document Element.matches: Descendant combinator, whitespace characters (1) (with no refNodes): #descendant
+PASS In-document Element.matches: Descendant combinator, whitespace characters (1) (with no refNodes): #descendant \r
#descendant-div2
PASS In-document Element.matches: Descendant combinator '>>', matching element that is a descendant of an element with id (1) (with no refNodes): #descendant>>div
PASS In-document Element.matches: Descendant combinator '>>', matching element with id that is a descendant of an element (1) (with no refNodes): body>>#descendant-div1
PASS In-document Element.matches: Child combinator, matching element with id that is a child of an element with id (1) (with no refNodes): #child>#child-div1
PASS In-document Element.matches: Child combinator, matching element with id that is a child of an element with class (1) (with no refNodes): #child-div1>.child-div2
PASS In-document Element.matches: Child combinator, matching element with class that is a child of an element with class (1) (with no refNodes): .child-div1>.child-div2
-PASS In-document Element.matches: Child combinator, surrounded by whitespace (1) (with no refNodes): #child-div1
->
+PASS In-document Element.matches: Child combinator, surrounded by whitespace (1) (with no refNodes): #child-div1 \r
+> \r
#child-div2
-PASS In-document Element.matches: Child combinator, whitespace after (1) (with no refNodes): #child-div1>
+PASS In-document Element.matches: Child combinator, whitespace after (1) (with no refNodes): #child-div1> \r
#child-div2
-PASS In-document Element.matches: Child combinator, whitespace before (1) (with no refNodes): #child-div1
+PASS In-document Element.matches: Child combinator, whitespace before (1) (with no refNodes): #child-div1 \r
>#child-div2
PASS In-document Element.matches: Child combinator, no whitespace (1) (with no refNodes): #child-div1>#child-div2
PASS In-document Element.matches: Adjacent sibling combinator, matching element that is an adjacent sibling of an element with id (1) (with no refNodes): #adjacent-div2+div
PASS In-document Element.matches: Adjacent sibling combinator, matching element with class that is an adjacent sibling of an element with id (1) (with no refNodes): #adjacent-div2+.adjacent-div4
PASS In-document Element.matches: Adjacent sibling combinator, matching element with class that is an adjacent sibling of an element with class (1) (with no refNodes): .adjacent-div2+.adjacent-div4
PASS In-document Element.matches: Adjacent sibling combinator, matching p element that is an adjacent sibling of a div element (1) (with no refNodes): #adjacent div+p
-PASS In-document Element.matches: Adjacent sibling combinator, surrounded by whitespace (1) (with no refNodes): #adjacent-p2
-+
+PASS In-document Element.matches: Adjacent sibling combinator, surrounded by whitespace (1) (with no refNodes): #adjacent-p2 \r
++ \r
#adjacent-p3
-PASS In-document Element.matches: Adjacent sibling combinator, whitespace after (1) (with no refNodes): #adjacent-p2+
+PASS In-document Element.matches: Adjacent sibling combinator, whitespace after (1) (with no refNodes): #adjacent-p2+ \r
#adjacent-p3
-PASS In-document Element.matches: Adjacent sibling combinator, whitespace before (1) (with no refNodes): #adjacent-p2
+PASS In-document Element.matches: Adjacent sibling combinator, whitespace before (1) (with no refNodes): #adjacent-p2 \r
+#adjacent-p3
PASS In-document Element.matches: Adjacent sibling combinator, no whitespace (1) (with no refNodes): #adjacent-p2+#adjacent-p3
PASS In-document Element.matches: General sibling combinator, matching element that is a sibling of an element with id (1) (with no refNodes): #sibling-div2~div
PASS In-document Element.matches: General sibling combinator, matching element with id that is a sibling of an element with id (1) (with no refNodes): #sibling-div2~#sibling-div4
PASS In-document Element.matches: General sibling combinator, matching element with class that is a sibling of an element with id (1) (with no refNodes): #sibling-div2~.sibling-div
PASS In-document Element.matches: General sibling combinator, matching p element that is a sibling of a div element (1) (with no refNodes): #sibling div~p
-PASS In-document Element.matches: General sibling combinator, surrounded by whitespace (1) (with no refNodes): #sibling-p2
-~
+PASS In-document Element.matches: General sibling combinator, surrounded by whitespace (1) (with no refNodes): #sibling-p2 \r
+~ \r
#sibling-p3
-PASS In-document Element.matches: General sibling combinator, whitespace after (1) (with no refNodes): #sibling-p2~
+PASS In-document Element.matches: General sibling combinator, whitespace after (1) (with no refNodes): #sibling-p2~ \r
#sibling-p3
-PASS In-document Element.matches: General sibling combinator, whitespace before (1) (with no refNodes): #sibling-p2
+PASS In-document Element.matches: General sibling combinator, whitespace before (1) (with no refNodes): #sibling-p2 \r
~#sibling-p3
PASS In-document Element.matches: General sibling combinator, no whitespace (1) (with no refNodes): #sibling-p2~#sibling-p3
-PASS In-document Element.matches: Syntax, group of selectors separator, surrounded by whitespace (1) (with no refNodes): #group em
-
-,
-
+PASS In-document Element.matches: Syntax, group of selectors separator, surrounded by whitespace (1) (with no refNodes): #group em \r
+, \r
#group strong
-PASS In-document Element.matches: Syntax, group of selectors separator, whitespace after (1) (with no refNodes): #group em,
+PASS In-document Element.matches: Syntax, group of selectors separator, whitespace after (1) (with no refNodes): #group em, \r
#group strong
-PASS In-document Element.matches: Syntax, group of selectors separator, whitespace before (1) (with no refNodes): #group em
+PASS In-document Element.matches: Syntax, group of selectors separator, whitespace before (1) (with no refNodes): #group em \r
,#group strong
PASS In-document Element.matches: Syntax, group of selectors separator, no whitespace (1) (with no refNodes): #group em,#group strong
PASS Document.querySelector: Descendant combinator, matching element with class that is a descendant of an element with class: .descendant-div1 .descendant-div3
PASS Document.querySelectorAll: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
PASS Document.querySelector: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
-PASS Document.querySelectorAll: Descendant combinator, whitespace characters: #descendant
+PASS Document.querySelectorAll: Descendant combinator, whitespace characters: #descendant \r
#descendant-div2
-PASS Document.querySelector: Descendant combinator, whitespace characters: #descendant
+PASS Document.querySelector: Descendant combinator, whitespace characters: #descendant \r
#descendant-div2
PASS Document.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div
PASS Document.querySelector: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div
PASS Document.querySelector: Child combinator, not matching element with id that is not a child of an element with class: #child-div1>.child-div3
PASS Document.querySelectorAll: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
PASS Document.querySelector: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
-PASS Document.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1
->
+PASS Document.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1 \r
+> \r
#child-div2
-PASS Document.querySelector: Child combinator, surrounded by whitespace: #child-div1
->
+PASS Document.querySelector: Child combinator, surrounded by whitespace: #child-div1 \r
+> \r
#child-div2
-PASS Document.querySelectorAll: Child combinator, whitespace after: #child-div1>
+PASS Document.querySelectorAll: Child combinator, whitespace after: #child-div1> \r
#child-div2
-PASS Document.querySelector: Child combinator, whitespace after: #child-div1>
+PASS Document.querySelector: Child combinator, whitespace after: #child-div1> \r
#child-div2
-PASS Document.querySelectorAll: Child combinator, whitespace before: #child-div1
+PASS Document.querySelectorAll: Child combinator, whitespace before: #child-div1 \r
>#child-div2
-PASS Document.querySelector: Child combinator, whitespace before: #child-div1
+PASS Document.querySelector: Child combinator, whitespace before: #child-div1 \r
>#child-div2
PASS Document.querySelectorAll: Child combinator, no whitespace: #child-div1>#child-div2
PASS Document.querySelector: Child combinator, no whitespace: #child-div1>#child-div2
PASS Document.querySelector: Adjacent sibling combinator, matching p element that is an adjacent sibling of a div element: #adjacent div+p
PASS Document.querySelectorAll: Adjacent sibling combinator, not matching element with id that is not an adjacent sibling of an element with id: #adjacent-div2+#adjacent-p2, #adjacent-div2+#adjacent-div1
PASS Document.querySelector: Adjacent sibling combinator, not matching element with id that is not an adjacent sibling of an element with id: #adjacent-div2+#adjacent-p2, #adjacent-div2+#adjacent-div1
-PASS Document.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2
-+
+PASS Document.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2 \r
++ \r
#adjacent-p3
-PASS Document.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2
-+
+PASS Document.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2 \r
++ \r
#adjacent-p3
-PASS Document.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+
+PASS Document.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+ \r
#adjacent-p3
-PASS Document.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+
+PASS Document.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+ \r
#adjacent-p3
-PASS Document.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2
+PASS Document.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2 \r
+#adjacent-p3
-PASS Document.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2
+PASS Document.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2 \r
+#adjacent-p3
PASS Document.querySelectorAll: Adjacent sibling combinator, no whitespace: #adjacent-p2+#adjacent-p3
PASS Document.querySelector: Adjacent sibling combinator, no whitespace: #adjacent-p2+#adjacent-p3
PASS Document.querySelector: General sibling combinator, not matching element with id that is not a sibling after a p element: #sibling>p~div
PASS Document.querySelectorAll: General sibling combinator, not matching element with id that is not a sibling after an element with id: #sibling-div2~#sibling-div3, #sibling-div2~#sibling-div1
PASS Document.querySelector: General sibling combinator, not matching element with id that is not a sibling after an element with id: #sibling-div2~#sibling-div3, #sibling-div2~#sibling-div1
-PASS Document.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2
-~
+PASS Document.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2 \r
+~ \r
#sibling-p3
-PASS Document.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2
-~
+PASS Document.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2 \r
+~ \r
#sibling-p3
-PASS Document.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~
+PASS Document.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~ \r
#sibling-p3
-PASS Document.querySelector: General sibling combinator, whitespace after: #sibling-p2~
+PASS Document.querySelector: General sibling combinator, whitespace after: #sibling-p2~ \r
#sibling-p3
-PASS Document.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2
+PASS Document.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2 \r
~#sibling-p3
-PASS Document.querySelector: General sibling combinator, whitespace before: #sibling-p2
+PASS Document.querySelector: General sibling combinator, whitespace before: #sibling-p2 \r
~#sibling-p3
PASS Document.querySelectorAll: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
PASS Document.querySelector: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
-PASS Document.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em
-
-,
-
+PASS Document.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em \r
+, \r
#group strong
-PASS Document.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em
-
-,
-
+PASS Document.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em \r
+, \r
#group strong
-PASS Document.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em,
+PASS Document.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em, \r
#group strong
-PASS Document.querySelector: Syntax, group of selectors separator, whitespace after: #group em,
+PASS Document.querySelector: Syntax, group of selectors separator, whitespace after: #group em, \r
#group strong
-PASS Document.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em
+PASS Document.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em \r
,#group strong
-PASS Document.querySelector: Syntax, group of selectors separator, whitespace before: #group em
+PASS Document.querySelector: Syntax, group of selectors separator, whitespace before: #group em \r
,#group strong
PASS Document.querySelectorAll: Syntax, group of selectors separator, no whitespace: #group em,#group strong
PASS Document.querySelector: Syntax, group of selectors separator, no whitespace: #group em,#group strong
PASS Detached Element.querySelector: Descendant combinator, matching element with class that is a descendant of an element with class: .descendant-div1 .descendant-div3
PASS Detached Element.querySelectorAll: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
PASS Detached Element.querySelector: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
-PASS Detached Element.querySelectorAll: Descendant combinator, whitespace characters: #descendant
+PASS Detached Element.querySelectorAll: Descendant combinator, whitespace characters: #descendant \r
#descendant-div2
-PASS Detached Element.querySelector: Descendant combinator, whitespace characters: #descendant
+PASS Detached Element.querySelector: Descendant combinator, whitespace characters: #descendant \r
#descendant-div2
PASS Detached Element.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div
PASS Detached Element.querySelector: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div
PASS Detached Element.querySelector: Child combinator, not matching element with id that is not a child of an element with class: #child-div1>.child-div3
PASS Detached Element.querySelectorAll: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
PASS Detached Element.querySelector: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
-PASS Detached Element.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1
->
+PASS Detached Element.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1 \r
+> \r
#child-div2
-PASS Detached Element.querySelector: Child combinator, surrounded by whitespace: #child-div1
->
+PASS Detached Element.querySelector: Child combinator, surrounded by whitespace: #child-div1 \r
+> \r
#child-div2
-PASS Detached Element.querySelectorAll: Child combinator, whitespace after: #child-div1>
+PASS Detached Element.querySelectorAll: Child combinator, whitespace after: #child-div1> \r
#child-div2
-PASS Detached Element.querySelector: Child combinator, whitespace after: #child-div1>
+PASS Detached Element.querySelector: Child combinator, whitespace after: #child-div1> \r
#child-div2
-PASS Detached Element.querySelectorAll: Child combinator, whitespace before: #child-div1
+PASS Detached Element.querySelectorAll: Child combinator, whitespace before: #child-div1 \r
>#child-div2
-PASS Detached Element.querySelector: Child combinator, whitespace before: #child-div1
+PASS Detached Element.querySelector: Child combinator, whitespace before: #child-div1 \r
>#child-div2
PASS Detached Element.querySelectorAll: Child combinator, no whitespace: #child-div1>#child-div2
PASS Detached Element.querySelector: Child combinator, no whitespace: #child-div1>#child-div2
PASS Detached Element.querySelector: Adjacent sibling combinator, matching p element that is an adjacent sibling of a div element: #adjacent div+p
PASS Detached Element.querySelectorAll: Adjacent sibling combinator, not matching element with id that is not an adjacent sibling of an element with id: #adjacent-div2+#adjacent-p2, #adjacent-div2+#adjacent-div1
PASS Detached Element.querySelector: Adjacent sibling combinator, not matching element with id that is not an adjacent sibling of an element with id: #adjacent-div2+#adjacent-p2, #adjacent-div2+#adjacent-div1
-PASS Detached Element.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2
-+
+PASS Detached Element.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2 \r
++ \r
#adjacent-p3
-PASS Detached Element.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2
-+
+PASS Detached Element.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2 \r
++ \r
#adjacent-p3
-PASS Detached Element.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+
+PASS Detached Element.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+ \r
#adjacent-p3
-PASS Detached Element.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+
+PASS Detached Element.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+ \r
#adjacent-p3
-PASS Detached Element.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2
+PASS Detached Element.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2 \r
+#adjacent-p3
-PASS Detached Element.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2
+PASS Detached Element.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2 \r
+#adjacent-p3
PASS Detached Element.querySelectorAll: Adjacent sibling combinator, no whitespace: #adjacent-p2+#adjacent-p3
PASS Detached Element.querySelector: Adjacent sibling combinator, no whitespace: #adjacent-p2+#adjacent-p3
PASS Detached Element.querySelector: General sibling combinator, not matching element with id that is not a sibling after a p element: #sibling>p~div
PASS Detached Element.querySelectorAll: General sibling combinator, not matching element with id that is not a sibling after an element with id: #sibling-div2~#sibling-div3, #sibling-div2~#sibling-div1
PASS Detached Element.querySelector: General sibling combinator, not matching element with id that is not a sibling after an element with id: #sibling-div2~#sibling-div3, #sibling-div2~#sibling-div1
-PASS Detached Element.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2
-~
+PASS Detached Element.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2 \r
+~ \r
#sibling-p3
-PASS Detached Element.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2
-~
+PASS Detached Element.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2 \r
+~ \r
#sibling-p3
-PASS Detached Element.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~
+PASS Detached Element.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~ \r
#sibling-p3
-PASS Detached Element.querySelector: General sibling combinator, whitespace after: #sibling-p2~
+PASS Detached Element.querySelector: General sibling combinator, whitespace after: #sibling-p2~ \r
#sibling-p3
-PASS Detached Element.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2
+PASS Detached Element.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2 \r
~#sibling-p3
-PASS Detached Element.querySelector: General sibling combinator, whitespace before: #sibling-p2
+PASS Detached Element.querySelector: General sibling combinator, whitespace before: #sibling-p2 \r
~#sibling-p3
PASS Detached Element.querySelectorAll: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
PASS Detached Element.querySelector: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
-PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em
-
-,
-
+PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em \r
+, \r
#group strong
-PASS Detached Element.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em
-
-,
-
+PASS Detached Element.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em \r
+, \r
#group strong
-PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em,
+PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em, \r
#group strong
-PASS Detached Element.querySelector: Syntax, group of selectors separator, whitespace after: #group em,
+PASS Detached Element.querySelector: Syntax, group of selectors separator, whitespace after: #group em, \r
#group strong
-PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em
+PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em \r
,#group strong
-PASS Detached Element.querySelector: Syntax, group of selectors separator, whitespace before: #group em
+PASS Detached Element.querySelector: Syntax, group of selectors separator, whitespace before: #group em \r
,#group strong
PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, no whitespace: #group em,#group strong
PASS Detached Element.querySelector: Syntax, group of selectors separator, no whitespace: #group em,#group strong
PASS Fragment.querySelector: Descendant combinator, matching element with class that is a descendant of an element with class: .descendant-div1 .descendant-div3
PASS Fragment.querySelectorAll: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
PASS Fragment.querySelector: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
-PASS Fragment.querySelectorAll: Descendant combinator, whitespace characters: #descendant
+PASS Fragment.querySelectorAll: Descendant combinator, whitespace characters: #descendant \r
#descendant-div2
-PASS Fragment.querySelector: Descendant combinator, whitespace characters: #descendant
+PASS Fragment.querySelector: Descendant combinator, whitespace characters: #descendant \r
#descendant-div2
PASS Fragment.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div
PASS Fragment.querySelector: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div
PASS Fragment.querySelector: Child combinator, not matching element with id that is not a child of an element with class: #child-div1>.child-div3
PASS Fragment.querySelectorAll: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
PASS Fragment.querySelector: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
-PASS Fragment.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1
->
+PASS Fragment.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1 \r
+> \r
#child-div2
-PASS Fragment.querySelector: Child combinator, surrounded by whitespace: #child-div1
->
+PASS Fragment.querySelector: Child combinator, surrounded by whitespace: #child-div1 \r
+> \r
#child-div2
-PASS Fragment.querySelectorAll: Child combinator, whitespace after: #child-div1>
+PASS Fragment.querySelectorAll: Child combinator, whitespace after: #child-div1> \r
#child-div2
-PASS Fragment.querySelector: Child combinator, whitespace after: #child-div1>
+PASS Fragment.querySelector: Child combinator, whitespace after: #child-div1> \r
#child-div2
-PASS Fragment.querySelectorAll: Child combinator, whitespace before: #child-div1
+PASS Fragment.querySelectorAll: Child combinator, whitespace before: #child-div1 \r
>#child-div2
-PASS Fragment.querySelector: Child combinator, whitespace before: #child-div1
+PASS Fragment.querySelector: Child combinator, whitespace before: #child-div1 \r
>#child-div2
PASS Fragment.querySelectorAll: Child combinator, no whitespace: #child-div1>#child-div2
PASS Fragment.querySelector: Child combinator, no whitespace: #child-div1>#child-div2
PASS Fragment.querySelector: Adjacent sibling combinator, matching p element that is an adjacent sibling of a div element: #adjacent div+p
PASS Fragment.querySelectorAll: Adjacent sibling combinator, not matching element with id that is not an adjacent sibling of an element with id: #adjacent-div2+#adjacent-p2, #adjacent-div2+#adjacent-div1
PASS Fragment.querySelector: Adjacent sibling combinator, not matching element with id that is not an adjacent sibling of an element with id: #adjacent-div2+#adjacent-p2, #adjacent-div2+#adjacent-div1
-PASS Fragment.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2
-+
+PASS Fragment.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2 \r
++ \r
#adjacent-p3
-PASS Fragment.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2
-+
+PASS Fragment.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2 \r
++ \r
#adjacent-p3
-PASS Fragment.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+
+PASS Fragment.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+ \r
#adjacent-p3
-PASS Fragment.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+
+PASS Fragment.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+ \r
#adjacent-p3
-PASS Fragment.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2
+PASS Fragment.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2 \r
+#adjacent-p3
-PASS Fragment.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2
+PASS Fragment.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2 \r
+#adjacent-p3
PASS Fragment.querySelectorAll: Adjacent sibling combinator, no whitespace: #adjacent-p2+#adjacent-p3
PASS Fragment.querySelector: Adjacent sibling combinator, no whitespace: #adjacent-p2+#adjacent-p3
PASS Fragment.querySelector: General sibling combinator, not matching element with id that is not a sibling after a p element: #sibling>p~div
PASS Fragment.querySelectorAll: General sibling combinator, not matching element with id that is not a sibling after an element with id: #sibling-div2~#sibling-div3, #sibling-div2~#sibling-div1
PASS Fragment.querySelector: General sibling combinator, not matching element with id that is not a sibling after an element with id: #sibling-div2~#sibling-div3, #sibling-div2~#sibling-div1
-PASS Fragment.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2
-~
+PASS Fragment.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2 \r
+~ \r
#sibling-p3
-PASS Fragment.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2
-~
+PASS Fragment.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2 \r
+~ \r
#sibling-p3
-PASS Fragment.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~
+PASS Fragment.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~ \r
#sibling-p3
-PASS Fragment.querySelector: General sibling combinator, whitespace after: #sibling-p2~
+PASS Fragment.querySelector: General sibling combinator, whitespace after: #sibling-p2~ \r
#sibling-p3
-PASS Fragment.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2
+PASS Fragment.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2 \r
~#sibling-p3
-PASS Fragment.querySelector: General sibling combinator, whitespace before: #sibling-p2
+PASS Fragment.querySelector: General sibling combinator, whitespace before: #sibling-p2 \r
~#sibling-p3
PASS Fragment.querySelectorAll: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
PASS Fragment.querySelector: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
-PASS Fragment.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em
-
-,
-
+PASS Fragment.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em \r
+, \r
#group strong
-PASS Fragment.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em
-
-,
-
+PASS Fragment.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em \r
+, \r
#group strong
-PASS Fragment.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em,
+PASS Fragment.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em, \r
#group strong
-PASS Fragment.querySelector: Syntax, group of selectors separator, whitespace after: #group em,
+PASS Fragment.querySelector: Syntax, group of selectors separator, whitespace after: #group em, \r
#group strong
-PASS Fragment.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em
+PASS Fragment.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em \r
,#group strong
-PASS Fragment.querySelector: Syntax, group of selectors separator, whitespace before: #group em
+PASS Fragment.querySelector: Syntax, group of selectors separator, whitespace before: #group em \r
,#group strong
PASS Fragment.querySelectorAll: Syntax, group of selectors separator, no whitespace: #group em,#group strong
PASS Fragment.querySelector: Syntax, group of selectors separator, no whitespace: #group em,#group strong
PASS In-document Element.querySelector: Descendant combinator, matching element with class that is a descendant of an element with class: .descendant-div1 .descendant-div3
PASS In-document Element.querySelectorAll: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
PASS In-document Element.querySelector: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
-PASS In-document Element.querySelectorAll: Descendant combinator, whitespace characters: #descendant
+PASS In-document Element.querySelectorAll: Descendant combinator, whitespace characters: #descendant \r
#descendant-div2
-PASS In-document Element.querySelector: Descendant combinator, whitespace characters: #descendant
+PASS In-document Element.querySelector: Descendant combinator, whitespace characters: #descendant \r
#descendant-div2
PASS In-document Element.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div
PASS In-document Element.querySelector: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div
PASS In-document Element.querySelector: Child combinator, not matching element with id that is not a child of an element with class: #child-div1>.child-div3
PASS In-document Element.querySelectorAll: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
PASS In-document Element.querySelector: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
-PASS In-document Element.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1
->
+PASS In-document Element.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1 \r
+> \r
#child-div2
-PASS In-document Element.querySelector: Child combinator, surrounded by whitespace: #child-div1
->
+PASS In-document Element.querySelector: Child combinator, surrounded by whitespace: #child-div1 \r
+> \r
#child-div2
-PASS In-document Element.querySelectorAll: Child combinator, whitespace after: #child-div1>
+PASS In-document Element.querySelectorAll: Child combinator, whitespace after: #child-div1> \r
#child-div2
-PASS In-document Element.querySelector: Child combinator, whitespace after: #child-div1>
+PASS In-document Element.querySelector: Child combinator, whitespace after: #child-div1> \r
#child-div2
-PASS In-document Element.querySelectorAll: Child combinator, whitespace before: #child-div1
+PASS In-document Element.querySelectorAll: Child combinator, whitespace before: #child-div1 \r
>#child-div2
-PASS In-document Element.querySelector: Child combinator, whitespace before: #child-div1
+PASS In-document Element.querySelector: Child combinator, whitespace before: #child-div1 \r
>#child-div2
PASS In-document Element.querySelectorAll: Child combinator, no whitespace: #child-div1>#child-div2
PASS In-document Element.querySelector: Child combinator, no whitespace: #child-div1>#child-div2
PASS In-document Element.querySelector: Adjacent sibling combinator, matching p element that is an adjacent sibling of a div element: #adjacent div+p
PASS In-document Element.querySelectorAll: Adjacent sibling combinator, not matching element with id that is not an adjacent sibling of an element with id: #adjacent-div2+#adjacent-p2, #adjacent-div2+#adjacent-div1
PASS In-document Element.querySelector: Adjacent sibling combinator, not matching element with id that is not an adjacent sibling of an element with id: #adjacent-div2+#adjacent-p2, #adjacent-div2+#adjacent-div1
-PASS In-document Element.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2
-+
+PASS In-document Element.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2 \r
++ \r
#adjacent-p3
-PASS In-document Element.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2
-+
+PASS In-document Element.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2 \r
++ \r
#adjacent-p3
-PASS In-document Element.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+
+PASS In-document Element.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+ \r
#adjacent-p3
-PASS In-document Element.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+
+PASS In-document Element.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+ \r
#adjacent-p3
-PASS In-document Element.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2
+PASS In-document Element.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2 \r
+#adjacent-p3
-PASS In-document Element.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2
+PASS In-document Element.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2 \r
+#adjacent-p3
PASS In-document Element.querySelectorAll: Adjacent sibling combinator, no whitespace: #adjacent-p2+#adjacent-p3
PASS In-document Element.querySelector: Adjacent sibling combinator, no whitespace: #adjacent-p2+#adjacent-p3
PASS In-document Element.querySelector: General sibling combinator, not matching element with id that is not a sibling after a p element: #sibling>p~div
PASS In-document Element.querySelectorAll: General sibling combinator, not matching element with id that is not a sibling after an element with id: #sibling-div2~#sibling-div3, #sibling-div2~#sibling-div1
PASS In-document Element.querySelector: General sibling combinator, not matching element with id that is not a sibling after an element with id: #sibling-div2~#sibling-div3, #sibling-div2~#sibling-div1
-PASS In-document Element.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2
-~
+PASS In-document Element.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2 \r
+~ \r
#sibling-p3
-PASS In-document Element.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2
-~
+PASS In-document Element.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2 \r
+~ \r
#sibling-p3
-PASS In-document Element.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~
+PASS In-document Element.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~ \r
#sibling-p3
-PASS In-document Element.querySelector: General sibling combinator, whitespace after: #sibling-p2~
+PASS In-document Element.querySelector: General sibling combinator, whitespace after: #sibling-p2~ \r
#sibling-p3
-PASS In-document Element.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2
+PASS In-document Element.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2 \r
~#sibling-p3
-PASS In-document Element.querySelector: General sibling combinator, whitespace before: #sibling-p2
+PASS In-document Element.querySelector: General sibling combinator, whitespace before: #sibling-p2 \r
~#sibling-p3
PASS In-document Element.querySelectorAll: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
PASS In-document Element.querySelector: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
-PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em
-
-,
-
+PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em \r
+, \r
#group strong
-PASS In-document Element.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em
-
-,
-
+PASS In-document Element.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em \r
+, \r
#group strong
-PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em,
+PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em, \r
#group strong
-PASS In-document Element.querySelector: Syntax, group of selectors separator, whitespace after: #group em,
+PASS In-document Element.querySelector: Syntax, group of selectors separator, whitespace after: #group em, \r
#group strong
-PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em
+PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em \r
,#group strong
-PASS In-document Element.querySelector: Syntax, group of selectors separator, whitespace before: #group em
+PASS In-document Element.querySelector: Syntax, group of selectors separator, whitespace before: #group em \r
,#group strong
PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, no whitespace: #group em,#group strong
PASS In-document Element.querySelector: Syntax, group of selectors separator, no whitespace: #group em,#group strong
PASS Document.querySelector: Descendant combinator, matching element with class that is a descendant of an element with class: .descendant-div1 .descendant-div3
PASS Document.querySelectorAll: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
PASS Document.querySelector: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
-PASS Document.querySelectorAll: Descendant combinator, whitespace characters: #descendant
+PASS Document.querySelectorAll: Descendant combinator, whitespace characters: #descendant \r
#descendant-div2
-PASS Document.querySelector: Descendant combinator, whitespace characters: #descendant
+PASS Document.querySelector: Descendant combinator, whitespace characters: #descendant \r
#descendant-div2
PASS Document.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div
PASS Document.querySelector: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div
PASS Document.querySelector: Child combinator, not matching element with id that is not a child of an element with class: #child-div1>.child-div3
PASS Document.querySelectorAll: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
PASS Document.querySelector: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
-PASS Document.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1
->
+PASS Document.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1 \r
+> \r
#child-div2
-PASS Document.querySelector: Child combinator, surrounded by whitespace: #child-div1
->
+PASS Document.querySelector: Child combinator, surrounded by whitespace: #child-div1 \r
+> \r
#child-div2
-PASS Document.querySelectorAll: Child combinator, whitespace after: #child-div1>
+PASS Document.querySelectorAll: Child combinator, whitespace after: #child-div1> \r
#child-div2
-PASS Document.querySelector: Child combinator, whitespace after: #child-div1>
+PASS Document.querySelector: Child combinator, whitespace after: #child-div1> \r
#child-div2
-PASS Document.querySelectorAll: Child combinator, whitespace before: #child-div1
+PASS Document.querySelectorAll: Child combinator, whitespace before: #child-div1 \r
>#child-div2
-PASS Document.querySelector: Child combinator, whitespace before: #child-div1
+PASS Document.querySelector: Child combinator, whitespace before: #child-div1 \r
>#child-div2
PASS Document.querySelectorAll: Child combinator, no whitespace: #child-div1>#child-div2
PASS Document.querySelector: Child combinator, no whitespace: #child-div1>#child-div2
PASS Document.querySelector: Adjacent sibling combinator, matching p element that is an adjacent sibling of a div element: #adjacent div+p
PASS Document.querySelectorAll: Adjacent sibling combinator, not matching element with id that is not an adjacent sibling of an element with id: #adjacent-div2+#adjacent-p2, #adjacent-div2+#adjacent-div1
PASS Document.querySelector: Adjacent sibling combinator, not matching element with id that is not an adjacent sibling of an element with id: #adjacent-div2+#adjacent-p2, #adjacent-div2+#adjacent-div1
-PASS Document.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2
-+
+PASS Document.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2 \r
++ \r
#adjacent-p3
-PASS Document.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2
-+
+PASS Document.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2 \r
++ \r
#adjacent-p3
-PASS Document.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+
+PASS Document.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+ \r
#adjacent-p3
-PASS Document.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+
+PASS Document.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+ \r
#adjacent-p3
-PASS Document.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2
+PASS Document.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2 \r
+#adjacent-p3
-PASS Document.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2
+PASS Document.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2 \r
+#adjacent-p3
PASS Document.querySelectorAll: Adjacent sibling combinator, no whitespace: #adjacent-p2+#adjacent-p3
PASS Document.querySelector: Adjacent sibling combinator, no whitespace: #adjacent-p2+#adjacent-p3
PASS Document.querySelector: General sibling combinator, not matching element with id that is not a sibling after a p element: #sibling>p~div
PASS Document.querySelectorAll: General sibling combinator, not matching element with id that is not a sibling after an element with id: #sibling-div2~#sibling-div3, #sibling-div2~#sibling-div1
PASS Document.querySelector: General sibling combinator, not matching element with id that is not a sibling after an element with id: #sibling-div2~#sibling-div3, #sibling-div2~#sibling-div1
-PASS Document.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2
-~
+PASS Document.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2 \r
+~ \r
#sibling-p3
-PASS Document.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2
-~
+PASS Document.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2 \r
+~ \r
#sibling-p3
-PASS Document.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~
+PASS Document.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~ \r
#sibling-p3
-PASS Document.querySelector: General sibling combinator, whitespace after: #sibling-p2~
+PASS Document.querySelector: General sibling combinator, whitespace after: #sibling-p2~ \r
#sibling-p3
-PASS Document.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2
+PASS Document.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2 \r
~#sibling-p3
-PASS Document.querySelector: General sibling combinator, whitespace before: #sibling-p2
+PASS Document.querySelector: General sibling combinator, whitespace before: #sibling-p2 \r
~#sibling-p3
PASS Document.querySelectorAll: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
PASS Document.querySelector: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
-PASS Document.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em
-
-,
-
+PASS Document.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em \r
+, \r
#group strong
-PASS Document.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em
-
-,
-
+PASS Document.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em \r
+, \r
#group strong
-PASS Document.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em,
+PASS Document.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em, \r
#group strong
-PASS Document.querySelector: Syntax, group of selectors separator, whitespace after: #group em,
+PASS Document.querySelector: Syntax, group of selectors separator, whitespace after: #group em, \r
#group strong
-PASS Document.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em
+PASS Document.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em \r
,#group strong
-PASS Document.querySelector: Syntax, group of selectors separator, whitespace before: #group em
+PASS Document.querySelector: Syntax, group of selectors separator, whitespace before: #group em \r
,#group strong
PASS Document.querySelectorAll: Syntax, group of selectors separator, no whitespace: #group em,#group strong
PASS Document.querySelector: Syntax, group of selectors separator, no whitespace: #group em,#group strong
PASS Detached Element.querySelector: Descendant combinator, matching element with class that is a descendant of an element with class: .descendant-div1 .descendant-div3
PASS Detached Element.querySelectorAll: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
PASS Detached Element.querySelector: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
-PASS Detached Element.querySelectorAll: Descendant combinator, whitespace characters: #descendant
+PASS Detached Element.querySelectorAll: Descendant combinator, whitespace characters: #descendant \r
#descendant-div2
-PASS Detached Element.querySelector: Descendant combinator, whitespace characters: #descendant
+PASS Detached Element.querySelector: Descendant combinator, whitespace characters: #descendant \r
#descendant-div2
PASS Detached Element.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div
PASS Detached Element.querySelector: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div
PASS Detached Element.querySelector: Child combinator, not matching element with id that is not a child of an element with class: #child-div1>.child-div3
PASS Detached Element.querySelectorAll: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
PASS Detached Element.querySelector: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
-PASS Detached Element.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1
->
+PASS Detached Element.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1 \r
+> \r
#child-div2
-PASS Detached Element.querySelector: Child combinator, surrounded by whitespace: #child-div1
->
+PASS Detached Element.querySelector: Child combinator, surrounded by whitespace: #child-div1 \r
+> \r
#child-div2
-PASS Detached Element.querySelectorAll: Child combinator, whitespace after: #child-div1>
+PASS Detached Element.querySelectorAll: Child combinator, whitespace after: #child-div1> \r
#child-div2
-PASS Detached Element.querySelector: Child combinator, whitespace after: #child-div1>
+PASS Detached Element.querySelector: Child combinator, whitespace after: #child-div1> \r
#child-div2
-PASS Detached Element.querySelectorAll: Child combinator, whitespace before: #child-div1
+PASS Detached Element.querySelectorAll: Child combinator, whitespace before: #child-div1 \r
>#child-div2
-PASS Detached Element.querySelector: Child combinator, whitespace before: #child-div1
+PASS Detached Element.querySelector: Child combinator, whitespace before: #child-div1 \r
>#child-div2
PASS Detached Element.querySelectorAll: Child combinator, no whitespace: #child-div1>#child-div2
PASS Detached Element.querySelector: Child combinator, no whitespace: #child-div1>#child-div2
PASS Detached Element.querySelector: Adjacent sibling combinator, matching p element that is an adjacent sibling of a div element: #adjacent div+p
PASS Detached Element.querySelectorAll: Adjacent sibling combinator, not matching element with id that is not an adjacent sibling of an element with id: #adjacent-div2+#adjacent-p2, #adjacent-div2+#adjacent-div1
PASS Detached Element.querySelector: Adjacent sibling combinator, not matching element with id that is not an adjacent sibling of an element with id: #adjacent-div2+#adjacent-p2, #adjacent-div2+#adjacent-div1
-PASS Detached Element.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2
-+
+PASS Detached Element.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2 \r
++ \r
#adjacent-p3
-PASS Detached Element.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2
-+
+PASS Detached Element.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2 \r
++ \r
#adjacent-p3
-PASS Detached Element.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+
+PASS Detached Element.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+ \r
#adjacent-p3
-PASS Detached Element.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+
+PASS Detached Element.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+ \r
#adjacent-p3
-PASS Detached Element.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2
+PASS Detached Element.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2 \r
+#adjacent-p3
-PASS Detached Element.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2
+PASS Detached Element.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2 \r
+#adjacent-p3
PASS Detached Element.querySelectorAll: Adjacent sibling combinator, no whitespace: #adjacent-p2+#adjacent-p3
PASS Detached Element.querySelector: Adjacent sibling combinator, no whitespace: #adjacent-p2+#adjacent-p3
PASS Detached Element.querySelector: General sibling combinator, not matching element with id that is not a sibling after a p element: #sibling>p~div
PASS Detached Element.querySelectorAll: General sibling combinator, not matching element with id that is not a sibling after an element with id: #sibling-div2~#sibling-div3, #sibling-div2~#sibling-div1
PASS Detached Element.querySelector: General sibling combinator, not matching element with id that is not a sibling after an element with id: #sibling-div2~#sibling-div3, #sibling-div2~#sibling-div1
-PASS Detached Element.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2
-~
+PASS Detached Element.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2 \r
+~ \r
#sibling-p3
-PASS Detached Element.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2
-~
+PASS Detached Element.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2 \r
+~ \r
#sibling-p3
-PASS Detached Element.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~
+PASS Detached Element.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~ \r
#sibling-p3
-PASS Detached Element.querySelector: General sibling combinator, whitespace after: #sibling-p2~
+PASS Detached Element.querySelector: General sibling combinator, whitespace after: #sibling-p2~ \r
#sibling-p3
-PASS Detached Element.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2
+PASS Detached Element.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2 \r
~#sibling-p3
-PASS Detached Element.querySelector: General sibling combinator, whitespace before: #sibling-p2
+PASS Detached Element.querySelector: General sibling combinator, whitespace before: #sibling-p2 \r
~#sibling-p3
PASS Detached Element.querySelectorAll: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
PASS Detached Element.querySelector: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
-PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em
-
-,
-
+PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em \r
+, \r
#group strong
-PASS Detached Element.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em
-
-,
-
+PASS Detached Element.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em \r
+, \r
#group strong
-PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em,
+PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em, \r
#group strong
-PASS Detached Element.querySelector: Syntax, group of selectors separator, whitespace after: #group em,
+PASS Detached Element.querySelector: Syntax, group of selectors separator, whitespace after: #group em, \r
#group strong
-PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em
+PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em \r
,#group strong
-PASS Detached Element.querySelector: Syntax, group of selectors separator, whitespace before: #group em
+PASS Detached Element.querySelector: Syntax, group of selectors separator, whitespace before: #group em \r
,#group strong
PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, no whitespace: #group em,#group strong
PASS Detached Element.querySelector: Syntax, group of selectors separator, no whitespace: #group em,#group strong
PASS Fragment.querySelector: Descendant combinator, matching element with class that is a descendant of an element with class: .descendant-div1 .descendant-div3
PASS Fragment.querySelectorAll: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
PASS Fragment.querySelector: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
-PASS Fragment.querySelectorAll: Descendant combinator, whitespace characters: #descendant
+PASS Fragment.querySelectorAll: Descendant combinator, whitespace characters: #descendant \r
#descendant-div2
-PASS Fragment.querySelector: Descendant combinator, whitespace characters: #descendant
+PASS Fragment.querySelector: Descendant combinator, whitespace characters: #descendant \r
#descendant-div2
PASS Fragment.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div
PASS Fragment.querySelector: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div
PASS Fragment.querySelector: Child combinator, not matching element with id that is not a child of an element with class: #child-div1>.child-div3
PASS Fragment.querySelectorAll: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
PASS Fragment.querySelector: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
-PASS Fragment.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1
->
+PASS Fragment.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1 \r
+> \r
#child-div2
-PASS Fragment.querySelector: Child combinator, surrounded by whitespace: #child-div1
->
+PASS Fragment.querySelector: Child combinator, surrounded by whitespace: #child-div1 \r
+> \r
#child-div2
-PASS Fragment.querySelectorAll: Child combinator, whitespace after: #child-div1>
+PASS Fragment.querySelectorAll: Child combinator, whitespace after: #child-div1> \r
#child-div2
-PASS Fragment.querySelector: Child combinator, whitespace after: #child-div1>
+PASS Fragment.querySelector: Child combinator, whitespace after: #child-div1> \r
#child-div2
-PASS Fragment.querySelectorAll: Child combinator, whitespace before: #child-div1
+PASS Fragment.querySelectorAll: Child combinator, whitespace before: #child-div1 \r
>#child-div2
-PASS Fragment.querySelector: Child combinator, whitespace before: #child-div1
+PASS Fragment.querySelector: Child combinator, whitespace before: #child-div1 \r
>#child-div2
PASS Fragment.querySelectorAll: Child combinator, no whitespace: #child-div1>#child-div2
PASS Fragment.querySelector: Child combinator, no whitespace: #child-div1>#child-div2
PASS Fragment.querySelector: Adjacent sibling combinator, matching p element that is an adjacent sibling of a div element: #adjacent div+p
PASS Fragment.querySelectorAll: Adjacent sibling combinator, not matching element with id that is not an adjacent sibling of an element with id: #adjacent-div2+#adjacent-p2, #adjacent-div2+#adjacent-div1
PASS Fragment.querySelector: Adjacent sibling combinator, not matching element with id that is not an adjacent sibling of an element with id: #adjacent-div2+#adjacent-p2, #adjacent-div2+#adjacent-div1
-PASS Fragment.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2
-+
+PASS Fragment.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2 \r
++ \r
#adjacent-p3
-PASS Fragment.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2
-+
+PASS Fragment.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2 \r
++ \r
#adjacent-p3
-PASS Fragment.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+
+PASS Fragment.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+ \r
#adjacent-p3
-PASS Fragment.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+
+PASS Fragment.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+ \r
#adjacent-p3
-PASS Fragment.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2
+PASS Fragment.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2 \r
+#adjacent-p3
-PASS Fragment.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2
+PASS Fragment.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2 \r
+#adjacent-p3
PASS Fragment.querySelectorAll: Adjacent sibling combinator, no whitespace: #adjacent-p2+#adjacent-p3
PASS Fragment.querySelector: Adjacent sibling combinator, no whitespace: #adjacent-p2+#adjacent-p3
PASS Fragment.querySelector: General sibling combinator, not matching element with id that is not a sibling after a p element: #sibling>p~div
PASS Fragment.querySelectorAll: General sibling combinator, not matching element with id that is not a sibling after an element with id: #sibling-div2~#sibling-div3, #sibling-div2~#sibling-div1
PASS Fragment.querySelector: General sibling combinator, not matching element with id that is not a sibling after an element with id: #sibling-div2~#sibling-div3, #sibling-div2~#sibling-div1
-PASS Fragment.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2
-~
+PASS Fragment.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2 \r
+~ \r
#sibling-p3
-PASS Fragment.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2
-~
+PASS Fragment.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2 \r
+~ \r
#sibling-p3
-PASS Fragment.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~
+PASS Fragment.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~ \r
#sibling-p3
-PASS Fragment.querySelector: General sibling combinator, whitespace after: #sibling-p2~
+PASS Fragment.querySelector: General sibling combinator, whitespace after: #sibling-p2~ \r
#sibling-p3
-PASS Fragment.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2
+PASS Fragment.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2 \r
~#sibling-p3
-PASS Fragment.querySelector: General sibling combinator, whitespace before: #sibling-p2
+PASS Fragment.querySelector: General sibling combinator, whitespace before: #sibling-p2 \r
~#sibling-p3
PASS Fragment.querySelectorAll: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
PASS Fragment.querySelector: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
-PASS Fragment.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em
-
-,
-
+PASS Fragment.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em \r
+, \r
#group strong
-PASS Fragment.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em
-
-,
-
+PASS Fragment.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em \r
+, \r
#group strong
-PASS Fragment.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em,
+PASS Fragment.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em, \r
#group strong
-PASS Fragment.querySelector: Syntax, group of selectors separator, whitespace after: #group em,
+PASS Fragment.querySelector: Syntax, group of selectors separator, whitespace after: #group em, \r
#group strong
-PASS Fragment.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em
+PASS Fragment.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em \r
,#group strong
-PASS Fragment.querySelector: Syntax, group of selectors separator, whitespace before: #group em
+PASS Fragment.querySelector: Syntax, group of selectors separator, whitespace before: #group em \r
,#group strong
PASS Fragment.querySelectorAll: Syntax, group of selectors separator, no whitespace: #group em,#group strong
PASS Fragment.querySelector: Syntax, group of selectors separator, no whitespace: #group em,#group strong
PASS In-document Element.querySelector: Descendant combinator, matching element with class that is a descendant of an element with class: .descendant-div1 .descendant-div3
PASS In-document Element.querySelectorAll: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
PASS In-document Element.querySelector: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
-PASS In-document Element.querySelectorAll: Descendant combinator, whitespace characters: #descendant
+PASS In-document Element.querySelectorAll: Descendant combinator, whitespace characters: #descendant \r
#descendant-div2
-PASS In-document Element.querySelector: Descendant combinator, whitespace characters: #descendant
+PASS In-document Element.querySelector: Descendant combinator, whitespace characters: #descendant \r
#descendant-div2
PASS In-document Element.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div
PASS In-document Element.querySelector: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div
PASS In-document Element.querySelector: Child combinator, not matching element with id that is not a child of an element with class: #child-div1>.child-div3
PASS In-document Element.querySelectorAll: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
PASS In-document Element.querySelector: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
-PASS In-document Element.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1
->
+PASS In-document Element.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1 \r
+> \r
#child-div2
-PASS In-document Element.querySelector: Child combinator, surrounded by whitespace: #child-div1
->
+PASS In-document Element.querySelector: Child combinator, surrounded by whitespace: #child-div1 \r
+> \r
#child-div2
-PASS In-document Element.querySelectorAll: Child combinator, whitespace after: #child-div1>
+PASS In-document Element.querySelectorAll: Child combinator, whitespace after: #child-div1> \r
#child-div2
-PASS In-document Element.querySelector: Child combinator, whitespace after: #child-div1>
+PASS In-document Element.querySelector: Child combinator, whitespace after: #child-div1> \r
#child-div2
-PASS In-document Element.querySelectorAll: Child combinator, whitespace before: #child-div1
+PASS In-document Element.querySelectorAll: Child combinator, whitespace before: #child-div1 \r
>#child-div2
-PASS In-document Element.querySelector: Child combinator, whitespace before: #child-div1
+PASS In-document Element.querySelector: Child combinator, whitespace before: #child-div1 \r
>#child-div2
PASS In-document Element.querySelectorAll: Child combinator, no whitespace: #child-div1>#child-div2
PASS In-document Element.querySelector: Child combinator, no whitespace: #child-div1>#child-div2
PASS In-document Element.querySelector: Adjacent sibling combinator, matching p element that is an adjacent sibling of a div element: #adjacent div+p
PASS In-document Element.querySelectorAll: Adjacent sibling combinator, not matching element with id that is not an adjacent sibling of an element with id: #adjacent-div2+#adjacent-p2, #adjacent-div2+#adjacent-div1
PASS In-document Element.querySelector: Adjacent sibling combinator, not matching element with id that is not an adjacent sibling of an element with id: #adjacent-div2+#adjacent-p2, #adjacent-div2+#adjacent-div1
-PASS In-document Element.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2
-+
+PASS In-document Element.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2 \r
++ \r
#adjacent-p3
-PASS In-document Element.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2
-+
+PASS In-document Element.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2 \r
++ \r
#adjacent-p3
-PASS In-document Element.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+
+PASS In-document Element.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+ \r
#adjacent-p3
-PASS In-document Element.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+
+PASS In-document Element.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+ \r
#adjacent-p3
-PASS In-document Element.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2
+PASS In-document Element.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2 \r
+#adjacent-p3
-PASS In-document Element.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2
+PASS In-document Element.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2 \r
+#adjacent-p3
PASS In-document Element.querySelectorAll: Adjacent sibling combinator, no whitespace: #adjacent-p2+#adjacent-p3
PASS In-document Element.querySelector: Adjacent sibling combinator, no whitespace: #adjacent-p2+#adjacent-p3
PASS In-document Element.querySelector: General sibling combinator, not matching element with id that is not a sibling after a p element: #sibling>p~div
PASS In-document Element.querySelectorAll: General sibling combinator, not matching element with id that is not a sibling after an element with id: #sibling-div2~#sibling-div3, #sibling-div2~#sibling-div1
PASS In-document Element.querySelector: General sibling combinator, not matching element with id that is not a sibling after an element with id: #sibling-div2~#sibling-div3, #sibling-div2~#sibling-div1
-PASS In-document Element.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2
-~
+PASS In-document Element.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2 \r
+~ \r
#sibling-p3
-PASS In-document Element.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2
-~
+PASS In-document Element.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2 \r
+~ \r
#sibling-p3
-PASS In-document Element.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~
+PASS In-document Element.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~ \r
#sibling-p3
-PASS In-document Element.querySelector: General sibling combinator, whitespace after: #sibling-p2~
+PASS In-document Element.querySelector: General sibling combinator, whitespace after: #sibling-p2~ \r
#sibling-p3
-PASS In-document Element.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2
+PASS In-document Element.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2 \r
~#sibling-p3
-PASS In-document Element.querySelector: General sibling combinator, whitespace before: #sibling-p2
+PASS In-document Element.querySelector: General sibling combinator, whitespace before: #sibling-p2 \r
~#sibling-p3
PASS In-document Element.querySelectorAll: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
PASS In-document Element.querySelector: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
-PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em
-
-,
-
+PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em \r
+, \r
#group strong
-PASS In-document Element.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em
-
-,
-
+PASS In-document Element.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em \r
+, \r
#group strong
-PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em,
+PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em, \r
#group strong
-PASS In-document Element.querySelector: Syntax, group of selectors separator, whitespace after: #group em,
+PASS In-document Element.querySelector: Syntax, group of selectors separator, whitespace after: #group em, \r
#group strong
-PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em
+PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em \r
,#group strong
-PASS In-document Element.querySelector: Syntax, group of selectors separator, whitespace before: #group em
+PASS In-document Element.querySelector: Syntax, group of selectors separator, whitespace before: #group em \r
,#group strong
PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, no whitespace: #group em,#group strong
PASS In-document Element.querySelector: Syntax, group of selectors separator, no whitespace: #group em,#group strong
PASS Parsing: <http://facebook.com/?foo=%7B%22abc%22> against <about:blank>
PASS Parsing: <https://localhost:3000/jqueryui@1.2.3> against <about:blank>
PASS Parsing: <h t
-t
-p://h o
-s
-t:9 0
-0
-0/p a
-t
-h?q u
-e
-ry#f r
-a
-g> against <about:blank>
+t\rp://h o
+s\rt:9 0
+0\r0/p a
+t\rh?q u
+e\rry#f r
+a\rg> against <about:blank>
PASS Parsing: <?a=b&c=d> against <http://example.org/foo/bar>
PASS Parsing: <??a=b&c=d> against <http://example.org/foo/bar>
PASS Parsing: <http:> against <http://example.org/foo/bar>
PASS Parsing: <http://facebook.com/?foo=%7B%22abc%22> against <about:blank>
PASS Parsing: <https://localhost:3000/jqueryui@1.2.3> against <about:blank>
PASS Parsing: <h t
-t
-p://h o
-s
-t:9 0
-0
-0/p a
-t
-h?q u
-e
-ry#f r
-a
-g> against <about:blank>
+t\rp://h o
+s\rt:9 0
+0\r0/p a
+t\rh?q u
+e\rry#f r
+a\rg> against <about:blank>
PASS Parsing: <?a=b&c=d> against <http://example.org/foo/bar>
PASS Parsing: <??a=b&c=d> against <http://example.org/foo/bar>
PASS Parsing: <http:> against <http://example.org/foo/bar>
PASS Parsing: <http://facebook.com/?foo=%7B%22abc%22> against <about:blank>
PASS Parsing: <https://localhost:3000/jqueryui@1.2.3> against <about:blank>
PASS Parsing: <h t
-t
-p://h o
-s
-t:9 0
-0
-0/p a
-t
-h?q u
-e
-ry#f r
-a
-g> against <about:blank>
+t\rp://h o
+s\rt:9 0
+0\r0/p a
+t\rh?q u
+e\rry#f r
+a\rg> against <about:blank>
PASS Parsing: <?a=b&c=d> against <http://example.org/foo/bar>
PASS Parsing: <??a=b&c=d> against <http://example.org/foo/bar>
PASS Parsing: <http:> against <http://example.org/foo/bar>
PASS URL: Setting <http://me:secret@example.net>.username = ''
PASS <a>: Setting <http://me:secret@example.net>.username = ''
PASS <area>: Setting <http://me:secret@example.net>.username = ''
-PASS URL: Setting <http://example.net>.username = '
\ No newline at end of file
+PASS URL: Setting <http://example.net>.username = '\0\ 1
+\r\1f !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~\7f\80\81Éé' UTF-8 percent encoding with the userinfo encode set.
+PASS <a>: Setting <http://example.net>.username = '\0\ 1
+\r\1f !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~\7f\80\81Éé' UTF-8 percent encoding with the userinfo encode set.
+PASS <area>: Setting <http://example.net>.username = '\0\ 1
+\r\1f !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~\7f\80\81Éé' UTF-8 percent encoding with the userinfo encode set.
+PASS URL: Setting <http://example.net>.username = '%c3%89té' Bytes already percent-encoded are left as-is.
+PASS <a>: Setting <http://example.net>.username = '%c3%89té' Bytes already percent-encoded are left as-is.
+PASS <area>: Setting <http://example.net>.username = '%c3%89té' Bytes already percent-encoded are left as-is.
+FAIL URL: Setting <file:///home/me/index.html>.password = 'secret' No host means no password assert_equals: expected "file:///home/me/index.html" but got "file://:secret@/home/me/index.html"
+FAIL <a>: Setting <file:///home/me/index.html>.password = 'secret' No host means no password assert_equals: expected "file:///home/me/index.html" but got "file://:secret@/home/me/index.html"
+FAIL <area>: Setting <file:///home/me/index.html>.password = 'secret' No host means no password assert_equals: expected "file:///home/me/index.html" but got "file://:secret@/home/me/index.html"
+FAIL URL: Setting <unix:/run/foo.socket>.password = 'secret' No host means no password assert_equals: expected "unix:/run/foo.socket" but got "unix://:secret@/run/foo.socket"
+FAIL <a>: Setting <unix:/run/foo.socket>.password = 'secret' No host means no password assert_equals: expected "unix:/run/foo.socket" but got "unix://:secret@/run/foo.socket"
+FAIL <area>: Setting <unix:/run/foo.socket>.password = 'secret' No host means no password assert_equals: expected "unix:/run/foo.socket" but got "unix://:secret@/run/foo.socket"
+FAIL URL: Setting <mailto:me@example.net>.password = 'secret' Cannot-be-a-base means no password assert_equals: expected "mailto:me@example.net" but got "mailto://:secret%40me@example.net"
+FAIL <a>: Setting <mailto:me@example.net>.password = 'secret' Cannot-be-a-base means no password assert_equals: expected "mailto:me@example.net" but got "mailto://:secret%40me@example.net"
+FAIL <area>: Setting <mailto:me@example.net>.password = 'secret' Cannot-be-a-base means no password assert_equals: expected "mailto:me@example.net" but got "mailto://:secret%40me@example.net"
+PASS URL: Setting <http://example.net>.password = 'secret'
+PASS <a>: Setting <http://example.net>.password = 'secret'
+PASS <area>: Setting <http://example.net>.password = 'secret'
+PASS URL: Setting <http://me@example.net>.password = 'secret'
+PASS <a>: Setting <http://me@example.net>.password = 'secret'
+PASS <area>: Setting <http://me@example.net>.password = 'secret'
+PASS URL: Setting <http://:secret@example.net>.password = ''
+PASS <a>: Setting <http://:secret@example.net>.password = ''
+PASS <area>: Setting <http://:secret@example.net>.password = ''
+PASS URL: Setting <http://me:secret@example.net>.password = ''
+PASS <a>: Setting <http://me:secret@example.net>.password = ''
+PASS <area>: Setting <http://me:secret@example.net>.password = ''
+PASS URL: Setting <http://example.net>.password = '\0\ 1
+\r\1f !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~\7f\80\81Éé' UTF-8 percent encoding with the userinfo encode set.
+PASS <a>: Setting <http://example.net>.password = '\0\ 1
+\r\1f !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~\7f\80\81Éé' UTF-8 percent encoding with the userinfo encode set.
+PASS <area>: Setting <http://example.net>.password = '\0\ 1
+\r\1f !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~\7f\80\81Éé' UTF-8 percent encoding with the userinfo encode set.
+PASS URL: Setting <http://example.net>.password = '%c3%89té' Bytes already percent-encoded are left as-is.
+PASS <a>: Setting <http://example.net>.password = '%c3%89té' Bytes already percent-encoded are left as-is.
+PASS <area>: Setting <http://example.net>.password = '%c3%89té' Bytes already percent-encoded are left as-is.
+PASS URL: Setting <mailto:me@example.net>.host = 'example.com' Cannot-be-a-base means no host
+PASS <a>: Setting <mailto:me@example.net>.host = 'example.com' Cannot-be-a-base means no host
+PASS <area>: Setting <mailto:me@example.net>.host = 'example.com' Cannot-be-a-base means no host
+PASS URL: Setting <data:text/plain,Stuff>.host = 'example.net' Cannot-be-a-base means no password
+PASS <a>: Setting <data:text/plain,Stuff>.host = 'example.net' Cannot-be-a-base means no password
+PASS <area>: Setting <data:text/plain,Stuff>.host = 'example.net' Cannot-be-a-base means no password
+PASS URL: Setting <http://example.net>.host = 'example.com:8080'
+PASS <a>: Setting <http://example.net>.host = 'example.com:8080'
+PASS <area>: Setting <http://example.net>.host = 'example.com:8080'
+FAIL URL: Setting <http://example.net:8080>.host = 'example.com' Port number is unchanged if not specified in the new value assert_equals: expected "http://example.com:8080/" but got "http://example.com/"
+FAIL <a>: Setting <http://example.net:8080>.host = 'example.com' Port number is unchanged if not specified in the new value assert_equals: expected "http://example.com:8080/" but got "http://example.com/"
+FAIL <area>: Setting <http://example.net:8080>.host = 'example.com' Port number is unchanged if not specified in the new value assert_equals: expected "http://example.com:8080/" but got "http://example.com/"
+FAIL URL: Setting <http://example.net:8080>.host = 'example.com:' Port number is unchanges if empty in the new value. Note: this may change, see https://github.com/whatwg/url/pull/113 assert_equals: expected "http://example.com:8080/" but got "http://example.com:0/"
+FAIL <a>: Setting <http://example.net:8080>.host = 'example.com:' Port number is unchanges if empty in the new value. Note: this may change, see https://github.com/whatwg/url/pull/113 assert_equals: expected "http://example.com:8080/" but got "http://example.com:0/"
+FAIL <area>: Setting <http://example.net:8080>.host = 'example.com:' Port number is unchanges if empty in the new value. Note: this may change, see https://github.com/whatwg/url/pull/113 assert_equals: expected "http://example.com:8080/" but got "http://example.com:0/"
+PASS URL: Setting <http://example.net>.host = '' The empty host is not valid for special schemes
+PASS <a>: Setting <http://example.net>.host = '' The empty host is not valid for special schemes
+PASS <area>: Setting <http://example.net>.host = '' The empty host is not valid for special schemes
+FAIL URL: Setting <view-source+http://example.net/foo>.host = '' The empty host is OK for non-special schemes assert_equals: expected "view-source+http:///foo" but got "view-source+http://example.net/foo"
+FAIL <a>: Setting <view-source+http://example.net/foo>.host = '' The empty host is OK for non-special schemes assert_equals: expected "view-source+http:///foo" but got "view-source+http://example.net/foo"
+FAIL <area>: Setting <view-source+http://example.net/foo>.host = '' The empty host is OK for non-special schemes assert_equals: expected "view-source+http:///foo" but got "view-source+http://example.net/foo"
+PASS URL: Setting <a:/foo>.host = 'example.net' Path-only URLs can gain a host
+PASS <a>: Setting <a:/foo>.host = 'example.net' Path-only URLs can gain a host
+PASS <area>: Setting <a:/foo>.host = 'example.net' Path-only URLs can gain a host
+PASS URL: Setting <http://example.net>.host = '0x7F000001:8080' IPv4 address syntax is normalized
+PASS <a>: Setting <http://example.net>.host = '0x7F000001:8080' IPv4 address syntax is normalized
+PASS <area>: Setting <http://example.net>.host = '0x7F000001:8080' IPv4 address syntax is normalized
+FAIL URL: Setting <http://example.net>.host = '[::0:01]:2' IPv6 address syntax is normalized assert_equals: expected "http://[::1]:2/" but got "http://[:0/"
+FAIL <a>: Setting <http://example.net>.host = '[::0:01]:2' IPv6 address syntax is normalized assert_equals: expected "http://[::1]:2/" but got "http://[:0/"
+FAIL <area>: Setting <http://example.net>.host = '[::0:01]:2' IPv6 address syntax is normalized assert_equals: expected "http://[::1]:2/" but got "http://[:0/"
+PASS URL: Setting <http://example.net>.host = 'example.com:80' Default port number is removed
+PASS <a>: Setting <http://example.net>.host = 'example.com:80' Default port number is removed
+PASS <area>: Setting <http://example.net>.host = 'example.com:80' Default port number is removed
+PASS URL: Setting <https://example.net>.host = 'example.com:443' Default port number is removed
+PASS <a>: Setting <https://example.net>.host = 'example.com:443' Default port number is removed
+PASS <area>: Setting <https://example.net>.host = 'example.com:443' Default port number is removed
+PASS URL: Setting <https://example.net>.host = 'example.com:80' Default port number is only removed for the relevant scheme
+PASS <a>: Setting <https://example.net>.host = 'example.com:80' Default port number is only removed for the relevant scheme
+PASS <area>: Setting <https://example.net>.host = 'example.com:80' Default port number is only removed for the relevant scheme
+FAIL URL: Setting <http://example.net/path>.host = 'example.com/stuff' Stuff after a / delimiter is ignored assert_equals: expected "http://example.com/path" but got "http://example.com/stuff/path"
+FAIL <a>: Setting <http://example.net/path>.host = 'example.com/stuff' Stuff after a / delimiter is ignored assert_equals: expected "http://example.com/path" but got "http://example.com/stuff/path"
+FAIL <area>: Setting <http://example.net/path>.host = 'example.com/stuff' Stuff after a / delimiter is ignored assert_equals: expected "http://example.com/path" but got "http://example.com/stuff/path"
+PASS URL: Setting <http://example.net/path>.host = 'example.com:8080/stuff' Stuff after a / delimiter is ignored
+PASS <a>: Setting <http://example.net/path>.host = 'example.com:8080/stuff' Stuff after a / delimiter is ignored
+PASS <area>: Setting <http://example.net/path>.host = 'example.com:8080/stuff' Stuff after a / delimiter is ignored
+FAIL URL: Setting <http://example.net/path>.host = 'example.com?stuff' Stuff after a ? delimiter is ignored assert_equals: expected "http://example.com/path" but got "http://example.com/?stuff/path"
+FAIL <a>: Setting <http://example.net/path>.host = 'example.com?stuff' Stuff after a ? delimiter is ignored assert_equals: expected "http://example.com/path" but got "http://example.com/?stuff/path"
+FAIL <area>: Setting <http://example.net/path>.host = 'example.com?stuff' Stuff after a ? delimiter is ignored assert_equals: expected "http://example.com/path" but got "http://example.com/?stuff/path"
+PASS URL: Setting <http://example.net/path>.host = 'example.com:8080?stuff' Stuff after a ? delimiter is ignored
+PASS <a>: Setting <http://example.net/path>.host = 'example.com:8080?stuff' Stuff after a ? delimiter is ignored
+PASS <area>: Setting <http://example.net/path>.host = 'example.com:8080?stuff' Stuff after a ? delimiter is ignored
+FAIL URL: Setting <http://example.net/path>.host = 'example.com#stuff' Stuff after a # delimiter is ignored assert_equals: expected "http://example.com/path" but got "http://example.com/#stuff/path"
+FAIL <a>: Setting <http://example.net/path>.host = 'example.com#stuff' Stuff after a # delimiter is ignored assert_equals: expected "http://example.com/path" but got "http://example.com/#stuff/path"
+FAIL <area>: Setting <http://example.net/path>.host = 'example.com#stuff' Stuff after a # delimiter is ignored assert_equals: expected "http://example.com/path" but got "http://example.com/#stuff/path"
+PASS URL: Setting <http://example.net/path>.host = 'example.com:8080#stuff' Stuff after a # delimiter is ignored
+PASS <a>: Setting <http://example.net/path>.host = 'example.com:8080#stuff' Stuff after a # delimiter is ignored
+PASS <area>: Setting <http://example.net/path>.host = 'example.com:8080#stuff' Stuff after a # delimiter is ignored
+FAIL URL: Setting <http://example.net/path>.host = 'example.com\stuff' Stuff after a \ delimiter is ignored for special schemes assert_equals: expected "http://example.com/path" but got "http://example.com/stuff/path"
+FAIL <a>: Setting <http://example.net/path>.host = 'example.com\stuff' Stuff after a \ delimiter is ignored for special schemes assert_equals: expected "http://example.com/path" but got "http://example.com/stuff/path"
+FAIL <area>: Setting <http://example.net/path>.host = 'example.com\stuff' Stuff after a \ delimiter is ignored for special schemes assert_equals: expected "http://example.com/path" but got "http://example.com/stuff/path"
+PASS URL: Setting <http://example.net/path>.host = 'example.com:8080\stuff' Stuff after a \ delimiter is ignored for special schemes
+PASS <a>: Setting <http://example.net/path>.host = 'example.com:8080\stuff' Stuff after a \ delimiter is ignored for special schemes
+PASS <area>: Setting <http://example.net/path>.host = 'example.com:8080\stuff' Stuff after a \ delimiter is ignored for special schemes
+FAIL URL: Setting <view-source+http://example.net/path>.host = 'example.com\stuff' \ is not a delimiter for non-special schemes, and it’s invalid in a domain assert_equals: expected "view-source+http://example.net/path" but got "view-source+http://example.com\\stuff/path"
+FAIL <a>: Setting <view-source+http://example.net/path>.host = 'example.com\stuff' \ is not a delimiter for non-special schemes, and it’s invalid in a domain assert_equals: expected "view-source+http://example.net/path" but got "view-source+http://example.com\\stuff/path"
+FAIL <area>: Setting <view-source+http://example.net/path>.host = 'example.com\stuff' \ is not a delimiter for non-special schemes, and it’s invalid in a domain assert_equals: expected "view-source+http://example.net/path" but got "view-source+http://example.com\\stuff/path"
+PASS URL: Setting <view-source+http://example.net/path>.host = 'example.com:8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error
+PASS <a>: Setting <view-source+http://example.net/path>.host = 'example.com:8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error
+PASS <area>: Setting <view-source+http://example.net/path>.host = 'example.com:8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error
+PASS URL: Setting <http://example.net/path>.host = 'example.com:8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error
+PASS <a>: Setting <http://example.net/path>.host = 'example.com:8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error
+PASS <area>: Setting <http://example.net/path>.host = 'example.com:8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error
+PASS URL: Setting <http://example.net/path>.host = 'example.com:8080+2' Anything other than ASCII digit stops the port parser in a setter but is not an error
+PASS <a>: Setting <http://example.net/path>.host = 'example.com:8080+2' Anything other than ASCII digit stops the port parser in a setter but is not an error
+PASS <area>: Setting <http://example.net/path>.host = 'example.com:8080+2' Anything other than ASCII digit stops the port parser in a setter but is not an error
+PASS URL: Setting <http://example.net/path>.host = 'example.com:65535' Port numbers are 16 bit integers
+PASS <a>: Setting <http://example.net/path>.host = 'example.com:65535' Port numbers are 16 bit integers
+PASS <area>: Setting <http://example.net/path>.host = 'example.com:65535' Port numbers are 16 bit integers
+FAIL URL: Setting <http://example.net/path>.host = 'example.com:65536' Port numbers are 16 bit integers, overflowing is an error. Hostname is still set, though. assert_equals: expected "http://example.com/path" but got "http://example.com:65536/path"
+FAIL <a>: Setting <http://example.net/path>.host = 'example.com:65536' Port numbers are 16 bit integers, overflowing is an error. Hostname is still set, though. assert_equals: expected "http://example.com/path" but got "http://example.com:65536/path"
+FAIL <area>: Setting <http://example.net/path>.host = 'example.com:65536' Port numbers are 16 bit integers, overflowing is an error. Hostname is still set, though. assert_equals: expected "http://example.com/path" but got "http://example.com:65536/path"
+PASS URL: Setting <mailto:me@example.net>.hostname = 'example.com' Cannot-be-a-base means no host
+PASS <a>: Setting <mailto:me@example.net>.hostname = 'example.com' Cannot-be-a-base means no host
+PASS <area>: Setting <mailto:me@example.net>.hostname = 'example.com' Cannot-be-a-base means no host
+PASS URL: Setting <data:text/plain,Stuff>.hostname = 'example.net' Cannot-be-a-base means no password
+PASS <a>: Setting <data:text/plain,Stuff>.hostname = 'example.net' Cannot-be-a-base means no password
+PASS <area>: Setting <data:text/plain,Stuff>.hostname = 'example.net' Cannot-be-a-base means no password
+PASS URL: Setting <http://example.net:8080>.hostname = 'example.com'
+PASS <a>: Setting <http://example.net:8080>.hostname = 'example.com'
+PASS <area>: Setting <http://example.net:8080>.hostname = 'example.com'
+PASS URL: Setting <http://example.net>.hostname = '' The empty host is not valid for special schemes
+PASS <a>: Setting <http://example.net>.hostname = '' The empty host is not valid for special schemes
+PASS <area>: Setting <http://example.net>.hostname = '' The empty host is not valid for special schemes
+FAIL URL: Setting <view-source+http://example.net/foo>.hostname = '' The empty host is OK for non-special schemes assert_equals: expected "view-source+http:///foo" but got "view-source+http://example.net/foo"
+FAIL <a>: Setting <view-source+http://example.net/foo>.hostname = '' The empty host is OK for non-special schemes assert_equals: expected "view-source+http:///foo" but got "view-source+http://example.net/foo"
+FAIL <area>: Setting <view-source+http://example.net/foo>.hostname = '' The empty host is OK for non-special schemes assert_equals: expected "view-source+http:///foo" but got "view-source+http://example.net/foo"
+PASS URL: Setting <a:/foo>.hostname = 'example.net' Path-only URLs can gain a host
+PASS <a>: Setting <a:/foo>.hostname = 'example.net' Path-only URLs can gain a host
+PASS <area>: Setting <a:/foo>.hostname = 'example.net' Path-only URLs can gain a host
+PASS URL: Setting <http://example.net:8080>.hostname = '0x7F000001' IPv4 address syntax is normalized
+PASS <a>: Setting <http://example.net:8080>.hostname = '0x7F000001' IPv4 address syntax is normalized
+PASS <area>: Setting <http://example.net:8080>.hostname = '0x7F000001' IPv4 address syntax is normalized
+FAIL URL: Setting <http://example.net>.hostname = '[::0:01]' IPv6 address syntax is normalized assert_equals: expected "http://[::1]/" but got "http://example.net/"
+FAIL <a>: Setting <http://example.net>.hostname = '[::0:01]' IPv6 address syntax is normalized assert_equals: expected "http://[::1]/" but got "http://example.net/"
+FAIL <area>: Setting <http://example.net>.hostname = '[::0:01]' IPv6 address syntax is normalized assert_equals: expected "http://[::1]/" but got "http://example.net/"
+FAIL URL: Setting <http://example.net/path>.hostname = 'example.com:8080' Stuff after a : delimiter is ignored assert_equals: expected "http://example.com/path" but got "http://example.net/path"
+FAIL <a>: Setting <http://example.net/path>.hostname = 'example.com:8080' Stuff after a : delimiter is ignored assert_equals: expected "http://example.com/path" but got "http://example.net/path"
+FAIL <area>: Setting <http://example.net/path>.hostname = 'example.com:8080' Stuff after a : delimiter is ignored assert_equals: expected "http://example.com/path" but got "http://example.net/path"
+FAIL URL: Setting <http://example.net:8080/path>.hostname = 'example.com:' Stuff after a : delimiter is ignored assert_equals: expected "http://example.com:8080/path" but got "http://example.net:8080/path"
+FAIL <a>: Setting <http://example.net:8080/path>.hostname = 'example.com:' Stuff after a : delimiter is ignored assert_equals: expected "http://example.com:8080/path" but got "http://example.net:8080/path"
+FAIL <area>: Setting <http://example.net:8080/path>.hostname = 'example.com:' Stuff after a : delimiter is ignored assert_equals: expected "http://example.com:8080/path" but got "http://example.net:8080/path"
+FAIL URL: Setting <http://example.net/path>.hostname = 'example.com/stuff' Stuff after a / delimiter is ignored assert_equals: expected "http://example.com/path" but got "http://example.com/stuff/path"
+FAIL <a>: Setting <http://example.net/path>.hostname = 'example.com/stuff' Stuff after a / delimiter is ignored assert_equals: expected "http://example.com/path" but got "http://example.com/stuff/path"
+FAIL <area>: Setting <http://example.net/path>.hostname = 'example.com/stuff' Stuff after a / delimiter is ignored assert_equals: expected "http://example.com/path" but got "http://example.com/stuff/path"
+FAIL URL: Setting <http://example.net/path>.hostname = 'example.com?stuff' Stuff after a ? delimiter is ignored assert_equals: expected "http://example.com/path" but got "http://example.com/?stuff/path"
+FAIL <a>: Setting <http://example.net/path>.hostname = 'example.com?stuff' Stuff after a ? delimiter is ignored assert_equals: expected "http://example.com/path" but got "http://example.com/?stuff/path"
+FAIL <area>: Setting <http://example.net/path>.hostname = 'example.com?stuff' Stuff after a ? delimiter is ignored assert_equals: expected "http://example.com/path" but got "http://example.com/?stuff/path"
+FAIL URL: Setting <http://example.net/path>.hostname = 'example.com#stuff' Stuff after a # delimiter is ignored assert_equals: expected "http://example.com/path" but got "http://example.com/#stuff/path"
+FAIL <a>: Setting <http://example.net/path>.hostname = 'example.com#stuff' Stuff after a # delimiter is ignored assert_equals: expected "http://example.com/path" but got "http://example.com/#stuff/path"
+FAIL <area>: Setting <http://example.net/path>.hostname = 'example.com#stuff' Stuff after a # delimiter is ignored assert_equals: expected "http://example.com/path" but got "http://example.com/#stuff/path"
+FAIL URL: Setting <http://example.net/path>.hostname = 'example.com\stuff' Stuff after a \ delimiter is ignored for special schemes assert_equals: expected "http://example.com/path" but got "http://example.com/stuff/path"
+FAIL <a>: Setting <http://example.net/path>.hostname = 'example.com\stuff' Stuff after a \ delimiter is ignored for special schemes assert_equals: expected "http://example.com/path" but got "http://example.com/stuff/path"
+FAIL <area>: Setting <http://example.net/path>.hostname = 'example.com\stuff' Stuff after a \ delimiter is ignored for special schemes assert_equals: expected "http://example.com/path" but got "http://example.com/stuff/path"
+FAIL URL: Setting <view-source+http://example.net/path>.hostname = 'example.com\stuff' \ is not a delimiter for non-special schemes, and it’s invalid in a domain assert_equals: expected "view-source+http://example.net/path" but got "view-source+http://example.com\\stuff/path"
+FAIL <a>: Setting <view-source+http://example.net/path>.hostname = 'example.com\stuff' \ is not a delimiter for non-special schemes, and it’s invalid in a domain assert_equals: expected "view-source+http://example.net/path" but got "view-source+http://example.com\\stuff/path"
+FAIL <area>: Setting <view-source+http://example.net/path>.hostname = 'example.com\stuff' \ is not a delimiter for non-special schemes, and it’s invalid in a domain assert_equals: expected "view-source+http://example.net/path" but got "view-source+http://example.com\\stuff/path"
+PASS URL: Setting <http://example.net>.port = '8080'
+PASS <a>: Setting <http://example.net>.port = '8080'
+PASS <area>: Setting <http://example.net>.port = '8080'
+FAIL URL: Setting <http://example.net:8080>.port = '' Port number is unchanged if empty in the new value. Note: this may change, see https://github.com/whatwg/url/pull/113 assert_equals: expected "http://example.net:8080/" but got "http://example.net:0/"
+FAIL <a>: Setting <http://example.net:8080>.port = '' Port number is unchanged if empty in the new value. Note: this may change, see https://github.com/whatwg/url/pull/113 assert_equals: expected "http://example.net:8080/" but got "http://example.net:0/"
+FAIL <area>: Setting <http://example.net:8080>.port = '' Port number is unchanged if empty in the new value. Note: this may change, see https://github.com/whatwg/url/pull/113 assert_equals: expected "http://example.net:8080/" but got "http://example.net:0/"
+PASS URL: Setting <http://example.net:8080>.port = '80' Default port number is removed
+PASS <a>: Setting <http://example.net:8080>.port = '80' Default port number is removed
+PASS <area>: Setting <http://example.net:8080>.port = '80' Default port number is removed
+PASS URL: Setting <https://example.net:4433>.port = '443' Default port number is removed
+PASS <a>: Setting <https://example.net:4433>.port = '443' Default port number is removed
+PASS <area>: Setting <https://example.net:4433>.port = '443' Default port number is removed
+PASS URL: Setting <https://example.net>.port = '80' Default port number is only removed for the relevant scheme
+PASS <a>: Setting <https://example.net>.port = '80' Default port number is only removed for the relevant scheme
+PASS <area>: Setting <https://example.net>.port = '80' Default port number is only removed for the relevant scheme
+PASS URL: Setting <http://example.net/path>.port = '8080/stuff' Stuff after a / delimiter is ignored
+PASS <a>: Setting <http://example.net/path>.port = '8080/stuff' Stuff after a / delimiter is ignored
+PASS <area>: Setting <http://example.net/path>.port = '8080/stuff' Stuff after a / delimiter is ignored
+PASS URL: Setting <http://example.net/path>.port = '8080?stuff' Stuff after a ? delimiter is ignored
+PASS <a>: Setting <http://example.net/path>.port = '8080?stuff' Stuff after a ? delimiter is ignored
+PASS <area>: Setting <http://example.net/path>.port = '8080?stuff' Stuff after a ? delimiter is ignored
+PASS URL: Setting <http://example.net/path>.port = '8080#stuff' Stuff after a # delimiter is ignored
+PASS <a>: Setting <http://example.net/path>.port = '8080#stuff' Stuff after a # delimiter is ignored
+PASS <area>: Setting <http://example.net/path>.port = '8080#stuff' Stuff after a # delimiter is ignored
+PASS URL: Setting <http://example.net/path>.port = '8080\stuff' Stuff after a \ delimiter is ignored for special schemes
+PASS <a>: Setting <http://example.net/path>.port = '8080\stuff' Stuff after a \ delimiter is ignored for special schemes
+PASS <area>: Setting <http://example.net/path>.port = '8080\stuff' Stuff after a \ delimiter is ignored for special schemes
+PASS URL: Setting <view-source+http://example.net/path>.port = '8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error
+PASS <a>: Setting <view-source+http://example.net/path>.port = '8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error
+PASS <area>: Setting <view-source+http://example.net/path>.port = '8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error
+PASS URL: Setting <http://example.net/path>.port = '8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error
+PASS <a>: Setting <http://example.net/path>.port = '8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error
+PASS <area>: Setting <http://example.net/path>.port = '8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error
+PASS URL: Setting <http://example.net/path>.port = '8080+2' Anything other than ASCII digit stops the port parser in a setter but is not an error
+PASS <a>: Setting <http://example.net/path>.port = '8080+2' Anything other than ASCII digit stops the port parser in a setter but is not an error
+PASS <area>: Setting <http://example.net/path>.port = '8080+2' Anything other than ASCII digit stops the port parser in a setter but is not an error
+PASS URL: Setting <http://example.net/path>.port = '65535' Port numbers are 16 bit integers
+PASS <a>: Setting <http://example.net/path>.port = '65535' Port numbers are 16 bit integers
+PASS <area>: Setting <http://example.net/path>.port = '65535' Port numbers are 16 bit integers
+FAIL URL: Setting <http://example.net:8080/path>.port = '65536' Port numbers are 16 bit integers, overflowing is an error assert_equals: expected "http://example.net:8080/path" but got "http://example.net:0/path"
+FAIL <a>: Setting <http://example.net:8080/path>.port = '65536' Port numbers are 16 bit integers, overflowing is an error assert_equals: expected "http://example.net:8080/path" but got "http://example.net:0/path"
+FAIL <area>: Setting <http://example.net:8080/path>.port = '65536' Port numbers are 16 bit integers, overflowing is an error assert_equals: expected "http://example.net:8080/path" but got "http://example.net:0/path"
+PASS URL: Setting <mailto:me@example.net>.pathname = '/foo' Cannot-be-a-base don’t have a path
+PASS <a>: Setting <mailto:me@example.net>.pathname = '/foo' Cannot-be-a-base don’t have a path
+PASS <area>: Setting <mailto:me@example.net>.pathname = '/foo' Cannot-be-a-base don’t have a path
+PASS URL: Setting <unix:/run/foo.socket?timeout=10>.pathname = '/var/log/../run/bar.socket'
+PASS <a>: Setting <unix:/run/foo.socket?timeout=10>.pathname = '/var/log/../run/bar.socket'
+PASS <area>: Setting <unix:/run/foo.socket?timeout=10>.pathname = '/var/log/../run/bar.socket'
+PASS URL: Setting <https://example.net#nav>.pathname = 'home'
+PASS <a>: Setting <https://example.net#nav>.pathname = 'home'
+PASS <area>: Setting <https://example.net#nav>.pathname = 'home'
+PASS URL: Setting <https://example.net#nav>.pathname = '../home'
+PASS <a>: Setting <https://example.net#nav>.pathname = '../home'
+PASS <area>: Setting <https://example.net#nav>.pathname = '../home'
+FAIL URL: Setting <http://example.net/home?lang=fr#nav>.pathname = '\a\%2E\b\%2e.\c' \ is a segment delimiter for 'special' URLs assert_equals: expected "http://example.net/a/c?lang=fr#nav" but got "http://example.net//a/%252E/b/%252e./c?lang=fr#nav"
+FAIL <a>: Setting <http://example.net/home?lang=fr#nav>.pathname = '\a\%2E\b\%2e.\c' \ is a segment delimiter for 'special' URLs assert_equals: expected "http://example.net/a/c?lang=fr#nav" but got "http://example.net//a/%252E/b/%252e./c?lang=fr#nav"
+FAIL <area>: Setting <http://example.net/home?lang=fr#nav>.pathname = '\a\%2E\b\%2e.\c' \ is a segment delimiter for 'special' URLs assert_equals: expected "http://example.net/a/c?lang=fr#nav" but got "http://example.net//a/%252E/b/%252e./c?lang=fr#nav"
+FAIL URL: Setting <view-source+http://example.net/home?lang=fr#nav>.pathname = '\a\%2E\b\%2e.\c' \ is *not* a segment delimiter for non-'special' URLs assert_equals: expected "view-source+http://example.net/\\a\.\b\..\c?lang=fr#nav" but got "view-source+http://example.net/\\a\%252E\b\%252e.\c?lang=fr#nav"
+FAIL <a>: Setting <view-source+http://example.net/home?lang=fr#nav>.pathname = '\a\%2E\b\%2e.\c' \ is *not* a segment delimiter for non-'special' URLs assert_equals: expected "view-source+http://example.net/\\a\.\b\..\c?lang=fr#nav" but got "view-source+http://example.net/\\a\%252E\b\%252e.\c?lang=fr#nav"
+FAIL <area>: Setting <view-source+http://example.net/home?lang=fr#nav>.pathname = '\a\%2E\b\%2e.\c' \ is *not* a segment delimiter for non-'special' URLs assert_equals: expected "view-source+http://example.net/\\a\.\b\..\c?lang=fr#nav" but got "view-source+http://example.net/\\a\%252E\b\%252e.\c?lang=fr#nav"
+FAIL URL: Setting <a:/>.pathname = '\0\ 1
+\r\1f !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~\7f\80\81Éé' UTF-8 percent encoding with the default encode set. Tabs and newlines are removed. assert_equals: expected "a:/%00%01%1F%20!%22%23$%&'()*+,-./09:;%3C=%3E%3F@AZ[\\]^_%60az%7B|%7D~%7F%C2%80%C2%81%C3%89%C3%A9" but got "a:/%00%01%09%0A%0D%1F%20!%22%23$%25&'()*+,-./09:;%3C=%3E%3F@AZ[\\]^_%60az%7B|%7D~%7F%C2%80%C2%81%C3%89%C3%A9"
+FAIL <a>: Setting <a:/>.pathname = '\0\ 1
+\r\1f !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~\7f\80\81Éé' UTF-8 percent encoding with the default encode set. Tabs and newlines are removed. assert_equals: expected "a:/%00%01%1F%20!%22%23$%&'()*+,-./09:;%3C=%3E%3F@AZ[\\]^_%60az%7B|%7D~%7F%C2%80%C2%81%C3%89%C3%A9" but got "a:/%00%01%09%0A%0D%1F%20!%22%23$%25&'()*+,-./09:;%3C=%3E%3F@AZ[\\]^_%60az%7B|%7D~%7F%C2%80%C2%81%C3%89%C3%A9"
+FAIL <area>: Setting <a:/>.pathname = '\0\ 1
+\r\1f !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~\7f\80\81Éé' UTF-8 percent encoding with the default encode set. Tabs and newlines are removed. assert_equals: expected "a:/%00%01%1F%20!%22%23$%&'()*+,-./09:;%3C=%3E%3F@AZ[\\]^_%60az%7B|%7D~%7F%C2%80%C2%81%C3%89%C3%A9" but got "a:/%00%01%09%0A%0D%1F%20!%22%23$%25&'()*+,-./09:;%3C=%3E%3F@AZ[\\]^_%60az%7B|%7D~%7F%C2%80%C2%81%C3%89%C3%A9"
+FAIL URL: Setting <http://example.net>.pathname = '%2e%2E%c3%89té' Bytes already percent-encoded are left as-is, except %2E. assert_equals: expected "http://example.net/..%c3%89t%C3%A9" but got "http://example.net/%252e%252E%25c3%2589t%C3%A9"
+FAIL <a>: Setting <http://example.net>.pathname = '%2e%2E%c3%89té' Bytes already percent-encoded are left as-is, except %2E. assert_equals: expected "http://example.net/..%c3%89t%C3%A9" but got "http://example.net/%252e%252E%25c3%2589t%C3%A9"
+FAIL <area>: Setting <http://example.net>.pathname = '%2e%2E%c3%89té' Bytes already percent-encoded are left as-is, except %2E. assert_equals: expected "http://example.net/..%c3%89t%C3%A9" but got "http://example.net/%252e%252E%25c3%2589t%C3%A9"
+PASS URL: Setting <http://example.net>.pathname = '?' ? needs to be encoded
+PASS <a>: Setting <http://example.net>.pathname = '?' ? needs to be encoded
+PASS <area>: Setting <http://example.net>.pathname = '?' ? needs to be encoded
+PASS URL: Setting <https://example.net#nav>.search = 'lang=fr'
+PASS <a>: Setting <https://example.net#nav>.search = 'lang=fr'
+PASS <area>: Setting <https://example.net#nav>.search = 'lang=fr'
+PASS URL: Setting <https://example.net?lang=en-US#nav>.search = 'lang=fr'
+PASS <a>: Setting <https://example.net?lang=en-US#nav>.search = 'lang=fr'
+PASS <area>: Setting <https://example.net?lang=en-US#nav>.search = 'lang=fr'
+PASS URL: Setting <https://example.net?lang=en-US#nav>.search = '?lang=fr'
+PASS <a>: Setting <https://example.net?lang=en-US#nav>.search = '?lang=fr'
+PASS <area>: Setting <https://example.net?lang=en-US#nav>.search = '?lang=fr'
+FAIL URL: Setting <https://example.net?lang=en-US#nav>.search = '??lang=fr' assert_equals: expected "https://example.net/??lang=fr#nav" but got "https://example.net/?lang=fr#nav"
+FAIL <a>: Setting <https://example.net?lang=en-US#nav>.search = '??lang=fr' assert_equals: expected "https://example.net/??lang=fr#nav" but got "https://example.net/?lang=fr#nav"
+FAIL <area>: Setting <https://example.net?lang=en-US#nav>.search = '??lang=fr' assert_equals: expected "https://example.net/??lang=fr#nav" but got "https://example.net/?lang=fr#nav"
+PASS URL: Setting <https://example.net?lang=en-US#nav>.search = '?'
+PASS <a>: Setting <https://example.net?lang=en-US#nav>.search = '?'
+PASS <area>: Setting <https://example.net?lang=en-US#nav>.search = '?'
+FAIL URL: Setting <https://example.net?lang=en-US#nav>.search = '' assert_equals: expected "https://example.net/#nav" but got "https://example.net/?#nav"
+FAIL <a>: Setting <https://example.net?lang=en-US#nav>.search = '' assert_equals: expected "https://example.net/#nav" but got "https://example.net/?#nav"
+FAIL <area>: Setting <https://example.net?lang=en-US#nav>.search = '' assert_equals: expected "https://example.net/#nav" but got "https://example.net/?#nav"
+FAIL URL: Setting <https://example.net?lang=en-US>.search = '' assert_equals: expected "https://example.net/" but got "https://example.net/?"
+FAIL <a>: Setting <https://example.net?lang=en-US>.search = '' assert_equals: expected "https://example.net/" but got "https://example.net/?"
+FAIL <area>: Setting <https://example.net?lang=en-US>.search = '' assert_equals: expected "https://example.net/" but got "https://example.net/?"
+FAIL URL: Setting <https://example.net>.search = '' assert_equals: expected "https://example.net/" but got "https://example.net/?"
+FAIL <a>: Setting <https://example.net>.search = '' assert_equals: expected "https://example.net/" but got "https://example.net/?"
+FAIL <area>: Setting <https://example.net>.search = '' assert_equals: expected "https://example.net/" but got "https://example.net/?"
+PASS URL: Setting <a:/>.search = '\0\ 1
+\r\1f !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~\7f\80\81Éé' UTF-8 percent encoding with the query encode set. Tabs and newlines are removed.
+PASS <a>: Setting <a:/>.search = '\0\ 1
+\r\1f !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~\7f\80\81Éé' UTF-8 percent encoding with the query encode set. Tabs and newlines are removed.
+PASS <area>: Setting <a:/>.search = '\0\ 1
+\r\1f !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~\7f\80\81Éé' UTF-8 percent encoding with the query encode set. Tabs and newlines are removed.
+PASS URL: Setting <http://example.net>.search = '%c3%89té' Bytes already percent-encoded are left as-is
+PASS <a>: Setting <http://example.net>.search = '%c3%89té' Bytes already percent-encoded are left as-is
+PASS <area>: Setting <http://example.net>.search = '%c3%89té' Bytes already percent-encoded are left as-is
+PASS URL: Setting <https://example.net>.hash = 'main'
+PASS <a>: Setting <https://example.net>.hash = 'main'
+PASS <area>: Setting <https://example.net>.hash = 'main'
+PASS URL: Setting <https://example.net#nav>.hash = 'main'
+PASS <a>: Setting <https://example.net#nav>.hash = 'main'
+PASS <area>: Setting <https://example.net#nav>.hash = 'main'
+PASS URL: Setting <https://example.net?lang=en-US>.hash = '##nav'
+PASS <a>: Setting <https://example.net?lang=en-US>.hash = '##nav'
+PASS <area>: Setting <https://example.net?lang=en-US>.hash = '##nav'
+PASS URL: Setting <https://example.net?lang=en-US#nav>.hash = '#main'
+PASS <a>: Setting <https://example.net?lang=en-US#nav>.hash = '#main'
+PASS <area>: Setting <https://example.net?lang=en-US#nav>.hash = '#main'
+FAIL URL: Setting <https://example.net?lang=en-US#nav>.hash = '#' assert_equals: expected "https://example.net/?lang=en-US#" but got "https://example.net/?lang=en-US"
+FAIL <a>: Setting <https://example.net?lang=en-US#nav>.hash = '#' assert_equals: expected "https://example.net/?lang=en-US#" but got "https://example.net/?lang=en-US"
+FAIL <area>: Setting <https://example.net?lang=en-US#nav>.hash = '#' assert_equals: expected "https://example.net/?lang=en-US#" but got "https://example.net/?lang=en-US"
+PASS URL: Setting <https://example.net?lang=en-US#nav>.hash = ''
+PASS <a>: Setting <https://example.net?lang=en-US#nav>.hash = ''
+PASS <area>: Setting <https://example.net?lang=en-US#nav>.hash = ''
+FAIL URL: Setting <a:/>.hash = '\0\ 1
+\r\1f !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~\7f\80\81Éé' No percent-encoding at all (!); nuls, tabs, and newlines are removed assert_equals: expected "a:/#\x01\x1f !\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~\7f\80\81Éé" but got "a:/#%00%01%1F !\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~%7F%C2%80%C2%81%C3%89%C3%A9"
+FAIL <a>: Setting <a:/>.hash = '\0\ 1
+\r\1f !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~\7f\80\81Éé' No percent-encoding at all (!); nuls, tabs, and newlines are removed assert_equals: expected "a:/#\x01\x1f !\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~\7f\80\81Éé" but got "a:/#%00%01%1F !\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~%7F%C2%80%C2%81%C3%89%C3%A9"
+FAIL <area>: Setting <a:/>.hash = '\0\ 1
+\r\1f !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~\7f\80\81Éé' No percent-encoding at all (!); nuls, tabs, and newlines are removed assert_equals: expected "a:/#\x01\x1f !\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~\7f\80\81Éé" but got "a:/#%00%01%1F !\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~%7F%C2%80%C2%81%C3%89%C3%A9"
+FAIL URL: Setting <http://example.net>.hash = '%c3%89té' Bytes already percent-encoded are left as-is assert_equals: expected "http://example.net/#%c3%89té" but got "http://example.net/#%c3%89t%C3%A9"
+FAIL <a>: Setting <http://example.net>.hash = '%c3%89té' Bytes already percent-encoded are left as-is assert_equals: expected "http://example.net/#%c3%89té" but got "http://example.net/#%c3%89t%C3%A9"
+FAIL <area>: Setting <http://example.net>.hash = '%c3%89té' Bytes already percent-encoded are left as-is assert_equals: expected "http://example.net/#%c3%89té" but got "http://example.net/#%c3%89t%C3%A9"
+
var results = document.createElement("pre");\r
var resultStr = "\n";\r
\r
+ // Sanitizes the given text for display in test results.\r
+ function sanitize(text) {\r
+ if (!text) {\r
+ return "";\r
+ }\r
+ // Escape null characters, otherwise diff will think the file is binary.\r
+ text = text.replace(/\0/g, "\\0");\r
+ // Escape carriage returns as they break rietveld's difftools.\r
+ return text.replace(/\r/g, "\\r");\r
+ }\r
+\r
if(harness_status.status != 0)\r
resultStr += "Harness Error (" + convertResult(harness_status.status) + "), message = " + harness_status.message + "\n\n";\r
\r
for (var i = 0; i < tests.length; i++) {\r
- var message = (tests[i].message != null) ? tests[i].message : "";\r
+ var message = sanitize(tests[i].message);\r
if (tests[i].status == 1 && !tests[i].dumpStack) {\r
// Remove stack for failed tests for proper string comparison without file paths.\r
// For a test to dump the stack set its dumpStack attribute to true.\r
if (stackIndex > 0)\r
message = message.substr(0, stackIndex);\r
}\r
- resultStr += convertResult(tests[i].status) + " " + (tests[i].name != null ? tests[i].name : "") + " " + message + "\n";\r
+ resultStr += convertResult(tests[i].status) + " " + sanitize(tests[i].name) + " " + message + "\n";\r
}\r
\r
results.innerText = resultStr;\r