| OLD | NEW |
| 1 var initialize_PersistenceTest = function() { | 1 var initialize_PersistenceTest = function() { |
| 2 | 2 |
| 3 InspectorTest.preloadModule("persistence"); | 3 InspectorTest.preloadModule("persistence"); |
| 4 InspectorTest.preloadModule("sources"); | 4 InspectorTest.preloadModule("sources"); |
| 5 | 5 |
| 6 Runtime.experiments.enableForTest("persistenceValidation"); |
| 7 |
| 6 Persistence.PersistenceBinding.prototype.toString = function() | 8 Persistence.PersistenceBinding.prototype.toString = function() |
| 7 { | 9 { |
| 8 var lines = [ | 10 var lines = [ |
| 9 "{", | 11 "{", |
| 10 " network: " + this.network.url(), | 12 " network: " + this.network.url(), |
| 11 " fileSystem: " + this.fileSystem.url(), | 13 " fileSystem: " + this.fileSystem.url(), |
| 12 " exactMatch: " + this.exactMatch, | 14 " exactMatch: " + this.exactMatch, |
| 13 "}" | 15 "}" |
| 14 ]; | 16 ]; |
| 15 return lines.join("\n"); | 17 return lines.join("\n"); |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 return uiSourceCode.name() === name && uiSourceCode.project().type() ===
projectType; | 68 return uiSourceCode.name() === name && uiSourceCode.project().type() ===
projectType; |
| 67 } | 69 } |
| 68 } | 70 } |
| 69 | 71 |
| 70 InspectorTest.addFooJSFile = function(fs) | 72 InspectorTest.addFooJSFile = function(fs) |
| 71 { | 73 { |
| 72 return fs.root.mkdir("inspector").mkdir("persistence").mkdir("resources").ad
dFile("foo.js", "\n\nwindow.foo = ()=>'foo';"); | 74 return fs.root.mkdir("inspector").mkdir("persistence").mkdir("resources").ad
dFile("foo.js", "\n\nwindow.foo = ()=>'foo';"); |
| 73 } | 75 } |
| 74 | 76 |
| 75 } | 77 } |
| OLD | NEW |