Pass | 0,0: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 0,0: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 0,1: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 0,1: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 0,2: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 0,2: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 0,3: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 0,3: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "1234", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "1234", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 0,4: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 0,4: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 0,5: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 0,5: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 0,6: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 0,6: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 0,7: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 0,7: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 0,8: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 0,8: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 0,9: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 0,9: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 0,10: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 0,10: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 0,11: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 0,11: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 0,12: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 0,12: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 0,13: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 0,13: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 0,14: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 0,14: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 0,15: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 0,15: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 0,16: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 0,16: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 0,17: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 0,17: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 0,18: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 0,18: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 0,19: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 0,19: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 0,20: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 0,20: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 0,21: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 0,21: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 0,22: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 0,22: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 0], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 1,0: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 1,0: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 1,1: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 1,1: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "̈b̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "̈b̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 1,2: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 1,2: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 1,3: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 1,3: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "1234", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "1234", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 1,4: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 1,4: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>A</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>A</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 1,5: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 1,5: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 1,6: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 1,6: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>A</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>A</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 1,7: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 1,7: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 1,8: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 1,8: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 1,9: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 1,9: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div>A</div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div>A</div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 1,10: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 1,10: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 1,11: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 1,11: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>A</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>A</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 1,12: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 1,12: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 1,13: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 1,13: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>A</igiveuponcreativenames>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>A</igiveuponcreativenames>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 1,14: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 1,14: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 1,15: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 1,15: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 1,16: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 1,16: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 1,17: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 1,17: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 1,18: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 1,18: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 1,19: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 1,19: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 1,20: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 1,20: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 1,21: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 1,21: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 1,22: resulting DOM for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 1,22: resulting range position for range [paras[0].firstChild, 0, paras[0].firstChild, 1], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "A", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "A", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 2,0: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 2,0: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 2,1: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 2,1: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 2,2: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 2,2: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 2,3: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 2,3: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "1234", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "1234", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 2,4: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 2,4: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>b̈c̈d̈</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>b̈c̈d̈</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 2,5: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 2,5: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 2,6: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 2,6: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>b̈c̈d̈</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>b̈c̈d̈</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 2,7: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 2,7: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 2,8: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 2,8: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 2,9: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 2,9: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div>b̈c̈d̈</div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div>b̈c̈d̈</div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 2,10: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 2,10: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 2,11: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 2,11: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>b̈c̈d̈</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>b̈c̈d̈</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 2,12: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 2,12: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 2,13: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 2,13: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>b̈c̈d̈</igiveuponcreativenames>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>b̈c̈d̈</igiveuponcreativenames>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 2,14: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 2,14: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 2,15: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 2,15: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 2,16: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 2,16: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 2,17: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 2,17: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 2,18: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 2,18: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 2,19: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 2,19: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 2,20: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 2,20: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 2,21: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 2,21: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 2,22: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 2,22: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 8], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "b̈c̈d̈", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 3,0: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 3,0: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 3,1: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 3,1: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ä̈f̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ä̈f̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 3,2: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 3,2: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 3,3: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 3,3: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "1234", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "1234", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 3,4: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 3,4: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>b̈c̈d̈e</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>b̈c̈d̈e</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 3,5: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 3,5: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 3,6: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 3,6: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>b̈c̈d̈e</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>b̈c̈d̈e</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 3,7: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 3,7: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 3,8: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 3,8: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(9, 9, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 3,9: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 3,9: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div>b̈c̈d̈e</div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div>b̈c̈d̈e</div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 3,10: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 3,10: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(9, 9, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 3,11: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 3,11: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>b̈c̈d̈e</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>b̈c̈d̈e</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 3,12: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 3,12: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(9, 9, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 3,13: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 3,13: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>b̈c̈d̈e</igiveuponcreativenames>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>b̈c̈d̈e</igiveuponcreativenames>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 3,14: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 3,14: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 3,15: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 3,15: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 3,16: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 3,16: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 3,17: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 3,17: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 3,18: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 3,18: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 3,19: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 3,19: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 3,20: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 3,20: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(9, 9, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 3,21: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 3,21: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(9, 9, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 3,22: resulting DOM for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 3,22: resulting range position for range [paras[0].firstChild, 2, paras[0].firstChild, 9], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "b̈c̈d̈e", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(9, 9, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 4,0: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 4,0: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 4,1: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 4,1: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 4,2: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 4,2: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 4,3: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 4,3: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "1234", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "1234", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 4,4: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 4,4: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1", "0-1-1-0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 4,5: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 4,5: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 4,6: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 4,6: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1", "0-1-1-0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 4,7: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 4,7: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 4,8: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 4,8: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 4,9: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 4,9: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1", "0-1-1-0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 4,10: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 4,10: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 4,11: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 4,11: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1", "0-1-1-0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 4,12: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 4,12: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 4,13: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 4,13: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1", "0-1-1-0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 4,14: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 4,14: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 4,15: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 4,15: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 4,16: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 4,16: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 4,17: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 4,17: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 4,18: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 4,18: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 4,19: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 4,19: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 4,20: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 4,20: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 4,21: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 4,21: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 4,22: resulting DOM for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 4,22: resulting range position for range [paras[1].firstChild, 0, paras[1].firstChild, 0], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 5,0: resulting DOM for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 5,0: resulting range position for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a">klmnop </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a">klmnop </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 5,1: resulting DOM for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 5,1: resulting range position for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 5,2: resulting DOM for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 5,2: resulting range position for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ij", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ij", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 5,3: resulting DOM for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 5,3: resulting range position for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "1234", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "1234", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 5,4: resulting DOM for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 5,4: resulting range position for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>klmnop </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>klmnop </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1", "0-1-1-0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 5,5: resulting DOM for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 5,5: resulting range position for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 5,6: resulting DOM for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 5,6: resulting range position for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>klmnop </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>klmnop </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1", "0-1-1-0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 5,7: resulting DOM for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 5,7: resulting range position for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 5,8: resulting DOM for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 5,8: resulting range position for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(9, 9, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 5,9: resulting DOM for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 5,9: resulting range position for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div>klmnop </div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div>klmnop </div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1", "0-1-1-0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 5,10: resulting DOM for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 5,10: resulting range position for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(9, 9, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 5,11: resulting DOM for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 5,11: resulting range position for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>klmnop </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>klmnop </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1", "0-1-1-0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 5,12: resulting DOM for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 5,12: resulting range position for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(9, 9, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 5,13: resulting DOM for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 5,13: resulting range position for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>klmnop </igiveuponcreativenames>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>klmnop </igiveuponcreativenames>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1", "0-1-1-0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 5,14: resulting DOM for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 5,14: resulting range position for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 5,15: resulting DOM for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 5,15: resulting range position for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 5,16: resulting DOM for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 5,16: resulting range position for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 5,17: resulting DOM for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 5,17: resulting range position for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 5,18: resulting DOM for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 5,18: resulting range position for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 5,19: resulting DOM for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 5,19: resulting range position for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 5,20: resulting DOM for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 5,20: resulting range position for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(9, 9, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 5,21: resulting DOM for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 5,21: resulting range position for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(9, 9, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 5,22: resulting DOM for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 5,22: resulting range position for range [paras[1].firstChild, 2, paras[1].firstChild, 9], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "klmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(9, 9, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-1-0", "0-1-1-0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 6,0: resulting DOM for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 6,0: resulting range position for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a"><![CDATA[34]]><![CDATA[5678]]>9012</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a"><![CDATA[34]]><![CDATA[5678]]>9012</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-4", "0-1-1-0-4", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 6,1: resulting DOM for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 6,1: resulting range position for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5", "0-1-1-0-5", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 6,2: resulting DOM for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 6,2: resulting range position for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5", "0-1-1-0-5", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 6,3: resulting DOM for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 6,3: resulting range position for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "12", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "12", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5", "0-1-1-0-5", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 6,4: resulting DOM for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 6,4: resulting range position for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p><![CDATA[34]]><![CDATA[5678]]>9012</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p><![CDATA[34]]><![CDATA[5678]]>9012</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5", "0-1-1-0-5", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 6,5: resulting DOM for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 6,5: resulting range position for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5", "0-1-1-0-5", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 6,6: resulting DOM for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 6,6: resulting range position for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p><![CDATA[34]]><![CDATA[5678]]>9012</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p><![CDATA[34]]><![CDATA[5678]]>9012</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5", "0-1-1-0-5", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 6,7: resulting DOM for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 6,7: resulting range position for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5", "0-1-1-0-5", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 6,8: resulting DOM for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 6,8: resulting range position for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(4, 4, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #cdata-section but got #cdata-section")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5-0", "0-1-1-0-5-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 6,9: resulting DOM for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 6,9: resulting range position for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div><![CDATA[34]]><![CDATA[5678]]>9012</div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div><![CDATA[34]]><![CDATA[5678]]>9012</div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5", "0-1-1-0-5", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 6,10: resulting DOM for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 6,10: resulting range position for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(4, 4, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #cdata-section but got #cdata-section")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5-0", "0-1-1-0-5-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 6,11: resulting DOM for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 6,11: resulting range position for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p><![CDATA[34]]><![CDATA[5678]]>9012</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p><![CDATA[34]]><![CDATA[5678]]>9012</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5", "0-1-1-0-5", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 6,12: resulting DOM for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 6,12: resulting range position for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(4, 4, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #cdata-section but got #cdata-section")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5-0", "0-1-1-0-5-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 6,13: resulting DOM for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 6,13: resulting range position for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames><![CDATA[34]]><![CDATA[5678]]>901..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames><![CDATA[34]]><![CDATA[5678]]>901..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5", "0-1-1-0-5", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 6,14: resulting DOM for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 6,14: resulting range position for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5", "0-1-1-0-5", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 6,15: resulting DOM for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 6,15: resulting range position for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5", "0-1-1-0-5", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 6,16: resulting DOM for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 6,16: resulting range position for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5", "0-1-1-0-5", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 6,17: resulting DOM for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 6,17: resulting range position for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5", "0-1-1-0-5", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 6,18: resulting DOM for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 6,18: resulting range position for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5", "0-1-1-0-5", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 6,19: resulting DOM for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 6,19: resulting range position for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5", "0-1-1-0-5", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 6,20: resulting DOM for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 6,20: resulting range position for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(4, 4, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #cdata-section but got #cdata-section")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5-0", "0-1-1-0-5-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 6,21: resulting DOM for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 6,21: resulting range position for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(4, 4, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #cdata-section but got #cdata-section")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5-0", "0-1-1-0-5-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 6,22: resulting DOM for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 6,22: resulting range position for range [paras[5].firstChild, 2, paras[5].lastChild, 4], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "3456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(4, 4, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #cdata-section but got #cdata-section")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5-0", "0-1-1-0-5-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 7,0: resulting DOM for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 7,0: resulting range position for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a"><![CDATA[23]]></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a"><![CDATA[23]]></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-4", "0-1-1-0-4", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 7,1: resulting DOM for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 7,1: resulting range position for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #cdata-section but got #cdata-section")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5-0", "0-1-1-0-5-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 7,2: resulting DOM for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 7,2: resulting range position for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #cdata-section but got #cdata-section")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5-0", "0-1-1-0-5-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 7,3: resulting DOM for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 7,3: resulting range position for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #cdata-section but got #cdata-section")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5-0", "0-1-1-0-5-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 7,4: resulting DOM for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 7,4: resulting range position for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p><![CDATA[23]]></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p><![CDATA[23]]></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5", "0-1-1-0-5", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 7,5: resulting DOM for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 7,5: resulting range position for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #cdata-section but got #cdata-section")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5-0", "0-1-1-0-5-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 7,6: resulting DOM for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 7,6: resulting range position for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p><![CDATA[23]]></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p><![CDATA[23]]></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5", "0-1-1-0-5", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 7,7: resulting DOM for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 7,7: resulting range position for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #cdata-section but got #cdata-section")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5-0", "0-1-1-0-5-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 7,8: resulting DOM for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 7,8: resulting range position for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #cdata-section but got #cdata-section")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5-0", "0-1-1-0-5-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 7,9: resulting DOM for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 7,9: resulting range position for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div><![CDATA[23]]></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div><![CDATA[23]]></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5", "0-1-1-0-5", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 7,10: resulting DOM for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 7,10: resulting range position for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #cdata-section but got #cdata-section")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5-0", "0-1-1-0-5-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 7,11: resulting DOM for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 7,11: resulting range position for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p><![CDATA[23]]></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p><![CDATA[23]]></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5", "0-1-1-0-5", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 7,12: resulting DOM for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 7,12: resulting range position for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #cdata-section but got #cdata-section")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5-0", "0-1-1-0-5-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 7,13: resulting DOM for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 7,13: resulting range position for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames><![CDATA[23]]></igiveuponcreative..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames><![CDATA[23]]></igiveuponcreative..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5", "0-1-1-0-5", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 7,14: resulting DOM for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 7,14: resulting range position for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #cdata-section but got #cdata-section")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5-0", "0-1-1-0-5-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 7,15: resulting DOM for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 7,15: resulting range position for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #cdata-section but got #cdata-section")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5-0", "0-1-1-0-5-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 7,16: resulting DOM for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 7,16: resulting range position for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #cdata-section but got #cdata-section")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5-0", "0-1-1-0-5-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 7,17: resulting DOM for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 7,17: resulting range position for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #cdata-section but got #cdata-section")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5-0", "0-1-1-0-5-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 7,18: resulting DOM for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 7,18: resulting range position for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #cdata-section but got #cdata-section")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5-0", "0-1-1-0-5-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 7,19: resulting DOM for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 7,19: resulting range position for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #cdata-section but got #cdata-section")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5-0", "0-1-1-0-5-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 7,20: resulting DOM for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 7,20: resulting range position for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #cdata-section but got #cdata-section")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5-0", "0-1-1-0-5-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 7,21: resulting DOM for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 7,21: resulting range position for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #cdata-section but got #cdata-section")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5-0", "0-1-1-0-5-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 7,22: resulting DOM for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 7,22: resulting range position for range [paras[5].firstChild, 1, paras[5].firstChild, 3], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "23", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "23", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #cdata-section but got #cdata-section")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-5-0", "0-1-1-0-5-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 8,0: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 8,0: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 8,1: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 8,1: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 8,2: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 8,2: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 8,3: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 8,3: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "1234", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "1234", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 8,4: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 8,4: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 8,5: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 8,5: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 8,6: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 8,6: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 8,7: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 8,7: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 8,8: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 8,8: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 8,9: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 8,9: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 8,10: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 8,10: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 8,11: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 8,11: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 8,12: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 8,12: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 8,13: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 8,13: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 8,14: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 8,14: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 8,15: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 8,15: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 8,16: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 8,16: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 8,17: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 8,17: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 8,18: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 8,18: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 8,19: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 8,19: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 8,20: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 8,20: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 8,21: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 8,21: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 8,22: resulting DOM for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 8,22: resulting range position for range [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 9,0: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 9,0: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a">qrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a">qrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 9,1: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 9,1: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 9,2: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 9,2: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 9,3: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 9,3: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "1234", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "1234", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 9,4: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 9,4: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>qrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>qrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 9,5: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 9,5: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 9,6: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 9,6: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 9,7: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 9,7: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Op", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Op", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 9,8: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 9,8: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 9,9: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 9,9: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 9,10: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 9,10: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 9,11: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 9,11: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>qrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>qrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 9,12: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 9,12: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 9,13: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 9,13: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>qrstuv</igiveuponcreativenames>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>qrstuv</igiveuponcreativenames>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 9,14: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 9,14: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 9,15: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 9,15: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 9,16: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 9,16: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 9,17: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 9,17: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 9,18: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 9,18: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 9,19: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 9,19: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 9,20: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 9,20: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 9,21: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 9,21: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 9,22: resulting DOM for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 9,22: resulting range position for range [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "qrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0-0", "0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 10,0: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 10,0: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 10,1: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 10,1: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 10,2: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 10,2: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 10,3: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 10,3: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "1234", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "1234", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 10,4: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 10,4: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 10,5: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 10,5: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 10,6: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 10,6: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 10,7: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 10,7: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 10,8: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 10,8: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 10,9: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 10,9: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 10,10: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 10,10: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 10,11: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 10,11: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 10,12: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 10,12: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 10,13: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 10,13: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 10,14: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 10,14: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 10,15: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 10,15: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 10,16: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 10,16: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 10,17: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 10,17: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 10,18: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 10,18: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 10,19: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 10,19: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 10,20: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 10,20: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 10,21: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 10,21: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 10,22: resulting DOM for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 10,22: resulting range position for range [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 11,0: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 11,0: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a">ghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a">ghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 11,1: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 11,1: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 11,2: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 11,2: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 11,3: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 11,3: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "1234", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "1234", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 11,4: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 11,4: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 11,5: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 11,5: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ef", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ef", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 11,6: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 11,6: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>ghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>ghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 11,7: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 11,7: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 11,8: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 11,8: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 11,9: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 11,9: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div>ghijkl</div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div>ghijkl</div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 11,10: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 11,10: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 11,11: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 11,11: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>ghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>ghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 11,12: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 11,12: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 11,13: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 11,13: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>ghijkl</igiveuponcreativenames>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>ghijkl</igiveuponcreativenames>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 11,14: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 11,14: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 11,15: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 11,15: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 11,16: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 11,16: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 11,17: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 11,17: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 11,18: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 11,18: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 11,19: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 11,19: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 11,20: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 11,20: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 11,21: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 11,21: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 11,22: resulting DOM for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 11,22: resulting range position for range [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "ghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 12,0: resulting DOM for range [document.documentElement, 0, document.documentElement, 1], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 12,0: resulting range position for range [document.documentElement, 0, document.documentElement, 1], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a"><head><title>Range test iframe</title> <link re..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a"><head><title>Range test iframe</title> <link re..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 12,1: resulting DOM for range [document.documentElement, 0, document.documentElement, 1], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 12,1: resulting range position for range [document.documentElement, 0, document.documentElement, 1], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 12,2: resulting DOM for range [document.documentElement, 0, document.documentElement, 1], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 12,2: resulting range position for range [document.documentElement, 0, document.documentElement, 1], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 12,3: resulting DOM for range [document.documentElement, 0, document.documentElement, 1], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 12,3: resulting range position for range [document.documentElement, 0, document.documentElement, 1], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "1234", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "1234", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 12,4: resulting DOM for range [document.documentElement, 0, document.documentElement, 1], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 12,4: resulting range position for range [document.documentElement, 0, document.documentElement, 1], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p><head><title>Range test iframe</title> <link rel="auth..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p><head><title>Range test iframe</title> <link rel="auth..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 12,5: resulting DOM for range [document.documentElement, 0, document.documentElement, 1], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 12,5: resulting range position for range [document.documentElement, 0, document.documentElement, 1], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 12,6: resulting DOM for range [document.documentElement, 0, document.documentElement, 1], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 12,6: resulting range position for range [document.documentElement, 0, document.documentElement, 1], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p><head><title>Range test iframe</title> <link rel="auth..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p><head><title>Range test iframe</title> <link rel="auth..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 12,7: resulting DOM for range [document.documentElement, 0, document.documentElement, 1], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 12,7: resulting range position for range [document.documentElement, 0, document.documentElement, 1], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 12,8: resulting DOM for range [document.documentElement, 0, document.documentElement, 1], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 12,8: resulting range position for range [document.documentElement, 0, document.documentElement, 1], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 12,9: resulting DOM for range [document.documentElement, 0, document.documentElement, 1], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 12,9: resulting range position for range [document.documentElement, 0, document.documentElement, 1], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div><head><title>Range test iframe</title> <link rel="au..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div><head><title>Range test iframe</title> <link rel="au..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 12,10: resulting DOM for range [document.documentElement, 0, document.documentElement, 1], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 12,10: resulting range position for range [document.documentElement, 0, document.documentElement, 1], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 12,11: resulting DOM for range [document.documentElement, 0, document.documentElement, 1], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 12,11: resulting range position for range [document.documentElement, 0, document.documentElement, 1], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p><head><title>Range test iframe</title> <link rel="auth..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p><head><title>Range test iframe</title> <link rel="auth..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 12,12: resulting DOM for range [document.documentElement, 0, document.documentElement, 1], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 12,12: resulting range position for range [document.documentElement, 0, document.documentElement, 1], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 12,13: resulting DOM for range [document.documentElement, 0, document.documentElement, 1], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 12,13: resulting range position for range [document.documentElement, 0, document.documentElement, 1], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames><head><title>Range test iframe</t..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames><head><title>Range test iframe</t..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 12,14: resulting DOM for range [document.documentElement, 0, document.documentElement, 1], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 12,14: resulting range position for range [document.documentElement, 0, document.documentElement, 1], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 12,15: resulting DOM for range [document.documentElement, 0, document.documentElement, 1], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 12,15: resulting range position for range [document.documentElement, 0, document.documentElement, 1], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 12,16: resulting DOM for range [document.documentElement, 0, document.documentElement, 1], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 12,16: resulting range position for range [document.documentElement, 0, document.documentElement, 1], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 12,17: resulting DOM for range [document.documentElement, 0, document.documentElement, 1], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 12,17: resulting range position for range [document.documentElement, 0, document.documentElement, 1], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 12,18: resulting DOM for range [document.documentElement, 0, document.documentElement, 1], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 12,18: resulting range position for range [document.documentElement, 0, document.documentElement, 1], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 12,19: resulting DOM for range [document.documentElement, 0, document.documentElement, 1], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 12,19: resulting range position for range [document.documentElement, 0, document.documentElement, 1], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 12,20: resulting DOM for range [document.documentElement, 0, document.documentElement, 1], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 12,20: resulting range position for range [document.documentElement, 0, document.documentElement, 1], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 12,21: resulting DOM for range [document.documentElement, 0, document.documentElement, 1], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 12,21: resulting range position for range [document.documentElement, 0, document.documentElement, 1], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 12,22: resulting DOM for range [document.documentElement, 0, document.documentElement, 1], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 12,22: resulting range position for range [document.documentElement, 0, document.documentElement, 1], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 13,0: resulting DOM for range [document.documentElement, 0, document.documentElement, 2], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 13,0: resulting range position for range [document.documentElement, 0, document.documentElement, 2], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a"><head><title>Range test iframe</title> <link re..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a"><head><title>Range test iframe</title> <link re..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 13,1: resulting DOM for range [document.documentElement, 0, document.documentElement, 2], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 13,1: resulting range position for range [document.documentElement, 0, document.documentElement, 2], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 13,2: resulting DOM for range [document.documentElement, 0, document.documentElement, 2], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 13,2: resulting range position for range [document.documentElement, 0, document.documentElement, 2], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 13,3: resulting DOM for range [document.documentElement, 0, document.documentElement, 2], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 13,3: resulting range position for range [document.documentElement, 0, document.documentElement, 2], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "1234", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "1234", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 13,4: resulting DOM for range [document.documentElement, 0, document.documentElement, 2], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 13,4: resulting range position for range [document.documentElement, 0, document.documentElement, 2], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p><head><title>Range test iframe</title> <link rel="auth..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p><head><title>Range test iframe</title> <link rel="auth..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 13,5: resulting DOM for range [document.documentElement, 0, document.documentElement, 2], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 13,5: resulting range position for range [document.documentElement, 0, document.documentElement, 2], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 13,6: resulting DOM for range [document.documentElement, 0, document.documentElement, 2], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 13,6: resulting range position for range [document.documentElement, 0, document.documentElement, 2], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p><head><title>Range test iframe</title> <link rel="auth..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p><head><title>Range test iframe</title> <link rel="auth..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 13,7: resulting DOM for range [document.documentElement, 0, document.documentElement, 2], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 13,7: resulting range position for range [document.documentElement, 0, document.documentElement, 2], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 13,8: resulting DOM for range [document.documentElement, 0, document.documentElement, 2], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 13,8: resulting range position for range [document.documentElement, 0, document.documentElement, 2], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 13,9: resulting DOM for range [document.documentElement, 0, document.documentElement, 2], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 13,9: resulting range position for range [document.documentElement, 0, document.documentElement, 2], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div><head><title>Range test iframe</title> <link rel="au..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div><head><title>Range test iframe</title> <link rel="au..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 13,10: resulting DOM for range [document.documentElement, 0, document.documentElement, 2], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 13,10: resulting range position for range [document.documentElement, 0, document.documentElement, 2], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 13,11: resulting DOM for range [document.documentElement, 0, document.documentElement, 2], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 13,11: resulting range position for range [document.documentElement, 0, document.documentElement, 2], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p><head><title>Range test iframe</title> <link rel="auth..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p><head><title>Range test iframe</title> <link rel="auth..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 13,12: resulting DOM for range [document.documentElement, 0, document.documentElement, 2], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 13,12: resulting range position for range [document.documentElement, 0, document.documentElement, 2], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 13,13: resulting DOM for range [document.documentElement, 0, document.documentElement, 2], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 13,13: resulting range position for range [document.documentElement, 0, document.documentElement, 2], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames><head><title>Range test iframe</t..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames><head><title>Range test iframe</t..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 13,14: resulting DOM for range [document.documentElement, 0, document.documentElement, 2], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 13,14: resulting range position for range [document.documentElement, 0, document.documentElement, 2], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 13,15: resulting DOM for range [document.documentElement, 0, document.documentElement, 2], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 13,15: resulting range position for range [document.documentElement, 0, document.documentElement, 2], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 13,16: resulting DOM for range [document.documentElement, 0, document.documentElement, 2], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 13,16: resulting range position for range [document.documentElement, 0, document.documentElement, 2], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 13,17: resulting DOM for range [document.documentElement, 0, document.documentElement, 2], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 13,17: resulting range position for range [document.documentElement, 0, document.documentElement, 2], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 13,18: resulting DOM for range [document.documentElement, 0, document.documentElement, 2], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 13,18: resulting range position for range [document.documentElement, 0, document.documentElement, 2], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 13,19: resulting DOM for range [document.documentElement, 0, document.documentElement, 2], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 13,19: resulting range position for range [document.documentElement, 0, document.documentElement, 2], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 13,20: resulting DOM for range [document.documentElement, 0, document.documentElement, 2], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 13,20: resulting range position for range [document.documentElement, 0, document.documentElement, 2], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 13,21: resulting DOM for range [document.documentElement, 0, document.documentElement, 2], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 13,21: resulting range position for range [document.documentElement, 0, document.documentElement, 2], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 13,22: resulting DOM for range [document.documentElement, 0, document.documentElement, 2], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 13,22: resulting range position for range [document.documentElement, 0, document.documentElement, 2], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 14,0: resulting DOM for range [document.documentElement, 1, document.documentElement, 2], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 14,0: resulting range position for range [document.documentElement, 1, document.documentElement, 2], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a"><body onload="run()"><div id="test"><p id="b" s..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a"><body onload="run()"><div id="test"><p id="b" s..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 14,1: resulting DOM for range [document.documentElement, 1, document.documentElement, 2], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 14,1: resulting range position for range [document.documentElement, 1, document.documentElement, 2], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 14,2: resulting DOM for range [document.documentElement, 1, document.documentElement, 2], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 14,2: resulting range position for range [document.documentElement, 1, document.documentElement, 2], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 14,3: resulting DOM for range [document.documentElement, 1, document.documentElement, 2], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 14,3: resulting range position for range [document.documentElement, 1, document.documentElement, 2], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "1234", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "1234", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 14,4: resulting DOM for range [document.documentElement, 1, document.documentElement, 2], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 14,4: resulting range position for range [document.documentElement, 1, document.documentElement, 2], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p><body onload="run()"><div id="test"><p id="a">Äb̈c̈d̈..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p><body onload="run()"><div id="test"><p id="a">Äb̈c̈d̈..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 14,5: resulting DOM for range [document.documentElement, 1, document.documentElement, 2], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 14,5: resulting range position for range [document.documentElement, 1, document.documentElement, 2], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 14,6: resulting DOM for range [document.documentElement, 1, document.documentElement, 2], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 14,6: resulting range position for range [document.documentElement, 1, document.documentElement, 2], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p><body onload="run()"><div id="test"><p id="a">Äb̈c̈d̈..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p><body onload="run()"><div id="test"><p id="a">Äb̈c̈d̈..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 14,7: resulting DOM for range [document.documentElement, 1, document.documentElement, 2], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 14,7: resulting range position for range [document.documentElement, 1, document.documentElement, 2], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 14,8: resulting DOM for range [document.documentElement, 1, document.documentElement, 2], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 14,8: resulting range position for range [document.documentElement, 1, document.documentElement, 2], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 14,9: resulting DOM for range [document.documentElement, 1, document.documentElement, 2], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 14,9: resulting range position for range [document.documentElement, 1, document.documentElement, 2], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div><body onload="run()"><div id="test"><p id="a">Äb̈c̈..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div><body onload="run()"><div id="test"><p id="a">Äb̈c̈..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 14,10: resulting DOM for range [document.documentElement, 1, document.documentElement, 2], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 14,10: resulting range position for range [document.documentElement, 1, document.documentElement, 2], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 14,11: resulting DOM for range [document.documentElement, 1, document.documentElement, 2], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 14,11: resulting range position for range [document.documentElement, 1, document.documentElement, 2], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p><body onload="run()"><div id="test"><p id="a">Äb̈c̈d̈..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p><body onload="run()"><div id="test"><p id="a">Äb̈c̈d̈..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 14,12: resulting DOM for range [document.documentElement, 1, document.documentElement, 2], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 14,12: resulting range position for range [document.documentElement, 1, document.documentElement, 2], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 14,13: resulting DOM for range [document.documentElement, 1, document.documentElement, 2], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 14,13: resulting range position for range [document.documentElement, 1, document.documentElement, 2], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames><body onload="run()"><div id="tes..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames><body onload="run()"><div id="tes..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 14,14: resulting DOM for range [document.documentElement, 1, document.documentElement, 2], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 14,14: resulting range position for range [document.documentElement, 1, document.documentElement, 2], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 14,15: resulting DOM for range [document.documentElement, 1, document.documentElement, 2], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 14,15: resulting range position for range [document.documentElement, 1, document.documentElement, 2], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 14,16: resulting DOM for range [document.documentElement, 1, document.documentElement, 2], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 14,16: resulting range position for range [document.documentElement, 1, document.documentElement, 2], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 14,17: resulting DOM for range [document.documentElement, 1, document.documentElement, 2], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 14,17: resulting range position for range [document.documentElement, 1, document.documentElement, 2], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 14,18: resulting DOM for range [document.documentElement, 1, document.documentElement, 2], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 14,18: resulting range position for range [document.documentElement, 1, document.documentElement, 2], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 14,19: resulting DOM for range [document.documentElement, 1, document.documentElement, 2], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 14,19: resulting range position for range [document.documentElement, 1, document.documentElement, 2], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 14,20: resulting DOM for range [document.documentElement, 1, document.documentElement, 2], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 14,20: resulting range position for range [document.documentElement, 1, document.documentElement, 2], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 14,21: resulting DOM for range [document.documentElement, 1, document.documentElement, 2], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 14,21: resulting range position for range [document.documentElement, 1, document.documentElement, 2], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 14,22: resulting DOM for range [document.documentElement, 1, document.documentElement, 2], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 14,22: resulting range position for range [document.documentElement, 1, document.documentElement, 2], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // ...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 15,0: resulting DOM for range [document.head, 1, document.head, 1], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 15,0: resulting range position for range [document.head, 1, document.head, 1], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected head but got head")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-0", "0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 15,1: resulting DOM for range [document.head, 1, document.head, 1], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 15,1: resulting range position for range [document.head, 1, document.head, 1], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected head but got head")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-0", "0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 15,2: resulting DOM for range [document.head, 1, document.head, 1], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 15,2: resulting range position for range [document.head, 1, document.head, 1], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected head but got head")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-0", "0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 15,3: resulting DOM for range [document.head, 1, document.head, 1], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 15,3: resulting range position for range [document.head, 1, document.head, 1], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "1234", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "1234", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected head but got head")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-0", "0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 15,4: resulting DOM for range [document.head, 1, document.head, 1], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 15,4: resulting range position for range [document.head, 1, document.head, 1], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected head but got head")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-0", "0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 15,5: resulting DOM for range [document.head, 1, document.head, 1], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 15,5: resulting range position for range [document.head, 1, document.head, 1], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected head but got head")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-0", "0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 15,6: resulting DOM for range [document.head, 1, document.head, 1], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 15,6: resulting range position for range [document.head, 1, document.head, 1], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected head but got head")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-0", "0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 15,7: resulting DOM for range [document.head, 1, document.head, 1], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 15,7: resulting range position for range [document.head, 1, document.head, 1], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected head but got head")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-0", "0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 15,8: resulting DOM for range [document.head, 1, document.head, 1], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 15,8: resulting range position for range [document.head, 1, document.head, 1], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected head but got head")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-0", "0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 15,9: resulting DOM for range [document.head, 1, document.head, 1], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 15,9: resulting range position for range [document.head, 1, document.head, 1], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected head but got head")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-0", "0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 15,10: resulting DOM for range [document.head, 1, document.head, 1], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 15,10: resulting range position for range [document.head, 1, document.head, 1], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected head but got head")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-0", "0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 15,11: resulting DOM for range [document.head, 1, document.head, 1], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 15,11: resulting range position for range [document.head, 1, document.head, 1], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected head but got head")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-0", "0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 15,12: resulting DOM for range [document.head, 1, document.head, 1], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 15,12: resulting range position for range [document.head, 1, document.head, 1], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected head but got head")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-0", "0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 15,13: resulting DOM for range [document.head, 1, document.head, 1], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 15,13: resulting range position for range [document.head, 1, document.head, 1], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected head but got head")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-0", "0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 15,14: resulting DOM for range [document.head, 1, document.head, 1], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 15,14: resulting range position for range [document.head, 1, document.head, 1], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected head but got head")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-0", "0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 15,15: resulting DOM for range [document.head, 1, document.head, 1], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 15,15: resulting range position for range [document.head, 1, document.head, 1], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected head but got head")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-0", "0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 15,16: resulting DOM for range [document.head, 1, document.head, 1], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 15,16: resulting range position for range [document.head, 1, document.head, 1], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected head but got head")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-0", "0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 15,17: resulting DOM for range [document.head, 1, document.head, 1], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 15,17: resulting range position for range [document.head, 1, document.head, 1], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected head but got head")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-0", "0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 15,18: resulting DOM for range [document.head, 1, document.head, 1], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 15,18: resulting range position for range [document.head, 1, document.head, 1], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected head but got head")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-0", "0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 15,19: resulting DOM for range [document.head, 1, document.head, 1], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 15,19: resulting range position for range [document.head, 1, document.head, 1], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected head but got head")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-0", "0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 15,20: resulting DOM for range [document.head, 1, document.head, 1], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 15,20: resulting range position for range [document.head, 1, document.head, 1], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected head but got head")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-0", "0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 15,21: resulting DOM for range [document.head, 1, document.head, 1], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 15,21: resulting range position for range [document.head, 1, document.head, 1], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected head but got head")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-0", "0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 15,22: resulting DOM for range [document.head, 1, document.head, 1], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 15,22: resulting range position for range [document.head, 1, document.head, 1], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected head but got head")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-0", "0-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 16,0: resulting DOM for range [document.body, 4, document.body, 5], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 16,0: resulting range position for range [document.body, 4, document.body, 5], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a"><script> "use strict"; // This script only exi..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a"><script> "use strict"; // This script only exi..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(4, 4, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 16,1: resulting DOM for range [document.body, 4, document.body, 5], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 16,1: resulting range position for range [document.body, 4, document.body, 5], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(4, 4, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 16,2: resulting DOM for range [document.body, 4, document.body, 5], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 16,2: resulting range position for range [document.body, 4, document.body, 5], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(4, 4, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 16,3: resulting DOM for range [document.body, 4, document.body, 5], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 16,3: resulting range position for range [document.body, 4, document.body, 5], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "1234", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "1234", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(4, 4, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 16,4: resulting DOM for range [document.body, 4, document.body, 5], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 16,4: resulting range position for range [document.body, 4, document.body, 5], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p><script> "use strict"; // This script only exists bec..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p><script> "use strict"; // This script only exists bec..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(4, 4, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 16,5: resulting DOM for range [document.body, 4, document.body, 5], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 16,5: resulting range position for range [document.body, 4, document.body, 5], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(4, 4, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 16,6: resulting DOM for range [document.body, 4, document.body, 5], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 16,6: resulting range position for range [document.body, 4, document.body, 5], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p><script> "use strict"; // This script only exists bec..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p><script> "use strict"; // This script only exists bec..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(4, 4, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 16,7: resulting DOM for range [document.body, 4, document.body, 5], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 16,7: resulting range position for range [document.body, 4, document.body, 5], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(4, 4, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 16,8: resulting DOM for range [document.body, 4, document.body, 5], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 16,8: resulting range position for range [document.body, 4, document.body, 5], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(4, 4, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 16,9: resulting DOM for range [document.body, 4, document.body, 5], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 16,9: resulting range position for range [document.body, 4, document.body, 5], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div><script> "use strict"; // This script only exists b..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div><script> "use strict"; // This script only exists b..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(4, 4, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 16,10: resulting DOM for range [document.body, 4, document.body, 5], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 16,10: resulting range position for range [document.body, 4, document.body, 5], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(4, 4, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 16,11: resulting DOM for range [document.body, 4, document.body, 5], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 16,11: resulting range position for range [document.body, 4, document.body, 5], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p><script> "use strict"; // This script only exists bec..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p><script> "use strict"; // This script only exists bec..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(4, 4, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 16,12: resulting DOM for range [document.body, 4, document.body, 5], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 16,12: resulting range position for range [document.body, 4, document.body, 5], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(4, 4, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 16,13: resulting DOM for range [document.body, 4, document.body, 5], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 16,13: resulting range position for range [document.body, 4, document.body, 5], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames><script> "use strict"; // This s..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames><script> "use strict"; // This s..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(4, 4, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 16,14: resulting DOM for range [document.body, 4, document.body, 5], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 16,14: resulting range position for range [document.body, 4, document.body, 5], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(4, 4, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 16,15: resulting DOM for range [document.body, 4, document.body, 5], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 16,15: resulting range position for range [document.body, 4, document.body, 5], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(4, 4, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 16,16: resulting DOM for range [document.body, 4, document.body, 5], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 16,16: resulting range position for range [document.body, 4, document.body, 5], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(4, 4, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 16,17: resulting DOM for range [document.body, 4, document.body, 5], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 16,17: resulting range position for range [document.body, 4, document.body, 5], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(4, 4, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 16,18: resulting DOM for range [document.body, 4, document.body, 5], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 16,18: resulting range position for range [document.body, 4, document.body, 5], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(4, 4, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 16,19: resulting DOM for range [document.body, 4, document.body, 5], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 16,19: resulting range position for range [document.body, 4, document.body, 5], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(4, 4, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 16,20: resulting DOM for range [document.body, 4, document.body, 5], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 16,20: resulting range position for range [document.body, 4, document.body, 5], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(4, 4, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 16,21: resulting DOM for range [document.body, 4, document.body, 5], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 16,21: resulting range position for range [document.body, 4, document.body, 5], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(4, 4, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 16,22: resulting DOM for range [document.body, 4, document.body, 5], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 16,22: resulting range position for range [document.body, 4, document.body, 5], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object " "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and can be done // synchronously rangeEndpoints = eval(window.testRangeInput)...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(4, 4, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 17,0: resulting DOM for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 17,0: resulting range position for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a"><head><title></title></head></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a"><head><title></title></head></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 17,1: resulting DOM for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 17,1: resulting range position for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 17,2: resulting DOM for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 17,2: resulting range position for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 17,3: resulting DOM for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 17,3: resulting range position for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "1234", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "1234", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 17,4: resulting DOM for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 17,4: resulting range position for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p><head><title></title></head></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p><head><title></title></head></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 17,5: resulting DOM for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 17,5: resulting range position for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 17,6: resulting DOM for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 17,6: resulting range position for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p><head><title></title></head></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p><head><title></title></head></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 17,7: resulting DOM for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 17,7: resulting range position for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 17,8: resulting DOM for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 17,8: resulting range position for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 17,9: resulting DOM for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 17,9: resulting range position for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div><head><title></title></head></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div><head><title></title></head></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 17,10: resulting DOM for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 17,10: resulting range position for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 17,11: resulting DOM for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 17,11: resulting range position for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p><head><title></title></head></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p><head><title></title></head></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 17,12: resulting DOM for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 17,12: resulting range position for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 17,13: resulting DOM for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 17,13: resulting range position for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames><head><title></title></head></igi..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames><head><title></title></head></igi..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 17,14: resulting DOM for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 17,14: resulting range position for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 17,15: resulting DOM for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 17,15: resulting range position for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 17,16: resulting DOM for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 17,16: resulting range position for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 17,17: resulting DOM for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 17,17: resulting range position for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 17,18: resulting DOM for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 17,18: resulting range position for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 17,19: resulting DOM for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 17,19: resulting range position for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 17,20: resulting DOM for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 17,20: resulting range position for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 17,21: resulting DOM for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 17,21: resulting range position for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 17,22: resulting DOM for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 17,22: resulting range position for range [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected html but got html")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1", "0-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 18,0: resulting DOM for range [paras[0], 0, paras[0], 1], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 18,0: resulting range position for range [paras[0], 0, paras[0], 1], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 18,1: resulting DOM for range [paras[0], 0, paras[0], 1], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 18,1: resulting range position for range [paras[0], 0, paras[0], 1], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 18,2: resulting DOM for range [paras[0], 0, paras[0], 1], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 18,2: resulting range position for range [paras[0], 0, paras[0], 1], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 18,3: resulting DOM for range [paras[0], 0, paras[0], 1], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 18,3: resulting range position for range [paras[0], 0, paras[0], 1], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "1234", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "1234", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 18,4: resulting DOM for range [paras[0], 0, paras[0], 1], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 18,4: resulting range position for range [paras[0], 0, paras[0], 1], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 18,5: resulting DOM for range [paras[0], 0, paras[0], 1], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 18,5: resulting range position for range [paras[0], 0, paras[0], 1], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 18,6: resulting DOM for range [paras[0], 0, paras[0], 1], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 18,6: resulting range position for range [paras[0], 0, paras[0], 1], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 18,7: resulting DOM for range [paras[0], 0, paras[0], 1], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 18,7: resulting range position for range [paras[0], 0, paras[0], 1], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 18,8: resulting DOM for range [paras[0], 0, paras[0], 1], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 18,8: resulting range position for range [paras[0], 0, paras[0], 1], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 18,9: resulting DOM for range [paras[0], 0, paras[0], 1], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 18,9: resulting range position for range [paras[0], 0, paras[0], 1], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div>Äb̈c̈d̈ëf̈g̈ḧ </div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div>Äb̈c̈d̈ëf̈g̈ḧ </div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 18,10: resulting DOM for range [paras[0], 0, paras[0], 1], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 18,10: resulting range position for range [paras[0], 0, paras[0], 1], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 18,11: resulting DOM for range [paras[0], 0, paras[0], 1], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 18,11: resulting range position for range [paras[0], 0, paras[0], 1], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 18,12: resulting DOM for range [paras[0], 0, paras[0], 1], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 18,12: resulting range position for range [paras[0], 0, paras[0], 1], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 18,13: resulting DOM for range [paras[0], 0, paras[0], 1], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 18,13: resulting range position for range [paras[0], 0, paras[0], 1], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>Äb̈c̈d̈ëf̈g̈ḧ </igiveuponcreat..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>Äb̈c̈d̈ëf̈g̈ḧ </igiveuponcreat..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 18,14: resulting DOM for range [paras[0], 0, paras[0], 1], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 18,14: resulting range position for range [paras[0], 0, paras[0], 1], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 18,15: resulting DOM for range [paras[0], 0, paras[0], 1], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 18,15: resulting range position for range [paras[0], 0, paras[0], 1], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 18,16: resulting DOM for range [paras[0], 0, paras[0], 1], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 18,16: resulting range position for range [paras[0], 0, paras[0], 1], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 18,17: resulting DOM for range [paras[0], 0, paras[0], 1], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 18,17: resulting range position for range [paras[0], 0, paras[0], 1], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 18,18: resulting DOM for range [paras[0], 0, paras[0], 1], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 18,18: resulting range position for range [paras[0], 0, paras[0], 1], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 18,19: resulting DOM for range [paras[0], 0, paras[0], 1], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 18,19: resulting range position for range [paras[0], 0, paras[0], 1], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 18,20: resulting DOM for range [paras[0], 0, paras[0], 1], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 18,20: resulting range position for range [paras[0], 0, paras[0], 1], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 18,21: resulting DOM for range [paras[0], 0, paras[0], 1], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 18,21: resulting range position for range [paras[0], 0, paras[0], 1], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 18,22: resulting DOM for range [paras[0], 0, paras[0], 1], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 18,22: resulting range position for range [paras[0], 0, paras[0], 1], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 19,0: resulting DOM for range [detachedPara1, 0, detachedPara1, 1], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 19,0: resulting range position for range [detachedPara1, 0, detachedPara1, 1], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a">Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a">Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 19,1: resulting DOM for range [detachedPara1, 0, detachedPara1, 1], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 19,1: resulting range position for range [detachedPara1, 0, detachedPara1, 1], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 19,2: resulting DOM for range [detachedPara1, 0, detachedPara1, 1], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 19,2: resulting range position for range [detachedPara1, 0, detachedPara1, 1], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 19,3: resulting DOM for range [detachedPara1, 0, detachedPara1, 1], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 19,3: resulting range position for range [detachedPara1, 0, detachedPara1, 1], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "1234", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "1234", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 19,4: resulting DOM for range [detachedPara1, 0, detachedPara1, 1], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 19,4: resulting range position for range [detachedPara1, 0, detachedPara1, 1], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 19,5: resulting DOM for range [detachedPara1, 0, detachedPara1, 1], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 19,5: resulting range position for range [detachedPara1, 0, detachedPara1, 1], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 19,6: resulting DOM for range [detachedPara1, 0, detachedPara1, 1], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 19,6: resulting range position for range [detachedPara1, 0, detachedPara1, 1], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 19,7: resulting DOM for range [detachedPara1, 0, detachedPara1, 1], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 19,7: resulting range position for range [detachedPara1, 0, detachedPara1, 1], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 19,8: resulting DOM for range [detachedPara1, 0, detachedPara1, 1], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 19,8: resulting range position for range [detachedPara1, 0, detachedPara1, 1], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 19,9: resulting DOM for range [detachedPara1, 0, detachedPara1, 1], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 19,9: resulting range position for range [detachedPara1, 0, detachedPara1, 1], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 19,10: resulting DOM for range [detachedPara1, 0, detachedPara1, 1], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 19,10: resulting range position for range [detachedPara1, 0, detachedPara1, 1], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 19,11: resulting DOM for range [detachedPara1, 0, detachedPara1, 1], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 19,11: resulting range position for range [detachedPara1, 0, detachedPara1, 1], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 19,12: resulting DOM for range [detachedPara1, 0, detachedPara1, 1], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 19,12: resulting range position for range [detachedPara1, 0, detachedPara1, 1], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 19,13: resulting DOM for range [detachedPara1, 0, detachedPara1, 1], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 19,13: resulting range position for range [detachedPara1, 0, detachedPara1, 1], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>Opqrstuv</igiveuponcreativenames>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>Opqrstuv</igiveuponcreativenames>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 19,14: resulting DOM for range [detachedPara1, 0, detachedPara1, 1], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 19,14: resulting range position for range [detachedPara1, 0, detachedPara1, 1], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 19,15: resulting DOM for range [detachedPara1, 0, detachedPara1, 1], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 19,15: resulting range position for range [detachedPara1, 0, detachedPara1, 1], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 19,16: resulting DOM for range [detachedPara1, 0, detachedPara1, 1], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 19,16: resulting range position for range [detachedPara1, 0, detachedPara1, 1], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 19,17: resulting DOM for range [detachedPara1, 0, detachedPara1, 1], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 19,17: resulting range position for range [detachedPara1, 0, detachedPara1, 1], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 19,18: resulting DOM for range [detachedPara1, 0, detachedPara1, 1], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 19,18: resulting range position for range [detachedPara1, 0, detachedPara1, 1], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 19,19: resulting DOM for range [detachedPara1, 0, detachedPara1, 1], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 19,19: resulting range position for range [detachedPara1, 0, detachedPara1, 1], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 19,20: resulting DOM for range [detachedPara1, 0, detachedPara1, 1], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 19,20: resulting range position for range [detachedPara1, 0, detachedPara1, 1], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 19,21: resulting DOM for range [detachedPara1, 0, detachedPara1, 1], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 19,21: resulting range position for range [detachedPara1, 0, detachedPara1, 1], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 19,22: resulting DOM for range [detachedPara1, 0, detachedPara1, 1], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 19,22: resulting range position for range [detachedPara1, 0, detachedPara1, 1], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-0", "0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 20,0: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 20,0: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 20,1: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 20,1: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 20,2: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 20,2: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 20,3: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 20,3: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 20,4: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 20,4: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 20,5: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 20,5: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 20,6: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 20,6: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 20,7: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 20,7: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 20,8: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 20,8: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 20,9: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 20,9: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 20,10: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 20,10: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 20,11: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 20,11: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 20,12: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 20,12: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 20,13: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 20,13: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 20,14: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 20,14: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 20,15: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 20,15: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 20,16: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 20,16: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 20,17: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 20,17: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 20,18: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 20,18: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 20,19: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 20,19: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 20,20: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 20,20: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 20,21: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 20,21: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 20,22: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 20,22: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 0], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 21,0: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 21,0: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 21,1: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 21,1: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 21,2: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 21,2: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 21,3: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 21,3: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 21,4: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 21,4: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 21,5: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 21,5: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 21,6: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 21,6: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 21,7: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 21,7: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 21,8: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 21,8: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 21,9: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 21,9: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 21,10: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 21,10: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 21,11: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 21,11: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 21,12: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 21,12: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 21,13: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 21,13: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 21,14: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 21,14: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 21,15: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 21,15: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 21,16: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 21,16: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 21,17: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 21,17: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 21,18: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 21,18: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 21,19: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 21,19: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 21,20: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 21,20: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 21,21: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 21,21: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 21,22: resulting DOM for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 21,22: resulting range position for range [paras[0].firstChild, 0, paras[1].firstChild, 8], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 22,0: resulting DOM for range [paras[0].firstChild, 3, paras[3], 1], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 22,0: resulting range position for range [paras[0].firstChild, 3, paras[3], 1], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 22,1: resulting DOM for range [paras[0].firstChild, 3, paras[3], 1], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 22,1: resulting range position for range [paras[0].firstChild, 3, paras[3], 1], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 22,2: resulting DOM for range [paras[0].firstChild, 3, paras[3], 1], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 22,2: resulting range position for range [paras[0].firstChild, 3, paras[3], 1], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 22,3: resulting DOM for range [paras[0].firstChild, 3, paras[3], 1], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 22,3: resulting range position for range [paras[0].firstChild, 3, paras[3], 1], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 22,4: resulting DOM for range [paras[0].firstChild, 3, paras[3], 1], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 22,4: resulting range position for range [paras[0].firstChild, 3, paras[3], 1], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 22,5: resulting DOM for range [paras[0].firstChild, 3, paras[3], 1], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 22,5: resulting range position for range [paras[0].firstChild, 3, paras[3], 1], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 22,6: resulting DOM for range [paras[0].firstChild, 3, paras[3], 1], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 22,6: resulting range position for range [paras[0].firstChild, 3, paras[3], 1], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 22,7: resulting DOM for range [paras[0].firstChild, 3, paras[3], 1], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 22,7: resulting range position for range [paras[0].firstChild, 3, paras[3], 1], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 22,8: resulting DOM for range [paras[0].firstChild, 3, paras[3], 1], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 22,8: resulting range position for range [paras[0].firstChild, 3, paras[3], 1], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 22,9: resulting DOM for range [paras[0].firstChild, 3, paras[3], 1], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 22,9: resulting range position for range [paras[0].firstChild, 3, paras[3], 1], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 22,10: resulting DOM for range [paras[0].firstChild, 3, paras[3], 1], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 22,10: resulting range position for range [paras[0].firstChild, 3, paras[3], 1], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 22,11: resulting DOM for range [paras[0].firstChild, 3, paras[3], 1], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 22,11: resulting range position for range [paras[0].firstChild, 3, paras[3], 1], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 22,12: resulting DOM for range [paras[0].firstChild, 3, paras[3], 1], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 22,12: resulting range position for range [paras[0].firstChild, 3, paras[3], 1], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 22,13: resulting DOM for range [paras[0].firstChild, 3, paras[3], 1], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 22,13: resulting range position for range [paras[0].firstChild, 3, paras[3], 1], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 22,14: resulting DOM for range [paras[0].firstChild, 3, paras[3], 1], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 22,14: resulting range position for range [paras[0].firstChild, 3, paras[3], 1], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 22,15: resulting DOM for range [paras[0].firstChild, 3, paras[3], 1], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 22,15: resulting range position for range [paras[0].firstChild, 3, paras[3], 1], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 22,16: resulting DOM for range [paras[0].firstChild, 3, paras[3], 1], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 22,16: resulting range position for range [paras[0].firstChild, 3, paras[3], 1], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 22,17: resulting DOM for range [paras[0].firstChild, 3, paras[3], 1], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 22,17: resulting range position for range [paras[0].firstChild, 3, paras[3], 1], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 22,18: resulting DOM for range [paras[0].firstChild, 3, paras[3], 1], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 22,18: resulting range position for range [paras[0].firstChild, 3, paras[3], 1], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 22,19: resulting DOM for range [paras[0].firstChild, 3, paras[3], 1], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 22,19: resulting range position for range [paras[0].firstChild, 3, paras[3], 1], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 22,20: resulting DOM for range [paras[0].firstChild, 3, paras[3], 1], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 22,20: resulting range position for range [paras[0].firstChild, 3, paras[3], 1], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 22,21: resulting DOM for range [paras[0].firstChild, 3, paras[3], 1], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 22,21: resulting range position for range [paras[0].firstChild, 3, paras[3], 1], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 22,22: resulting DOM for range [paras[0].firstChild, 3, paras[3], 1], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 22,22: resulting range position for range [paras[0].firstChild, 3, paras[3], 1], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdef", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0-0", "0-1-1-0-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 23,0: resulting DOM for range [paras[0], 0, paras[0].firstChild, 7], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 23,0: resulting range position for range [paras[0], 0, paras[0].firstChild, 7], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 23,1: resulting DOM for range [paras[0], 0, paras[0].firstChild, 7], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 23,1: resulting range position for range [paras[0], 0, paras[0].firstChild, 7], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 23,2: resulting DOM for range [paras[0], 0, paras[0].firstChild, 7], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 23,2: resulting range position for range [paras[0], 0, paras[0].firstChild, 7], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 23,3: resulting DOM for range [paras[0], 0, paras[0].firstChild, 7], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 23,3: resulting range position for range [paras[0], 0, paras[0].firstChild, 7], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "1234", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "1234", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 23,4: resulting DOM for range [paras[0], 0, paras[0].firstChild, 7], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 23,4: resulting range position for range [paras[0], 0, paras[0].firstChild, 7], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Äb̈c̈d</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Äb̈c̈d</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 23,5: resulting DOM for range [paras[0], 0, paras[0].firstChild, 7], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 23,5: resulting range position for range [paras[0], 0, paras[0].firstChild, 7], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 23,6: resulting DOM for range [paras[0], 0, paras[0].firstChild, 7], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 23,6: resulting range position for range [paras[0], 0, paras[0].firstChild, 7], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Äb̈c̈d</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Äb̈c̈d</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 23,7: resulting DOM for range [paras[0], 0, paras[0].firstChild, 7], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 23,7: resulting range position for range [paras[0], 0, paras[0].firstChild, 7], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 23,8: resulting DOM for range [paras[0], 0, paras[0].firstChild, 7], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 23,8: resulting range position for range [paras[0], 0, paras[0].firstChild, 7], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(7, 7, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 23,9: resulting DOM for range [paras[0], 0, paras[0].firstChild, 7], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 23,9: resulting range position for range [paras[0], 0, paras[0].firstChild, 7], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div>Äb̈c̈d</div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div>Äb̈c̈d</div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 23,10: resulting DOM for range [paras[0], 0, paras[0].firstChild, 7], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 23,10: resulting range position for range [paras[0], 0, paras[0].firstChild, 7], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(7, 7, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 23,11: resulting DOM for range [paras[0], 0, paras[0].firstChild, 7], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 23,11: resulting range position for range [paras[0], 0, paras[0].firstChild, 7], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Äb̈c̈d</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Äb̈c̈d</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 23,12: resulting DOM for range [paras[0], 0, paras[0].firstChild, 7], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 23,12: resulting range position for range [paras[0], 0, paras[0].firstChild, 7], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(7, 7, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 23,13: resulting DOM for range [paras[0], 0, paras[0].firstChild, 7], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 23,13: resulting range position for range [paras[0], 0, paras[0].firstChild, 7], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>Äb̈c̈d</igiveuponcreativenames>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>Äb̈c̈d</igiveuponcreativenames>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 23,14: resulting DOM for range [paras[0], 0, paras[0].firstChild, 7], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 23,14: resulting range position for range [paras[0], 0, paras[0].firstChild, 7], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 23,15: resulting DOM for range [paras[0], 0, paras[0].firstChild, 7], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 23,15: resulting range position for range [paras[0], 0, paras[0].firstChild, 7], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 23,16: resulting DOM for range [paras[0], 0, paras[0].firstChild, 7], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 23,16: resulting range position for range [paras[0], 0, paras[0].firstChild, 7], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 23,17: resulting DOM for range [paras[0], 0, paras[0].firstChild, 7], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 23,17: resulting range position for range [paras[0], 0, paras[0].firstChild, 7], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 23,18: resulting DOM for range [paras[0], 0, paras[0].firstChild, 7], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 23,18: resulting range position for range [paras[0], 0, paras[0].firstChild, 7], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 23,19: resulting DOM for range [paras[0], 0, paras[0].firstChild, 7], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 23,19: resulting range position for range [paras[0], 0, paras[0].firstChild, 7], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 23,20: resulting DOM for range [paras[0], 0, paras[0].firstChild, 7], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 23,20: resulting range position for range [paras[0], 0, paras[0].firstChild, 7], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(7, 7, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 23,21: resulting DOM for range [paras[0], 0, paras[0].firstChild, 7], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 23,21: resulting range position for range [paras[0], 0, paras[0].firstChild, 7], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(7, 7, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 23,22: resulting DOM for range [paras[0], 0, paras[0].firstChild, 7], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 23,22: resulting range position for range [paras[0], 0, paras[0].firstChild, 7], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(7, 7, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected p but got p")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-0", "0-1-1-0-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 24,0: resulting DOM for range [testDiv, 2, paras[4], 1], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 24,0: resulting range position for range [testDiv, 2, paras[4], 1], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 24,1: resulting DOM for range [testDiv, 2, paras[4], 1], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 24,1: resulting range position for range [testDiv, 2, paras[4], 1], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 24,2: resulting DOM for range [testDiv, 2, paras[4], 1], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 24,2: resulting range position for range [testDiv, 2, paras[4], 1], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 24,3: resulting DOM for range [testDiv, 2, paras[4], 1], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 24,3: resulting range position for range [testDiv, 2, paras[4], 1], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 24,4: resulting DOM for range [testDiv, 2, paras[4], 1], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 24,4: resulting range position for range [testDiv, 2, paras[4], 1], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 24,5: resulting DOM for range [testDiv, 2, paras[4], 1], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 24,5: resulting range position for range [testDiv, 2, paras[4], 1], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 24,6: resulting DOM for range [testDiv, 2, paras[4], 1], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 24,6: resulting range position for range [testDiv, 2, paras[4], 1], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 24,7: resulting DOM for range [testDiv, 2, paras[4], 1], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 24,7: resulting range position for range [testDiv, 2, paras[4], 1], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 24,8: resulting DOM for range [testDiv, 2, paras[4], 1], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 24,8: resulting range position for range [testDiv, 2, paras[4], 1], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 24,9: resulting DOM for range [testDiv, 2, paras[4], 1], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 24,9: resulting range position for range [testDiv, 2, paras[4], 1], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 24,10: resulting DOM for range [testDiv, 2, paras[4], 1], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 24,10: resulting range position for range [testDiv, 2, paras[4], 1], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 24,11: resulting DOM for range [testDiv, 2, paras[4], 1], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 24,11: resulting range position for range [testDiv, 2, paras[4], 1], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 24,12: resulting DOM for range [testDiv, 2, paras[4], 1], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 24,12: resulting range position for range [testDiv, 2, paras[4], 1], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 24,13: resulting DOM for range [testDiv, 2, paras[4], 1], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 24,13: resulting range position for range [testDiv, 2, paras[4], 1], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 24,14: resulting DOM for range [testDiv, 2, paras[4], 1], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 24,14: resulting range position for range [testDiv, 2, paras[4], 1], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 24,15: resulting DOM for range [testDiv, 2, paras[4], 1], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 24,15: resulting range position for range [testDiv, 2, paras[4], 1], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 24,16: resulting DOM for range [testDiv, 2, paras[4], 1], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 24,16: resulting range position for range [testDiv, 2, paras[4], 1], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 24,17: resulting DOM for range [testDiv, 2, paras[4], 1], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 24,17: resulting range position for range [testDiv, 2, paras[4], 1], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 24,18: resulting DOM for range [testDiv, 2, paras[4], 1], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 24,18: resulting range position for range [testDiv, 2, paras[4], 1], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 24,19: resulting DOM for range [testDiv, 2, paras[4], 1], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 24,19: resulting range position for range [testDiv, 2, paras[4], 1], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 24,20: resulting DOM for range [testDiv, 2, paras[4], 1], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 24,20: resulting range position for range [testDiv, 2, paras[4], 1], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 24,21: resulting DOM for range [testDiv, 2, paras[4], 1], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 24,21: resulting range position for range [testDiv, 2, paras[4], 1], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 24,22: resulting DOM for range [testDiv, 2, paras[4], 1], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 24,22: resulting range position for range [testDiv, 2, paras[4], 1], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "QrstuvwxYzabcdefGhijklmn", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 25,0: resulting DOM for range [document, 0, document, 1], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 25,0: resulting range position for range [document, 0, document, 1], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 25,1: resulting DOM for range [document, 0, document, 1], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 25,1: resulting range position for range [document, 0, document, 1], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 25,2: resulting DOM for range [document, 0, document, 1], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 25,2: resulting range position for range [document, 0, document, 1], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 25,3: resulting DOM for range [document, 0, document, 1], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 25,3: resulting range position for range [document, 0, document, 1], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 25,4: resulting DOM for range [document, 0, document, 1], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 25,4: resulting range position for range [document, 0, document, 1], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 25,5: resulting DOM for range [document, 0, document, 1], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 25,5: resulting range position for range [document, 0, document, 1], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 25,6: resulting DOM for range [document, 0, document, 1], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 25,6: resulting range position for range [document, 0, document, 1], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 25,7: resulting DOM for range [document, 0, document, 1], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 25,7: resulting range position for range [document, 0, document, 1], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 25,8: resulting DOM for range [document, 0, document, 1], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 25,8: resulting range position for range [document, 0, document, 1], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 25,9: resulting DOM for range [document, 0, document, 1], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 25,9: resulting range position for range [document, 0, document, 1], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 25,10: resulting DOM for range [document, 0, document, 1], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 25,10: resulting range position for range [document, 0, document, 1], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 25,11: resulting DOM for range [document, 0, document, 1], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 25,11: resulting range position for range [document, 0, document, 1], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 25,12: resulting DOM for range [document, 0, document, 1], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 25,12: resulting range position for range [document, 0, document, 1], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 25,13: resulting DOM for range [document, 0, document, 1], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 25,13: resulting range position for range [document, 0, document, 1], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 25,14: resulting DOM for range [document, 0, document, 1], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 25,14: resulting range position for range [document, 0, document, 1], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 25,15: resulting DOM for range [document, 0, document, 1], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 25,15: resulting range position for range [document, 0, document, 1], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 25,16: resulting DOM for range [document, 0, document, 1], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 25,16: resulting range position for range [document, 0, document, 1], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 25,17: resulting DOM for range [document, 0, document, 1], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 25,17: resulting range position for range [document, 0, document, 1], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 25,18: resulting DOM for range [document, 0, document, 1], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 25,18: resulting range position for range [document, 0, document, 1], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 25,19: resulting DOM for range [document, 0, document, 1], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 25,19: resulting range position for range [document, 0, document, 1], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 25,20: resulting DOM for range [document, 0, document, 1], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 25,20: resulting range position for range [document, 0, document, 1], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 25,21: resulting DOM for range [document, 0, document, 1], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 25,21: resulting range position for range [document, 0, document, 1], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 25,22: resulting DOM for range [document, 0, document, 1], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 25,22: resulting range position for range [document, 0, document, 1], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 26,0: resulting DOM for range [document, 0, document, 2], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 26,0: resulting range position for range [document, 0, document, 2], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 26,1: resulting DOM for range [document, 0, document, 2], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 26,1: resulting range position for range [document, 0, document, 2], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 26,2: resulting DOM for range [document, 0, document, 2], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 26,2: resulting range position for range [document, 0, document, 2], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 26,3: resulting DOM for range [document, 0, document, 2], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 26,3: resulting range position for range [document, 0, document, 2], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 26,4: resulting DOM for range [document, 0, document, 2], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 26,4: resulting range position for range [document, 0, document, 2], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 26,5: resulting DOM for range [document, 0, document, 2], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 26,5: resulting range position for range [document, 0, document, 2], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 26,6: resulting DOM for range [document, 0, document, 2], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 26,6: resulting range position for range [document, 0, document, 2], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 26,7: resulting DOM for range [document, 0, document, 2], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 26,7: resulting range position for range [document, 0, document, 2], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 26,8: resulting DOM for range [document, 0, document, 2], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 26,8: resulting range position for range [document, 0, document, 2], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 26,9: resulting DOM for range [document, 0, document, 2], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 26,9: resulting range position for range [document, 0, document, 2], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 26,10: resulting DOM for range [document, 0, document, 2], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 26,10: resulting range position for range [document, 0, document, 2], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 26,11: resulting DOM for range [document, 0, document, 2], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 26,11: resulting range position for range [document, 0, document, 2], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 26,12: resulting DOM for range [document, 0, document, 2], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 26,12: resulting range position for range [document, 0, document, 2], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 26,13: resulting DOM for range [document, 0, document, 2], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 26,13: resulting range position for range [document, 0, document, 2], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 26,14: resulting DOM for range [document, 0, document, 2], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 26,14: resulting range position for range [document, 0, document, 2], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 26,15: resulting DOM for range [document, 0, document, 2], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 26,15: resulting range position for range [document, 0, document, 2], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 26,16: resulting DOM for range [document, 0, document, 2], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 26,16: resulting range position for range [document, 0, document, 2], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 26,17: resulting DOM for range [document, 0, document, 2], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 26,17: resulting range position for range [document, 0, document, 2], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 26,18: resulting DOM for range [document, 0, document, 2], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 26,18: resulting range position for range [document, 0, document, 2], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 26,19: resulting DOM for range [document, 0, document, 2], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 26,19: resulting range position for range [document, 0, document, 2], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 26,20: resulting DOM for range [document, 0, document, 2], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 26,20: resulting range position for range [document, 0, document, 2], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 26,21: resulting DOM for range [document, 0, document, 2], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 26,21: resulting range position for range [document, 0, document, 2], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 26,22: resulting DOM for range [document, 0, document, 2], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 26,22: resulting range position for range [document, 0, document, 2], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Range test iframe Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012 "use strict"; // This script only exists because we want to evaluate the range endpoints // in each iframe using that iframe's local variables set up by common.js. It // just creates the range and does nothing else. The data is returned via // window.testRange, and if an exception is thrown, it's put in // window.unexpectedException. window.unexpectedException = null; function run() { try { window.unexpectedException = null; if (typeof window.testNodeInput != "undefined") { window.testNode = eval(window.testNodeInput); } var rangeEndpoints; if (typeof window.testRangeInput == "undefined") { // Use the hash (old way of doing things, bad because it requires // navigation) if (location.hash == "") { return; } rangeEndpoints = eval(location.hash.substr(1)); } else { // Get the variable directly off the window, faster and c...", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 27,0: resulting DOM for range [comment, 2, comment, 3], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 27,0: resulting range position for range [comment, 2, comment, 3], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-6", "0-1-1-0-6", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 27,1: resulting DOM for range [comment, 2, comment, 3], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 27,1: resulting range position for range [comment, 2, comment, 3], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-6", "0-1-1-0-6", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 27,2: resulting DOM for range [comment, 2, comment, 3], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 27,2: resulting range position for range [comment, 2, comment, 3], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-6", "0-1-1-0-6", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 27,3: resulting DOM for range [comment, 2, comment, 3], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 27,3: resulting range position for range [comment, 2, comment, 3], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-6", "0-1-1-0-6", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 27,4: resulting DOM for range [comment, 2, comment, 3], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 27,4: resulting range position for range [comment, 2, comment, 3], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-6", "0-1-1-0-6", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 27,5: resulting DOM for range [comment, 2, comment, 3], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 27,5: resulting range position for range [comment, 2, comment, 3], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-6", "0-1-1-0-6", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 27,6: resulting DOM for range [comment, 2, comment, 3], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 27,6: resulting range position for range [comment, 2, comment, 3], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-6", "0-1-1-0-6", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 27,7: resulting DOM for range [comment, 2, comment, 3], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 27,7: resulting range position for range [comment, 2, comment, 3], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-6", "0-1-1-0-6", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 27,8: resulting DOM for range [comment, 2, comment, 3], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 27,8: resulting range position for range [comment, 2, comment, 3], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-6", "0-1-1-0-6", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 27,9: resulting DOM for range [comment, 2, comment, 3], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 27,9: resulting range position for range [comment, 2, comment, 3], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-6", "0-1-1-0-6", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 27,10: resulting DOM for range [comment, 2, comment, 3], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 27,10: resulting range position for range [comment, 2, comment, 3], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-6", "0-1-1-0-6", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 27,11: resulting DOM for range [comment, 2, comment, 3], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 27,11: resulting range position for range [comment, 2, comment, 3], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-6", "0-1-1-0-6", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 27,12: resulting DOM for range [comment, 2, comment, 3], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 27,12: resulting range position for range [comment, 2, comment, 3], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-6", "0-1-1-0-6", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 27,13: resulting DOM for range [comment, 2, comment, 3], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 27,13: resulting range position for range [comment, 2, comment, 3], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-6", "0-1-1-0-6", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 27,14: resulting DOM for range [comment, 2, comment, 3], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 27,14: resulting range position for range [comment, 2, comment, 3], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-6", "0-1-1-0-6", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 27,15: resulting DOM for range [comment, 2, comment, 3], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 27,15: resulting range position for range [comment, 2, comment, 3], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-6", "0-1-1-0-6", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 27,16: resulting DOM for range [comment, 2, comment, 3], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 27,16: resulting range position for range [comment, 2, comment, 3], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-6", "0-1-1-0-6", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 27,17: resulting DOM for range [comment, 2, comment, 3], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 27,17: resulting range position for range [comment, 2, comment, 3], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-6", "0-1-1-0-6", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 27,18: resulting DOM for range [comment, 2, comment, 3], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 27,18: resulting range position for range [comment, 2, comment, 3], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alhabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alhabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-6", "0-1-1-0-6", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 27,19: resulting DOM for range [comment, 2, comment, 3], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 27,19: resulting range position for range [comment, 2, comment, 3], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-6", "0-1-1-0-6", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 27,20: resulting DOM for range [comment, 2, comment, 3], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 27,20: resulting range position for range [comment, 2, comment, 3], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-6", "0-1-1-0-6", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 27,21: resulting DOM for range [comment, 2, comment, 3], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 27,21: resulting range position for range [comment, 2, comment, 3], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-6", "0-1-1-0-6", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 27,22: resulting DOM for range [comment, 2, comment, 3], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 27,22: resulting range position for range [comment, 2, comment, 3], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0-6", "0-1-1-0-6", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 28,0: resulting DOM for range [testDiv, 0, comment, 5], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 28,0: resulting range position for range [testDiv, 0, comment, 5], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 28,1: resulting DOM for range [testDiv, 0, comment, 5], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 28,1: resulting range position for range [testDiv, 0, comment, 5], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 28,2: resulting DOM for range [testDiv, 0, comment, 5], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 28,2: resulting range position for range [testDiv, 0, comment, 5], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 28,3: resulting DOM for range [testDiv, 0, comment, 5], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 28,3: resulting range position for range [testDiv, 0, comment, 5], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 28,4: resulting DOM for range [testDiv, 0, comment, 5], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 28,4: resulting range position for range [testDiv, 0, comment, 5], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 28,5: resulting DOM for range [testDiv, 0, comment, 5], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 28,5: resulting range position for range [testDiv, 0, comment, 5], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 28,6: resulting DOM for range [testDiv, 0, comment, 5], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 28,6: resulting range position for range [testDiv, 0, comment, 5], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 28,7: resulting DOM for range [testDiv, 0, comment, 5], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 28,7: resulting range position for range [testDiv, 0, comment, 5], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 28,8: resulting DOM for range [testDiv, 0, comment, 5], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 28,8: resulting range position for range [testDiv, 0, comment, 5], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 28,9: resulting DOM for range [testDiv, 0, comment, 5], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 28,9: resulting range position for range [testDiv, 0, comment, 5], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 28,10: resulting DOM for range [testDiv, 0, comment, 5], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 28,10: resulting range position for range [testDiv, 0, comment, 5], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 28,11: resulting DOM for range [testDiv, 0, comment, 5], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 28,11: resulting range position for range [testDiv, 0, comment, 5], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 28,12: resulting DOM for range [testDiv, 0, comment, 5], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 28,12: resulting range position for range [testDiv, 0, comment, 5], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 28,13: resulting DOM for range [testDiv, 0, comment, 5], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 28,13: resulting range position for range [testDiv, 0, comment, 5], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 28,14: resulting DOM for range [testDiv, 0, comment, 5], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 28,14: resulting range position for range [testDiv, 0, comment, 5], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 28,15: resulting DOM for range [testDiv, 0, comment, 5], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 28,15: resulting range position for range [testDiv, 0, comment, 5], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 28,16: resulting DOM for range [testDiv, 0, comment, 5], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 28,16: resulting range position for range [testDiv, 0, comment, 5], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 28,17: resulting DOM for range [testDiv, 0, comment, 5], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 28,17: resulting range position for range [testDiv, 0, comment, 5], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 28,18: resulting DOM for range [testDiv, 0, comment, 5], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 28,18: resulting range position for range [testDiv, 0, comment, 5], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 28,19: resulting DOM for range [testDiv, 0, comment, 5], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 28,19: resulting range position for range [testDiv, 0, comment, 5], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 28,20: resulting DOM for range [testDiv, 0, comment, 5], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 28,20: resulting range position for range [testDiv, 0, comment, 5], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 28,21: resulting DOM for range [testDiv, 0, comment, 5], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 28,21: resulting range position for range [testDiv, 0, comment, 5], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 28,22: resulting DOM for range [testDiv, 0, comment, 5], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 28,22: resulting range position for range [testDiv, 0, comment, 5], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ Ijklmnop QrstuvwxYzabcdefGhijklmn123456789012", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(5, 5, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected div but got div")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1-0", "0-1-1-0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 29,0: resulting DOM for range [foreignDoc, 1, foreignComment, 2], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 29,0: resulting range position for range [foreignDoc, 1, foreignComment, 2], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 29,1: resulting DOM for range [foreignDoc, 1, foreignComment, 2], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 29,1: resulting range position for range [foreignDoc, 1, foreignComment, 2], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 29,2: resulting DOM for range [foreignDoc, 1, foreignComment, 2], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 29,2: resulting range position for range [foreignDoc, 1, foreignComment, 2], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 29,3: resulting DOM for range [foreignDoc, 1, foreignComment, 2], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 29,3: resulting range position for range [foreignDoc, 1, foreignComment, 2], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 29,4: resulting DOM for range [foreignDoc, 1, foreignComment, 2], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 29,4: resulting range position for range [foreignDoc, 1, foreignComment, 2], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 29,5: resulting DOM for range [foreignDoc, 1, foreignComment, 2], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 29,5: resulting range position for range [foreignDoc, 1, foreignComment, 2], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 29,6: resulting DOM for range [foreignDoc, 1, foreignComment, 2], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 29,6: resulting range position for range [foreignDoc, 1, foreignComment, 2], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 29,7: resulting DOM for range [foreignDoc, 1, foreignComment, 2], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 29,7: resulting range position for range [foreignDoc, 1, foreignComment, 2], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 29,8: resulting DOM for range [foreignDoc, 1, foreignComment, 2], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 29,8: resulting range position for range [foreignDoc, 1, foreignComment, 2], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 29,9: resulting DOM for range [foreignDoc, 1, foreignComment, 2], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 29,9: resulting range position for range [foreignDoc, 1, foreignComment, 2], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 29,10: resulting DOM for range [foreignDoc, 1, foreignComment, 2], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 29,10: resulting range position for range [foreignDoc, 1, foreignComment, 2], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 29,11: resulting DOM for range [foreignDoc, 1, foreignComment, 2], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 29,11: resulting range position for range [foreignDoc, 1, foreignComment, 2], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 29,12: resulting DOM for range [foreignDoc, 1, foreignComment, 2], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 29,12: resulting range position for range [foreignDoc, 1, foreignComment, 2], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 29,13: resulting DOM for range [foreignDoc, 1, foreignComment, 2], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 29,13: resulting range position for range [foreignDoc, 1, foreignComment, 2], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 29,14: resulting DOM for range [foreignDoc, 1, foreignComment, 2], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 29,14: resulting range position for range [foreignDoc, 1, foreignComment, 2], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 29,15: resulting DOM for range [foreignDoc, 1, foreignComment, 2], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 29,15: resulting range position for range [foreignDoc, 1, foreignComment, 2], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 29,16: resulting DOM for range [foreignDoc, 1, foreignComment, 2], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 29,16: resulting range position for range [foreignDoc, 1, foreignComment, 2], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 29,17: resulting DOM for range [foreignDoc, 1, foreignComment, 2], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 29,17: resulting range position for range [foreignDoc, 1, foreignComment, 2], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 29,18: resulting DOM for range [foreignDoc, 1, foreignComment, 2], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 29,18: resulting range position for range [foreignDoc, 1, foreignComment, 2], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 29,19: resulting DOM for range [foreignDoc, 1, foreignComment, 2], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 29,19: resulting range position for range [foreignDoc, 1, foreignComment, 2], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 29,20: resulting DOM for range [foreignDoc, 1, foreignComment, 2], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 29,20: resulting range position for range [foreignDoc, 1, foreignComment, 2], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 29,21: resulting DOM for range [foreignDoc, 1, foreignComment, 2], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 29,21: resulting range position for range [foreignDoc, 1, foreignComment, 2], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 29,22: resulting DOM for range [foreignDoc, 1, foreignComment, 2], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 29,22: resulting range position for range [foreignDoc, 1, foreignComment, 2], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 30,0: resulting DOM for range [foreignDoc.body, 0, foreignTextNode, 36], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 30,0: resulting range position for range [foreignDoc.body, 0, foreignTextNode, 36], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a"><p>Efghijkl</p><p>Mnopqrst</p>I admit that I ha..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a"><p>Efghijkl</p><p>Mnopqrst</p>I admit that I ha..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 30,1: resulting DOM for range [foreignDoc.body, 0, foreignTextNode, 36], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 30,1: resulting range position for range [foreignDoc.body, 0, foreignTextNode, 36], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 30,2: resulting DOM for range [foreignDoc.body, 0, foreignTextNode, 36], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 30,2: resulting range position for range [foreignDoc.body, 0, foreignTextNode, 36], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 30,3: resulting DOM for range [foreignDoc.body, 0, foreignTextNode, 36], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 30,3: resulting range position for range [foreignDoc.body, 0, foreignTextNode, 36], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "1234", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "1234", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 30,4: resulting DOM for range [foreignDoc.body, 0, foreignTextNode, 36], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 30,4: resulting range position for range [foreignDoc.body, 0, foreignTextNode, 36], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "MnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "MnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p><p>Mnopqrst</p>I admit that I harbor doubts about w</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p><p>Mnopqrst</p>I admit that I harbor doubts about w</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 30,5: resulting DOM for range [foreignDoc.body, 0, foreignTextNode, 36], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 30,5: resulting range position for range [foreignDoc.body, 0, foreignTextNode, 36], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 30,6: resulting DOM for range [foreignDoc.body, 0, foreignTextNode, 36], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 30,6: resulting range position for range [foreignDoc.body, 0, foreignTextNode, 36], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor do..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor do..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 30,7: resulting DOM for range [foreignDoc.body, 0, foreignTextNode, 36], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 30,7: resulting range position for range [foreignDoc.body, 0, foreignTextNode, 36], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 30,8: resulting DOM for range [foreignDoc.body, 0, foreignTextNode, 36], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 30,8: resulting range position for range [foreignDoc.body, 0, foreignTextNode, 36], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(36, 36, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 30,9: resulting DOM for range [foreignDoc.body, 0, foreignTextNode, 36], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 30,9: resulting range position for range [foreignDoc.body, 0, foreignTextNode, 36], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor ..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div><p>Efghijkl</p><p>Mnopqrst</p>I admit that I harbor ..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 30,10: resulting DOM for range [foreignDoc.body, 0, foreignTextNode, 36], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 30,10: resulting range position for range [foreignDoc.body, 0, foreignTextNode, 36], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(36, 36, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 30,11: resulting DOM for range [foreignDoc.body, 0, foreignTextNode, 36], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 30,11: resulting range position for range [foreignDoc.body, 0, foreignTextNode, 36], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p><p>Efghijkl</p>I admit that I harbor doubts about w</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p><p>Efghijkl</p>I admit that I harbor doubts about w</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 30,12: resulting DOM for range [foreignDoc.body, 0, foreignTextNode, 36], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 30,12: resulting range position for range [foreignDoc.body, 0, foreignTextNode, 36], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(36, 36, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 30,13: resulting DOM for range [foreignDoc.body, 0, foreignTextNode, 36], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 30,13: resulting range position for range [foreignDoc.body, 0, foreignTextNode, 36], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames><p>Efghijkl</p><p>Mnopqrst</p>I a..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames><p>Efghijkl</p><p>Mnopqrst</p>I a..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 30,14: resulting DOM for range [foreignDoc.body, 0, foreignTextNode, 36], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 30,14: resulting range position for range [foreignDoc.body, 0, foreignTextNode, 36], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 30,15: resulting DOM for range [foreignDoc.body, 0, foreignTextNode, 36], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 30,15: resulting range position for range [foreignDoc.body, 0, foreignTextNode, 36], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "hether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "hether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "hether we really need so many things to test, but it's to...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "hether we really need so many things to test, but it's to...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 30,16: resulting DOM for range [foreignDoc.body, 0, foreignTextNode, 36], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 30,16: resulting range position for range [foreignDoc.body, 0, foreignTextNode, 36], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 30,17: resulting DOM for range [foreignDoc.body, 0, foreignTextNode, 36], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 30,17: resulting range position for range [foreignDoc.body, 0, foreignTextNode, 36], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 30,18: resulting DOM for range [foreignDoc.body, 0, foreignTextNode, 36], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 30,18: resulting range position for range [foreignDoc.body, 0, foreignTextNode, 36], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 30,19: resulting DOM for range [foreignDoc.body, 0, foreignTextNode, 36], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 30,19: resulting range position for range [foreignDoc.body, 0, foreignTextNode, 36], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 30,20: resulting DOM for range [foreignDoc.body, 0, foreignTextNode, 36], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 30,20: resulting range position for range [foreignDoc.body, 0, foreignTextNode, 36], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(36, 36, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 30,21: resulting DOM for range [foreignDoc.body, 0, foreignTextNode, 36], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 30,21: resulting range position for range [foreignDoc.body, 0, foreignTextNode, 36], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(36, 36, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 30,22: resulting DOM for range [foreignDoc.body, 0, foreignTextNode, 36], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 30,22: resulting range position for range [foreignDoc.body, 0, foreignTextNode, 36], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "EfghijklMnopqrstI admit that I harbor doubts about w", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(36, 36, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected body but got body")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-1-1", "0-1-1", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 31,0: resulting DOM for range [xmlDoc, 1, xmlComment, 0], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 31,0: resulting range position for range [xmlDoc, 1, xmlComment, 0], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 31,1: resulting DOM for range [xmlDoc, 1, xmlComment, 0], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 31,1: resulting range position for range [xmlDoc, 1, xmlComment, 0], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 31,2: resulting DOM for range [xmlDoc, 1, xmlComment, 0], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 31,2: resulting range position for range [xmlDoc, 1, xmlComment, 0], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 31,3: resulting DOM for range [xmlDoc, 1, xmlComment, 0], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 31,3: resulting range position for range [xmlDoc, 1, xmlComment, 0], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 31,4: resulting DOM for range [xmlDoc, 1, xmlComment, 0], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 31,4: resulting range position for range [xmlDoc, 1, xmlComment, 0], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 31,5: resulting DOM for range [xmlDoc, 1, xmlComment, 0], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 31,5: resulting range position for range [xmlDoc, 1, xmlComment, 0], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 31,6: resulting DOM for range [xmlDoc, 1, xmlComment, 0], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 31,6: resulting range position for range [xmlDoc, 1, xmlComment, 0], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 31,7: resulting DOM for range [xmlDoc, 1, xmlComment, 0], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 31,7: resulting range position for range [xmlDoc, 1, xmlComment, 0], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 31,8: resulting DOM for range [xmlDoc, 1, xmlComment, 0], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 31,8: resulting range position for range [xmlDoc, 1, xmlComment, 0], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 31,9: resulting DOM for range [xmlDoc, 1, xmlComment, 0], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 31,9: resulting range position for range [xmlDoc, 1, xmlComment, 0], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 31,10: resulting DOM for range [xmlDoc, 1, xmlComment, 0], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 31,10: resulting range position for range [xmlDoc, 1, xmlComment, 0], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 31,11: resulting DOM for range [xmlDoc, 1, xmlComment, 0], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 31,11: resulting range position for range [xmlDoc, 1, xmlComment, 0], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 31,12: resulting DOM for range [xmlDoc, 1, xmlComment, 0], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 31,12: resulting range position for range [xmlDoc, 1, xmlComment, 0], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 31,13: resulting DOM for range [xmlDoc, 1, xmlComment, 0], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 31,13: resulting range position for range [xmlDoc, 1, xmlComment, 0], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 31,14: resulting DOM for range [xmlDoc, 1, xmlComment, 0], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 31,14: resulting range position for range [xmlDoc, 1, xmlComment, 0], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 31,15: resulting DOM for range [xmlDoc, 1, xmlComment, 0], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 31,15: resulting range position for range [xmlDoc, 1, xmlComment, 0], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 31,16: resulting DOM for range [xmlDoc, 1, xmlComment, 0], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 31,16: resulting range position for range [xmlDoc, 1, xmlComment, 0], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 31,17: resulting DOM for range [xmlDoc, 1, xmlComment, 0], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 31,17: resulting range position for range [xmlDoc, 1, xmlComment, 0], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 31,18: resulting DOM for range [xmlDoc, 1, xmlComment, 0], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 31,18: resulting range position for range [xmlDoc, 1, xmlComment, 0], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 31,19: resulting DOM for range [xmlDoc, 1, xmlComment, 0], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 31,19: resulting range position for range [xmlDoc, 1, xmlComment, 0], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 31,20: resulting DOM for range [xmlDoc, 1, xmlComment, 0], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 31,20: resulting range position for range [xmlDoc, 1, xmlComment, 0], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 31,21: resulting DOM for range [xmlDoc, 1, xmlComment, 0], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 31,21: resulting range position for range [xmlDoc, 1, xmlComment, 0], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 31,22: resulting DOM for range [xmlDoc, 1, xmlComment, 0], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_STATE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_STATE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 31,22: resulting range position for range [xmlDoc, 1, xmlComment, 0], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "do re mi fa so la ti", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(1, 1, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document but got #document")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 32,0: resulting DOM for range [detachedTextNode, 0, detachedTextNode, 8], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 32,0: resulting range position for range [detachedTextNode, 0, detachedTextNode, 8], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 32,1: resulting DOM for range [detachedTextNode, 0, detachedTextNode, 8], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 32,1: resulting range position for range [detachedTextNode, 0, detachedTextNode, 8], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 32,2: resulting DOM for range [detachedTextNode, 0, detachedTextNode, 8], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 32,2: resulting range position for range [detachedTextNode, 0, detachedTextNode, 8], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 32,3: resulting DOM for range [detachedTextNode, 0, detachedTextNode, 8], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 32,3: resulting range position for range [detachedTextNode, 0, detachedTextNode, 8], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 32,4: resulting DOM for range [detachedTextNode, 0, detachedTextNode, 8], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 32,4: resulting range position for range [detachedTextNode, 0, detachedTextNode, 8], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 32,5: resulting DOM for range [detachedTextNode, 0, detachedTextNode, 8], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 32,5: resulting range position for range [detachedTextNode, 0, detachedTextNode, 8], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 32,6: resulting DOM for range [detachedTextNode, 0, detachedTextNode, 8], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 32,6: resulting range position for range [detachedTextNode, 0, detachedTextNode, 8], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 32,7: resulting DOM for range [detachedTextNode, 0, detachedTextNode, 8], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 32,7: resulting range position for range [detachedTextNode, 0, detachedTextNode, 8], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 32,8: resulting DOM for range [detachedTextNode, 0, detachedTextNode, 8], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 32,8: resulting range position for range [detachedTextNode, 0, detachedTextNode, 8], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 32,9: resulting DOM for range [detachedTextNode, 0, detachedTextNode, 8], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 32,9: resulting range position for range [detachedTextNode, 0, detachedTextNode, 8], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 32,10: resulting DOM for range [detachedTextNode, 0, detachedTextNode, 8], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 32,10: resulting range position for range [detachedTextNode, 0, detachedTextNode, 8], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 32,11: resulting DOM for range [detachedTextNode, 0, detachedTextNode, 8], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 32,11: resulting range position for range [detachedTextNode, 0, detachedTextNode, 8], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 32,12: resulting DOM for range [detachedTextNode, 0, detachedTextNode, 8], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 32,12: resulting range position for range [detachedTextNode, 0, detachedTextNode, 8], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 32,13: resulting DOM for range [detachedTextNode, 0, detachedTextNode, 8], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 32,13: resulting range position for range [detachedTextNode, 0, detachedTextNode, 8], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 32,14: resulting DOM for range [detachedTextNode, 0, detachedTextNode, 8], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 32,14: resulting range position for range [detachedTextNode, 0, detachedTextNode, 8], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 32,15: resulting DOM for range [detachedTextNode, 0, detachedTextNode, 8], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 32,15: resulting range position for range [detachedTextNode, 0, detachedTextNode, 8], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 32,16: resulting DOM for range [detachedTextNode, 0, detachedTextNode, 8], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 32,16: resulting range position for range [detachedTextNode, 0, detachedTextNode, 8], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 32,17: resulting DOM for range [detachedTextNode, 0, detachedTextNode, 8], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 32,17: resulting range position for range [detachedTextNode, 0, detachedTextNode, 8], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 32,18: resulting DOM for range [detachedTextNode, 0, detachedTextNode, 8], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 32,18: resulting range position for range [detachedTextNode, 0, detachedTextNode, 8], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 32,19: resulting DOM for range [detachedTextNode, 0, detachedTextNode, 8], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 32,19: resulting range position for range [detachedTextNode, 0, detachedTextNode, 8], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 32,20: resulting DOM for range [detachedTextNode, 0, detachedTextNode, 8], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 32,20: resulting range position for range [detachedTextNode, 0, detachedTextNode, 8], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 32,21: resulting DOM for range [detachedTextNode, 0, detachedTextNode, 8], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 32,21: resulting range position for range [detachedTextNode, 0, detachedTextNode, 8], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 32,22: resulting DOM for range [detachedTextNode, 0, detachedTextNode, 8], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 32,22: resulting range position for range [detachedTextNode, 0, detachedTextNode, 8], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 33,0: resulting DOM for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 33,0: resulting range position for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 33,1: resulting DOM for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 33,1: resulting range position for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 33,2: resulting DOM for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 33,2: resulting range position for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 33,3: resulting DOM for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 33,3: resulting range position for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 33,4: resulting DOM for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 33,4: resulting range position for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 33,5: resulting DOM for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 33,5: resulting range position for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 33,6: resulting DOM for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 33,6: resulting range position for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 33,7: resulting DOM for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 33,7: resulting range position for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 33,8: resulting DOM for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 33,8: resulting range position for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 33,9: resulting DOM for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 33,9: resulting range position for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 33,10: resulting DOM for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 33,10: resulting range position for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 33,11: resulting DOM for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 33,11: resulting range position for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 33,12: resulting DOM for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 33,12: resulting range position for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 33,13: resulting DOM for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 33,13: resulting range position for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 33,14: resulting DOM for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 33,14: resulting range position for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 33,15: resulting DOM for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 33,15: resulting range position for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 33,16: resulting DOM for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 33,16: resulting range position for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 33,17: resulting DOM for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 33,17: resulting range position for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 33,18: resulting DOM for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 33,18: resulting range position for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 33,19: resulting DOM for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 33,19: resulting range position for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 33,20: resulting DOM for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 33,20: resulting range position for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 33,21: resulting DOM for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 33,21: resulting range position for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 33,22: resulting DOM for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 33,22: resulting range position for range [detachedForeignTextNode, 0, detachedForeignTextNode, 8], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Cdefghij", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 34,0: resulting DOM for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 34,0: resulting range position for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 34,1: resulting DOM for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 34,1: resulting range position for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 34,2: resulting DOM for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 34,2: resulting range position for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 34,3: resulting DOM for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 34,3: resulting range position for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 34,4: resulting DOM for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 34,4: resulting range position for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 34,5: resulting DOM for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 34,5: resulting range position for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 34,6: resulting DOM for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 34,6: resulting range position for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 34,7: resulting DOM for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 34,7: resulting range position for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 34,8: resulting DOM for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 34,8: resulting range position for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 34,9: resulting DOM for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 34,9: resulting range position for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 34,10: resulting DOM for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 34,10: resulting range position for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 34,11: resulting DOM for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 34,11: resulting range position for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 34,12: resulting DOM for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 34,12: resulting range position for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 34,13: resulting DOM for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 34,13: resulting range position for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 34,14: resulting DOM for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 34,14: resulting range position for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 34,15: resulting DOM for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 34,15: resulting range position for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 34,16: resulting DOM for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 34,16: resulting range position for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 34,17: resulting DOM for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 34,17: resulting range position for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 34,18: resulting DOM for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 34,18: resulting range position for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 34,19: resulting DOM for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 34,19: resulting range position for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 34,20: resulting DOM for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 34,20: resulting range position for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 34,21: resulting DOM for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 34,21: resulting range position for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 34,22: resulting DOM for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 34,22: resulting range position for range [detachedXmlTextNode, 0, detachedXmlTextNode, 8], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Klmnopqr", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(8, 8, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #text but got #text")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 35,0: resulting DOM for range [detachedComment, 3, detachedComment, 4], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 35,0: resulting range position for range [detachedComment, 3, detachedComment, 4], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 35,1: resulting DOM for range [detachedComment, 3, detachedComment, 4], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 35,1: resulting range position for range [detachedComment, 3, detachedComment, 4], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 35,2: resulting DOM for range [detachedComment, 3, detachedComment, 4], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 35,2: resulting range position for range [detachedComment, 3, detachedComment, 4], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 35,3: resulting DOM for range [detachedComment, 3, detachedComment, 4], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 35,3: resulting range position for range [detachedComment, 3, detachedComment, 4], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 35,4: resulting DOM for range [detachedComment, 3, detachedComment, 4], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 35,4: resulting range position for range [detachedComment, 3, detachedComment, 4], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 35,5: resulting DOM for range [detachedComment, 3, detachedComment, 4], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 35,5: resulting range position for range [detachedComment, 3, detachedComment, 4], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 35,6: resulting DOM for range [detachedComment, 3, detachedComment, 4], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 35,6: resulting range position for range [detachedComment, 3, detachedComment, 4], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 35,7: resulting DOM for range [detachedComment, 3, detachedComment, 4], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 35,7: resulting range position for range [detachedComment, 3, detachedComment, 4], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 35,8: resulting DOM for range [detachedComment, 3, detachedComment, 4], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 35,8: resulting range position for range [detachedComment, 3, detachedComment, 4], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(4, 4, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 35,9: resulting DOM for range [detachedComment, 3, detachedComment, 4], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 35,9: resulting range position for range [detachedComment, 3, detachedComment, 4], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 35,10: resulting DOM for range [detachedComment, 3, detachedComment, 4], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 35,10: resulting range position for range [detachedComment, 3, detachedComment, 4], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(4, 4, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 35,11: resulting DOM for range [detachedComment, 3, detachedComment, 4], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 35,11: resulting range position for range [detachedComment, 3, detachedComment, 4], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 35,12: resulting DOM for range [detachedComment, 3, detachedComment, 4], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 35,12: resulting range position for range [detachedComment, 3, detachedComment, 4], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(4, 4, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 35,13: resulting DOM for range [detachedComment, 3, detachedComment, 4], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 35,13: resulting range position for range [detachedComment, 3, detachedComment, 4], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 35,14: resulting DOM for range [detachedComment, 3, detachedComment, 4], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 35,14: resulting range position for range [detachedComment, 3, detachedComment, 4], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 35,15: resulting DOM for range [detachedComment, 3, detachedComment, 4], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 35,15: resulting range position for range [detachedComment, 3, detachedComment, 4], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 35,16: resulting DOM for range [detachedComment, 3, detachedComment, 4], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 35,16: resulting range position for range [detachedComment, 3, detachedComment, 4], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 35,17: resulting DOM for range [detachedComment, 3, detachedComment, 4], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 35,17: resulting range position for range [detachedComment, 3, detachedComment, 4], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 35,18: resulting DOM for range [detachedComment, 3, detachedComment, 4], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 35,18: resulting range position for range [detachedComment, 3, detachedComment, 4], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 35,19: resulting DOM for range [detachedComment, 3, detachedComment, 4], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 35,19: resulting range position for range [detachedComment, 3, detachedComment, 4], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(3, 3, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 35,20: resulting DOM for range [detachedComment, 3, detachedComment, 4], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 35,20: resulting range position for range [detachedComment, 3, detachedComment, 4], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(4, 4, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 35,21: resulting DOM for range [detachedComment, 3, detachedComment, 4], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 35,21: resulting range position for range [detachedComment, 3, detachedComment, 4], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(4, 4, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 35,22: resulting DOM for range [detachedComment, 3, detachedComment, 4], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 35,22: resulting range position for range [detachedComment, 3, detachedComment, 4], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(3, 3, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(4, 4, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 36,0: resulting DOM for range [detachedForeignComment, 0, detachedForeignComment, 1], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 36,0: resulting range position for range [detachedForeignComment, 0, detachedForeignComment, 1], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 36,1: resulting DOM for range [detachedForeignComment, 0, detachedForeignComment, 1], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 36,1: resulting range position for range [detachedForeignComment, 0, detachedForeignComment, 1], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 36,2: resulting DOM for range [detachedForeignComment, 0, detachedForeignComment, 1], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 36,2: resulting range position for range [detachedForeignComment, 0, detachedForeignComment, 1], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 36,3: resulting DOM for range [detachedForeignComment, 0, detachedForeignComment, 1], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 36,3: resulting range position for range [detachedForeignComment, 0, detachedForeignComment, 1], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 36,4: resulting DOM for range [detachedForeignComment, 0, detachedForeignComment, 1], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 36,4: resulting range position for range [detachedForeignComment, 0, detachedForeignComment, 1], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 36,5: resulting DOM for range [detachedForeignComment, 0, detachedForeignComment, 1], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 36,5: resulting range position for range [detachedForeignComment, 0, detachedForeignComment, 1], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 36,6: resulting DOM for range [detachedForeignComment, 0, detachedForeignComment, 1], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 36,6: resulting range position for range [detachedForeignComment, 0, detachedForeignComment, 1], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 36,7: resulting DOM for range [detachedForeignComment, 0, detachedForeignComment, 1], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 36,7: resulting range position for range [detachedForeignComment, 0, detachedForeignComment, 1], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 36,8: resulting DOM for range [detachedForeignComment, 0, detachedForeignComment, 1], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 36,8: resulting range position for range [detachedForeignComment, 0, detachedForeignComment, 1], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 36,9: resulting DOM for range [detachedForeignComment, 0, detachedForeignComment, 1], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 36,9: resulting range position for range [detachedForeignComment, 0, detachedForeignComment, 1], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 36,10: resulting DOM for range [detachedForeignComment, 0, detachedForeignComment, 1], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 36,10: resulting range position for range [detachedForeignComment, 0, detachedForeignComment, 1], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 36,11: resulting DOM for range [detachedForeignComment, 0, detachedForeignComment, 1], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 36,11: resulting range position for range [detachedForeignComment, 0, detachedForeignComment, 1], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 36,12: resulting DOM for range [detachedForeignComment, 0, detachedForeignComment, 1], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 36,12: resulting range position for range [detachedForeignComment, 0, detachedForeignComment, 1], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 36,13: resulting DOM for range [detachedForeignComment, 0, detachedForeignComment, 1], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 36,13: resulting range position for range [detachedForeignComment, 0, detachedForeignComment, 1], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 36,14: resulting DOM for range [detachedForeignComment, 0, detachedForeignComment, 1], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 36,14: resulting range position for range [detachedForeignComment, 0, detachedForeignComment, 1], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 36,15: resulting DOM for range [detachedForeignComment, 0, detachedForeignComment, 1], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 36,15: resulting range position for range [detachedForeignComment, 0, detachedForeignComment, 1], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 36,16: resulting DOM for range [detachedForeignComment, 0, detachedForeignComment, 1], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 36,16: resulting range position for range [detachedForeignComment, 0, detachedForeignComment, 1], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 36,17: resulting DOM for range [detachedForeignComment, 0, detachedForeignComment, 1], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 36,17: resulting range position for range [detachedForeignComment, 0, detachedForeignComment, 1], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 36,18: resulting DOM for range [detachedForeignComment, 0, detachedForeignComment, 1], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 36,18: resulting range position for range [detachedForeignComment, 0, detachedForeignComment, 1], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 36,19: resulting DOM for range [detachedForeignComment, 0, detachedForeignComment, 1], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 36,19: resulting range position for range [detachedForeignComment, 0, detachedForeignComment, 1], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 36,20: resulting DOM for range [detachedForeignComment, 0, detachedForeignComment, 1], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 36,20: resulting range position for range [detachedForeignComment, 0, detachedForeignComment, 1], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 36,21: resulting DOM for range [detachedForeignComment, 0, detachedForeignComment, 1], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 36,21: resulting range position for range [detachedForeignComment, 0, detachedForeignComment, 1], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 36,22: resulting DOM for range [detachedForeignComment, 0, detachedForeignComment, 1], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 36,22: resulting range position for range [detachedForeignComment, 0, detachedForeignComment, 1], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 37,0: resulting DOM for range [detachedXmlComment, 2, detachedXmlComment, 6], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 37,0: resulting range position for range [detachedXmlComment, 2, detachedXmlComment, 6], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 37,1: resulting DOM for range [detachedXmlComment, 2, detachedXmlComment, 6], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 37,1: resulting range position for range [detachedXmlComment, 2, detachedXmlComment, 6], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 37,2: resulting DOM for range [detachedXmlComment, 2, detachedXmlComment, 6], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 37,2: resulting range position for range [detachedXmlComment, 2, detachedXmlComment, 6], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 37,3: resulting DOM for range [detachedXmlComment, 2, detachedXmlComment, 6], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 37,3: resulting range position for range [detachedXmlComment, 2, detachedXmlComment, 6], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 37,4: resulting DOM for range [detachedXmlComment, 2, detachedXmlComment, 6], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 37,4: resulting range position for range [detachedXmlComment, 2, detachedXmlComment, 6], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 37,5: resulting DOM for range [detachedXmlComment, 2, detachedXmlComment, 6], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 37,5: resulting range position for range [detachedXmlComment, 2, detachedXmlComment, 6], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 37,6: resulting DOM for range [detachedXmlComment, 2, detachedXmlComment, 6], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 37,6: resulting range position for range [detachedXmlComment, 2, detachedXmlComment, 6], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 37,7: resulting DOM for range [detachedXmlComment, 2, detachedXmlComment, 6], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 37,7: resulting range position for range [detachedXmlComment, 2, detachedXmlComment, 6], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 37,8: resulting DOM for range [detachedXmlComment, 2, detachedXmlComment, 6], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 37,8: resulting range position for range [detachedXmlComment, 2, detachedXmlComment, 6], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(6, 6, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 37,9: resulting DOM for range [detachedXmlComment, 2, detachedXmlComment, 6], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 37,9: resulting range position for range [detachedXmlComment, 2, detachedXmlComment, 6], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 37,10: resulting DOM for range [detachedXmlComment, 2, detachedXmlComment, 6], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 37,10: resulting range position for range [detachedXmlComment, 2, detachedXmlComment, 6], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(6, 6, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 37,11: resulting DOM for range [detachedXmlComment, 2, detachedXmlComment, 6], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 37,11: resulting range position for range [detachedXmlComment, 2, detachedXmlComment, 6], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 37,12: resulting DOM for range [detachedXmlComment, 2, detachedXmlComment, 6], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 37,12: resulting range position for range [detachedXmlComment, 2, detachedXmlComment, 6], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(6, 6, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 37,13: resulting DOM for range [detachedXmlComment, 2, detachedXmlComment, 6], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 37,13: resulting range position for range [detachedXmlComment, 2, detachedXmlComment, 6], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 37,14: resulting DOM for range [detachedXmlComment, 2, detachedXmlComment, 6], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 37,14: resulting range position for range [detachedXmlComment, 2, detachedXmlComment, 6], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 37,15: resulting DOM for range [detachedXmlComment, 2, detachedXmlComment, 6], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 37,15: resulting range position for range [detachedXmlComment, 2, detachedXmlComment, 6], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 37,16: resulting DOM for range [detachedXmlComment, 2, detachedXmlComment, 6], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 37,16: resulting range position for range [detachedXmlComment, 2, detachedXmlComment, 6], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 37,17: resulting DOM for range [detachedXmlComment, 2, detachedXmlComment, 6], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 37,17: resulting range position for range [detachedXmlComment, 2, detachedXmlComment, 6], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 37,18: resulting DOM for range [detachedXmlComment, 2, detachedXmlComment, 6], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 37,18: resulting range position for range [detachedXmlComment, 2, detachedXmlComment, 6], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 37,19: resulting DOM for range [detachedXmlComment, 2, detachedXmlComment, 6], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 37,19: resulting range position for range [detachedXmlComment, 2, detachedXmlComment, 6], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(2, 2, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 37,20: resulting DOM for range [detachedXmlComment, 2, detachedXmlComment, 6], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 37,20: resulting range position for range [detachedXmlComment, 2, detachedXmlComment, 6], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(6, 6, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 37,21: resulting DOM for range [detachedXmlComment, 2, detachedXmlComment, 6], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 37,21: resulting range position for range [detachedXmlComment, 2, detachedXmlComment, 6], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(6, 6, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 37,22: resulting DOM for range [detachedXmlComment, 2, detachedXmlComment, 6], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 37,22: resulting range position for range [detachedXmlComment, 2, detachedXmlComment, 6], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(2, 2, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(6, 6, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #comment but got #comment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 38,0: resulting DOM for range [docfrag, 0, docfrag, 0], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 38,0: resulting range position for range [docfrag, 0, docfrag, 0], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document-fragment but got #document-fragment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 38,1: resulting DOM for range [docfrag, 0, docfrag, 0], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 38,1: resulting range position for range [docfrag, 0, docfrag, 0], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document-fragment but got #document-fragment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 38,2: resulting DOM for range [docfrag, 0, docfrag, 0], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 38,2: resulting range position for range [docfrag, 0, docfrag, 0], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Ijklmnop ", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document-fragment but got #document-fragment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 38,3: resulting DOM for range [docfrag, 0, docfrag, 0], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 38,3: resulting range position for range [docfrag, 0, docfrag, 0], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "1234", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "1234", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document-fragment but got #document-fragment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 38,4: resulting DOM for range [docfrag, 0, docfrag, 0], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 38,4: resulting range position for range [docfrag, 0, docfrag, 0], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document-fragment but got #document-fragment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 38,5: resulting DOM for range [docfrag, 0, docfrag, 0], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 38,5: resulting range position for range [docfrag, 0, docfrag, 0], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Efghijkl", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document-fragment but got #document-fragment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 38,6: resulting DOM for range [docfrag, 0, docfrag, 0], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 38,6: resulting range position for range [docfrag, 0, docfrag, 0], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document-fragment but got #document-fragment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 38,7: resulting DOM for range [docfrag, 0, docfrag, 0], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 38,7: resulting range position for range [docfrag, 0, docfrag, 0], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Opqrstuv", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document-fragment but got #document-fragment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 38,8: resulting DOM for range [docfrag, 0, docfrag, 0], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 38,8: resulting range position for range [docfrag, 0, docfrag, 0], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document-fragment but got #document-fragment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 38,9: resulting DOM for range [docfrag, 0, docfrag, 0], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 38,9: resulting range position for range [docfrag, 0, docfrag, 0], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document-fragment but got #document-fragment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 38,10: resulting DOM for range [docfrag, 0, docfrag, 0], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 38,10: resulting range position for range [docfrag, 0, docfrag, 0], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document-fragment but got #document-fragment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 38,11: resulting DOM for range [docfrag, 0, docfrag, 0], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 38,11: resulting range position for range [docfrag, 0, docfrag, 0], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document-fragment but got #document-fragment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 38,12: resulting DOM for range [docfrag, 0, docfrag, 0], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 38,12: resulting range position for range [docfrag, 0, docfrag, 0], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document-fragment but got #document-fragment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 38,13: resulting DOM for range [docfrag, 0, docfrag, 0], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) |
|
Pass | 38,13: resulting range position for range [docfrag, 0, docfrag, 0], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document-fragment but got #document-fragment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 38,14: resulting DOM for range [docfrag, 0, docfrag, 0], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 38,14: resulting range position for range [docfrag, 0, docfrag, 0], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "Uvwxyzab", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document-fragment but got #document-fragment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 38,15: resulting DOM for range [docfrag, 0, docfrag, 0], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 38,15: resulting range position for range [docfrag, 0, docfrag, 0], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "I admit that I harbor doubts about whether we really need so many things to test, but it's too late to stop now.", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document-fragment but got #document-fragment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 38,16: resulting DOM for range [docfrag, 0, docfrag, 0], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 38,16: resulting range position for range [docfrag, 0, docfrag, 0], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document-fragment but got #document-fragment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 38,17: resulting DOM for range [docfrag, 0, docfrag, 0], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 38,17: resulting range position for range [docfrag, 0, docfrag, 0], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document-fragment but got #document-fragment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 38,18: resulting DOM for range [docfrag, 0, docfrag, 0], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 38,18: resulting range position for range [docfrag, 0, docfrag, 0], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document-fragment but got #document-fragment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 38,19: resulting DOM for range [docfrag, 0, docfrag, 0], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 38,19: resulting range position for range [docfrag, 0, docfrag, 0], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(1, 1, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document-fragment but got #document-fragment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 38,20: resulting DOM for range [docfrag, 0, docfrag, 0], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 38,20: resulting range position for range [docfrag, 0, docfrag, 0], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document-fragment but got #document-fragment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 38,21: resulting DOM for range [docfrag, 0, docfrag, 0], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 38,21: resulting range position for range [docfrag, 0, docfrag, 0], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document-fragment but got #document-fragment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 38,22: resulting DOM for range [docfrag, 0, docfrag, 0], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 38,22: resulting range position for range [docfrag, 0, docfrag, 0], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected #document-fragment but got #document-fragment")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0", "0", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 39,0: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ </p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 39,0: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node paras[0] | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p id="a"></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected somepi but got somepi")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-2", "0-2", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 39,1: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 39,1: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node paras[0].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Äb̈c̈d̈ëf̈g̈ḧ ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected somepi but got somepi")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-2", "0-2", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 39,2: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 39,2: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node paras[1].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Ijklmnop ", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected somepi but got somepi")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-2", "0-2", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 39,3: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 39,3: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node paras[5].firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Node object of unknown type, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected somepi but got somepi")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-2", "0-2", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 39,4: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Efghijkl</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 39,4: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node foreignPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected somepi but got somepi")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-2", "0-2", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 39,5: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 39,5: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node foreignPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Efghijkl", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected somepi but got somepi")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-2", "0-2", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 39,6: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Opqrstuv</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 39,6: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node detachedPara1 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected somepi but got somepi")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-2", "0-2", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 39,7: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 39,7: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node detachedPara1.firstChild | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Opqrstuv", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected somepi but got somepi")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-2", "0-2", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 39,8: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 39,8: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node document | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 2 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(4, 4, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected somepi but got somepi")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-2", "0-2", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 39,9: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <div><p>Opqrstuv</p><p>Wxyzabcd</p></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 39,9: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node detachedDiv | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <div></div>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected somepi but got somepi")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-2", "0-2", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 39,10: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 39,10: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node foreignDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 3 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(4, 4, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected somepi but got somepi")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-2", "0-2", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 39,11: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <p>Mnopqrst</p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 39,11: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node foreignPara2 | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <p></p>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected somepi but got somepi")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-2", "0-2", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 39,12: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 39,12: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node xmlDoc | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Document node with 4 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(4, 4, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected somepi but got somepi")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-2", "0-2", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 39,13: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames>do re mi fa so la ti</igiveuponcr..., null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 39,13: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node xmlElement | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Element node <igiveuponcreativenames></igiveuponcreativenames>, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected somepi but got somepi")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-2", "0-2", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 39,14: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 39,14: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node detachedTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "Uvwxyzab", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected somepi but got somepi")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-2", "0-2", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 39,15: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 39,15: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node foreignTextNode | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Text node "I admit that I harbor doubts about whether we really need...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected somepi but got somepi")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-2", "0-2", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 39,16: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "Did you know that \":syn sync fromstart\" is very useful wh...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(1, 1, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 39,16: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node processingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "somePI" and data "you know that \":syn sync fromstart\" is very useful when u...", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected somepi but got somepi")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-2", "0-2", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 39,17: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 39,17: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node detachedProcessingInstruction | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(ProcessingInstruction node with target "whippoorwill" and data "chirp chirp chirp", null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected somepi but got somepi")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-2", "0-2", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 39,18: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 39,18: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node comment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Alphabet soup?-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected somepi but got somepi")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-2", "0-2", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 39,19: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("HIERARCHY_REQUEST_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A HIERARCHY_REQUEST_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 39,19: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node detachedComment | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(Comment node <!--Stuvwxyz-->, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(0, 0, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected somepi but got somepi")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-2", "0-2", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 39,20: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 39,20: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node docfrag | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentFragment node with 0 children, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(4, 4, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected somepi but got somepi")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-2", "0-2", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 39,21: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 39,21: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node doctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(4, 4, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected somepi but got somepi")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-2", "0-2", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|
Pass | 39,22: resulting DOM for range [processingInstruction, 0, processingInstruction, 4], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:122:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:124:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:126:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:128:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:130:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:132:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:134:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:136:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:138:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:140:5) | Pass | assert_equals(2, 2, "Either the actual node and actual range are in the same tree but the expected are in different trees, or vice versa")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:157:5) | Pass | assert_throws_dom("INVALID_NODE_TYPE_ERR", function "function DOMException() { [native code] }", function "function() { try { actualRange.surroundContents(actualNode); } catch (e) { if (expectedDoctype != expectedIframe.contentDocument.firstChild) { expectedIframe.contentDocument.insertBefore(expectedDoctype, expectedIframe.contentDocument.firstChild); } if (actualDoctype != actualIframe.contentDocument.firstChild) { actualIframe.contentDocument.insertBefore(actualDoctype, actualIframe.contentDocument.firstChild); } throw e; } }", "A INVALID_NODE_TYPE_ERR must be thrown in this case")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:184:7) |
|
Pass | 39,22: resulting range position for range [processingInstruction, 0, processingInstruction, 4], node foreignDoctype | Asserts runPass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for actual surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:219:5) | Pass | assert_equals(null, null, "Unexpected exception thrown when setting up Range for simulated surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:221:5) | Pass | assert_equals("object", "object", "typeof Range produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:223:5) | Pass | assert_not_equals(object "", null, "Range produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:225:5) | Pass | assert_equals("object", "object", "typeof Range produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:227:5) | Pass | assert_not_equals(object "", null, "Range produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:229:5) | Pass | assert_equals("object", "object", "typeof Node produced in actual iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:231:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in actual iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:233:5) | Pass | assert_equals("object", "object", "typeof Node produced in expected iframe")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:235:5) | Pass | assert_not_equals(DocumentType node, null, "Node produced in expected iframe was null")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:237:5) | Pass | assert_equals(0, 0, "Unexpected startOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:244:5) | Pass | assert_equals(4, 4, "Unexpected endOffset after surroundContents()")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:246:5) | Pass | assert_true(true, "Unexpected startContainer after surroundContents(), expected somepi but got somepi")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:252:5) | Pass | assert_equals("0-2", "0-2", "startContainer superficially looks right but is actually the wrong node if you trace back its index in all its ancestors (I'm surprised this actually happened")
at Test.<anonymous> ( /dom/ranges/Range-surroundContents.html:269:5) |
|