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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-history.html

Issue 2662513003: DevTools: make StylesSourceMapping in charge of creating and removing UISourceCodes (Closed)
Patch Set: move projects under stylessourcemapping 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-history.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-history.html b/third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-history.html
index 84e3443d6cb5910be80221d9a00f37d2b5d092ff..c5a84d14e575b204d80ee37df31bec938cc59d9f 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-history.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-history.html
@@ -32,7 +32,7 @@ function test()
function testSetResourceContentMinor(next)
{
- InspectorTest.addSniffer(Bindings.StyleFile.prototype, "_styleContentSet", styleUpdatedMinor);
+ InspectorTest.addSniffer(Bindings.StyleFile.prototype, "_styleFileSyncedForTest", styleUpdatedMinor);
uiSourceCode.setWorkingCopy("body {\n margin: 15px;\n padding: 10px;\n}");
function styleUpdatedMinor()
@@ -43,12 +43,12 @@ function test()
function testSetResourceContentMajor(next)
{
- InspectorTest.addSniffer(Bindings.StyleFile.prototype, "_styleContentSet", styleUpdatedMinor);
+ InspectorTest.addSniffer(Bindings.StyleFile.prototype, "_styleFileSyncedForTest", styleUpdatedMinor);
uiSourceCode.setWorkingCopy("body {\n margin: 20px;\n padding: 10px;\n}");
function styleUpdatedMinor()
{
- InspectorTest.addSniffer(Bindings.StyleFile.prototype, "_styleContentSet", styleUpdatedMajor);
+ InspectorTest.addSniffer(Bindings.StyleFile.prototype, "_styleFileSyncedForTest", styleUpdatedMajor);
uiSourceCode.commitWorkingCopy(function() { });
function styleUpdatedMajor()

Powered by Google App Engine
This is Rietveld 408576698