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

Unified Diff: LayoutTests/inspector/storage-panel-dom-storage-update.html

Issue 22346003: DevTools: DOMStorage should notify the view about storage modifications instead of DOMStorageModel (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Review comments addressed! Created 7 years, 4 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
« no previous file with comments | « no previous file | Source/devtools/front_end/DOMStorage.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/storage-panel-dom-storage-update.html
diff --git a/LayoutTests/inspector/storage-panel-dom-storage-update.html b/LayoutTests/inspector/storage-panel-dom-storage-update.html
index 92b165fff73163ddcea718f354158943df6240e6..6172b05578d7e200b0776e7bacdc40975fc4199c 100644
--- a/LayoutTests/inspector/storage-panel-dom-storage-update.html
+++ b/LayoutTests/inspector/storage-panel-dom-storage-update.html
@@ -91,7 +91,7 @@ function test()
return;
}
InspectorTest.addResult("");
- InspectorTest.addSniffer(view.domStorageModel, "_domStorageItemAdded", itemAdded);
+ InspectorTest.addSniffer(WebInspector.domStorageModel, "_domStorageItemAdded", itemAdded);
var command = "addItem('key" + index + "', 'value" + index + "');";
InspectorTest.addResult(command);
InspectorTest.evaluateInPage(command);
@@ -118,7 +118,7 @@ function test()
return;
}
InspectorTest.addResult("");
- InspectorTest.addSniffer(view.domStorageModel, "_domStorageItemRemoved", itemRemoved);
+ InspectorTest.addSniffer(WebInspector.domStorageModel, "_domStorageItemRemoved", itemRemoved);
var command = "removeItem('key" + index + "');";
InspectorTest.addResult(command);
InspectorTest.evaluateInPage(command);
@@ -130,7 +130,7 @@ function test()
function updateItemTest(next)
{
InspectorTest.addResult("");
- InspectorTest.addSniffer(view.domStorageModel, "_domStorageItemUpdated", itemUpdated);
+ InspectorTest.addSniffer(WebInspector.domStorageModel, "_domStorageItemUpdated", itemUpdated);
var command = "updateItem('key2', 'VALUE2');";
InspectorTest.addResult(command);
InspectorTest.evaluateInPage(command);
@@ -151,7 +151,7 @@ function test()
}
InspectorTest.addResult("");
- InspectorTest.addSniffer(view.domStorageModel, "_domStorageItemsCleared", itemsCleared);
+ InspectorTest.addSniffer(WebInspector.domStorageModel, "_domStorageItemsCleared", itemsCleared);
var command = "clear()";
InspectorTest.addResult(command);
InspectorTest.evaluateInPage(command);
« no previous file with comments | « no previous file | Source/devtools/front_end/DOMStorage.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698