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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/styles/original-content-provider.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/elements/styles/original-content-provider.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/styles/original-content-provider.html b/third_party/WebKit/LayoutTests/inspector/elements/styles/original-content-provider.html
index 36867078cae31b2831dd26e91399b57824e7a341..8a1d180a95f8966f5e355bf9894164df1d72e643 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/styles/original-content-provider.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/styles/original-content-provider.html
@@ -36,7 +36,7 @@ div {}
function test()
{
- InspectorTest.addSniffer(WebInspector.CSSModel.prototype, "_originalContentRequestedForTest", onOriginalContentRequested, true);
+ InspectorTest.addSniffer(SDK.CSSModel.prototype, "_originalContentRequestedForTest", onOriginalContentRequested, true);
function onOriginalContentRequested(header)
{
InspectorTest.addResult("original content loaded for header: " + header.sourceURL);
@@ -47,7 +47,7 @@ function test()
function testSetStyle(next)
{
var header = headers.find(header => header.sourceURL.endsWith("set-style.css"));
- InspectorTest.cssModel.setStyleText(header.id, new WebInspector.TextRange(1, 5, 1, 18), "EDITED: EDITED", true)
+ InspectorTest.cssModel.setStyleText(header.id, new Common.TextRange(1, 5, 1, 18), "EDITED: EDITED", true)
.then(success => onEdit(header, success))
.then(next);
},
@@ -55,7 +55,7 @@ function test()
function testSetSelector(next)
{
var header = headers.find(header => header.sourceURL.endsWith("set-selector.css"));
- InspectorTest.cssModel.setSelectorText(header.id, new WebInspector.TextRange(1, 0, 1, 3), "EDITED")
+ InspectorTest.cssModel.setSelectorText(header.id, new Common.TextRange(1, 0, 1, 3), "EDITED")
.then(success => onEdit(header, success))
.then(next);
},
@@ -63,7 +63,7 @@ function test()
function testSetMedia(next)
{
var header = headers.find(header => header.sourceURL.endsWith("set-media.css"));
- InspectorTest.cssModel.setMediaText(header.id, new WebInspector.TextRange(1, 7, 1, 12), "EDITED")
+ InspectorTest.cssModel.setMediaText(header.id, new Common.TextRange(1, 7, 1, 12), "EDITED")
.then(success => onEdit(header, success))
.then(next);
},
@@ -71,7 +71,7 @@ function test()
function testSetKeyframeKey(next)
{
var header = headers.find(header => header.sourceURL.endsWith("set-keyframe-key.css"));
- InspectorTest.cssModel.setKeyframeKey(header.id, new WebInspector.TextRange(1, 23, 1, 27), "from")
+ InspectorTest.cssModel.setKeyframeKey(header.id, new Common.TextRange(1, 23, 1, 27), "from")
.then(success => onEdit(header, success))
.then(next);
},
@@ -79,7 +79,7 @@ function test()
function testAddRule(next)
{
var header = headers.find(header => header.sourceURL.endsWith("add-rule.css"));
- InspectorTest.cssModel.addRule(header.id, "EDITED {}\n", new WebInspector.TextRange(1, 0, 1, 0))
+ InspectorTest.cssModel.addRule(header.id, "EDITED {}\n", new Common.TextRange(1, 0, 1, 0))
.then(success => onEdit(header, success))
.then(next);
},

Powered by Google App Engine
This is Rietveld 408576698