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

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

Issue 2893523002: DevTools: make StyleSourceMapping in charge of managing UISourceCodes (Closed)
Patch Set: address comments Created 3 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 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 7f1f33a0ff65ae6f82accdf141bdc27ae8c44432..d48e7640986f537fe3204127b8874d3ba199321e 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
@@ -31,7 +31,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()
@@ -42,12 +42,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