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

Unified Diff: chrome/test/data/extensions/platform_apps/restrictions/main.js

Issue 1716513002: [Extensions] Update web API cloberring for platform apps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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: chrome/test/data/extensions/platform_apps/restrictions/main.js
diff --git a/chrome/test/data/extensions/platform_apps/restrictions/main.js b/chrome/test/data/extensions/platform_apps/restrictions/main.js
index cd7ddd5d9283d6a758d9b7ee2f13016ebb3e7600..856b0c83dd82190979c798f425d7955a3ce0da56 100644
--- a/chrome/test/data/extensions/platform_apps/restrictions/main.js
+++ b/chrome/test/data/extensions/platform_apps/restrictions/main.js
@@ -74,28 +74,28 @@ chrome.test.runTests([
},
function testWindowFind() {
- assertEq('undefined', typeof(Window.prototype.find('needle')));
+ assertEq('undefined', typeof(Window.prototype.find));
assertEq('undefined', typeof(window.find('needle')));
assertEq('undefined', typeof(find('needle')));
succeed();
},
function testWindowAlert() {
- assertEq('undefined', typeof(Window.prototype.alert()));
+ assertEq('undefined', typeof(Window.prototype.alert));
assertEq('undefined', typeof(window.alert()));
assertEq('undefined', typeof(alert()));
succeed();
},
function testWindowConfirm() {
- assertEq('undefined', typeof(Window.prototype.confirm('Failed')));
+ assertEq('undefined', typeof(Window.prototype.confirm));
assertEq('undefined', typeof(window.confirm('Failed')));
assertEq('undefined', typeof(confirm('Failed')));
succeed();
},
function testWindowPrompt() {
- assertEq('undefined', typeof(Window.prototype.prompt('Failed')));
+ assertEq('undefined', typeof(Window.prototype.prompt));
assertEq('undefined', typeof(window.prompt('Failed')));
assertEq('undefined', typeof(prompt('Failed')));
succeed();

Powered by Google App Engine
This is Rietveld 408576698