3 <script src=
"../../http/tests/inspector/inspector-test.js"></script>
4 <script src=
"../../http/tests/inspector/console-test.js"></script>
9 InspectorTest
.addConsoleViewSniffer(addMessage
, true);
10 InspectorTest
.evaluateInPage("loadIframe()");
11 function addMessage(viewMessage
)
13 if (viewMessage
.toString().indexOf("setTimeout") !== -1)
14 InspectorTest
.expandConsoleMessages(onExpanded
);
19 InspectorTest
.dumpConsoleMessages();
20 InspectorTest
.completeTest();
26 var iframe
= document
.createElement("iframe");
27 iframe
.src
= "resources/uncaught-in-iframe.html";
28 document
.body
.appendChild(iframe
);
34 <body onload=
"runTest()">
36 Tests that uncaught exceptions are logged into console.
<a href=
"https://bugs.webkit.org/show_bug.cgi?id=47250">Bug
47250.
</a>