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

Issue 1716513002: [Extensions] Update web API cloberring for platform apps (Closed)

Created:
4 years, 10 months ago by Devlin
Modified:
4 years, 10 months ago
Reviewers:
robwu
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Extensions] Update web API cloberring for platform apps Platform App clobbering for certain Web APIs was incomplete. Make it more complete. See bug for more details. BUG=585282 Committed: https://crrev.com/dc42ae208c2744f7fb144b2e396358a1fc34db87 Cr-Commit-Position: refs/heads/master@{#376784}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : #

Total comments: 3

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -17 lines) Patch
A chrome/browser/extensions/app_window_overrides_browsertest.cc View 1 chunk +29 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/extensions/app_forbidden_apis/document_apis/background.js View 1 chunk +17 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/app_forbidden_apis/document_apis/manifest.json View 1 chunk +9 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/app_forbidden_apis/onbeforeunload/background.js View 1 2 3 1 chunk +37 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/app_forbidden_apis/onbeforeunload/manifest.json View 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/platform_apps/restrictions/main.js View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M extensions/renderer/resources/platform_app.js View 1 2 3 6 chunks +36 lines, -13 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
Devlin
Heya Rob, mind taking a look?
4 years, 10 months ago (2016-02-19 01:12:29 UTC) #3
robwu
It might also be a good idea to check whether the property/method exists, using $Object.getOwnPropertyDescriptor(obj, ...
4 years, 10 months ago (2016-02-19 10:38:01 UTC) #4
Devlin
On 2016/02/19 10:38:01, robwu wrote: > It might also be a good idea to check ...
4 years, 10 months ago (2016-02-19 20:44:00 UTC) #5
robwu
https://codereview.chromium.org/1716513002/diff/40001/extensions/renderer/resources/platform_app.js File extensions/renderer/resources/platform_app.js (right): https://codereview.chromium.org/1716513002/diff/40001/extensions/renderer/resources/platform_app.js#newcode225 extensions/renderer/resources/platform_app.js:225: if ((type + '') === 'unload' || (type + ...
4 years, 10 months ago (2016-02-19 21:22:53 UTC) #6
Devlin
https://codereview.chromium.org/1716513002/diff/40001/extensions/renderer/resources/platform_app.js File extensions/renderer/resources/platform_app.js (right): https://codereview.chromium.org/1716513002/diff/40001/extensions/renderer/resources/platform_app.js#newcode225 extensions/renderer/resources/platform_app.js:225: if ((type + '') === 'unload' || (type + ...
4 years, 10 months ago (2016-02-19 22:05:09 UTC) #7
robwu
https://codereview.chromium.org/1716513002/diff/40001/extensions/renderer/resources/platform_app.js File extensions/renderer/resources/platform_app.js (right): https://codereview.chromium.org/1716513002/diff/40001/extensions/renderer/resources/platform_app.js#newcode225 extensions/renderer/resources/platform_app.js:225: if ((type + '') === 'unload' || (type + ...
4 years, 10 months ago (2016-02-19 22:32:15 UTC) #8
Devlin
https://codereview.chromium.org/1716513002/diff/60001/extensions/renderer/resources/platform_app.js File extensions/renderer/resources/platform_app.js (right): https://codereview.chromium.org/1716513002/diff/60001/extensions/renderer/resources/platform_app.js#newcode225 extensions/renderer/resources/platform_app.js:225: // to pass in something that evals to 'load' ...
4 years, 10 months ago (2016-02-19 23:23:11 UTC) #10
robwu
lgtm
4 years, 10 months ago (2016-02-19 23:35:16 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1716513002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1716513002/120001
4 years, 10 months ago (2016-02-22 18:44:32 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:120001)
4 years, 10 months ago (2016-02-22 20:09:34 UTC) #15
commit-bot: I haz the power
4 years, 10 months ago (2016-02-22 20:11:02 UTC) #17
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/dc42ae208c2744f7fb144b2e396358a1fc34db87
Cr-Commit-Position: refs/heads/master@{#376784}

Powered by Google App Engine
This is Rietveld 408576698