Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / inspector-enabled / console-clear-arguments-on-frame-remove.html
blobab7463b92aea63d5cc236c3909ce7c0ca6bd3d52
1 <html>
2 <head>
3 <script src="resources/console-clear-arguments-test.js"></script>
4 <script>
5 if (window.testRunner) {
6 testRunner.waitUntilDone();
7 testRunner.dumpAsText();
10 function removeIFrame()
12 var container = document.getElementById('container');
13 var child = container.firstChild;
14 while (child) {
15 container.removeChild(child);
16 child = container.firstChild;
18 dumpConsoleMessageArgumentCounts();
19 if (window.testRunner)
20 testRunner.notifyDone();
23 function createIFrame()
25 var iframe = document.createElement('iframe');
26 iframe.setAttribute('src', 'resources/console-clear-arguments-iframe.html');
27 iframe.onload= removeIFrame;
28 document.getElementById('container').appendChild(iframe);
31 </script>
32 </head>
33 <body onload="createIFrame()">
34 <p>
35 Tests that console message arguments will be cleared when iframe where the messages were
36 created is removed.
37 </p>
38 <div id="container"></div>
39 <div id="output"></div>
40 </body>
41 </html>