Index: third_party/WebKit/Source/devtools/front_end/Tests.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/Tests.js b/third_party/WebKit/Source/devtools/front_end/Tests.js |
index 8ec346af5fb13b829910bf0dbe8afc0a9bbc8d53..23a75451f7f621aec4b0d255e75cc84421718f67 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/Tests.js |
+++ b/third_party/WebKit/Source/devtools/front_end/Tests.js |
@@ -871,6 +871,12 @@ |
Bindings.TempFile.ensureTempStorageCleared().then(() => this.releaseControl()); |
}; |
+ TestSuite.prototype.testTempFile = function() { |
+ this.takeControl(); |
+ Bindings.TempFile.create('test-file', 'test') |
+ .then(() => this.releaseControl(), (error) => this.fail(String(error))); |
+ }; |
+ |
TestSuite.prototype.waitForTestResultsInConsole = function() { |
var messages = SDK.multitargetConsoleModel.messages(); |
for (var i = 0; i < messages.length; ++i) { |