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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-execution-contexts-events.html

Issue 2566583002: Change allowed bindings to be per RenderFrame instead of per RenderView. (Closed)
Patch Set: rebase Created 3 years, 10 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
« no previous file with comments | « third_party/WebKit/LayoutTests/FlagExpectations/site-per-process ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-protocol-test.js"></script> 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-protocol-test.js"></script>
4 <script> 4 <script>
5 5
6 function createFrame() 6 function createFrame()
7 { 7 {
8 var frame = document.createElement("iframe"); 8 var frame = document.createElement("iframe");
9 frame.src = "../resources/blank.html"; 9 frame.src = "../resources/blank.html";
10 frame.id = "iframe"; 10 frame.id = "iframe";
11 document.body.appendChild(frame); 11 document.body.appendChild(frame);
12 return new Promise((resolve) => frame.onload = resolve); 12 return new Promise((resolve) => frame.onload = resolve);
13 } 13 }
14 14
15 function createCraftedFrame() 15 function createCraftedFrame()
16 { 16 {
17 var frame = document.createElement("iframe"); 17 var frame = document.createElement("iframe");
18 frame.src = "../resources/blank.html"; 18 frame.src = "../resources/blank.html";
19 frame.id = "crafted-iframe"; 19 frame.id = "crafted-iframe";
20 document.body.appendChild(frame); 20 document.body.appendChild(frame);
21 frame.contentDocument.write("<div>crafted</div>"); 21 frame.contentDocument.write("<div>crafted</div>");
22 frame.contentDocument.close();
22 } 23 }
23 24
24 function test() 25 function test()
25 { 26 {
26 InspectorTest.evaluate = function(expression) 27 InspectorTest.evaluate = function(expression)
27 { 28 {
28 InspectorTest.sendCommandOrDie("Runtime.evaluate", {expression: expressi on}); 29 InspectorTest.sendCommandOrDie("Runtime.evaluate", {expression: expressi on});
29 } 30 }
30 31
31 InspectorTest.fail = function(message) 32 InspectorTest.fail = function(message)
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 break; 145 break;
145 } 146 }
146 } 147 }
147 148
148 } 149 }
149 </script> 150 </script>
150 </head> 151 </head>
151 <body onload="runTest()"> 152 <body onload="runTest()">
152 </body> 153 </body>
153 </html> 154 </html>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/FlagExpectations/site-per-process ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698