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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-sync-content-nodejs.html

Issue 2542073002: DevTools: [Persistence] validate persistence binding. (Closed)
Patch Set: rebaseline tests 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-sync-content-nodejs.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-sync-content-nodejs.html b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-sync-content-nodejs.html
index 53350bc4e08ab9c51b8418e8b3efdc384286cf06..04dfca8678ed40c3e7c91429ae5b85c3657c4e0b 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-sync-content-nodejs.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-sync-content-nodejs.html
@@ -52,9 +52,9 @@ function test()
var testSuite = [
function addNetworkUISourceCodeRevision(next)
{
- nodeContent = nodeContent.replace("//TODO", "network();\n//TODO");
+ var newContent = nodeContent.replace("//TODO", "network();\n//TODO");
InspectorTest.addSniffer(Persistence.Persistence.prototype, "_contentSyncedForTest", onSynced);
- binding.network.addRevision(nodeContent);
+ binding.network.addRevision(newContent);
function onSynced()
{
@@ -65,9 +65,9 @@ function test()
function setNetworkUISourceCodeWorkingCopy(next)
{
- nodeContent = nodeContent.replace("//TODO", "workingCopy1();\n//TODO");
+ var newContent = nodeContent.replace("//TODO", "workingCopy1();\n//TODO");
InspectorTest.addSniffer(Persistence.Persistence.prototype, "_contentSyncedForTest", onSynced);
- binding.network.setWorkingCopy(nodeContent);
+ binding.network.setWorkingCopy(newContent);
function onSynced()
{
@@ -78,9 +78,9 @@ function test()
function changeFileSystemFile(next)
{
- fsContent = fsContent.replace("//TODO", "filesystem();\n//TODO");
+ var newContent = fsContent.replace("//TODO", "filesystem();\n//TODO");
InspectorTest.addSniffer(Persistence.Persistence.prototype, "_contentSyncedForTest", onSynced);
- fsEntry.setContent(fsContent);
+ fsEntry.setContent(newContent);
function onSynced()
{
@@ -91,9 +91,9 @@ function test()
function setFileSystemUISourceCodeWorkingCopy(next)
{
- nodeContent = fsContent.replace("//TODO", "workingCopy2();\n//TODO");
+ var newContent = fsContent.replace("//TODO", "workingCopy2();\n//TODO");
InspectorTest.addSniffer(Persistence.Persistence.prototype, "_contentSyncedForTest", onSynced);
- binding.fileSystem.setWorkingCopy(nodeContent);
+ binding.fileSystem.setWorkingCopy(newContent);
function onSynced()
{

Powered by Google App Engine
This is Rietveld 408576698