3 <script src=
"../../http/tests/inspector/inspector-test.js"></script>
8 InspectorTest
.RuntimeAgent
.evaluate("var doc = document.implementation.createHTMLDocument(''); doc.lastChild.innerHTML = '<span></span>'; doc.lastChild", step1
);
10 function step1(error
, result
, wasThrown
)
12 var spanWrapper
= InspectorTest
.runtimeModel
.createRemoteObject(result
);
13 InspectorTest
.domModel
.pushObjectAsNodeToFrontend(spanWrapper
, step2
);
18 InspectorTest
.assertTrue(node
, "Node object should be resovled");
19 node
.resolveToObject(undefined, step3
);
22 function step3(remoteObject
)
24 InspectorTest
.addResult("Alien node should resolve to null: " + remoteObject
);
25 InspectorTest
.completeTest();
32 <body onload=
"runTest()">
34 Tests that resolveNode from alien document does not crash. https://bugs.webkit.org/show_bug.cgi?id=
71806.