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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector-protocol/runtime-get-properties-doesnt-crash-on-window-frame.html

Issue 2942573003: [DevTools] New harness for inspector-protocol layout tests (Closed)
Patch Set: Protocol -> dp Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script type="text/javascript" src="./inspector-protocol-test.js"></script> 3 <script type="text/javascript" src="./resources/inspector-protocol-test.js"></sc ript>
4 <script> 4 <script>
5 function test() 5 function test()
6 { 6 {
7 InspectorTest.sendCommandPromise("Runtime.evaluate", { expression: "window.f rames[0]" }) 7 InspectorTest.sendCommandPromise("Runtime.evaluate", { expression: "window.f rames[0]" })
8 .then((message) => InspectorTest.sendCommandPromise("Runtime.getProperti es", { objectId: message.result.result.objectId })) 8 .then((message) => InspectorTest.sendCommandPromise("Runtime.getProperti es", { objectId: message.result.result.objectId }))
9 .then(() => InspectorTest.completeTest()); 9 .then(() => InspectorTest.completeTest());
10 } 10 }
11 </script> 11 </script>
12 </head> 12 </head>
13 <body> 13 <body>
14 Tests that Runtime.getProperties doesn't crash on window.frames[0]. Should not c rash. 14 Tests that Runtime.getProperties doesn't crash on window.frames[0]. Should not c rash.
15 <iframe src="data:text/plain, <b>bold</b>" onload="runTest()"></iframe> 15 <iframe src="data:text/plain, <b>bold</b>" onload="runTest()"></iframe>
16 </body> 16 </body>
17 </html> 17 </html>
18 18
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698