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

Side by Side Diff: LayoutTests/inspector/styles/css-live-edit.html

Issue 23484056: [DevTools] Renaming Scripts panel to Sources panel (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modified missed files Created 7 years, 3 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 src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/elements-test.js"></script> 4 <script src="../../http/tests/inspector/elements-test.js"></script>
5 <script src="../../http/tests/inspector/live-edit-test.js"></script> 5 <script src="../../http/tests/inspector/live-edit-test.js"></script>
6 <script src="../../http/tests/inspector/debugger-test.js"></script> 6 <script src="../../http/tests/inspector/debugger-test.js"></script>
7 <link rel="stylesheet" href="resources/get-set-stylesheet-text.css"> 7 <link rel="stylesheet" href="resources/get-set-stylesheet-text.css">
8 <div id=foo></div> 8 <div id=foo></div>
9 <script> 9 <script>
10 10
11 function test() 11 function test()
12 { 12 {
13 WebInspector.showPanel("scripts"); 13 WebInspector.showPanel("sources");
14 14
15 InspectorTest.runTestSuite([ 15 InspectorTest.runTestSuite([
16 function testLiveEdit(next) 16 function testLiveEdit(next)
17 { 17 {
18 InspectorTest.showScriptSource("get-set-stylesheet-text.css", didSho wResource); 18 InspectorTest.showScriptSource("get-set-stylesheet-text.css", didSho wResource);
19 19
20 function didShowResource(sourceFrame) 20 function didShowResource(sourceFrame)
21 { 21 {
22 InspectorTest.addSniffer(WebInspector.CSSStyleModel.prototype, " _fireStyleSheetChanged", didEditResource); 22 InspectorTest.addSniffer(WebInspector.CSSStyleModel.prototype, " _fireStyleSheetChanged", didEditResource);
23 InspectorTest.replaceInSource(sourceFrame, "font-size: 12px;", " font-size: 20px;"); 23 InspectorTest.replaceInSource(sourceFrame, "font-size: 12px;", " font-size: 20px;");
(...skipping 15 matching lines...) Expand all
39 39
40 </script> 40 </script>
41 41
42 </head> 42 </head>
43 43
44 <body onload="runTest()"> 44 <body onload="runTest()">
45 <p>Tests that styles are updated when live-editing css resource.</p> 45 <p>Tests that styles are updated when live-editing css resource.</p>
46 46
47 </body> 47 </body>
48 </html> 48 </html>
OLDNEW
« no previous file with comments | « LayoutTests/inspector/filtered-item-selection-dialog-filtering.html ('k') | LayoutTests/inspector/tabbed-editors-history.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698