Changeset 207995 in webkit


Ignore:
Timestamp:
Oct 27, 2016, 11:48:14 AM (9 years ago)
Author:
Chris Dumez
Message:

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.

LayoutTests/imported/w3c:

  • 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:

LayoutTests:

  • 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):

Location:
trunk/LayoutTests
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r207989 r207995  
     12016-10-27  Chris Dumez  <cdumez@apple.com>
     2
     3        testharnessreport.js should sanitize the results before printing them
     4        https://bugs.webkit.org/show_bug.cgi?id=164064
     5
     6        Reviewed by Youenn Fablet.
     7
     8        testharnessreport.js should sanitize the results before printing them. We
     9        currently have 3 copies of this script and only 1 does the sanitization.
     10        Short term, let do the sanitization in all of them. Longer term, we should
     11        merge these and have a way to keep them in sync.
     12
     13        * fast/media/w3c/test_media_queries-expected.txt:
     14        * fetch/fetch-url-serialization-expected.txt:
     15        * http/tests/w3c/resources/testharnessreport.js:
     16        (add_completion_callback.sanitize):
     17        (add_completion_callback):
     18        * resources/testharnessreport.js:
     19        (self.testRunner.add_completion_callback.):
     20        (self.testRunner.add_completion_callback):
     21
    1222016-10-27  Xabier Rodriguez Calvar  <calvaris@igalia.com>
    223
  • trunk/LayoutTests/fast/media/w3c/test_media_queries-expected.txt

    r204090 r207995  
    217217PASS expression max-aspect-ratio: 1  / 
    2182181 should be parseable
    219 PASS expression max-aspect-ratio: 1/
    220 1 should be parseable
     219PASS expression max-aspect-ratio: 1/\r1 should be parseable
    221220PASS expression max-aspect-ratio: 1 should not be parseable
    222221PASS expression max-aspect-ratio: 0.5 should not be parseable
     
    234233PASS expression device-aspect-ratio: 1  /       
    2352341 should be parseable
    236 PASS expression device-aspect-ratio: 1/
    237 1 should be parseable
     235PASS expression device-aspect-ratio: 1/\r1 should be parseable
    238236PASS expression device-aspect-ratio: 1 should not be parseable
    239237PASS expression device-aspect-ratio: 0.5 should not be parseable
  • trunk/LayoutTests/fetch/fetch-url-serialization-expected.txt

    r207811 r207995  
    317317PASS Testing Request url 'https://localhost:3000/jqueryui@1.2.3' with base 'about:blank'
    318318PASS Testing Request url 'h     t
    319 t
    320 p://h   o
    321 s
    322 t:9     0
    323 0
    324 0/p     a
    325 t
    326 h?q     u
    327 e
    328 ry#f    r
    329 a
    330 g' with base 'about:blank'
     319t\rp://h        o
     320s\rt:9  0
     3210\r0/p  a
     322t\rh?q  u
     323e\rry#f r
     324a\rg' with base 'about:blank'
    331325PASS Testing Request url '?a=b&c=d' with base 'http://example.org/foo/bar'
    332326PASS Testing Request url '??a=b&c=d' with base 'http://example.org/foo/bar'
  • trunk/LayoutTests/http/tests/w3c/resources/testharnessreport.js

    r151122 r207995  
    4848        // Declare result string
    4949        var resultStr = "\n";
     50
     51        // Sanitizes the given text for display in test results.
     52        function sanitize(text) {
     53            if (!text) {
     54                return "";
     55            }
     56            // Escape null characters, otherwise diff will think the file is binary.
     57            text = text.replace(/\0/g, "\\0");
     58            // Escape carriage returns as they break rietveld's difftools.
     59            return text.replace(/\r/g, "\\r");
     60        }
     61
    5062       
    5163        // Check harness_status.  If it is not 0, tests did not
     
    6274                for(var i=0; i<tests.length; i++){                               
    6375                        resultStr += convertResult(tests[i].status) + " " +
    64                                                 ( (tests[i].name!=null) ? tests[i].name : "" ) + " " +
    65                                                 ( (tests[i].message!=null) ? tests[i].message : "" ) +
    66                                                 "\n";
     76                                        sanitize(tests[i].name) + " " +
     77                                        sanitize(tests[i].message) + "\n";
    6778                }                       
    6879        }
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r207939 r207995  
     12016-10-27  Chris Dumez  <cdumez@apple.com>
     2
     3        testharnessreport.js should sanitize the results before printing them
     4        https://bugs.webkit.org/show_bug.cgi?id=164064
     5
     6        Reviewed by Youenn Fablet.
     7
     8        testharnessreport.js should sanitize the results before printing them. We
     9        currently have 3 copies of this script and only 1 does the sanitization.
     10        Short term, let do the sanitization in all of them. Longer term, we should
     11        merge these and have a way to keep them in sync.
     12
     13        * web-platform-tests/dom/nodes/Element-matches-expected.txt:
     14        * web-platform-tests/dom/nodes/ParentNode-querySelector-All-expected.txt:
     15        * web-platform-tests/dom/nodes/ParentNode-querySelector-All-xht-expected.txt:
     16        * web-platform-tests/url/a-element-expected.txt:
     17        * web-platform-tests/url/a-element-xhtml-expected.txt:
     18        * web-platform-tests/url/url-constructor-expected.txt:
     19        * web-platform-tests/url/url-setters-expected.txt:
     20
    1212016-10-26  Youenn Fablet  <youennf@gmail.com>
    222
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-matches-expected.txt

    r206999 r207995  
    189189PASS 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
    190190PASS 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
    191 PASS In-document Element.matches: Descendant combinator, whitespace characters (with no refNodes): #descendant 
     191PASS In-document Element.matches: Descendant combinator, whitespace characters (with no refNodes): #descendant  \r
    192192#descendant-div2
    193193PASS In-document Element.matches: Descendant combinator '>>', matching element that is a descendant of an element with id (with no refNodes): #descendant>>div
     
    202202PASS 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
    203203PASS 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
    204 PASS In-document Element.matches: Child combinator, surrounded by whitespace (with no refNodes): #child-div1   
    205 >       
     204PASS In-document Element.matches: Child combinator, surrounded by whitespace (with no refNodes): #child-div1    \r
     205>       \r
    206206#child-div2
    207 PASS In-document Element.matches: Child combinator, whitespace after (with no refNodes): #child-div1>   
     207PASS In-document Element.matches: Child combinator, whitespace after (with no refNodes): #child-div1>   \r
    208208#child-div2
    209 PASS In-document Element.matches: Child combinator, whitespace before (with no refNodes): #child-div1   
     209PASS In-document Element.matches: Child combinator, whitespace before (with no refNodes): #child-div1   \r
    210210>#child-div2
    211211PASS In-document Element.matches: Child combinator, no whitespace (with no refNodes): #child-div1>#child-div2
     
    216216PASS 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
    217217PASS 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
    218 PASS In-document Element.matches: Adjacent sibling combinator, surrounded by whitespace (with no refNodes): #adjacent-p2       
    219 +       
     218PASS In-document Element.matches: Adjacent sibling combinator, surrounded by whitespace (with no refNodes): #adjacent-p2        \r
     219+       \r
    220220#adjacent-p3
    221 PASS In-document Element.matches: Adjacent sibling combinator, whitespace after (with no refNodes): #adjacent-p2+       
     221PASS In-document Element.matches: Adjacent sibling combinator, whitespace after (with no refNodes): #adjacent-p2+       \r
    222222#adjacent-p3
    223 PASS In-document Element.matches: Adjacent sibling combinator, whitespace before (with no refNodes): #adjacent-p2       
     223PASS In-document Element.matches: Adjacent sibling combinator, whitespace before (with no refNodes): #adjacent-p2       \r
    224224+#adjacent-p3
    225225PASS In-document Element.matches: Adjacent sibling combinator, no whitespace (with no refNodes): #adjacent-p2+#adjacent-p3
     
    229229PASS 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
    230230PASS In-document Element.matches: General sibling combinator, matching p element that is a sibling of a div element (with no refNodes): #sibling div~p
    231 PASS In-document Element.matches: General sibling combinator, surrounded by whitespace (with no refNodes): #sibling-p2 
    232 ~       
     231PASS In-document Element.matches: General sibling combinator, surrounded by whitespace (with no refNodes): #sibling-p2  \r
     232~       \r
    233233#sibling-p3
    234 PASS In-document Element.matches: General sibling combinator, whitespace after (with no refNodes): #sibling-p2~
     234PASS In-document Element.matches: General sibling combinator, whitespace after (with no refNodes): #sibling-p2~ \r
    235235#sibling-p3
    236 PASS In-document Element.matches: General sibling combinator, whitespace before (with no refNodes): #sibling-p2
     236PASS In-document Element.matches: General sibling combinator, whitespace before (with no refNodes): #sibling-p2 \r
    237237~#sibling-p3
    238238PASS In-document Element.matches: General sibling combinator, no whitespace (with no refNodes): #sibling-p2~#sibling-p3
    239 PASS In-document Element.matches: Syntax, group of selectors separator, surrounded by whitespace (with no refNodes): #group em 
    240  
    241 ,       
    242  
     239PASS In-document Element.matches: Syntax, group of selectors separator, surrounded by whitespace (with no refNodes): #group em  \r
     240,       \r
    243241#group strong
    244 PASS In-document Element.matches: Syntax, group of selectors separator, whitespace after (with no refNodes): #group em,
     242PASS In-document Element.matches: Syntax, group of selectors separator, whitespace after (with no refNodes): #group em, \r
    245243#group strong
    246 PASS In-document Element.matches: Syntax, group of selectors separator, whitespace before (with no refNodes): #group em
     244PASS In-document Element.matches: Syntax, group of selectors separator, whitespace before (with no refNodes): #group em \r
    247245,#group strong
    248246PASS In-document Element.matches: Syntax, group of selectors separator, no whitespace (with no refNodes): #group em,#group strong
     
    354352PASS Detached Element.matches: Descendant combinator, matching element with class that is a descendant of an element with id (with no refNodes): #descendant .descendant-div2
    355353PASS 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
    356 PASS Detached Element.matches: Descendant combinator, whitespace characters (with no refNodes): #descendant     
     354PASS Detached Element.matches: Descendant combinator, whitespace characters (with no refNodes): #descendant     \r
    357355#descendant-div2
    358356PASS Detached Element.matches: Descendant combinator '>>', matching element that is a descendant of an element with id (with no refNodes): #descendant>>div
     
    366364PASS 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
    367365PASS 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
    368 PASS Detached Element.matches: Child combinator, surrounded by whitespace (with no refNodes): #child-div1       
    369 >       
     366PASS Detached Element.matches: Child combinator, surrounded by whitespace (with no refNodes): #child-div1       \r
     367>       \r
    370368#child-div2
    371 PASS Detached Element.matches: Child combinator, whitespace after (with no refNodes): #child-div1>     
     369PASS Detached Element.matches: Child combinator, whitespace after (with no refNodes): #child-div1>      \r
    372370#child-div2
    373 PASS Detached Element.matches: Child combinator, whitespace before (with no refNodes): #child-div1     
     371PASS Detached Element.matches: Child combinator, whitespace before (with no refNodes): #child-div1      \r
    374372>#child-div2
    375373PASS Detached Element.matches: Child combinator, no whitespace (with no refNodes): #child-div1>#child-div2
     
    380378PASS 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
    381379PASS Detached Element.matches: Adjacent sibling combinator, matching p element that is an adjacent sibling of a div element (with no refNodes): #adjacent div+p
    382 PASS Detached Element.matches: Adjacent sibling combinator, surrounded by whitespace (with no refNodes): #adjacent-p2   
    383 +       
     380PASS Detached Element.matches: Adjacent sibling combinator, surrounded by whitespace (with no refNodes): #adjacent-p2   \r
     381+       \r
    384382#adjacent-p3
    385 PASS Detached Element.matches: Adjacent sibling combinator, whitespace after (with no refNodes): #adjacent-p2+ 
     383PASS Detached Element.matches: Adjacent sibling combinator, whitespace after (with no refNodes): #adjacent-p2+  \r
    386384#adjacent-p3
    387 PASS Detached Element.matches: Adjacent sibling combinator, whitespace before (with no refNodes): #adjacent-p2 
     385PASS Detached Element.matches: Adjacent sibling combinator, whitespace before (with no refNodes): #adjacent-p2  \r
    388386+#adjacent-p3
    389387PASS Detached Element.matches: Adjacent sibling combinator, no whitespace (with no refNodes): #adjacent-p2+#adjacent-p3
     
    393391PASS 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
    394392PASS Detached Element.matches: General sibling combinator, matching p element that is a sibling of a div element (with no refNodes): #sibling div~p
    395 PASS Detached Element.matches: General sibling combinator, surrounded by whitespace (with no refNodes): #sibling-p2     
    396 ~       
     393PASS Detached Element.matches: General sibling combinator, surrounded by whitespace (with no refNodes): #sibling-p2     \r
     394~       \r
    397395#sibling-p3
    398 PASS Detached Element.matches: General sibling combinator, whitespace after (with no refNodes): #sibling-p2~   
     396PASS Detached Element.matches: General sibling combinator, whitespace after (with no refNodes): #sibling-p2~    \r
    399397#sibling-p3
    400 PASS Detached Element.matches: General sibling combinator, whitespace before (with no refNodes): #sibling-p2   
     398PASS Detached Element.matches: General sibling combinator, whitespace before (with no refNodes): #sibling-p2    \r
    401399~#sibling-p3
    402400PASS Detached Element.matches: General sibling combinator, no whitespace (with no refNodes): #sibling-p2~#sibling-p3
    403 PASS Detached Element.matches: Syntax, group of selectors separator, surrounded by whitespace (with no refNodes): #group em     
    404  
    405 ,       
    406  
     401PASS Detached Element.matches: Syntax, group of selectors separator, surrounded by whitespace (with no refNodes): #group em     \r
     402,       \r
    407403#group strong
    408 PASS Detached Element.matches: Syntax, group of selectors separator, whitespace after (with no refNodes): #group em,   
     404PASS Detached Element.matches: Syntax, group of selectors separator, whitespace after (with no refNodes): #group em,    \r
    409405#group strong
    410 PASS Detached Element.matches: Syntax, group of selectors separator, whitespace before (with no refNodes): #group em   
     406PASS Detached Element.matches: Syntax, group of selectors separator, whitespace before (with no refNodes): #group em    \r
    411407,#group strong
    412408PASS Detached Element.matches: Syntax, group of selectors separator, no whitespace (with no refNodes): #group em,#group strong
     
    518514PASS Fragment Element.matches: Descendant combinator, matching element with class that is a descendant of an element with id (with no refNodes): #descendant .descendant-div2
    519515PASS 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
    520 PASS Fragment Element.matches: Descendant combinator, whitespace characters (with no refNodes): #descendant     
     516PASS Fragment Element.matches: Descendant combinator, whitespace characters (with no refNodes): #descendant     \r
    521517#descendant-div2
    522518PASS Fragment Element.matches: Descendant combinator '>>', matching element that is a descendant of an element with id (with no refNodes): #descendant>>div
     
    530526PASS 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
    531527PASS 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
    532 PASS Fragment Element.matches: Child combinator, surrounded by whitespace (with no refNodes): #child-div1       
    533 >       
     528PASS Fragment Element.matches: Child combinator, surrounded by whitespace (with no refNodes): #child-div1       \r
     529>       \r
    534530#child-div2
    535 PASS Fragment Element.matches: Child combinator, whitespace after (with no refNodes): #child-div1>     
     531PASS Fragment Element.matches: Child combinator, whitespace after (with no refNodes): #child-div1>      \r
    536532#child-div2
    537 PASS Fragment Element.matches: Child combinator, whitespace before (with no refNodes): #child-div1     
     533PASS Fragment Element.matches: Child combinator, whitespace before (with no refNodes): #child-div1      \r
    538534>#child-div2
    539535PASS Fragment Element.matches: Child combinator, no whitespace (with no refNodes): #child-div1>#child-div2
     
    544540PASS 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
    545541PASS Fragment Element.matches: Adjacent sibling combinator, matching p element that is an adjacent sibling of a div element (with no refNodes): #adjacent div+p
    546 PASS Fragment Element.matches: Adjacent sibling combinator, surrounded by whitespace (with no refNodes): #adjacent-p2   
    547 +       
     542PASS Fragment Element.matches: Adjacent sibling combinator, surrounded by whitespace (with no refNodes): #adjacent-p2   \r
     543+       \r
    548544#adjacent-p3
    549 PASS Fragment Element.matches: Adjacent sibling combinator, whitespace after (with no refNodes): #adjacent-p2+ 
     545PASS Fragment Element.matches: Adjacent sibling combinator, whitespace after (with no refNodes): #adjacent-p2+  \r
    550546#adjacent-p3
    551 PASS Fragment Element.matches: Adjacent sibling combinator, whitespace before (with no refNodes): #adjacent-p2 
     547PASS Fragment Element.matches: Adjacent sibling combinator, whitespace before (with no refNodes): #adjacent-p2  \r
    552548+#adjacent-p3
    553549PASS Fragment Element.matches: Adjacent sibling combinator, no whitespace (with no refNodes): #adjacent-p2+#adjacent-p3
     
    557553PASS 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
    558554PASS Fragment Element.matches: General sibling combinator, matching p element that is a sibling of a div element (with no refNodes): #sibling div~p
    559 PASS Fragment Element.matches: General sibling combinator, surrounded by whitespace (with no refNodes): #sibling-p2     
    560 ~       
     555PASS Fragment Element.matches: General sibling combinator, surrounded by whitespace (with no refNodes): #sibling-p2     \r
     556~       \r
    561557#sibling-p3
    562 PASS Fragment Element.matches: General sibling combinator, whitespace after (with no refNodes): #sibling-p2~   
     558PASS Fragment Element.matches: General sibling combinator, whitespace after (with no refNodes): #sibling-p2~    \r
    563559#sibling-p3
    564 PASS Fragment Element.matches: General sibling combinator, whitespace before (with no refNodes): #sibling-p2   
     560PASS Fragment Element.matches: General sibling combinator, whitespace before (with no refNodes): #sibling-p2    \r
    565561~#sibling-p3
    566562PASS Fragment Element.matches: General sibling combinator, no whitespace (with no refNodes): #sibling-p2~#sibling-p3
    567 PASS Fragment Element.matches: Syntax, group of selectors separator, surrounded by whitespace (with no refNodes): #group em     
    568  
    569 ,       
    570  
     563PASS Fragment Element.matches: Syntax, group of selectors separator, surrounded by whitespace (with no refNodes): #group em     \r
     564,       \r
    571565#group strong
    572 PASS Fragment Element.matches: Syntax, group of selectors separator, whitespace after (with no refNodes): #group em,   
     566PASS Fragment Element.matches: Syntax, group of selectors separator, whitespace after (with no refNodes): #group em,    \r
    573567#group strong
    574 PASS Fragment Element.matches: Syntax, group of selectors separator, whitespace before (with no refNodes): #group em   
     568PASS Fragment Element.matches: Syntax, group of selectors separator, whitespace before (with no refNodes): #group em    \r
    575569,#group strong
    576570PASS Fragment Element.matches: Syntax, group of selectors separator, no whitespace (with no refNodes): #group em,#group strong
     
    685679PASS 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
    686680PASS 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
    687 PASS In-document Element.matches: Descendant combinator, whitespace characters (1) (with no refNodes): #descendant     
     681PASS In-document Element.matches: Descendant combinator, whitespace characters (1) (with no refNodes): #descendant      \r
    688682#descendant-div2
    689683PASS In-document Element.matches: Descendant combinator '>>', matching element that is a descendant of an element with id (1) (with no refNodes): #descendant>>div
     
    698692PASS 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
    699693PASS 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
    700 PASS In-document Element.matches: Child combinator, surrounded by whitespace (1) (with no refNodes): #child-div1       
    701 >       
     694PASS In-document Element.matches: Child combinator, surrounded by whitespace (1) (with no refNodes): #child-div1        \r
     695>       \r
    702696#child-div2
    703 PASS In-document Element.matches: Child combinator, whitespace after (1) (with no refNodes): #child-div1>       
     697PASS In-document Element.matches: Child combinator, whitespace after (1) (with no refNodes): #child-div1>       \r
    704698#child-div2
    705 PASS In-document Element.matches: Child combinator, whitespace before (1) (with no refNodes): #child-div1       
     699PASS In-document Element.matches: Child combinator, whitespace before (1) (with no refNodes): #child-div1       \r
    706700>#child-div2
    707701PASS In-document Element.matches: Child combinator, no whitespace (1) (with no refNodes): #child-div1>#child-div2
     
    712706PASS 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
    713707PASS 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
    714 PASS In-document Element.matches: Adjacent sibling combinator, surrounded by whitespace (1) (with no refNodes): #adjacent-p2   
    715 +       
     708PASS In-document Element.matches: Adjacent sibling combinator, surrounded by whitespace (1) (with no refNodes): #adjacent-p2    \r
     709+       \r
    716710#adjacent-p3
    717 PASS In-document Element.matches: Adjacent sibling combinator, whitespace after (1) (with no refNodes): #adjacent-p2+   
     711PASS In-document Element.matches: Adjacent sibling combinator, whitespace after (1) (with no refNodes): #adjacent-p2+   \r
    718712#adjacent-p3
    719 PASS In-document Element.matches: Adjacent sibling combinator, whitespace before (1) (with no refNodes): #adjacent-p2   
     713PASS In-document Element.matches: Adjacent sibling combinator, whitespace before (1) (with no refNodes): #adjacent-p2   \r
    720714+#adjacent-p3
    721715PASS In-document Element.matches: Adjacent sibling combinator, no whitespace (1) (with no refNodes): #adjacent-p2+#adjacent-p3
     
    725719PASS 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
    726720PASS 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
    727 PASS In-document Element.matches: General sibling combinator, surrounded by whitespace (1) (with no refNodes): #sibling-p2     
    728 ~       
     721PASS In-document Element.matches: General sibling combinator, surrounded by whitespace (1) (with no refNodes): #sibling-p2      \r
     722~       \r
    729723#sibling-p3
    730 PASS In-document Element.matches: General sibling combinator, whitespace after (1) (with no refNodes): #sibling-p2~     
     724PASS In-document Element.matches: General sibling combinator, whitespace after (1) (with no refNodes): #sibling-p2~     \r
    731725#sibling-p3
    732 PASS In-document Element.matches: General sibling combinator, whitespace before (1) (with no refNodes): #sibling-p2     
     726PASS In-document Element.matches: General sibling combinator, whitespace before (1) (with no refNodes): #sibling-p2     \r
    733727~#sibling-p3
    734728PASS In-document Element.matches: General sibling combinator, no whitespace (1) (with no refNodes): #sibling-p2~#sibling-p3
    735 PASS In-document Element.matches: Syntax, group of selectors separator, surrounded by whitespace (1) (with no refNodes): #group em     
    736  
    737 ,       
    738  
     729PASS In-document Element.matches: Syntax, group of selectors separator, surrounded by whitespace (1) (with no refNodes): #group em      \r
     730,       \r
    739731#group strong
    740 PASS In-document Element.matches: Syntax, group of selectors separator, whitespace after (1) (with no refNodes): #group em,     
     732PASS In-document Element.matches: Syntax, group of selectors separator, whitespace after (1) (with no refNodes): #group em,     \r
    741733#group strong
    742 PASS In-document Element.matches: Syntax, group of selectors separator, whitespace before (1) (with no refNodes): #group em     
     734PASS In-document Element.matches: Syntax, group of selectors separator, whitespace before (1) (with no refNodes): #group em     \r
    743735,#group strong
    744736PASS In-document Element.matches: Syntax, group of selectors separator, no whitespace (1) (with no refNodes): #group em,#group strong
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-expected.txt

    r206999 r207995  
    598598PASS Document.querySelectorAll: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
    599599PASS Document.querySelector: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
    600 PASS Document.querySelectorAll: Descendant combinator, whitespace characters: #descendant       
     600PASS Document.querySelectorAll: Descendant combinator, whitespace characters: #descendant       \r
    601601#descendant-div2
    602 PASS Document.querySelector: Descendant combinator, whitespace characters: #descendant 
     602PASS Document.querySelector: Descendant combinator, whitespace characters: #descendant  \r
    603603#descendant-div2
    604604PASS Document.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div
     
    632632PASS Document.querySelectorAll: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
    633633PASS Document.querySelector: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
    634 PASS Document.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1
    635 >       
     634PASS Document.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1 \r
     635>       \r
    636636#child-div2
    637 PASS Document.querySelector: Child combinator, surrounded by whitespace: #child-div1   
    638 >       
     637PASS Document.querySelector: Child combinator, surrounded by whitespace: #child-div1    \r
     638>       \r
    639639#child-div2
    640 PASS Document.querySelectorAll: Child combinator, whitespace after: #child-div1>       
     640PASS Document.querySelectorAll: Child combinator, whitespace after: #child-div1>        \r
    641641#child-div2
    642 PASS Document.querySelector: Child combinator, whitespace after: #child-div1>   
     642PASS Document.querySelector: Child combinator, whitespace after: #child-div1>   \r
    643643#child-div2
    644 PASS Document.querySelectorAll: Child combinator, whitespace before: #child-div1       
     644PASS Document.querySelectorAll: Child combinator, whitespace before: #child-div1        \r
    645645>#child-div2
    646 PASS Document.querySelector: Child combinator, whitespace before: #child-div1   
     646PASS Document.querySelector: Child combinator, whitespace before: #child-div1   \r
    647647>#child-div2
    648648PASS Document.querySelectorAll: Child combinator, no whitespace: #child-div1>#child-div2
     
    662662PASS 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
    663663PASS 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
    664 PASS Document.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2     
    665 +       
     664PASS Document.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2     \r
     665+       \r
    666666#adjacent-p3
    667 PASS Document.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2       
    668 +       
     667PASS Document.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2        \r
     668+       \r
    669669#adjacent-p3
    670 PASS Document.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+   
     670PASS Document.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+    \r
    671671#adjacent-p3
    672 PASS Document.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+       
     672PASS Document.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+       \r
    673673#adjacent-p3
    674 PASS Document.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2   
     674PASS Document.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2    \r
    675675+#adjacent-p3
    676 PASS Document.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2       
     676PASS Document.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2       \r
    677677+#adjacent-p3
    678678PASS Document.querySelectorAll: Adjacent sibling combinator, no whitespace: #adjacent-p2+#adjacent-p3
     
    692692PASS 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
    693693PASS 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
    694 PASS Document.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2       
    695 ~       
     694PASS Document.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2       \r
     695~       \r
    696696#sibling-p3
    697 PASS Document.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2 
    698 ~       
     697PASS Document.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2  \r
     698~       \r
    699699#sibling-p3
    700 PASS Document.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~     
     700PASS Document.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~      \r
    701701#sibling-p3
    702 PASS Document.querySelector: General sibling combinator, whitespace after: #sibling-p2~
     702PASS Document.querySelector: General sibling combinator, whitespace after: #sibling-p2~ \r
    703703#sibling-p3
    704 PASS Document.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2     
     704PASS Document.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2      \r
    705705~#sibling-p3
    706 PASS Document.querySelector: General sibling combinator, whitespace before: #sibling-p2
     706PASS Document.querySelector: General sibling combinator, whitespace before: #sibling-p2 \r
    707707~#sibling-p3
    708708PASS Document.querySelectorAll: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
    709709PASS Document.querySelector: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
    710 PASS Document.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em       
    711  
    712 ,       
    713  
     710PASS Document.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em       \r
     711,       \r
    714712#group strong
    715 PASS Document.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em 
    716  
    717 ,       
    718  
     713PASS Document.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em  \r
     714,       \r
    719715#group strong
    720 PASS Document.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em,     
     716PASS Document.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em,      \r
    721717#group strong
    722 PASS Document.querySelector: Syntax, group of selectors separator, whitespace after: #group em,
     718PASS Document.querySelector: Syntax, group of selectors separator, whitespace after: #group em, \r
    723719#group strong
    724 PASS Document.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em     
     720PASS Document.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em      \r
    725721,#group strong
    726 PASS Document.querySelector: Syntax, group of selectors separator, whitespace before: #group em
     722PASS Document.querySelector: Syntax, group of selectors separator, whitespace before: #group em \r
    727723,#group strong
    728724PASS Document.querySelectorAll: Syntax, group of selectors separator, no whitespace: #group em,#group strong
     
    10281024PASS Detached Element.querySelectorAll: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
    10291025PASS Detached Element.querySelector: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
    1030 PASS Detached Element.querySelectorAll: Descendant combinator, whitespace characters: #descendant       
     1026PASS Detached Element.querySelectorAll: Descendant combinator, whitespace characters: #descendant       \r
    10311027#descendant-div2
    1032 PASS Detached Element.querySelector: Descendant combinator, whitespace characters: #descendant 
     1028PASS Detached Element.querySelector: Descendant combinator, whitespace characters: #descendant  \r
    10331029#descendant-div2
    10341030PASS Detached Element.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div
     
    10601056PASS Detached Element.querySelectorAll: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
    10611057PASS Detached Element.querySelector: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
    1062 PASS Detached Element.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1
    1063 >       
     1058PASS Detached Element.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1 \r
     1059>       \r
    10641060#child-div2
    1065 PASS Detached Element.querySelector: Child combinator, surrounded by whitespace: #child-div1   
    1066 >       
     1061PASS Detached Element.querySelector: Child combinator, surrounded by whitespace: #child-div1    \r
     1062>       \r
    10671063#child-div2
    1068 PASS Detached Element.querySelectorAll: Child combinator, whitespace after: #child-div1>       
     1064PASS Detached Element.querySelectorAll: Child combinator, whitespace after: #child-div1>        \r
    10691065#child-div2
    1070 PASS Detached Element.querySelector: Child combinator, whitespace after: #child-div1>   
     1066PASS Detached Element.querySelector: Child combinator, whitespace after: #child-div1>   \r
    10711067#child-div2
    1072 PASS Detached Element.querySelectorAll: Child combinator, whitespace before: #child-div1       
     1068PASS Detached Element.querySelectorAll: Child combinator, whitespace before: #child-div1        \r
    10731069>#child-div2
    1074 PASS Detached Element.querySelector: Child combinator, whitespace before: #child-div1   
     1070PASS Detached Element.querySelector: Child combinator, whitespace before: #child-div1   \r
    10751071>#child-div2
    10761072PASS Detached Element.querySelectorAll: Child combinator, no whitespace: #child-div1>#child-div2
     
    10901086PASS 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
    10911087PASS 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
    1092 PASS Detached Element.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2     
    1093 +       
     1088PASS Detached Element.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2     \r
     1089+       \r
    10941090#adjacent-p3
    1095 PASS Detached Element.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2       
    1096 +       
     1091PASS Detached Element.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2        \r
     1092+       \r
    10971093#adjacent-p3
    1098 PASS Detached Element.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+   
     1094PASS Detached Element.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+    \r
    10991095#adjacent-p3
    1100 PASS Detached Element.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+       
     1096PASS Detached Element.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+       \r
    11011097#adjacent-p3
    1102 PASS Detached Element.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2   
     1098PASS Detached Element.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2    \r
    11031099+#adjacent-p3
    1104 PASS Detached Element.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2       
     1100PASS Detached Element.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2       \r
    11051101+#adjacent-p3
    11061102PASS Detached Element.querySelectorAll: Adjacent sibling combinator, no whitespace: #adjacent-p2+#adjacent-p3
     
    11201116PASS 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
    11211117PASS 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
    1122 PASS Detached Element.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2       
    1123 ~       
     1118PASS Detached Element.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2       \r
     1119~       \r
    11241120#sibling-p3
    1125 PASS Detached Element.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2 
    1126 ~       
     1121PASS Detached Element.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2  \r
     1122~       \r
    11271123#sibling-p3
    1128 PASS Detached Element.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~     
     1124PASS Detached Element.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~      \r
    11291125#sibling-p3
    1130 PASS Detached Element.querySelector: General sibling combinator, whitespace after: #sibling-p2~
     1126PASS Detached Element.querySelector: General sibling combinator, whitespace after: #sibling-p2~ \r
    11311127#sibling-p3
    1132 PASS Detached Element.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2     
     1128PASS Detached Element.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2      \r
    11331129~#sibling-p3
    1134 PASS Detached Element.querySelector: General sibling combinator, whitespace before: #sibling-p2
     1130PASS Detached Element.querySelector: General sibling combinator, whitespace before: #sibling-p2 \r
    11351131~#sibling-p3
    11361132PASS Detached Element.querySelectorAll: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
    11371133PASS Detached Element.querySelector: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
    1138 PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em       
    1139  
    1140 ,       
    1141  
     1134PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em       \r
     1135,       \r
    11421136#group strong
    1143 PASS Detached Element.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em 
    1144  
    1145 ,       
    1146  
     1137PASS Detached Element.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em  \r
     1138,       \r
    11471139#group strong
    1148 PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em,     
     1140PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em,      \r
    11491141#group strong
    1150 PASS Detached Element.querySelector: Syntax, group of selectors separator, whitespace after: #group em,
     1142PASS Detached Element.querySelector: Syntax, group of selectors separator, whitespace after: #group em, \r
    11511143#group strong
    1152 PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em     
     1144PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em      \r
    11531145,#group strong
    1154 PASS Detached Element.querySelector: Syntax, group of selectors separator, whitespace before: #group em
     1146PASS Detached Element.querySelector: Syntax, group of selectors separator, whitespace before: #group em \r
    11551147,#group strong
    11561148PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, no whitespace: #group em,#group strong
     
    14561448PASS Fragment.querySelectorAll: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
    14571449PASS Fragment.querySelector: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
    1458 PASS Fragment.querySelectorAll: Descendant combinator, whitespace characters: #descendant       
     1450PASS Fragment.querySelectorAll: Descendant combinator, whitespace characters: #descendant       \r
    14591451#descendant-div2
    1460 PASS Fragment.querySelector: Descendant combinator, whitespace characters: #descendant 
     1452PASS Fragment.querySelector: Descendant combinator, whitespace characters: #descendant  \r
    14611453#descendant-div2
    14621454PASS Fragment.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div
     
    14881480PASS Fragment.querySelectorAll: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
    14891481PASS Fragment.querySelector: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
    1490 PASS Fragment.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1
    1491 >       
     1482PASS Fragment.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1 \r
     1483>       \r
    14921484#child-div2
    1493 PASS Fragment.querySelector: Child combinator, surrounded by whitespace: #child-div1   
    1494 >       
     1485PASS Fragment.querySelector: Child combinator, surrounded by whitespace: #child-div1    \r
     1486>       \r
    14951487#child-div2
    1496 PASS Fragment.querySelectorAll: Child combinator, whitespace after: #child-div1>       
     1488PASS Fragment.querySelectorAll: Child combinator, whitespace after: #child-div1>        \r
    14971489#child-div2
    1498 PASS Fragment.querySelector: Child combinator, whitespace after: #child-div1>   
     1490PASS Fragment.querySelector: Child combinator, whitespace after: #child-div1>   \r
    14991491#child-div2
    1500 PASS Fragment.querySelectorAll: Child combinator, whitespace before: #child-div1       
     1492PASS Fragment.querySelectorAll: Child combinator, whitespace before: #child-div1        \r
    15011493>#child-div2
    1502 PASS Fragment.querySelector: Child combinator, whitespace before: #child-div1   
     1494PASS Fragment.querySelector: Child combinator, whitespace before: #child-div1   \r
    15031495>#child-div2
    15041496PASS Fragment.querySelectorAll: Child combinator, no whitespace: #child-div1>#child-div2
     
    15181510PASS 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
    15191511PASS 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
    1520 PASS Fragment.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2     
    1521 +       
     1512PASS Fragment.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2     \r
     1513+       \r
    15221514#adjacent-p3
    1523 PASS Fragment.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2       
    1524 +       
     1515PASS Fragment.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2        \r
     1516+       \r
    15251517#adjacent-p3
    1526 PASS Fragment.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+   
     1518PASS Fragment.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+    \r
    15271519#adjacent-p3
    1528 PASS Fragment.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+       
     1520PASS Fragment.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+       \r
    15291521#adjacent-p3
    1530 PASS Fragment.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2   
     1522PASS Fragment.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2    \r
    15311523+#adjacent-p3
    1532 PASS Fragment.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2       
     1524PASS Fragment.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2       \r
    15331525+#adjacent-p3
    15341526PASS Fragment.querySelectorAll: Adjacent sibling combinator, no whitespace: #adjacent-p2+#adjacent-p3
     
    15481540PASS 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
    15491541PASS 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
    1550 PASS Fragment.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2       
    1551 ~       
     1542PASS Fragment.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2       \r
     1543~       \r
    15521544#sibling-p3
    1553 PASS Fragment.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2 
    1554 ~       
     1545PASS Fragment.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2  \r
     1546~       \r
    15551547#sibling-p3
    1556 PASS Fragment.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~     
     1548PASS Fragment.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~      \r
    15571549#sibling-p3
    1558 PASS Fragment.querySelector: General sibling combinator, whitespace after: #sibling-p2~
     1550PASS Fragment.querySelector: General sibling combinator, whitespace after: #sibling-p2~ \r
    15591551#sibling-p3
    1560 PASS Fragment.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2     
     1552PASS Fragment.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2      \r
    15611553~#sibling-p3
    1562 PASS Fragment.querySelector: General sibling combinator, whitespace before: #sibling-p2
     1554PASS Fragment.querySelector: General sibling combinator, whitespace before: #sibling-p2 \r
    15631555~#sibling-p3
    15641556PASS Fragment.querySelectorAll: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
    15651557PASS Fragment.querySelector: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
    1566 PASS Fragment.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em       
    1567  
    1568 ,       
    1569  
     1558PASS Fragment.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em       \r
     1559,       \r
    15701560#group strong
    1571 PASS Fragment.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em 
    1572  
    1573 ,       
    1574  
     1561PASS Fragment.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em  \r
     1562,       \r
    15751563#group strong
    1576 PASS Fragment.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em,     
     1564PASS Fragment.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em,      \r
    15771565#group strong
    1578 PASS Fragment.querySelector: Syntax, group of selectors separator, whitespace after: #group em,
     1566PASS Fragment.querySelector: Syntax, group of selectors separator, whitespace after: #group em, \r
    15791567#group strong
    1580 PASS Fragment.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em     
     1568PASS Fragment.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em      \r
    15811569,#group strong
    1582 PASS Fragment.querySelector: Syntax, group of selectors separator, whitespace before: #group em
     1570PASS Fragment.querySelector: Syntax, group of selectors separator, whitespace before: #group em \r
    15831571,#group strong
    15841572PASS Fragment.querySelectorAll: Syntax, group of selectors separator, no whitespace: #group em,#group strong
     
    18861874PASS 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
    18871875PASS 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
    1888 PASS In-document Element.querySelectorAll: Descendant combinator, whitespace characters: #descendant   
     1876PASS In-document Element.querySelectorAll: Descendant combinator, whitespace characters: #descendant    \r
    18891877#descendant-div2
    1890 PASS In-document Element.querySelector: Descendant combinator, whitespace characters: #descendant       
     1878PASS In-document Element.querySelector: Descendant combinator, whitespace characters: #descendant       \r
    18911879#descendant-div2
    18921880PASS In-document Element.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div
     
    19201908PASS 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
    19211909PASS 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
    1922 PASS In-document Element.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1     
    1923 >       
     1910PASS In-document Element.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1      \r
     1911>       \r
    19241912#child-div2
    1925 PASS In-document Element.querySelector: Child combinator, surrounded by whitespace: #child-div1
    1926 >       
     1913PASS In-document Element.querySelector: Child combinator, surrounded by whitespace: #child-div1 \r
     1914>       \r
    19271915#child-div2
    1928 PASS In-document Element.querySelectorAll: Child combinator, whitespace after: #child-div1>     
     1916PASS In-document Element.querySelectorAll: Child combinator, whitespace after: #child-div1>     \r
    19291917#child-div2
    1930 PASS In-document Element.querySelector: Child combinator, whitespace after: #child-div1>       
     1918PASS In-document Element.querySelector: Child combinator, whitespace after: #child-div1>        \r
    19311919#child-div2
    1932 PASS In-document Element.querySelectorAll: Child combinator, whitespace before: #child-div1     
     1920PASS In-document Element.querySelectorAll: Child combinator, whitespace before: #child-div1     \r
    19331921>#child-div2
    1934 PASS In-document Element.querySelector: Child combinator, whitespace before: #child-div1       
     1922PASS In-document Element.querySelector: Child combinator, whitespace before: #child-div1        \r
    19351923>#child-div2
    19361924PASS In-document Element.querySelectorAll: Child combinator, no whitespace: #child-div1>#child-div2
     
    19501938PASS 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
    19511939PASS 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
    1952 PASS In-document Element.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2 
    1953 +       
     1940PASS In-document Element.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2  \r
     1941+       \r
    19541942#adjacent-p3
    1955 PASS In-document Element.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2     
    1956 +       
     1943PASS In-document Element.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2     \r
     1944+       \r
    19571945#adjacent-p3
    1958 PASS In-document Element.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+
     1946PASS In-document Element.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+ \r
    19591947#adjacent-p3
    1960 PASS In-document Element.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+   
     1948PASS In-document Element.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+    \r
    19611949#adjacent-p3
    1962 PASS In-document Element.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2
     1950PASS In-document Element.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2 \r
    19631951+#adjacent-p3
    1964 PASS In-document Element.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2   
     1952PASS In-document Element.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2    \r
    19651953+#adjacent-p3
    19661954PASS In-document Element.querySelectorAll: Adjacent sibling combinator, no whitespace: #adjacent-p2+#adjacent-p3
     
    19801968PASS 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
    19811969PASS 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
    1982 PASS In-document Element.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2   
    1983 ~       
     1970PASS In-document Element.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2    \r
     1971~       \r
    19841972#sibling-p3
    1985 PASS In-document Element.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2       
    1986 ~       
     1973PASS In-document Element.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2       \r
     1974~       \r
    19871975#sibling-p3
    1988 PASS In-document Element.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~   
     1976PASS In-document Element.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~   \r
    19891977#sibling-p3
    1990 PASS In-document Element.querySelector: General sibling combinator, whitespace after: #sibling-p2~     
     1978PASS In-document Element.querySelector: General sibling combinator, whitespace after: #sibling-p2~      \r
    19911979#sibling-p3
    1992 PASS In-document Element.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2   
     1980PASS In-document Element.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2   \r
    19931981~#sibling-p3
    1994 PASS In-document Element.querySelector: General sibling combinator, whitespace before: #sibling-p2     
     1982PASS In-document Element.querySelector: General sibling combinator, whitespace before: #sibling-p2      \r
    19951983~#sibling-p3
    19961984PASS In-document Element.querySelectorAll: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
    19971985PASS In-document Element.querySelector: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
    1998 PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em   
    1999  
    2000 ,       
    2001  
     1986PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em    \r
     1987,       \r
    20021988#group strong
    2003 PASS In-document Element.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em       
    2004  
    2005 ,       
    2006  
     1989PASS In-document Element.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em       \r
     1990,       \r
    20071991#group strong
    2008 PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em,   
     1992PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em,   \r
    20091993#group strong
    2010 PASS In-document Element.querySelector: Syntax, group of selectors separator, whitespace after: #group em,     
     1994PASS In-document Element.querySelector: Syntax, group of selectors separator, whitespace after: #group em,      \r
    20111995#group strong
    2012 PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em   
     1996PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em   \r
    20131997,#group strong
    2014 PASS In-document Element.querySelector: Syntax, group of selectors separator, whitespace before: #group em     
     1998PASS In-document Element.querySelector: Syntax, group of selectors separator, whitespace before: #group em      \r
    20151999,#group strong
    20162000PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, no whitespace: #group em,#group strong
  • trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/ParentNode-querySelector-All-xht-expected.txt

    r206999 r207995  
    598598PASS Document.querySelectorAll: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
    599599PASS Document.querySelector: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
    600 PASS Document.querySelectorAll: Descendant combinator, whitespace characters: #descendant       
     600PASS Document.querySelectorAll: Descendant combinator, whitespace characters: #descendant       \r
    601601#descendant-div2
    602 PASS Document.querySelector: Descendant combinator, whitespace characters: #descendant 
     602PASS Document.querySelector: Descendant combinator, whitespace characters: #descendant  \r
    603603#descendant-div2
    604604PASS Document.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div
     
    632632PASS Document.querySelectorAll: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
    633633PASS Document.querySelector: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
    634 PASS Document.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1
    635 >       
     634PASS Document.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1 \r
     635>       \r
    636636#child-div2
    637 PASS Document.querySelector: Child combinator, surrounded by whitespace: #child-div1   
    638 >       
     637PASS Document.querySelector: Child combinator, surrounded by whitespace: #child-div1    \r
     638>       \r
    639639#child-div2
    640 PASS Document.querySelectorAll: Child combinator, whitespace after: #child-div1>       
     640PASS Document.querySelectorAll: Child combinator, whitespace after: #child-div1>        \r
    641641#child-div2
    642 PASS Document.querySelector: Child combinator, whitespace after: #child-div1>   
     642PASS Document.querySelector: Child combinator, whitespace after: #child-div1>   \r
    643643#child-div2
    644 PASS Document.querySelectorAll: Child combinator, whitespace before: #child-div1       
     644PASS Document.querySelectorAll: Child combinator, whitespace before: #child-div1        \r
    645645>#child-div2
    646 PASS Document.querySelector: Child combinator, whitespace before: #child-div1   
     646PASS Document.querySelector: Child combinator, whitespace before: #child-div1   \r
    647647>#child-div2
    648648PASS Document.querySelectorAll: Child combinator, no whitespace: #child-div1>#child-div2
     
    662662PASS 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
    663663PASS 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
    664 PASS Document.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2     
    665 +       
     664PASS Document.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2     \r
     665+       \r
    666666#adjacent-p3
    667 PASS Document.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2       
    668 +       
     667PASS Document.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2        \r
     668+       \r
    669669#adjacent-p3
    670 PASS Document.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+   
     670PASS Document.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+    \r
    671671#adjacent-p3
    672 PASS Document.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+       
     672PASS Document.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+       \r
    673673#adjacent-p3
    674 PASS Document.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2   
     674PASS Document.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2    \r
    675675+#adjacent-p3
    676 PASS Document.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2       
     676PASS Document.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2       \r
    677677+#adjacent-p3
    678678PASS Document.querySelectorAll: Adjacent sibling combinator, no whitespace: #adjacent-p2+#adjacent-p3
     
    692692PASS 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
    693693PASS 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
    694 PASS Document.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2       
    695 ~       
     694PASS Document.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2       \r
     695~       \r
    696696#sibling-p3
    697 PASS Document.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2 
    698 ~       
     697PASS Document.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2  \r
     698~       \r
    699699#sibling-p3
    700 PASS Document.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~     
     700PASS Document.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~      \r
    701701#sibling-p3
    702 PASS Document.querySelector: General sibling combinator, whitespace after: #sibling-p2~
     702PASS Document.querySelector: General sibling combinator, whitespace after: #sibling-p2~ \r
    703703#sibling-p3
    704 PASS Document.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2     
     704PASS Document.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2      \r
    705705~#sibling-p3
    706 PASS Document.querySelector: General sibling combinator, whitespace before: #sibling-p2
     706PASS Document.querySelector: General sibling combinator, whitespace before: #sibling-p2 \r
    707707~#sibling-p3
    708708PASS Document.querySelectorAll: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
    709709PASS Document.querySelector: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
    710 PASS Document.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em       
    711  
    712 ,       
    713  
     710PASS Document.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em       \r
     711,       \r
    714712#group strong
    715 PASS Document.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em 
    716  
    717 ,       
    718  
     713PASS Document.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em  \r
     714,       \r
    719715#group strong
    720 PASS Document.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em,     
     716PASS Document.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em,      \r
    721717#group strong
    722 PASS Document.querySelector: Syntax, group of selectors separator, whitespace after: #group em,
     718PASS Document.querySelector: Syntax, group of selectors separator, whitespace after: #group em, \r
    723719#group strong
    724 PASS Document.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em     
     720PASS Document.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em      \r
    725721,#group strong
    726 PASS Document.querySelector: Syntax, group of selectors separator, whitespace before: #group em
     722PASS Document.querySelector: Syntax, group of selectors separator, whitespace before: #group em \r
    727723,#group strong
    728724PASS Document.querySelectorAll: Syntax, group of selectors separator, no whitespace: #group em,#group strong
     
    10281024PASS Detached Element.querySelectorAll: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
    10291025PASS Detached Element.querySelector: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
    1030 PASS Detached Element.querySelectorAll: Descendant combinator, whitespace characters: #descendant       
     1026PASS Detached Element.querySelectorAll: Descendant combinator, whitespace characters: #descendant       \r
    10311027#descendant-div2
    1032 PASS Detached Element.querySelector: Descendant combinator, whitespace characters: #descendant 
     1028PASS Detached Element.querySelector: Descendant combinator, whitespace characters: #descendant  \r
    10331029#descendant-div2
    10341030PASS Detached Element.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div
     
    10601056PASS Detached Element.querySelectorAll: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
    10611057PASS Detached Element.querySelector: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
    1062 PASS Detached Element.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1
    1063 >       
     1058PASS Detached Element.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1 \r
     1059>       \r
    10641060#child-div2
    1065 PASS Detached Element.querySelector: Child combinator, surrounded by whitespace: #child-div1   
    1066 >       
     1061PASS Detached Element.querySelector: Child combinator, surrounded by whitespace: #child-div1    \r
     1062>       \r
    10671063#child-div2
    1068 PASS Detached Element.querySelectorAll: Child combinator, whitespace after: #child-div1>       
     1064PASS Detached Element.querySelectorAll: Child combinator, whitespace after: #child-div1>        \r
    10691065#child-div2
    1070 PASS Detached Element.querySelector: Child combinator, whitespace after: #child-div1>   
     1066PASS Detached Element.querySelector: Child combinator, whitespace after: #child-div1>   \r
    10711067#child-div2
    1072 PASS Detached Element.querySelectorAll: Child combinator, whitespace before: #child-div1       
     1068PASS Detached Element.querySelectorAll: Child combinator, whitespace before: #child-div1        \r
    10731069>#child-div2
    1074 PASS Detached Element.querySelector: Child combinator, whitespace before: #child-div1   
     1070PASS Detached Element.querySelector: Child combinator, whitespace before: #child-div1   \r
    10751071>#child-div2
    10761072PASS Detached Element.querySelectorAll: Child combinator, no whitespace: #child-div1>#child-div2
     
    10901086PASS 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
    10911087PASS 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
    1092 PASS Detached Element.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2     
    1093 +       
     1088PASS Detached Element.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2     \r
     1089+       \r
    10941090#adjacent-p3
    1095 PASS Detached Element.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2       
    1096 +       
     1091PASS Detached Element.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2        \r
     1092+       \r
    10971093#adjacent-p3
    1098 PASS Detached Element.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+   
     1094PASS Detached Element.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+    \r
    10991095#adjacent-p3
    1100 PASS Detached Element.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+       
     1096PASS Detached Element.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+       \r
    11011097#adjacent-p3
    1102 PASS Detached Element.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2   
     1098PASS Detached Element.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2    \r
    11031099+#adjacent-p3
    1104 PASS Detached Element.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2       
     1100PASS Detached Element.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2       \r
    11051101+#adjacent-p3
    11061102PASS Detached Element.querySelectorAll: Adjacent sibling combinator, no whitespace: #adjacent-p2+#adjacent-p3
     
    11201116PASS 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
    11211117PASS 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
    1122 PASS Detached Element.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2       
    1123 ~       
     1118PASS Detached Element.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2       \r
     1119~       \r
    11241120#sibling-p3
    1125 PASS Detached Element.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2 
    1126 ~       
     1121PASS Detached Element.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2  \r
     1122~       \r
    11271123#sibling-p3
    1128 PASS Detached Element.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~     
     1124PASS Detached Element.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~      \r
    11291125#sibling-p3
    1130 PASS Detached Element.querySelector: General sibling combinator, whitespace after: #sibling-p2~
     1126PASS Detached Element.querySelector: General sibling combinator, whitespace after: #sibling-p2~ \r
    11311127#sibling-p3
    1132 PASS Detached Element.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2     
     1128PASS Detached Element.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2      \r
    11331129~#sibling-p3
    1134 PASS Detached Element.querySelector: General sibling combinator, whitespace before: #sibling-p2
     1130PASS Detached Element.querySelector: General sibling combinator, whitespace before: #sibling-p2 \r
    11351131~#sibling-p3
    11361132PASS Detached Element.querySelectorAll: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
    11371133PASS Detached Element.querySelector: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
    1138 PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em       
    1139  
    1140 ,       
    1141  
     1134PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em       \r
     1135,       \r
    11421136#group strong
    1143 PASS Detached Element.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em 
    1144  
    1145 ,       
    1146  
     1137PASS Detached Element.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em  \r
     1138,       \r
    11471139#group strong
    1148 PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em,     
     1140PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em,      \r
    11491141#group strong
    1150 PASS Detached Element.querySelector: Syntax, group of selectors separator, whitespace after: #group em,
     1142PASS Detached Element.querySelector: Syntax, group of selectors separator, whitespace after: #group em, \r
    11511143#group strong
    1152 PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em     
     1144PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em      \r
    11531145,#group strong
    1154 PASS Detached Element.querySelector: Syntax, group of selectors separator, whitespace before: #group em
     1146PASS Detached Element.querySelector: Syntax, group of selectors separator, whitespace before: #group em \r
    11551147,#group strong
    11561148PASS Detached Element.querySelectorAll: Syntax, group of selectors separator, no whitespace: #group em,#group strong
     
    14561448PASS Fragment.querySelectorAll: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
    14571449PASS Fragment.querySelector: Descendant combinator, not matching element with id that is not a descendant of an element with id: #descendant-div1 #descendant-div4
    1458 PASS Fragment.querySelectorAll: Descendant combinator, whitespace characters: #descendant       
     1450PASS Fragment.querySelectorAll: Descendant combinator, whitespace characters: #descendant       \r
    14591451#descendant-div2
    1460 PASS Fragment.querySelector: Descendant combinator, whitespace characters: #descendant 
     1452PASS Fragment.querySelector: Descendant combinator, whitespace characters: #descendant  \r
    14611453#descendant-div2
    14621454PASS Fragment.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div
     
    14881480PASS Fragment.querySelectorAll: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
    14891481PASS Fragment.querySelector: Child combinator, not matching element with class that is not a child of an element with class: .child-div1>.child-div3
    1490 PASS Fragment.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1
    1491 >       
     1482PASS Fragment.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1 \r
     1483>       \r
    14921484#child-div2
    1493 PASS Fragment.querySelector: Child combinator, surrounded by whitespace: #child-div1   
    1494 >       
     1485PASS Fragment.querySelector: Child combinator, surrounded by whitespace: #child-div1    \r
     1486>       \r
    14951487#child-div2
    1496 PASS Fragment.querySelectorAll: Child combinator, whitespace after: #child-div1>       
     1488PASS Fragment.querySelectorAll: Child combinator, whitespace after: #child-div1>        \r
    14971489#child-div2
    1498 PASS Fragment.querySelector: Child combinator, whitespace after: #child-div1>   
     1490PASS Fragment.querySelector: Child combinator, whitespace after: #child-div1>   \r
    14991491#child-div2
    1500 PASS Fragment.querySelectorAll: Child combinator, whitespace before: #child-div1       
     1492PASS Fragment.querySelectorAll: Child combinator, whitespace before: #child-div1        \r
    15011493>#child-div2
    1502 PASS Fragment.querySelector: Child combinator, whitespace before: #child-div1   
     1494PASS Fragment.querySelector: Child combinator, whitespace before: #child-div1   \r
    15031495>#child-div2
    15041496PASS Fragment.querySelectorAll: Child combinator, no whitespace: #child-div1>#child-div2
     
    15181510PASS 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
    15191511PASS 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
    1520 PASS Fragment.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2     
    1521 +       
     1512PASS Fragment.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2     \r
     1513+       \r
    15221514#adjacent-p3
    1523 PASS Fragment.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2       
    1524 +       
     1515PASS Fragment.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2        \r
     1516+       \r
    15251517#adjacent-p3
    1526 PASS Fragment.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+   
     1518PASS Fragment.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+    \r
    15271519#adjacent-p3
    1528 PASS Fragment.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+       
     1520PASS Fragment.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+       \r
    15291521#adjacent-p3
    1530 PASS Fragment.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2   
     1522PASS Fragment.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2    \r
    15311523+#adjacent-p3
    1532 PASS Fragment.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2       
     1524PASS Fragment.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2       \r
    15331525+#adjacent-p3
    15341526PASS Fragment.querySelectorAll: Adjacent sibling combinator, no whitespace: #adjacent-p2+#adjacent-p3
     
    15481540PASS 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
    15491541PASS 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
    1550 PASS Fragment.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2       
    1551 ~       
     1542PASS Fragment.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2       \r
     1543~       \r
    15521544#sibling-p3
    1553 PASS Fragment.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2 
    1554 ~       
     1545PASS Fragment.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2  \r
     1546~       \r
    15551547#sibling-p3
    1556 PASS Fragment.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~     
     1548PASS Fragment.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~      \r
    15571549#sibling-p3
    1558 PASS Fragment.querySelector: General sibling combinator, whitespace after: #sibling-p2~
     1550PASS Fragment.querySelector: General sibling combinator, whitespace after: #sibling-p2~ \r
    15591551#sibling-p3
    1560 PASS Fragment.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2     
     1552PASS Fragment.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2      \r
    15611553~#sibling-p3
    1562 PASS Fragment.querySelector: General sibling combinator, whitespace before: #sibling-p2
     1554PASS Fragment.querySelector: General sibling combinator, whitespace before: #sibling-p2 \r
    15631555~#sibling-p3
    15641556PASS Fragment.querySelectorAll: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
    15651557PASS Fragment.querySelector: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
    1566 PASS Fragment.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em       
    1567  
    1568 ,       
    1569  
     1558PASS Fragment.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em       \r
     1559,       \r
    15701560#group strong
    1571 PASS Fragment.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em 
    1572  
    1573 ,       
    1574  
     1561PASS Fragment.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em  \r
     1562,       \r
    15751563#group strong
    1576 PASS Fragment.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em,     
     1564PASS Fragment.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em,      \r
    15771565#group strong
    1578 PASS Fragment.querySelector: Syntax, group of selectors separator, whitespace after: #group em,
     1566PASS Fragment.querySelector: Syntax, group of selectors separator, whitespace after: #group em, \r
    15791567#group strong
    1580 PASS Fragment.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em     
     1568PASS Fragment.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em      \r
    15811569,#group strong
    1582 PASS Fragment.querySelector: Syntax, group of selectors separator, whitespace before: #group em
     1570PASS Fragment.querySelector: Syntax, group of selectors separator, whitespace before: #group em \r
    15831571,#group strong
    15841572PASS Fragment.querySelectorAll: Syntax, group of selectors separator, no whitespace: #group em,#group strong
     
    18861874PASS 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
    18871875PASS 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
    1888 PASS In-document Element.querySelectorAll: Descendant combinator, whitespace characters: #descendant   
     1876PASS In-document Element.querySelectorAll: Descendant combinator, whitespace characters: #descendant    \r
    18891877#descendant-div2
    1890 PASS In-document Element.querySelector: Descendant combinator, whitespace characters: #descendant       
     1878PASS In-document Element.querySelector: Descendant combinator, whitespace characters: #descendant       \r
    18911879#descendant-div2
    18921880PASS In-document Element.querySelectorAll: Descendant combinator '>>', matching element that is a descendant of an element with id: #descendant>>div
     
    19201908PASS 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
    19211909PASS 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
    1922 PASS In-document Element.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1     
    1923 >       
     1910PASS In-document Element.querySelectorAll: Child combinator, surrounded by whitespace: #child-div1      \r
     1911>       \r
    19241912#child-div2
    1925 PASS In-document Element.querySelector: Child combinator, surrounded by whitespace: #child-div1
    1926 >       
     1913PASS In-document Element.querySelector: Child combinator, surrounded by whitespace: #child-div1 \r
     1914>       \r
    19271915#child-div2
    1928 PASS In-document Element.querySelectorAll: Child combinator, whitespace after: #child-div1>     
     1916PASS In-document Element.querySelectorAll: Child combinator, whitespace after: #child-div1>     \r
    19291917#child-div2
    1930 PASS In-document Element.querySelector: Child combinator, whitespace after: #child-div1>       
     1918PASS In-document Element.querySelector: Child combinator, whitespace after: #child-div1>        \r
    19311919#child-div2
    1932 PASS In-document Element.querySelectorAll: Child combinator, whitespace before: #child-div1     
     1920PASS In-document Element.querySelectorAll: Child combinator, whitespace before: #child-div1     \r
    19331921>#child-div2
    1934 PASS In-document Element.querySelector: Child combinator, whitespace before: #child-div1       
     1922PASS In-document Element.querySelector: Child combinator, whitespace before: #child-div1        \r
    19351923>#child-div2
    19361924PASS In-document Element.querySelectorAll: Child combinator, no whitespace: #child-div1>#child-div2
     
    19501938PASS 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
    19511939PASS 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
    1952 PASS In-document Element.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2 
    1953 +       
     1940PASS In-document Element.querySelectorAll: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2  \r
     1941+       \r
    19541942#adjacent-p3
    1955 PASS In-document Element.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2     
    1956 +       
     1943PASS In-document Element.querySelector: Adjacent sibling combinator, surrounded by whitespace: #adjacent-p2     \r
     1944+       \r
    19571945#adjacent-p3
    1958 PASS In-document Element.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+
     1946PASS In-document Element.querySelectorAll: Adjacent sibling combinator, whitespace after: #adjacent-p2+ \r
    19591947#adjacent-p3
    1960 PASS In-document Element.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+   
     1948PASS In-document Element.querySelector: Adjacent sibling combinator, whitespace after: #adjacent-p2+    \r
    19611949#adjacent-p3
    1962 PASS In-document Element.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2
     1950PASS In-document Element.querySelectorAll: Adjacent sibling combinator, whitespace before: #adjacent-p2 \r
    19631951+#adjacent-p3
    1964 PASS In-document Element.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2   
     1952PASS In-document Element.querySelector: Adjacent sibling combinator, whitespace before: #adjacent-p2    \r
    19651953+#adjacent-p3
    19661954PASS In-document Element.querySelectorAll: Adjacent sibling combinator, no whitespace: #adjacent-p2+#adjacent-p3
     
    19801968PASS 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
    19811969PASS 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
    1982 PASS In-document Element.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2   
    1983 ~       
     1970PASS In-document Element.querySelectorAll: General sibling combinator, surrounded by whitespace: #sibling-p2    \r
     1971~       \r
    19841972#sibling-p3
    1985 PASS In-document Element.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2       
    1986 ~       
     1973PASS In-document Element.querySelector: General sibling combinator, surrounded by whitespace: #sibling-p2       \r
     1974~       \r
    19871975#sibling-p3
    1988 PASS In-document Element.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~   
     1976PASS In-document Element.querySelectorAll: General sibling combinator, whitespace after: #sibling-p2~   \r
    19891977#sibling-p3
    1990 PASS In-document Element.querySelector: General sibling combinator, whitespace after: #sibling-p2~     
     1978PASS In-document Element.querySelector: General sibling combinator, whitespace after: #sibling-p2~      \r
    19911979#sibling-p3
    1992 PASS In-document Element.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2   
     1980PASS In-document Element.querySelectorAll: General sibling combinator, whitespace before: #sibling-p2   \r
    19931981~#sibling-p3
    1994 PASS In-document Element.querySelector: General sibling combinator, whitespace before: #sibling-p2     
     1982PASS In-document Element.querySelector: General sibling combinator, whitespace before: #sibling-p2      \r
    19951983~#sibling-p3
    19961984PASS In-document Element.querySelectorAll: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
    19971985PASS In-document Element.querySelector: General sibling combinator, no whitespace: #sibling-p2~#sibling-p3
    1998 PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em   
    1999  
    2000 ,       
    2001  
     1986PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, surrounded by whitespace: #group em    \r
     1987,       \r
    20021988#group strong
    2003 PASS In-document Element.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em       
    2004  
    2005 ,       
    2006  
     1989PASS In-document Element.querySelector: Syntax, group of selectors separator, surrounded by whitespace: #group em       \r
     1990,       \r
    20071991#group strong
    2008 PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em,   
     1992PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, whitespace after: #group em,   \r
    20091993#group strong
    2010 PASS In-document Element.querySelector: Syntax, group of selectors separator, whitespace after: #group em,     
     1994PASS In-document Element.querySelector: Syntax, group of selectors separator, whitespace after: #group em,      \r
    20111995#group strong
    2012 PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em   
     1996PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, whitespace before: #group em   \r
    20131997,#group strong
    2014 PASS In-document Element.querySelector: Syntax, group of selectors separator, whitespace before: #group em     
     1998PASS In-document Element.querySelector: Syntax, group of selectors separator, whitespace before: #group em      \r
    20151999,#group strong
    20162000PASS In-document Element.querySelectorAll: Syntax, group of selectors separator, no whitespace: #group em,#group strong
  • trunk/LayoutTests/imported/w3c/web-platform-tests/url/a-element-expected.txt

    r207805 r207995  
    321321PASS Parsing: <https://localhost:3000/jqueryui@1.2.3> against <about:blank>
    322322PASS Parsing: <h        t
    323 t
    324 p://h   o
    325 s
    326 t:9     0
    327 0
    328 0/p     a
    329 t
    330 h?q     u
    331 e
    332 ry#f    r
    333 a
    334 g> against <about:blank>
     323t\rp://h        o
     324s\rt:9  0
     3250\r0/p  a
     326t\rh?q  u
     327e\rry#f r
     328a\rg> against <about:blank>
    335329PASS Parsing: <?a=b&c=d> against <http://example.org/foo/bar>
    336330PASS Parsing: <??a=b&c=d> against <http://example.org/foo/bar>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/url/a-element-xhtml-expected.txt

    r207805 r207995  
    321321PASS Parsing: <https://localhost:3000/jqueryui@1.2.3> against <about:blank>
    322322PASS Parsing: <h        t
    323 t
    324 p://h   o
    325 s
    326 t:9     0
    327 0
    328 0/p     a
    329 t
    330 h?q     u
    331 e
    332 ry#f    r
    333 a
    334 g> against <about:blank>
     323t\rp://h        o
     324s\rt:9  0
     3250\r0/p  a
     326t\rh?q  u
     327e\rry#f r
     328a\rg> against <about:blank>
    335329PASS Parsing: <?a=b&c=d> against <http://example.org/foo/bar>
    336330PASS Parsing: <??a=b&c=d> against <http://example.org/foo/bar>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/url/url-constructor-expected.txt

    r207805 r207995  
    326326PASS Parsing: <https://localhost:3000/jqueryui@1.2.3> against <about:blank>
    327327PASS Parsing: <h        t
    328 t
    329 p://h   o
    330 s
    331 t:9     0
    332 0
    333 0/p     a
    334 t
    335 h?q     u
    336 e
    337 ry#f    r
    338 a
    339 g> against <about:blank>
     328t\rp://h        o
     329s\rt:9  0
     3300\r0/p  a
     331t\rh?q  u
     332e\rry#f r
     333a\rg> against <about:blank>
    340334PASS Parsing: <?a=b&c=d> against <http://example.org/foo/bar>
    341335PASS Parsing: <??a=b&c=d> against <http://example.org/foo/bar>
  • trunk/LayoutTests/imported/w3c/web-platform-tests/url/url-setters-expected.txt

    r207939 r207995  
    6464PASS <a>: Setting <http://me:secret@example.net>.username = ''
    6565PASS <area>: Setting <http://me:secret@example.net>.username = ''
    66 PASS URL: Setting <http://example.net>.username = '
     66PASS URL: Setting <http://example.net>.username = '\0   
     67\r !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~€Éé' UTF-8 percent encoding with the userinfo encode set.
     68PASS <a>: Setting <http://example.net>.username = '\0   
     69\r !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~€Éé' UTF-8 percent encoding with the userinfo encode set.
     70PASS <area>: Setting <http://example.net>.username = '\0       
     71\r !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~€Éé' UTF-8 percent encoding with the userinfo encode set.
     72PASS URL: Setting <http://example.net>.username = '%c3%89té' Bytes already percent-encoded are left as-is.
     73PASS <a>: Setting <http://example.net>.username = '%c3%89té' Bytes already percent-encoded are left as-is.
     74PASS <area>: Setting <http://example.net>.username = '%c3%89té' Bytes already percent-encoded are left as-is.
     75FAIL 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"
     76FAIL <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"
     77FAIL <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"
     78FAIL 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"
     79FAIL <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"
     80FAIL <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"
     81FAIL 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"
     82FAIL <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"
     83FAIL <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"
     84PASS URL: Setting <http://example.net>.password = 'secret'
     85PASS <a>: Setting <http://example.net>.password = 'secret'
     86PASS <area>: Setting <http://example.net>.password = 'secret'
     87PASS URL: Setting <http://me@example.net>.password = 'secret'
     88PASS <a>: Setting <http://me@example.net>.password = 'secret'
     89PASS <area>: Setting <http://me@example.net>.password = 'secret'
     90PASS URL: Setting <http://:secret@example.net>.password = ''
     91PASS <a>: Setting <http://:secret@example.net>.password = ''
     92PASS <area>: Setting <http://:secret@example.net>.password = ''
     93PASS URL: Setting <http://me:secret@example.net>.password = ''
     94PASS <a>: Setting <http://me:secret@example.net>.password = ''
     95PASS <area>: Setting <http://me:secret@example.net>.password = ''
     96PASS URL: Setting <http://example.net>.password = '\0   
     97\r !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~€Éé' UTF-8 percent encoding with the userinfo encode set.
     98PASS <a>: Setting <http://example.net>.password = '\0   
     99\r !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~€Éé' UTF-8 percent encoding with the userinfo encode set.
     100PASS <area>: Setting <http://example.net>.password = '\0       
     101\r !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~€Éé' UTF-8 percent encoding with the userinfo encode set.
     102PASS URL: Setting <http://example.net>.password = '%c3%89té' Bytes already percent-encoded are left as-is.
     103PASS <a>: Setting <http://example.net>.password = '%c3%89té' Bytes already percent-encoded are left as-is.
     104PASS <area>: Setting <http://example.net>.password = '%c3%89té' Bytes already percent-encoded are left as-is.
     105PASS URL: Setting <mailto:me@example.net>.host = 'example.com' Cannot-be-a-base means no host
     106PASS <a>: Setting <mailto:me@example.net>.host = 'example.com' Cannot-be-a-base means no host
     107PASS <area>: Setting <mailto:me@example.net>.host = 'example.com' Cannot-be-a-base means no host
     108PASS URL: Setting <data:text/plain,Stuff>.host = 'example.net' Cannot-be-a-base means no password
     109PASS <a>: Setting <data:text/plain,Stuff>.host = 'example.net' Cannot-be-a-base means no password
     110PASS <area>: Setting <data:text/plain,Stuff>.host = 'example.net' Cannot-be-a-base means no password
     111PASS URL: Setting <http://example.net>.host = 'example.com:8080'
     112PASS <a>: Setting <http://example.net>.host = 'example.com:8080'
     113PASS <area>: Setting <http://example.net>.host = 'example.com:8080'
     114FAIL 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/"
     115FAIL <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/"
     116FAIL <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/"
     117FAIL 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/"
     118FAIL <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/"
     119FAIL <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/"
     120PASS URL: Setting <http://example.net>.host = '' The empty host is not valid for special schemes
     121PASS <a>: Setting <http://example.net>.host = '' The empty host is not valid for special schemes
     122PASS <area>: Setting <http://example.net>.host = '' The empty host is not valid for special schemes
     123FAIL 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"
     124FAIL <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"
     125FAIL <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"
     126PASS URL: Setting <a:/foo>.host = 'example.net' Path-only URLs can gain a host
     127PASS <a>: Setting <a:/foo>.host = 'example.net' Path-only URLs can gain a host
     128PASS <area>: Setting <a:/foo>.host = 'example.net' Path-only URLs can gain a host
     129PASS URL: Setting <http://example.net>.host = '0x7F000001:8080' IPv4 address syntax is normalized
     130PASS <a>: Setting <http://example.net>.host = '0x7F000001:8080' IPv4 address syntax is normalized
     131PASS <area>: Setting <http://example.net>.host = '0x7F000001:8080' IPv4 address syntax is normalized
     132FAIL URL: Setting <http://example.net>.host = '[::0:01]:2' IPv6 address syntax is normalized assert_equals: expected "http://[::1]:2/" but got "http://[:0/"
     133FAIL <a>: Setting <http://example.net>.host = '[::0:01]:2' IPv6 address syntax is normalized assert_equals: expected "http://[::1]:2/" but got "http://[:0/"
     134FAIL <area>: Setting <http://example.net>.host = '[::0:01]:2' IPv6 address syntax is normalized assert_equals: expected "http://[::1]:2/" but got "http://[:0/"
     135PASS URL: Setting <http://example.net>.host = 'example.com:80' Default port number is removed
     136PASS <a>: Setting <http://example.net>.host = 'example.com:80' Default port number is removed
     137PASS <area>: Setting <http://example.net>.host = 'example.com:80' Default port number is removed
     138PASS URL: Setting <https://example.net>.host = 'example.com:443' Default port number is removed
     139PASS <a>: Setting <https://example.net>.host = 'example.com:443' Default port number is removed
     140PASS <area>: Setting <https://example.net>.host = 'example.com:443' Default port number is removed
     141PASS URL: Setting <https://example.net>.host = 'example.com:80' Default port number is only removed for the relevant scheme
     142PASS <a>: Setting <https://example.net>.host = 'example.com:80' Default port number is only removed for the relevant scheme
     143PASS <area>: Setting <https://example.net>.host = 'example.com:80' Default port number is only removed for the relevant scheme
     144FAIL 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"
     145FAIL <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"
     146FAIL <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"
     147PASS URL: Setting <http://example.net/path>.host = 'example.com:8080/stuff' Stuff after a / delimiter is ignored
     148PASS <a>: Setting <http://example.net/path>.host = 'example.com:8080/stuff' Stuff after a / delimiter is ignored
     149PASS <area>: Setting <http://example.net/path>.host = 'example.com:8080/stuff' Stuff after a / delimiter is ignored
     150FAIL 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"
     151FAIL <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"
     152FAIL <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"
     153PASS URL: Setting <http://example.net/path>.host = 'example.com:8080?stuff' Stuff after a ? delimiter is ignored
     154PASS <a>: Setting <http://example.net/path>.host = 'example.com:8080?stuff' Stuff after a ? delimiter is ignored
     155PASS <area>: Setting <http://example.net/path>.host = 'example.com:8080?stuff' Stuff after a ? delimiter is ignored
     156FAIL 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"
     157FAIL <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"
     158FAIL <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"
     159PASS URL: Setting <http://example.net/path>.host = 'example.com:8080#stuff' Stuff after a # delimiter is ignored
     160PASS <a>: Setting <http://example.net/path>.host = 'example.com:8080#stuff' Stuff after a # delimiter is ignored
     161PASS <area>: Setting <http://example.net/path>.host = 'example.com:8080#stuff' Stuff after a # delimiter is ignored
     162FAIL 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"
     163FAIL <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"
     164FAIL <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"
     165PASS URL: Setting <http://example.net/path>.host = 'example.com:8080\stuff' Stuff after a \ delimiter is ignored for special schemes
     166PASS <a>: Setting <http://example.net/path>.host = 'example.com:8080\stuff' Stuff after a \ delimiter is ignored for special schemes
     167PASS <area>: Setting <http://example.net/path>.host = 'example.com:8080\stuff' Stuff after a \ delimiter is ignored for special schemes
     168FAIL 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"
     169FAIL <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"
     170FAIL <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"
     171PASS 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
     172PASS <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
     173PASS <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
     174PASS 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
     175PASS <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
     176PASS <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
     177PASS 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
     178PASS <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
     179PASS <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
     180PASS URL: Setting <http://example.net/path>.host = 'example.com:65535' Port numbers are 16 bit integers
     181PASS <a>: Setting <http://example.net/path>.host = 'example.com:65535' Port numbers are 16 bit integers
     182PASS <area>: Setting <http://example.net/path>.host = 'example.com:65535' Port numbers are 16 bit integers
     183FAIL 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"
     184FAIL <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"
     185FAIL <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"
     186PASS URL: Setting <mailto:me@example.net>.hostname = 'example.com' Cannot-be-a-base means no host
     187PASS <a>: Setting <mailto:me@example.net>.hostname = 'example.com' Cannot-be-a-base means no host
     188PASS <area>: Setting <mailto:me@example.net>.hostname = 'example.com' Cannot-be-a-base means no host
     189PASS URL: Setting <data:text/plain,Stuff>.hostname = 'example.net' Cannot-be-a-base means no password
     190PASS <a>: Setting <data:text/plain,Stuff>.hostname = 'example.net' Cannot-be-a-base means no password
     191PASS <area>: Setting <data:text/plain,Stuff>.hostname = 'example.net' Cannot-be-a-base means no password
     192PASS URL: Setting <http://example.net:8080>.hostname = 'example.com'
     193PASS <a>: Setting <http://example.net:8080>.hostname = 'example.com'
     194PASS <area>: Setting <http://example.net:8080>.hostname = 'example.com'
     195PASS URL: Setting <http://example.net>.hostname = '' The empty host is not valid for special schemes
     196PASS <a>: Setting <http://example.net>.hostname = '' The empty host is not valid for special schemes
     197PASS <area>: Setting <http://example.net>.hostname = '' The empty host is not valid for special schemes
     198FAIL 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"
     199FAIL <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"
     200FAIL <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"
     201PASS URL: Setting <a:/foo>.hostname = 'example.net' Path-only URLs can gain a host
     202PASS <a>: Setting <a:/foo>.hostname = 'example.net' Path-only URLs can gain a host
     203PASS <area>: Setting <a:/foo>.hostname = 'example.net' Path-only URLs can gain a host
     204PASS URL: Setting <http://example.net:8080>.hostname = '0x7F000001' IPv4 address syntax is normalized
     205PASS <a>: Setting <http://example.net:8080>.hostname = '0x7F000001' IPv4 address syntax is normalized
     206PASS <area>: Setting <http://example.net:8080>.hostname = '0x7F000001' IPv4 address syntax is normalized
     207FAIL URL: Setting <http://example.net>.hostname = '[::0:01]' IPv6 address syntax is normalized assert_equals: expected "http://[::1]/" but got "http://example.net/"
     208FAIL <a>: Setting <http://example.net>.hostname = '[::0:01]' IPv6 address syntax is normalized assert_equals: expected "http://[::1]/" but got "http://example.net/"
     209FAIL <area>: Setting <http://example.net>.hostname = '[::0:01]' IPv6 address syntax is normalized assert_equals: expected "http://[::1]/" but got "http://example.net/"
     210FAIL 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"
     211FAIL <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"
     212FAIL <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"
     213FAIL 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"
     214FAIL <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"
     215FAIL <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"
     216FAIL 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"
     217FAIL <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"
     218FAIL <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"
     219FAIL 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"
     220FAIL <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"
     221FAIL <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"
     222FAIL 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"
     223FAIL <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"
     224FAIL <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"
     225FAIL 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"
     226FAIL <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"
     227FAIL <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"
     228FAIL 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"
     229FAIL <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"
     230FAIL <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"
     231PASS URL: Setting <http://example.net>.port = '8080'
     232PASS <a>: Setting <http://example.net>.port = '8080'
     233PASS <area>: Setting <http://example.net>.port = '8080'
     234FAIL 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/"
     235FAIL <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/"
     236FAIL <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/"
     237PASS URL: Setting <http://example.net:8080>.port = '80' Default port number is removed
     238PASS <a>: Setting <http://example.net:8080>.port = '80' Default port number is removed
     239PASS <area>: Setting <http://example.net:8080>.port = '80' Default port number is removed
     240PASS URL: Setting <https://example.net:4433>.port = '443' Default port number is removed
     241PASS <a>: Setting <https://example.net:4433>.port = '443' Default port number is removed
     242PASS <area>: Setting <https://example.net:4433>.port = '443' Default port number is removed
     243PASS URL: Setting <https://example.net>.port = '80' Default port number is only removed for the relevant scheme
     244PASS <a>: Setting <https://example.net>.port = '80' Default port number is only removed for the relevant scheme
     245PASS <area>: Setting <https://example.net>.port = '80' Default port number is only removed for the relevant scheme
     246PASS URL: Setting <http://example.net/path>.port = '8080/stuff' Stuff after a / delimiter is ignored
     247PASS <a>: Setting <http://example.net/path>.port = '8080/stuff' Stuff after a / delimiter is ignored
     248PASS <area>: Setting <http://example.net/path>.port = '8080/stuff' Stuff after a / delimiter is ignored
     249PASS URL: Setting <http://example.net/path>.port = '8080?stuff' Stuff after a ? delimiter is ignored
     250PASS <a>: Setting <http://example.net/path>.port = '8080?stuff' Stuff after a ? delimiter is ignored
     251PASS <area>: Setting <http://example.net/path>.port = '8080?stuff' Stuff after a ? delimiter is ignored
     252PASS URL: Setting <http://example.net/path>.port = '8080#stuff' Stuff after a # delimiter is ignored
     253PASS <a>: Setting <http://example.net/path>.port = '8080#stuff' Stuff after a # delimiter is ignored
     254PASS <area>: Setting <http://example.net/path>.port = '8080#stuff' Stuff after a # delimiter is ignored
     255PASS URL: Setting <http://example.net/path>.port = '8080\stuff' Stuff after a \ delimiter is ignored for special schemes
     256PASS <a>: Setting <http://example.net/path>.port = '8080\stuff' Stuff after a \ delimiter is ignored for special schemes
     257PASS <area>: Setting <http://example.net/path>.port = '8080\stuff' Stuff after a \ delimiter is ignored for special schemes
     258PASS 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
     259PASS <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
     260PASS <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
     261PASS 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
     262PASS <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
     263PASS <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
     264PASS 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
     265PASS <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
     266PASS <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
     267PASS URL: Setting <http://example.net/path>.port = '65535' Port numbers are 16 bit integers
     268PASS <a>: Setting <http://example.net/path>.port = '65535' Port numbers are 16 bit integers
     269PASS <area>: Setting <http://example.net/path>.port = '65535' Port numbers are 16 bit integers
     270FAIL 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"
     271FAIL <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"
     272FAIL <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"
     273PASS URL: Setting <mailto:me@example.net>.pathname = '/foo' Cannot-be-a-base don’t have a path
     274PASS <a>: Setting <mailto:me@example.net>.pathname = '/foo' Cannot-be-a-base don’t have a path
     275PASS <area>: Setting <mailto:me@example.net>.pathname = '/foo' Cannot-be-a-base don’t have a path
     276PASS URL: Setting <unix:/run/foo.socket?timeout=10>.pathname = '/var/log/../run/bar.socket'
     277PASS <a>: Setting <unix:/run/foo.socket?timeout=10>.pathname = '/var/log/../run/bar.socket'
     278PASS <area>: Setting <unix:/run/foo.socket?timeout=10>.pathname = '/var/log/../run/bar.socket'
     279PASS URL: Setting <https://example.net#nav>.pathname = 'home'
     280PASS <a>: Setting <https://example.net#nav>.pathname = 'home'
     281PASS <area>: Setting <https://example.net#nav>.pathname = 'home'
     282PASS URL: Setting <https://example.net#nav>.pathname = '../home'
     283PASS <a>: Setting <https://example.net#nav>.pathname = '../home'
     284PASS <area>: Setting <https://example.net#nav>.pathname = '../home'
     285FAIL 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"
     286FAIL <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"
     287FAIL <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"
     288FAIL 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"
     289FAIL <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"
     290FAIL <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"
     291FAIL URL: Setting <a:/>.pathname = '\0 
     292\r !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~€Éé' 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"
     293FAIL <a>: Setting <a:/>.pathname = '\0 
     294\r !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~€Éé' 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"
     295FAIL <area>: Setting <a:/>.pathname = '\0       
     296\r !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~€Éé' 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"
     297FAIL 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"
     298FAIL <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"
     299FAIL <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"
     300PASS URL: Setting <http://example.net>.pathname = '?' ? needs to be encoded
     301PASS <a>: Setting <http://example.net>.pathname = '?' ? needs to be encoded
     302PASS <area>: Setting <http://example.net>.pathname = '?' ? needs to be encoded
     303PASS URL: Setting <https://example.net#nav>.search = 'lang=fr'
     304PASS <a>: Setting <https://example.net#nav>.search = 'lang=fr'
     305PASS <area>: Setting <https://example.net#nav>.search = 'lang=fr'
     306PASS URL: Setting <https://example.net?lang=en-US#nav>.search = 'lang=fr'
     307PASS <a>: Setting <https://example.net?lang=en-US#nav>.search = 'lang=fr'
     308PASS <area>: Setting <https://example.net?lang=en-US#nav>.search = 'lang=fr'
     309PASS URL: Setting <https://example.net?lang=en-US#nav>.search = '?lang=fr'
     310PASS <a>: Setting <https://example.net?lang=en-US#nav>.search = '?lang=fr'
     311PASS <area>: Setting <https://example.net?lang=en-US#nav>.search = '?lang=fr'
     312FAIL 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"
     313FAIL <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"
     314FAIL <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"
     315PASS URL: Setting <https://example.net?lang=en-US#nav>.search = '?'
     316PASS <a>: Setting <https://example.net?lang=en-US#nav>.search = '?'
     317PASS <area>: Setting <https://example.net?lang=en-US#nav>.search = '?'
     318FAIL URL: Setting <https://example.net?lang=en-US#nav>.search = '' assert_equals: expected "https://example.net/#nav" but got "https://example.net/?#nav"
     319FAIL <a>: Setting <https://example.net?lang=en-US#nav>.search = '' assert_equals: expected "https://example.net/#nav" but got "https://example.net/?#nav"
     320FAIL <area>: Setting <https://example.net?lang=en-US#nav>.search = '' assert_equals: expected "https://example.net/#nav" but got "https://example.net/?#nav"
     321FAIL URL: Setting <https://example.net?lang=en-US>.search = '' assert_equals: expected "https://example.net/" but got "https://example.net/?"
     322FAIL <a>: Setting <https://example.net?lang=en-US>.search = '' assert_equals: expected "https://example.net/" but got "https://example.net/?"
     323FAIL <area>: Setting <https://example.net?lang=en-US>.search = '' assert_equals: expected "https://example.net/" but got "https://example.net/?"
     324FAIL URL: Setting <https://example.net>.search = '' assert_equals: expected "https://example.net/" but got "https://example.net/?"
     325FAIL <a>: Setting <https://example.net>.search = '' assert_equals: expected "https://example.net/" but got "https://example.net/?"
     326FAIL <area>: Setting <https://example.net>.search = '' assert_equals: expected "https://example.net/" but got "https://example.net/?"
     327PASS URL: Setting <a:/>.search = '\0   
     328\r !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~€Éé' UTF-8 percent encoding with the query encode set. Tabs and newlines are removed.
     329PASS <a>: Setting <a:/>.search = '\0   
     330\r !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~€Éé' UTF-8 percent encoding with the query encode set. Tabs and newlines are removed.
     331PASS <area>: Setting <a:/>.search = '\0
     332\r !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~€Éé' UTF-8 percent encoding with the query encode set. Tabs and newlines are removed.
     333PASS URL: Setting <http://example.net>.search = '%c3%89té' Bytes already percent-encoded are left as-is
     334PASS <a>: Setting <http://example.net>.search = '%c3%89té' Bytes already percent-encoded are left as-is
     335PASS <area>: Setting <http://example.net>.search = '%c3%89té' Bytes already percent-encoded are left as-is
     336PASS URL: Setting <https://example.net>.hash = 'main'
     337PASS <a>: Setting <https://example.net>.hash = 'main'
     338PASS <area>: Setting <https://example.net>.hash = 'main'
     339PASS URL: Setting <https://example.net#nav>.hash = 'main'
     340PASS <a>: Setting <https://example.net#nav>.hash = 'main'
     341PASS <area>: Setting <https://example.net#nav>.hash = 'main'
     342PASS URL: Setting <https://example.net?lang=en-US>.hash = '##nav'
     343PASS <a>: Setting <https://example.net?lang=en-US>.hash = '##nav'
     344PASS <area>: Setting <https://example.net?lang=en-US>.hash = '##nav'
     345PASS URL: Setting <https://example.net?lang=en-US#nav>.hash = '#main'
     346PASS <a>: Setting <https://example.net?lang=en-US#nav>.hash = '#main'
     347PASS <area>: Setting <https://example.net?lang=en-US#nav>.hash = '#main'
     348FAIL 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"
     349FAIL <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"
     350FAIL <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"
     351PASS URL: Setting <https://example.net?lang=en-US#nav>.hash = ''
     352PASS <a>: Setting <https://example.net?lang=en-US#nav>.hash = ''
     353PASS <area>: Setting <https://example.net?lang=en-US#nav>.hash = ''
     354FAIL URL: Setting <a:/>.hash = '\0     
     355\r !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~€Éé' No percent-encoding at all (!); nuls, tabs, and newlines are removed assert_equals: expected "a:/#\x01\x1f !\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~€Éé" but got "a:/#%00%01%1F !\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~%7F%C2%80%C2%81%C3%89%C3%A9"
     356FAIL <a>: Setting <a:/>.hash = '\0     
     357\r !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~€Éé' No percent-encoding at all (!); nuls, tabs, and newlines are removed assert_equals: expected "a:/#\x01\x1f !\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~€Éé" but got "a:/#%00%01%1F !\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~%7F%C2%80%C2%81%C3%89%C3%A9"
     358FAIL <area>: Setting <a:/>.hash = '\0   
     359\r !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~€Éé' No percent-encoding at all (!); nuls, tabs, and newlines are removed assert_equals: expected "a:/#\x01\x1f !\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~€Éé" but got "a:/#%00%01%1F !\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~%7F%C2%80%C2%81%C3%89%C3%A9"
     360FAIL 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"
     361FAIL <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"
     362FAIL <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"
     363
  • trunk/LayoutTests/resources/testharnessreport.js

    r204976 r207995  
    5656            var resultStr = "\n";
    5757
     58            // Sanitizes the given text for display in test results.
     59            function sanitize(text) {
     60                if (!text) {
     61                    return "";
     62                }
     63                // Escape null characters, otherwise diff will think the file is binary.
     64                text = text.replace(/\0/g, "\\0");
     65                // Escape carriage returns as they break rietveld's difftools.
     66                return text.replace(/\r/g, "\\r");
     67            }
     68
    5869            if(harness_status.status != 0)
    5970                resultStr += "Harness Error (" + convertResult(harness_status.status) + "), message = " + harness_status.message + "\n\n";
    6071
    6172            for (var i = 0; i < tests.length; i++) {
    62                 var message = (tests[i].message != null) ? tests[i].message : "";
     73                var message = sanitize(tests[i].message);
    6374                if (tests[i].status == 1 && !tests[i].dumpStack) {
    6475                    // Remove stack for failed tests for proper string comparison without file paths.
     
    6879                        message = message.substr(0, stackIndex);
    6980                }
    70                 resultStr += convertResult(tests[i].status) + " " +  (tests[i].name != null ? tests[i].name : "") + " " + message + "\n";
     81                resultStr += convertResult(tests[i].status) + " " + sanitize(tests[i].name) + " " + message + "\n";
    7182            }
    7283
Note: See TracChangeset for help on using the changeset viewer.