Commit 8ca7245d authored by kalman@chromium.org's avatar kalman@chromium.org

Remove the "content_script" context from a number of APIs that shouldn't be

exposed to content scripts.

In some cases this dates way back pre-features to when they were incorrectly
first added with an {"unprivileged": true} annotation, like runtime.reload().

R=asargent@chromium.org

Review URL: https://codereview.chromium.org/375173002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282153 0039d316-1c4b-4281-b951-d872f2087c98
parent 21e41f9e
......@@ -67,7 +67,7 @@
"noparent": true,
"internal": true,
"channel": "stable",
"contexts": ["blessed_extension", "unblessed_extension", "content_script"]
"contexts": ["blessed_extension"]
},
"app.currentWindowInternal.setShape": {
"dependencies": ["permission:app.window.shape"],
......@@ -274,7 +274,7 @@
"downloadsInternal": {
"internal": true,
"channel": "stable",
"contexts": ["blessed_extension", "unblessed_extension", "content_script"]
"contexts": ["blessed_extension"]
},
"echoPrivate": {
"dependencies": ["permission:echoPrivate"],
......
......@@ -73,19 +73,12 @@
"runtime.onMessage": {
"contexts": ["blessed_extension", "unblessed_extension", "content_script"]
},
"runtime.reload": {
"contexts": ["blessed_extension", "unblessed_extension", "content_script"]
},
"runtime.requestUpdateCheck": {
"contexts": ["blessed_extension", "unblessed_extension", "content_script"]
},
"runtime.sendMessage": {
"contexts": "all",
"matches": ["<all_urls>"]
},
"runtime.setUninstallURL": {
"channel": "dev",
"contexts": ["blessed_extension", "unblessed_extension", "content_script"]
"channel": "dev"
},
"socket": {
"dependencies": ["permission:socket"],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment