Index: extensions/renderer/resources/platform_app.js |
diff --git a/extensions/renderer/resources/platform_app.js b/extensions/renderer/resources/platform_app.js |
index 280155fcea2bc768b8c74d7d95d143a320ac50ce..b34a303e04895cdc9b248f555682d6428ab6a281 100644 |
--- a/extensions/renderer/resources/platform_app.js |
+++ b/extensions/renderer/resources/platform_app.js |
@@ -153,7 +153,8 @@ disableMethods(HTMLDocument.prototype, 'document', ['write', 'writeln'], true); |
// Disable history. |
Object.defineProperty(window, "history", { value: {} }); |
-disableGetters(window.history, 'history', ['back', 'forward', 'go', 'length']); |
+disableGetters(window.history, 'history', |
+ ['back', 'forward', 'go', 'length', 'pushState', 'replaceState']); |
// Disable find. |
disableMethods(Window.prototype, 'window', ['find']); |