New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 895868 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Oct 19
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 1
Type: Bug

Blocking:
issue 882045



Sign in to add a comment

Extensions: Remove webstore from the features files

Project Member Reported by rdevlin....@chromium.org, Oct 16

Issue description

We should remove the "webstore" entry in the features files, so that chrome.webstore is no longer defined.  Since the C++ is gone, it wouldn't work anyway, but we shouldn't be exposing the object in JS at all.

This will be a small targeted patch that can be merged to M71.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Oct 18

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/0d2282fa4c56aa7cef16b58c1fac6777874fbdc8

commit 0d2282fa4c56aa7cef16b58c1fac6777874fbdc8
Author: Devlin Cronin <rdevlin.cronin@chromium.org>
Date: Thu Oct 18 21:08:36 2018

[Extensions] Remove the webstore API feature

The chrome.webstore API is used (exclusively) for inline install, which
is deprecated and to be removed in M71. [1] Remove the webstore entry
from the extensions features files; this will result in chrome.webstore
being undefined for all JS contexts.

[1] https://blog.chromium.org/2018/06/improving-extension-transparency-for.html

Bug:  895868 

Change-Id: Idce382e5dd967a22ba779204d63e1ec509493ff4
Reviewed-on: https://chromium-review.googlesource.com/c/1283485
Reviewed-by: Karan Bhatia <karandeepb@chromium.org>
Commit-Queue: Devlin <rdevlin.cronin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#600906}
[modify] https://crrev.com/0d2282fa4c56aa7cef16b58c1fac6777874fbdc8/chrome/common/extensions/api/_api_features.json
[modify] https://crrev.com/0d2282fa4c56aa7cef16b58c1fac6777874fbdc8/extensions/renderer/extension_bindings_system.cc
[modify] https://crrev.com/0d2282fa4c56aa7cef16b58c1fac6777874fbdc8/extensions/renderer/extension_bindings_system.h

Labels: Merge-Approved-71
Status: Fixed (was: Started)
This should be fixed.  Requesting merge to M71.  This is a small, isolated change that should be safe.  I'll wait 24 hours before merging to make sure nothing crops up.
Labels: -Merge-Approved-71 Merge-Request-71
(wrong merge label)
Labels: -Merge-Request-71 Merge-Approved-71
Approving merge to M71 branch 3578 based on comment #2. 
Pls merge your change to M71 branch #3578 by Monday morning PT (if change looks good in canary) so we can pick it up for next M71 Beta release. Thank you.
Project Member

Comment 5 by bugdroid1@chromium.org, Oct 19

Labels: -merge-approved-71 merge-merged-3578
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/ff20d4a876f72f5cdda59e75544f62aa85f74380

commit ff20d4a876f72f5cdda59e75544f62aa85f74380
Author: Devlin Cronin <rdevlin.cronin@chromium.org>
Date: Fri Oct 19 22:43:58 2018

[M71][Extensions] Remove the webstore API feature

The chrome.webstore API is used (exclusively) for inline install, which
is deprecated and to be removed in M71. [1] Remove the webstore entry
from the extensions features files; this will result in chrome.webstore
being undefined for all JS contexts.

[1] https://blog.chromium.org/2018/06/improving-extension-transparency-for.html

Bug:  895868 

TBR=rdevlin.cronin@chromium.org

(cherry picked from commit 0d2282fa4c56aa7cef16b58c1fac6777874fbdc8)

Change-Id: Idce382e5dd967a22ba779204d63e1ec509493ff4
Reviewed-on: https://chromium-review.googlesource.com/c/1283485
Reviewed-by: Karan Bhatia <karandeepb@chromium.org>
Commit-Queue: Devlin <rdevlin.cronin@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#600906}
Reviewed-on: https://chromium-review.googlesource.com/c/1292394
Reviewed-by: Devlin <rdevlin.cronin@chromium.org>
Cr-Commit-Position: refs/branch-heads/3578@{#175}
Cr-Branched-From: 4226ddf99103e493d7afb23a4c7902ee496108b6-refs/heads/master@{#599034}
[modify] https://crrev.com/ff20d4a876f72f5cdda59e75544f62aa85f74380/chrome/common/extensions/api/_api_features.json
[modify] https://crrev.com/ff20d4a876f72f5cdda59e75544f62aa85f74380/extensions/renderer/extension_bindings_system.cc
[modify] https://crrev.com/ff20d4a876f72f5cdda59e75544f62aa85f74380/extensions/renderer/extension_bindings_system.h

Labels: Merge-Merged-71-3578
The following revision refers to this bug: 
https://chromium.googlesource.com/chromium/src.git/+/ff20d4a876f72f5cdda59e75544f62aa85f74380

Commit: ff20d4a876f72f5cdda59e75544f62aa85f74380
Author: rdevlin.cronin@chromium.org
Commiter: rdevlin.cronin@chromium.org
Date: 2018-10-19 22:43:58 +0000 UTC

[M71][Extensions] Remove the webstore API feature

The chrome.webstore API is used (exclusively) for inline install, which
is deprecated and to be removed in M71. [1] Remove the webstore entry
from the extensions features files; this will result in chrome.webstore
being undefined for all JS contexts.

[1] https://blog.chromium.org/2018/06/improving-extension-transparency-for.html

Bug:  895868 

TBR=rdevlin.cronin@chromium.org

(cherry picked from commit 0d2282fa4c56aa7cef16b58c1fac6777874fbdc8)

Change-Id: Idce382e5dd967a22ba779204d63e1ec509493ff4
Reviewed-on: https://chromium-review.googlesource.com/c/1283485
Reviewed-by: Karan Bhatia <karandeepb@chromium.org>
Commit-Queue: Devlin <rdevlin.cronin@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#600906}
Reviewed-on: https://chromium-review.googlesource.com/c/1292394
Reviewed-by: Devlin <rdevlin.cronin@chromium.org>
Cr-Commit-Position: refs/branch-heads/3578@{#175}
Cr-Branched-From: 4226ddf99103e493d7afb23a4c7902ee496108b6-refs/heads/master@{#599034}

Sign in to add a comment