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

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

Issue 2542073002: DevTools: [Persistence] validate persistence binding. (Closed)
Patch Set: add etst Created 4 years 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/persistence/persistence-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-test.js
index 6d8b302e0679d43bbb34fca16a9eb32a4cc2e030..65bf9c78c008bb0a66f48a7127e01bf9a87d4752 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-test.js
@@ -67,9 +67,11 @@ InspectorTest.waitForUISourceCode = function(name, projectType)
}
}
+InspectorTest.fooJSContent = "\n\nwindow.foo = ()=>'foo';";
+
InspectorTest.addFooJSFile = function(fs)
{
- return fs.root.mkdir("inspector").mkdir("persistence").mkdir("resources").addFile("foo.js", "\n\nwindow.foo = ()=>'foo';");
+ return fs.root.mkdir("inspector").mkdir("persistence").mkdir("resources").addFile("foo.js", InspectorTest.fooJSContent);
}
}

Powered by Google App Engine
This is Rietveld 408576698