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 cca22626a9b134f0b6db2475f74323f71ff1ca4f..f566039e5c1cd44da87e491f062f82214ff9ef2d 100644 |
--- a/chrome/test/data/extensions/platform_apps/restrictions/main.js |
+++ b/chrome/test/data/extensions/platform_apps/restrictions/main.js |
@@ -67,13 +67,9 @@ chrome.test.runTests([ |
assertEq('undefined', typeof(history.forward)); |
assertEq('undefined', typeof(history.go)); |
assertEq('undefined', typeof(history.length)); |
- |
- // These are part of the HTML5 History API that are feature detected, so we |
- // remove them altogether, allowing apps to have fallback behavior. |
- chrome.test.assertFalse('pushState' in history); |
- chrome.test.assertFalse('replaceState' in history); |
- chrome.test.assertFalse('state' in history); |
- |
+ assertEq('undefined', typeof(history.pushState)); |
+ assertEq('undefined', typeof(history.replaceState)); |
+ assertEq('undefined', typeof(history.state)); |
succeed(); |
}, |