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

Side by Side Diff: LayoutTests/inspector-protocol/css/css-set-inline-styleSheetText.html

Issue 1181213007: DevTools: introduce CSS.setStyleText, we'll migrate setPropertyText to it later. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comments addressed Created 5 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 | Annotate | Revision Log
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 type="text/javascript"> 4 <script type="text/javascript">
5 5
6 function test() 6 function test()
7 { 7 {
8 var inlineStyleSheetId; 8 var inlineStyleSheetId;
9 function sendCommand(command, properties, callback) { 9 function sendCommand(command, properties, callback)
lushnikov 2015/06/18 13:34:49 you can remove this and use sendCommandOrDie
pfeldman 2015/06/18 16:38:55 Done.
10 {
10 InspectorTest.sendCommand(command, properties || {}, commandCallback); 11 InspectorTest.sendCommand(command, properties || {}, commandCallback);
11 function commandCallback(msg) 12 function commandCallback(msg)
12 { 13 {
13 if (msg.error) { 14 if (msg.error) {
14 InspectorTest.log(msg.error.message); 15 InspectorTest.log(msg.error.message);
15 InspectorTest.completeTest(); 16 InspectorTest.completeTest();
16 return; 17 return;
17 } 18 }
18 callback(msg.result); 19 callback(msg.result);
19 } 20 }
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 70
70 </script> 71 </script>
71 </head> 72 </head>
72 <body onload="runTest()"> 73 <body onload="runTest()">
73 74
74 <div id="inliner" style="color: red;"> 75 <div id="inliner" style="color: red;">
75 </div> 76 </div>
76 77
77 </body> 78 </body>
78 </html> 79 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698