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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/dom/ranges/Range-surroundContents-expected.txt

Issue 2745533004: Range.surroundContents() should not check node types beforehand. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Range.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 This is a testharness.js-based test. 1 This is a testharness.js-based test.
2 Found 1672 tests; 1456 PASS, 216 FAIL, 0 TIMEOUT, 0 NOTRUN. 2 Found 1672 tests; 1480 PASS, 192 FAIL, 0 TIMEOUT, 0 NOTRUN.
3 PASS 0,0: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[0] 3 PASS 0,0: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[0]
4 PASS 0,0: resulting range position for range [paras[0].firstChild, 0, paras[0].f irstChild, 0], node paras[0] 4 PASS 0,0: resulting range position for range [paras[0].firstChild, 0, paras[0].f irstChild, 0], node paras[0]
5 PASS 0,1: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[0].firstChild 5 PASS 0,1: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[0].firstChild
6 PASS 0,1: resulting range position for range [paras[0].firstChild, 0, paras[0].f irstChild, 0], node paras[0].firstChild 6 PASS 0,1: resulting range position for range [paras[0].firstChild, 0, paras[0].f irstChild, 0], node paras[0].firstChild
7 PASS 0,2: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[1].firstChild 7 PASS 0,2: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[1].firstChild
8 PASS 0,2: resulting range position for range [paras[0].firstChild, 0, paras[0].f irstChild, 0], node paras[1].firstChild 8 PASS 0,2: resulting range position for range [paras[0].firstChild, 0, paras[0].f irstChild, 0], node paras[1].firstChild
9 PASS 0,3: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node foreignPara1 9 PASS 0,3: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node foreignPara1
10 PASS 0,3: resulting range position for range [paras[0].firstChild, 0, paras[0].f irstChild, 0], node foreignPara1 10 PASS 0,3: resulting range position for range [paras[0].firstChild, 0, paras[0].f irstChild, 0], node foreignPara1
11 PASS 0,4: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node foreignPara1.firstChild 11 PASS 0,4: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node foreignPara1.firstChild
12 PASS 0,4: resulting range position for range [paras[0].firstChild, 0, paras[0].f irstChild, 0], node foreignPara1.firstChild 12 PASS 0,4: resulting range position for range [paras[0].firstChild, 0, paras[0].f irstChild, 0], node foreignPara1.firstChild
(...skipping 1608 matching lines...) Expand 10 before | Expand all | Expand 10 after
1621 PASS 36,17: resulting DOM for range [docfrag, 0, docfrag, 0], node comment 1621 PASS 36,17: resulting DOM for range [docfrag, 0, docfrag, 0], node comment
1622 PASS 36,17: resulting range position for range [docfrag, 0, docfrag, 0], node co mment 1622 PASS 36,17: resulting range position for range [docfrag, 0, docfrag, 0], node co mment
1623 PASS 36,18: resulting DOM for range [docfrag, 0, docfrag, 0], node detachedComme nt 1623 PASS 36,18: resulting DOM for range [docfrag, 0, docfrag, 0], node detachedComme nt
1624 PASS 36,18: resulting range position for range [docfrag, 0, docfrag, 0], node de tachedComment 1624 PASS 36,18: resulting range position for range [docfrag, 0, docfrag, 0], node de tachedComment
1625 PASS 36,19: resulting DOM for range [docfrag, 0, docfrag, 0], node docfrag 1625 PASS 36,19: resulting DOM for range [docfrag, 0, docfrag, 0], node docfrag
1626 PASS 36,19: resulting range position for range [docfrag, 0, docfrag, 0], node do cfrag 1626 PASS 36,19: resulting range position for range [docfrag, 0, docfrag, 0], node do cfrag
1627 PASS 36,20: resulting DOM for range [docfrag, 0, docfrag, 0], node doctype 1627 PASS 36,20: resulting DOM for range [docfrag, 0, docfrag, 0], node doctype
1628 PASS 36,20: resulting range position for range [docfrag, 0, docfrag, 0], node do ctype 1628 PASS 36,20: resulting range position for range [docfrag, 0, docfrag, 0], node do ctype
1629 PASS 36,21: resulting DOM for range [docfrag, 0, docfrag, 0], node foreignDoctyp e 1629 PASS 36,21: resulting DOM for range [docfrag, 0, docfrag, 0], node foreignDoctyp e
1630 PASS 36,21: resulting range position for range [docfrag, 0, docfrag, 0], node fo reignDoctype 1630 PASS 36,21: resulting range position for range [docfrag, 0, docfrag, 0], node fo reignDoctype
1631 FAIL 37,0: resulting DOM for range [processingInstruction, 0, processingInstruct ion, 4], node paras[0] assert_true: First differing node: expected ProcessingIns truction node with target "somePI" and data "you know that \":syn sync fromstart \" is very useful when u...", got ProcessingInstruction node with target "somePI " and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Act ual and expected mismatch for range's tree root. ] expected true got false 1631 PASS 37,0: resulting DOM for range [processingInstruction, 0, processingInstruct ion, 4], node paras[0]
1632 FAIL 37,0: resulting range position for range [processingInstruction, 0, process ingInstruction, 4], node paras[0] assert_true: First differing node: expected Pr ocessingInstruction node with target "somePI" and data "you know that \":syn syn c fromstart\" is very useful when u...", got ProcessingInstruction node with tar get "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1632 PASS 37,0: resulting range position for range [processingInstruction, 0, process ingInstruction, 4], node paras[0]
1633 FAIL 37,1: resulting DOM for range [processingInstruction, 0, processingInstruct ion, 4], node paras[0].firstChild assert_true: First differing node: expected Pr ocessingInstruction node with target "somePI" and data "you know that \":syn syn c fromstart\" is very useful when u...", got ProcessingInstruction node with tar get "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1633 PASS 37,1: resulting DOM for range [processingInstruction, 0, processingInstruct ion, 4], node paras[0].firstChild
1634 FAIL 37,1: resulting range position for range [processingInstruction, 0, process ingInstruction, 4], node paras[0].firstChild assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction no de with target "somePI" and data "Did you know that \":syn sync fromstart\" is v ery useful wh..." [Actual and expected mismatch for range's tree root. ] expect ed true got false 1634 PASS 37,1: resulting range position for range [processingInstruction, 0, process ingInstruction, 4], node paras[0].firstChild
1635 FAIL 37,2: resulting DOM for range [processingInstruction, 0, processingInstruct ion, 4], node paras[1].firstChild assert_true: First differing node: expected Pr ocessingInstruction node with target "somePI" and data "you know that \":syn syn c fromstart\" is very useful when u...", got ProcessingInstruction node with tar get "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1635 PASS 37,2: resulting DOM for range [processingInstruction, 0, processingInstruct ion, 4], node paras[1].firstChild
1636 FAIL 37,2: resulting range position for range [processingInstruction, 0, process ingInstruction, 4], node paras[1].firstChild assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction no de with target "somePI" and data "Did you know that \":syn sync fromstart\" is v ery useful wh..." [Actual and expected mismatch for range's tree root. ] expect ed true got false 1636 PASS 37,2: resulting range position for range [processingInstruction, 0, process ingInstruction, 4], node paras[1].firstChild
1637 FAIL 37,3: resulting DOM for range [processingInstruction, 0, processingInstruct ion, 4], node foreignPara1 assert_true: First differing node: expected Processin gInstruction node with target "somePI" and data "you know that \":syn sync froms tart\" is very useful when u...", got ProcessingInstruction node with target "so mePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1637 PASS 37,3: resulting DOM for range [processingInstruction, 0, processingInstruct ion, 4], node foreignPara1
1638 FAIL 37,3: resulting range position for range [processingInstruction, 0, process ingInstruction, 4], node foreignPara1 assert_true: First differing node: expecte d ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very use ful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1638 PASS 37,3: resulting range position for range [processingInstruction, 0, process ingInstruction, 4], node foreignPara1
1639 FAIL 37,4: resulting DOM for range [processingInstruction, 0, processingInstruct ion, 4], node foreignPara1.firstChild assert_true: First differing node: expecte d ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very use ful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1639 PASS 37,4: resulting DOM for range [processingInstruction, 0, processingInstruct ion, 4], node foreignPara1.firstChild
1640 FAIL 37,4: resulting range position for range [processingInstruction, 0, process ingInstruction, 4], node foreignPara1.firstChild assert_true: First differing no de: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstructio n node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] ex pected true got false 1640 PASS 37,4: resulting range position for range [processingInstruction, 0, process ingInstruction, 4], node foreignPara1.firstChild
1641 FAIL 37,5: resulting DOM for range [processingInstruction, 0, processingInstruct ion, 4], node detachedPara1 assert_true: First differing node: expected Processi ngInstruction node with target "somePI" and data "you know that \":syn sync from start\" is very useful when u...", got ProcessingInstruction node with target "s omePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1641 PASS 37,5: resulting DOM for range [processingInstruction, 0, processingInstruct ion, 4], node detachedPara1
1642 FAIL 37,5: resulting range position for range [processingInstruction, 0, process ingInstruction, 4], node detachedPara1 assert_true: First differing node: expect ed ProcessingInstruction node with target "somePI" and data "you know that \":sy n sync fromstart\" is very useful when u...", got ProcessingInstruction node wit h target "somePI" and data "Did you know that \":syn sync fromstart\" is very us eful wh..." [Actual and expected mismatch for range's tree root. ] expected tru e got false 1642 PASS 37,5: resulting range position for range [processingInstruction, 0, process ingInstruction, 4], node detachedPara1
1643 FAIL 37,6: resulting DOM for range [processingInstruction, 0, processingInstruct ion, 4], node detachedPara1.firstChild assert_true: First differing node: expect ed ProcessingInstruction node with target "somePI" and data "you know that \":sy n sync fromstart\" is very useful when u...", got ProcessingInstruction node wit h target "somePI" and data "Did you know that \":syn sync fromstart\" is very us eful wh..." [Actual and expected mismatch for range's tree root. ] expected tru e got false 1643 PASS 37,6: resulting DOM for range [processingInstruction, 0, processingInstruct ion, 4], node detachedPara1.firstChild
1644 FAIL 37,6: resulting range position for range [processingInstruction, 0, process ingInstruction, 4], node detachedPara1.firstChild assert_true: First differing n ode: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstructi on node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] e xpected true got false 1644 PASS 37,6: resulting range position for range [processingInstruction, 0, process ingInstruction, 4], node detachedPara1.firstChild
1645 PASS 37,7: resulting DOM for range [processingInstruction, 0, processingInstruct ion, 4], node document 1645 PASS 37,7: resulting DOM for range [processingInstruction, 0, processingInstruct ion, 4], node document
1646 PASS 37,7: resulting range position for range [processingInstruction, 0, process ingInstruction, 4], node document 1646 PASS 37,7: resulting range position for range [processingInstruction, 0, process ingInstruction, 4], node document
1647 FAIL 37,8: resulting DOM for range [processingInstruction, 0, processingInstruct ion, 4], node detachedDiv assert_true: First differing node: expected Processing Instruction node with target "somePI" and data "you know that \":syn sync fromst art\" is very useful when u...", got ProcessingInstruction node with target "som ePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [ Actual and expected mismatch for range's tree root. ] expected true got false 1647 PASS 37,8: resulting DOM for range [processingInstruction, 0, processingInstruct ion, 4], node detachedDiv
1648 FAIL 37,8: resulting range position for range [processingInstruction, 0, process ingInstruction, 4], node detachedDiv assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very usef ul wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1648 PASS 37,8: resulting range position for range [processingInstruction, 0, process ingInstruction, 4], node detachedDiv
1649 PASS 37,9: resulting DOM for range [processingInstruction, 0, processingInstruct ion, 4], node foreignDoc 1649 PASS 37,9: resulting DOM for range [processingInstruction, 0, processingInstruct ion, 4], node foreignDoc
1650 PASS 37,9: resulting range position for range [processingInstruction, 0, process ingInstruction, 4], node foreignDoc 1650 PASS 37,9: resulting range position for range [processingInstruction, 0, process ingInstruction, 4], node foreignDoc
1651 FAIL 37,10: resulting DOM for range [processingInstruction, 0, processingInstruc tion, 4], node foreignPara2 assert_true: First differing node: expected Processi ngInstruction node with target "somePI" and data "you know that \":syn sync from start\" is very useful when u...", got ProcessingInstruction node with target "s omePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1651 PASS 37,10: resulting DOM for range [processingInstruction, 0, processingInstruc tion, 4], node foreignPara2
1652 FAIL 37,10: resulting range position for range [processingInstruction, 0, proces singInstruction, 4], node foreignPara2 assert_true: First differing node: expect ed ProcessingInstruction node with target "somePI" and data "you know that \":sy n sync fromstart\" is very useful when u...", got ProcessingInstruction node wit h target "somePI" and data "Did you know that \":syn sync fromstart\" is very us eful wh..." [Actual and expected mismatch for range's tree root. ] expected tru e got false 1652 PASS 37,10: resulting range position for range [processingInstruction, 0, proces singInstruction, 4], node foreignPara2
1653 PASS 37,11: resulting DOM for range [processingInstruction, 0, processingInstruc tion, 4], node xmlDoc 1653 PASS 37,11: resulting DOM for range [processingInstruction, 0, processingInstruc tion, 4], node xmlDoc
1654 PASS 37,11: resulting range position for range [processingInstruction, 0, proces singInstruction, 4], node xmlDoc 1654 PASS 37,11: resulting range position for range [processingInstruction, 0, proces singInstruction, 4], node xmlDoc
1655 FAIL 37,12: resulting DOM for range [processingInstruction, 0, processingInstruc tion, 4], node xmlElement assert_true: First differing node: expected Processing Instruction node with target "somePI" and data "you know that \":syn sync fromst art\" is very useful when u...", got Text node "do re mi fa so la ti" [Actual an d expected mismatch for range's tree root. ] expected true got false 1655 PASS 37,12: resulting DOM for range [processingInstruction, 0, processingInstruc tion, 4], node xmlElement
1656 FAIL 37,12: resulting range position for range [processingInstruction, 0, proces singInstruction, 4], node xmlElement assert_true: First differing node: expected ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got Text node "do re mi fa so la ti" [Actual and expected mismatch for range's tree root. ] expected true got false 1656 PASS 37,12: resulting range position for range [processingInstruction, 0, proces singInstruction, 4], node xmlElement
1657 FAIL 37,13: resulting DOM for range [processingInstruction, 0, processingInstruc tion, 4], node detachedTextNode assert_true: First differing node: expected Proc essingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with targe t "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh ..." [Actual and expected mismatch for range's tree root. ] expected true got f alse 1657 PASS 37,13: resulting DOM for range [processingInstruction, 0, processingInstruc tion, 4], node detachedTextNode
1658 FAIL 37,13: resulting range position for range [processingInstruction, 0, proces singInstruction, 4], node detachedTextNode assert_true: First differing node: ex pected ProcessingInstruction node with target "somePI" and data "you know that \ ":syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is ver y useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1658 PASS 37,13: resulting range position for range [processingInstruction, 0, proces singInstruction, 4], node detachedTextNode
1659 FAIL 37,14: resulting DOM for range [processingInstruction, 0, processingInstruc tion, 4], node foreignTextNode assert_true: First differing node: expected Proce ssingInstruction node with target "somePI" and data "you know that \":syn sync f romstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh. .." [Actual and expected mismatch for range's tree root. ] expected true got fa lse 1659 PASS 37,14: resulting DOM for range [processingInstruction, 0, processingInstruc tion, 4], node foreignTextNode
1660 FAIL 37,14: resulting range position for range [processingInstruction, 0, proces singInstruction, 4], node foreignTextNode assert_true: First differing node: exp ected ProcessingInstruction node with target "somePI" and data "you know that \" :syn sync fromstart\" is very useful when u...", got ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh..." [Actual and expected mismatch for range's tree root. ] expected true got false 1660 PASS 37,14: resulting range position for range [processingInstruction, 0, proces singInstruction, 4], node foreignTextNode
1661 PASS 37,15: resulting DOM for range [processingInstruction, 0, processingInstruc tion, 4], node processingInstruction 1661 PASS 37,15: resulting DOM for range [processingInstruction, 0, processingInstruc tion, 4], node processingInstruction
1662 PASS 37,15: resulting range position for range [processingInstruction, 0, proces singInstruction, 4], node processingInstruction 1662 PASS 37,15: resulting range position for range [processingInstruction, 0, proces singInstruction, 4], node processingInstruction
1663 PASS 37,16: resulting DOM for range [processingInstruction, 0, processingInstruc tion, 4], node detachedProcessingInstruction 1663 PASS 37,16: resulting DOM for range [processingInstruction, 0, processingInstruc tion, 4], node detachedProcessingInstruction
1664 PASS 37,16: resulting range position for range [processingInstruction, 0, proces singInstruction, 4], node detachedProcessingInstruction 1664 PASS 37,16: resulting range position for range [processingInstruction, 0, proces singInstruction, 4], node detachedProcessingInstruction
1665 PASS 37,17: resulting DOM for range [processingInstruction, 0, processingInstruc tion, 4], node comment 1665 PASS 37,17: resulting DOM for range [processingInstruction, 0, processingInstruc tion, 4], node comment
1666 PASS 37,17: resulting range position for range [processingInstruction, 0, proces singInstruction, 4], node comment 1666 PASS 37,17: resulting range position for range [processingInstruction, 0, proces singInstruction, 4], node comment
1667 PASS 37,18: resulting DOM for range [processingInstruction, 0, processingInstruc tion, 4], node detachedComment 1667 PASS 37,18: resulting DOM for range [processingInstruction, 0, processingInstruc tion, 4], node detachedComment
1668 PASS 37,18: resulting range position for range [processingInstruction, 0, proces singInstruction, 4], node detachedComment 1668 PASS 37,18: resulting range position for range [processingInstruction, 0, proces singInstruction, 4], node detachedComment
1669 PASS 37,19: resulting DOM for range [processingInstruction, 0, processingInstruc tion, 4], node docfrag 1669 PASS 37,19: resulting DOM for range [processingInstruction, 0, processingInstruc tion, 4], node docfrag
1670 PASS 37,19: resulting range position for range [processingInstruction, 0, proces singInstruction, 4], node docfrag 1670 PASS 37,19: resulting range position for range [processingInstruction, 0, proces singInstruction, 4], node docfrag
1671 PASS 37,20: resulting DOM for range [processingInstruction, 0, processingInstruc tion, 4], node doctype 1671 PASS 37,20: resulting DOM for range [processingInstruction, 0, processingInstruc tion, 4], node doctype
1672 PASS 37,20: resulting range position for range [processingInstruction, 0, proces singInstruction, 4], node doctype 1672 PASS 37,20: resulting range position for range [processingInstruction, 0, proces singInstruction, 4], node doctype
1673 PASS 37,21: resulting DOM for range [processingInstruction, 0, processingInstruc tion, 4], node foreignDoctype 1673 PASS 37,21: resulting DOM for range [processingInstruction, 0, processingInstruc tion, 4], node foreignDoctype
1674 PASS 37,21: resulting range position for range [processingInstruction, 0, proces singInstruction, 4], node foreignDoctype 1674 PASS 37,21: resulting range position for range [processingInstruction, 0, proces singInstruction, 4], node foreignDoctype
1675 Harness: the test ran to completion. 1675 Harness: the test ran to completion.
1676 1676
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Range.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698