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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/indexeddb/indexeddb-test.js

Issue 2172753002: [DevTools] No longer store security origins in ResourceTreeModel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed test failures Created 4 years, 5 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/http/tests/inspector/indexeddb/indexeddb-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/indexeddb/indexeddb-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/indexeddb/indexeddb-test.js
index 828bcf4537d8dad543da5e5783d479e2d609946c..19f74ece6398ba7b54d9532b378c4613e96b93ac 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/indexeddb/indexeddb-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/indexeddb/indexeddb-test.js
@@ -98,6 +98,13 @@ InspectorTest.addIDBValue = function(frameId, databaseName, objectStoreName, val
{
InspectorTest.evaluateWithCallback(frameId, "addIDBValue", [databaseName, objectStoreName, value, key], callback)
};
+
+InspectorTest.createIndexedDBModel = function()
+{
+ var indexedDBModel = new WebInspector.IndexedDBModel(WebInspector.targetManager.mainTarget(), InspectorTest.securityOriginManager);
+ indexedDBModel.enable();
+ return indexedDBModel;
+};
};
function dispatchCallback(callbackId)

Powered by Google App Engine
This is Rietveld 408576698