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

Issue 10545070: Make platform app restrictions more robust. (Closed)

Created:
8 years, 6 months ago by Evan Stade
Modified:
8 years, 6 months ago
CC:
chromium-reviews, mihaip-chromium-reviews_chromium.org, jochen+watch-content_chromium.org, jeremya+watch_chromium.org, jam, joi+watch-content_chromium.org, Aaron Boodman, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Make platform app restrictions more robust. Most of these are disabled in C++ anyway, but this layer of protection was leaky. It allowed, for example, Window.prototype.find.apply(window, ['string']); BUG=130835 TEST=PlatformAppBrowserTest.Restrictions Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=141156

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : remove debugging code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -30 lines) Patch
M chrome/renderer/resources/extensions/platform_app.js View 1 3 chunks +14 lines, -13 lines 0 comments Download
M chrome/test/data/extensions/platform_apps/restrictions/test.js View 1 3 chunks +19 lines, -17 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Evan Stade
(as an aside, I'm not sure why find is even disabled --- it doesn't actually ...
8 years, 6 months ago (2012-06-07 21:35:17 UTC) #1
Mihai Parparita -not on Chrome
8 years, 6 months ago (2012-06-07 21:43:02 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698