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(); |