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

Issue 11196055: Disable pushState and the rest of the history API in packaged apps via runtime-enabled features (Closed)

Created:
8 years, 2 months ago by Mihai Parparita -not on Chrome
Modified:
8 years, 1 month ago
CC:
chromium-reviews, Aaron Boodman, darin-cc_chromium.org, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Disable pushState and the rest of the history API in packaged apps via runtime-enabled features Chrome Apps do not support the history API (or navigation in general). Since pushState is generally feature detected, it's cleanest to disable it per-document, so that applications can have the appropriate fallback behavior (other history APIs are re-mapped to throw exceptions, since history.back() and the link are not feature detected). Depends on http://webkit.org/b/99780. BUG=146076 R=darin@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=164134

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -5 lines) Patch
M chrome/renderer/chrome_render_view_observer.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/chrome_render_view_observer.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/renderer/resources/extensions/platform_app.js View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/data/extensions/platform_apps/restrictions/main.js View 1 chunk +8 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Mihai Parparita -not on Chrome
8 years, 2 months ago (2012-10-19 00:47:13 UTC) #1
darin (slow to review)
LGTM
8 years, 2 months ago (2012-10-19 04:57:59 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mihaip@chromium.org/11196055/1
8 years, 1 month ago (2012-10-25 17:07:40 UTC) #3
commit-bot: I haz the power
8 years, 1 month ago (2012-10-25 19:13:35 UTC) #4
Change committed as 164134

Powered by Google App Engine
This is Rietveld 408576698