|
Ensure that privates are private.
- Remove JS code injection functionality from UtilsNativeHandler.
- Ensure that utils.expose only exposes public properties.
- Prevent privates from getting poisoned via arbitrary constructor invocations.
- Prevent privates from leaking through prototypes.
BUG= 603748
Committed: https://crrev.com/77e0fbe12e32b16d5c1d7c0380b45fde363004b2
Cr-Commit-Position: refs/heads/master@{#389292}
Total comments: 4
Total comments: 9
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+285 lines, -207 lines) |
Patch |
|
M |
chrome/renderer/resources/extensions/automation/automation_event.js
|
View
|
1
2
3
|
1 chunk |
+15 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/resources/extensions/automation/automation_node.js
|
View
|
1
2
3
|
1 chunk |
+51 lines, -40 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/resources/extensions/enterprise_platform_keys/key_pair.js
|
View
|
1
2
3
|
1 chunk |
+11 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/resources/extensions/enterprise_platform_keys/subtle_crypto.js
|
View
|
1
2
3
|
2 chunks |
+12 lines, -9 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/resources/extensions/enterprise_platform_keys/token.js
|
View
|
1
2
3
|
1 chunk |
+11 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/resources/extensions/platform_keys/key.js
|
View
|
1
2
3
|
1 chunk |
+11 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/resources/extensions/platform_keys/subtle_crypto.js
|
View
|
1
2
3
|
1 chunk |
+12 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/resources/extensions/web_view/chrome_web_view.js
|
View
|
1
2
3
|
4 chunks |
+14 lines, -6 lines |
0 comments
|
Download
|
|
M |
extensions/renderer/module_system.cc
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
extensions/renderer/module_system_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
extensions/renderer/resources/event.js
|
View
|
1
2
3
4
|
1 chunk |
+16 lines, -11 lines |
0 comments
|
Download
|
|
M |
extensions/renderer/resources/messaging.js
|
View
|
1
2
3
|
1 chunk |
+14 lines, -9 lines |
0 comments
|
Download
|
|
M |
extensions/renderer/resources/utils.js
|
View
|
1
2
3
4
5
6
|
5 chunks |
+65 lines, -16 lines |
0 comments
|
Download
|
|
M |
extensions/renderer/resources/web_request_internal_custom_bindings.js
|
View
|
1
2
3
|
1 chunk |
+14 lines, -11 lines |
0 comments
|
Download
|
|
M |
extensions/renderer/safe_builtins.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
extensions/renderer/utils_native_handler.h
|
View
|
1
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
extensions/renderer/utils_native_handler.cc
|
View
|
1
|
3 chunks |
+0 lines, -65 lines |
0 comments
|
Download
|
|
M |
extensions/test/data/utils_unittest.js
|
View
|
1
2
3
4
5
6
|
2 chunks |
+24 lines, -14 lines |
0 comments
|
Download
|
Total messages: 27 (9 generated)
|