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

Issue 2156803002: [HBD] Remove PluginCache and reload plugin list when origin changes (Closed)

Created:
4 years, 5 months ago by trizzofo
Modified:
4 years, 3 months ago
CC:
blink-reviews, chromium-reviews, Lei Zhang
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Removes PluginCache and reload PluginData's plugin list whenever the origin changes. Use origin url to retrieve new plugin list. This is needed because, after HTML5 by Default is implemented, the plugin list will depend on the current web page url (settings url exceptions). Here is more information about HTML5 by Default: go/hbd-design-doc BUG=626728 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/1c684eba8afc4c730b3ca2e68814e8412020552c Cr-Commit-Position: refs/heads/master@{#415128}

Patch Set 1 #

Patch Set 2 : Use m_refresh for plugin list init #

Patch Set 3 : Set m_refresh to false after plugin list is retrieved #

Total comments: 2

Patch Set 4 : Reload plugin list and send message with an url whenever origin changes #

Total comments: 4

Patch Set 5 : Move stored origin to Page and fix red trybots #

Patch Set 6 : Rename url parameters to main_frame_origin #

Total comments: 8

Patch Set 7 : Address issues pointed in comments #

Total comments: 25

Patch Set 8 : Changes per alexmos@'s comments #

Total comments: 12

Patch Set 9 : Changes per alexmos@'s comments + DOMImplementation::createDocument fix #

Total comments: 8

Patch Set 10 : Rebase #

Patch Set 11 : Move stored SecurityOrigin to PluginData #

Total comments: 2

Patch Set 12 : Changes per alexmos@'s comments #

Total comments: 2

Patch Set 13 : Changes per alexmos@'s comments #

Total comments: 3

Patch Set 14 : Rebase #

Patch Set 15 : Changes per dcheng@'s comment #

Patch Set 16 : Changes per dcheng@'s comment #

Total comments: 2

Patch Set 17 : Changes per dcheng@'s comment #

Total comments: 5

Patch Set 18 : Transfered some changes from the dependant patchset to make it independent #

Patch Set 19 : Changes per dcheng@'s comment #

Total comments: 2

Patch Set 20 : Rebase #

Patch Set 21 : mainFrameOrigin documentation #

Total comments: 8

Patch Set 22 : m_refresh to s_refresh #

Patch Set 23 : refresh method and s_refresh variable renaming + comment #

Patch Set 24 : Remove static refresh variable #

Total comments: 2

Patch Set 25 : Use a local RefPtr to save origin before using get() #

Patch Set 26 : Add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -83 lines) Patch
M content/browser/frame_host/render_frame_message_filter.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +4 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +12 lines, -8 lines 0 comments Download
M content/common/frame_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +6 lines, -4 lines 0 comments Download
M content/ppapi_plugin/ppapi_blink_platform_impl.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M content/ppapi_plugin/ppapi_blink_platform_impl.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +3 lines, -1 line 0 comments Download
M content/test/test_blink_web_unit_test_support.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M content/test/test_blink_web_unit_test_support.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/DOMImplementation.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +11 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrame.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/Page.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/Page.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +4 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/platform/plugins/PluginData.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +8 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/plugins/PluginData.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +10 lines, -47 lines 0 comments Download
M third_party/WebKit/public/platform/Platform.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 169 (96 generated)
trizzofo
4 years, 5 months ago (2016-07-18 18:08:29 UTC) #7
trizzofo
tommycli, PTAL
4 years, 5 months ago (2016-07-18 18:09:39 UTC) #8
tommycli
https://codereview.chromium.org/2156803002/diff/40001/third_party/WebKit/Source/platform/plugins/PluginData.cpp File third_party/WebKit/Source/platform/plugins/PluginData.cpp (right): https://codereview.chromium.org/2156803002/diff/40001/third_party/WebKit/Source/platform/plugins/PluginData.cpp#newcode84 third_party/WebKit/Source/platform/plugins/PluginData.cpp:84: Vector<PluginInfo> plugins; I think we can do something like: ...
4 years, 5 months ago (2016-07-18 19:29:04 UTC) #9
Lei Zhang
It may be good to get a Blink reviewer on this CL, since we will ...
4 years, 5 months ago (2016-07-22 00:41:57 UTC) #15
trizzofo
On 2016/07/22 00:41:57, Lei Zhang wrote: > It may be good to get a Blink ...
4 years, 5 months ago (2016-07-22 00:55:53 UTC) #16
trizzofo
tommycli PTAL https://codereview.chromium.org/2156803002/diff/40001/third_party/WebKit/Source/platform/plugins/PluginData.cpp File third_party/WebKit/Source/platform/plugins/PluginData.cpp (right): https://codereview.chromium.org/2156803002/diff/40001/third_party/WebKit/Source/platform/plugins/PluginData.cpp#newcode84 third_party/WebKit/Source/platform/plugins/PluginData.cpp:84: Vector<PluginInfo> plugins; On 2016/07/18 19:29:04, tommycli wrote: ...
4 years, 4 months ago (2016-07-29 22:19:09 UTC) #23
tommycli
https://codereview.chromium.org/2156803002/diff/60001/content/browser/frame_host/render_frame_message_filter.h File content/browser/frame_host/render_frame_message_filter.h (right): https://codereview.chromium.org/2156803002/diff/60001/content/browser/frame_host/render_frame_message_filter.h#newcode128 content/browser/frame_host/render_frame_message_filter.h:128: void OnGetPlugins(bool refresh, GURL url, IPC::Message* reply_msg); Since |url| ...
4 years, 4 months ago (2016-07-29 23:38:19 UTC) #24
trizzofo
https://codereview.chromium.org/2156803002/diff/60001/content/browser/frame_host/render_frame_message_filter.h File content/browser/frame_host/render_frame_message_filter.h (right): https://codereview.chromium.org/2156803002/diff/60001/content/browser/frame_host/render_frame_message_filter.h#newcode128 content/browser/frame_host/render_frame_message_filter.h:128: void OnGetPlugins(bool refresh, GURL url, IPC::Message* reply_msg); On 2016/07/29 ...
4 years, 4 months ago (2016-08-01 23:36:14 UTC) #29
tommycli
some more comments for you https://codereview.chromium.org/2156803002/diff/100001/content/common/frame_messages.h File content/common/frame_messages.h (right): https://codereview.chromium.org/2156803002/diff/100001/content/common/frame_messages.h#newcode1229 content/common/frame_messages.h:1229: GURL /* url */, ...
4 years, 4 months ago (2016-08-01 23:44:09 UTC) #30
trizzofo
dcheng, PTAL at blink changes. alexmos, PTAL at frame_host files. In this approach, a SecurityOrigin ...
4 years, 4 months ago (2016-08-02 02:36:12 UTC) #34
tommycli
lgtm thanks!
4 years, 4 months ago (2016-08-02 20:32:55 UTC) #37
alexmos
https://codereview.chromium.org/2156803002/diff/120001/content/browser/frame_host/render_frame_message_filter.cc File content/browser/frame_host/render_frame_message_filter.cc (right): https://codereview.chromium.org/2156803002/diff/120001/content/browser/frame_host/render_frame_message_filter.cc#newcode508 content/browser/frame_host/render_frame_message_filter.cc:508: filter->IsPluginAvailable( Looking at IsPluginAvailable implementations, they don't use the ...
4 years, 4 months ago (2016-08-02 22:06:28 UTC) #38
tommycli
https://codereview.chromium.org/2156803002/diff/120001/third_party/WebKit/Source/core/page/Page.h File third_party/WebKit/Source/core/page/Page.h (right): https://codereview.chromium.org/2156803002/diff/120001/third_party/WebKit/Source/core/page/Page.h#newcode263 third_party/WebKit/Source/core/page/Page.h:263: RefPtr<SecurityOrigin> m_origin; On 2016/08/02 22:06:28, alexmos wrote: > I'll ...
4 years, 4 months ago (2016-08-02 23:03:16 UTC) #39
trizzofo
https://codereview.chromium.org/2156803002/diff/120001/content/browser/frame_host/render_frame_message_filter.cc File content/browser/frame_host/render_frame_message_filter.cc (right): https://codereview.chromium.org/2156803002/diff/120001/content/browser/frame_host/render_frame_message_filter.cc#newcode508 content/browser/frame_host/render_frame_message_filter.cc:508: filter->IsPluginAvailable( On 2016/08/02 22:06:27, alexmos wrote: > Looking at ...
4 years, 4 months ago (2016-08-03 00:08:38 UTC) #43
dcheng
I'm OOO but some drive-by thoughts. https://codereview.chromium.org/2156803002/diff/160001/third_party/WebKit/Source/core/page/Page.cpp File third_party/WebKit/Source/core/page/Page.cpp (right): https://codereview.chromium.org/2156803002/diff/160001/third_party/WebKit/Source/core/page/Page.cpp#newcode251 third_party/WebKit/Source/core/page/Page.cpp:251: // whenever it's ...
4 years, 4 months ago (2016-08-03 14:34:58 UTC) #46
trizzofo
https://codereview.chromium.org/2156803002/diff/160001/third_party/WebKit/Source/core/page/Page.cpp File third_party/WebKit/Source/core/page/Page.cpp (right): https://codereview.chromium.org/2156803002/diff/160001/third_party/WebKit/Source/core/page/Page.cpp#newcode251 third_party/WebKit/Source/core/page/Page.cpp:251: // whenever it's null, an unique SecurityOrigin is created ...
4 years, 4 months ago (2016-08-03 19:11:18 UTC) #47
tommycli
https://codereview.chromium.org/2156803002/diff/160001/third_party/WebKit/Source/core/page/Page.cpp File third_party/WebKit/Source/core/page/Page.cpp (right): https://codereview.chromium.org/2156803002/diff/160001/third_party/WebKit/Source/core/page/Page.cpp#newcode251 third_party/WebKit/Source/core/page/Page.cpp:251: // whenever it's null, an unique SecurityOrigin is created ...
4 years, 4 months ago (2016-08-03 20:53:39 UTC) #48
alexmos
Thanks, a few more comments below. Note that I'm OOO tomorrow and Friday, and back ...
4 years, 4 months ago (2016-08-04 05:32:03 UTC) #49
trizzofo
ptal https://codereview.chromium.org/2156803002/diff/120001/content/browser/frame_host/render_frame_message_filter.cc File content/browser/frame_host/render_frame_message_filter.cc (right): https://codereview.chromium.org/2156803002/diff/120001/content/browser/frame_host/render_frame_message_filter.cc#newcode510 content/browser/frame_host/render_frame_message_filter.cc:510: GURL(main_frame_origin.Serialize()), &plugin)) { On 2016/08/04 05:32:02, alexmos (OOO ...
4 years, 4 months ago (2016-08-05 02:04:26 UTC) #57
alexmos
https://codereview.chromium.org/2156803002/diff/200001/content/common/frame_messages.h File content/common/frame_messages.h (right): https://codereview.chromium.org/2156803002/diff/200001/content/common/frame_messages.h#newcode1227 content/common/frame_messages.h:1227: // exceptions for plugins content settings. nit: s/plugins/plugin/ https://codereview.chromium.org/2156803002/diff/200001/third_party/WebKit/Source/core/dom/DOMImplementation.cpp ...
4 years, 4 months ago (2016-08-05 23:49:06 UTC) #68
trizzofo
https://codereview.chromium.org/2156803002/diff/120001/third_party/WebKit/Source/core/page/Page.h File third_party/WebKit/Source/core/page/Page.h (right): https://codereview.chromium.org/2156803002/diff/120001/third_party/WebKit/Source/core/page/Page.h#newcode263 third_party/WebKit/Source/core/page/Page.h:263: RefPtr<SecurityOrigin> m_origin; On 2016/08/04 05:32:02, alexmos (OOO until 8-8) ...
4 years, 4 months ago (2016-08-06 01:30:46 UTC) #74
alexmos
https://codereview.chromium.org/2156803002/diff/200001/third_party/WebKit/Source/core/dom/DOMImplementation.cpp File third_party/WebKit/Source/core/dom/DOMImplementation.cpp (right): https://codereview.chromium.org/2156803002/diff/200001/third_party/WebKit/Source/core/dom/DOMImplementation.cpp#newcode230 third_party/WebKit/Source/core/dom/DOMImplementation.cpp:230: pluginData = PluginData::create(init.owner() ? init.owner()->getSecurityOrigin() : SecurityOrigin::create(init.url())); On 2016/08/06 ...
4 years, 4 months ago (2016-08-09 01:40:15 UTC) #78
tommycli
alexmos: I commented below. In general, I think making plugin data per-origin is going to ...
4 years, 4 months ago (2016-08-09 15:54:24 UTC) #79
trizzofo
https://codereview.chromium.org/2156803002/diff/200001/third_party/WebKit/Source/core/dom/DOMImplementation.cpp File third_party/WebKit/Source/core/dom/DOMImplementation.cpp (right): https://codereview.chromium.org/2156803002/diff/200001/third_party/WebKit/Source/core/dom/DOMImplementation.cpp#newcode230 third_party/WebKit/Source/core/dom/DOMImplementation.cpp:230: pluginData = PluginData::create(init.owner() ? init.owner()->getSecurityOrigin() : SecurityOrigin::create(init.url())); On 2016/08/09 ...
4 years, 4 months ago (2016-08-09 21:24:24 UTC) #88
alexmos
Thanks for the explanations, I think this is ready apart from one last issue with ...
4 years, 4 months ago (2016-08-10 00:10:29 UTC) #91
trizzofo
https://codereview.chromium.org/2156803002/diff/360001/third_party/WebKit/Source/core/frame/LocalFrame.cpp File third_party/WebKit/Source/core/frame/LocalFrame.cpp (right): https://codereview.chromium.org/2156803002/diff/360001/third_party/WebKit/Source/core/frame/LocalFrame.cpp#newcode850 third_party/WebKit/Source/core/frame/LocalFrame.cpp:850: return page()->pluginData(securityContext()->getSecurityOrigin()); On 2016/08/10 00:10:29, alexmos wrote: > This ...
4 years, 4 months ago (2016-08-10 00:48:12 UTC) #94
alexmos
LGTM. Were you planning to add tests for this at some point? It'd be nice ...
4 years, 4 months ago (2016-08-10 06:17:03 UTC) #97
trizzofo
After this CL, HBD needs 2 or 3 more CLs to work properly with the ...
4 years, 4 months ago (2016-08-10 18:31:09 UTC) #102
trizzofo
dcheng, ptal. Thanks!
4 years, 4 months ago (2016-08-15 17:59:50 UTC) #103
trizzofo
dcheng, ptal. Thanks!
4 years, 4 months ago (2016-08-18 20:15:01 UTC) #104
dcheng
Part of me also wonders if we should just be plumbing this through WebFrameClient if ...
4 years, 4 months ago (2016-08-18 21:54:05 UTC) #105
trizzofo
https://codereview.chromium.org/2156803002/diff/380001/content/browser/frame_host/render_frame_message_filter.cc File content/browser/frame_host/render_frame_message_filter.cc (right): https://codereview.chromium.org/2156803002/diff/380001/content/browser/frame_host/render_frame_message_filter.cc#newcode495 content/browser/frame_host/render_frame_message_filter.cc:495: GURL(main_frame_origin.Serialize()), &plugin)) { On 2016/08/18 21:54:04, dcheng wrote: > ...
4 years, 4 months ago (2016-08-18 22:23:44 UTC) #107
dcheng
https://codereview.chromium.org/2156803002/diff/380001/content/browser/frame_host/render_frame_message_filter.cc File content/browser/frame_host/render_frame_message_filter.cc (right): https://codereview.chromium.org/2156803002/diff/380001/content/browser/frame_host/render_frame_message_filter.cc#newcode495 content/browser/frame_host/render_frame_message_filter.cc:495: GURL(main_frame_origin.Serialize()), &plugin)) { On 2016/08/18 22:23:44, trizzofo wrote: > ...
4 years, 4 months ago (2016-08-18 22:26:37 UTC) #110
trizzofo
On 2016/08/18 22:26:37, dcheng wrote: > https://codereview.chromium.org/2156803002/diff/380001/content/browser/frame_host/render_frame_message_filter.cc > File content/browser/frame_host/render_frame_message_filter.cc (right): > > https://codereview.chromium.org/2156803002/diff/380001/content/browser/frame_host/render_frame_message_filter.cc#newcode495 > ...
4 years, 4 months ago (2016-08-18 22:59:39 UTC) #111
alexmos
On 2016/08/18 22:59:39, trizzofo wrote: > On 2016/08/18 22:26:37, dcheng wrote: > > > https://codereview.chromium.org/2156803002/diff/380001/content/browser/frame_host/render_frame_message_filter.cc ...
4 years, 4 months ago (2016-08-18 23:12:55 UTC) #112
trizzofo
On 2016/08/18 23:12:55, alexmos (OOO until 7-24) wrote: > On 2016/08/18 22:59:39, trizzofo wrote: > ...
4 years, 4 months ago (2016-08-18 23:42:07 UTC) #113
dcheng
https://codereview.chromium.org/2156803002/diff/460001/third_party/WebKit/Source/core/dom/DOMImplementation.cpp File third_party/WebKit/Source/core/dom/DOMImplementation.cpp (right): https://codereview.chromium.org/2156803002/diff/460001/third_party/WebKit/Source/core/dom/DOMImplementation.cpp#newcode230 third_party/WebKit/Source/core/dom/DOMImplementation.cpp:230: pluginData = init.frame()->page()->pluginData(init.owner() ? init.owner()->getSecurityOrigin() : SecurityOrigin::create(init.url()).get()); This is ...
4 years, 4 months ago (2016-08-19 04:30:03 UTC) #114
trizzofo
https://codereview.chromium.org/2156803002/diff/460001/third_party/WebKit/Source/core/dom/DOMImplementation.cpp File third_party/WebKit/Source/core/dom/DOMImplementation.cpp (right): https://codereview.chromium.org/2156803002/diff/460001/third_party/WebKit/Source/core/dom/DOMImplementation.cpp#newcode230 third_party/WebKit/Source/core/dom/DOMImplementation.cpp:230: pluginData = init.frame()->page()->pluginData(init.owner() ? init.owner()->getSecurityOrigin() : SecurityOrigin::create(init.url()).get()); On 2016/08/19 ...
4 years, 4 months ago (2016-08-19 21:15:30 UTC) #117
trizzofo
esprehn and piman, ptal. Thanks!
4 years, 4 months ago (2016-08-19 21:47:04 UTC) #119
piman
https://codereview.chromium.org/2156803002/diff/480001/content/browser/frame_host/render_frame_message_filter.cc File content/browser/frame_host/render_frame_message_filter.cc (right): https://codereview.chromium.org/2156803002/diff/480001/content/browser/frame_host/render_frame_message_filter.cc#newcode455 content/browser/frame_host/render_frame_message_filter.cc:455: const url::Origin& main_frame_origin, This origin comes from an untrusted ...
4 years, 4 months ago (2016-08-19 21:59:22 UTC) #120
trizzofo
https://codereview.chromium.org/2156803002/diff/480001/content/browser/frame_host/render_frame_message_filter.cc File content/browser/frame_host/render_frame_message_filter.cc (right): https://codereview.chromium.org/2156803002/diff/480001/content/browser/frame_host/render_frame_message_filter.cc#newcode455 content/browser/frame_host/render_frame_message_filter.cc:455: const url::Origin& main_frame_origin, On 2016/08/19 21:59:22, piman wrote: > ...
4 years, 4 months ago (2016-08-20 00:00:41 UTC) #123
piman
On 2016/08/20 00:00:41, trizzofo wrote: > https://codereview.chromium.org/2156803002/diff/480001/content/browser/frame_host/render_frame_message_filter.cc > File content/browser/frame_host/render_frame_message_filter.cc (right): > > https://codereview.chromium.org/2156803002/diff/480001/content/browser/frame_host/render_frame_message_filter.cc#newcode455 > ...
4 years, 4 months ago (2016-08-20 00:21:31 UTC) #124
tommycli
On 2016/08/20 00:21:31, piman wrote: > On 2016/08/20 00:00:41, trizzofo wrote: > > > https://codereview.chromium.org/2156803002/diff/480001/content/browser/frame_host/render_frame_message_filter.cc ...
4 years, 4 months ago (2016-08-20 00:26:05 UTC) #126
Bernhard Bauer
On 2016/08/20 00:26:05, tommycli wrote: > On 2016/08/20 00:21:31, piman wrote: > > On 2016/08/20 ...
4 years, 4 months ago (2016-08-20 00:44:19 UTC) #127
piman
On 2016/08/20 00:44:19, Bernhard Bauer wrote: > On 2016/08/20 00:26:05, tommycli wrote: > > On ...
4 years, 4 months ago (2016-08-20 00:47:29 UTC) #128
trizzofo
dcheng, ptal. esprehn, ptal at third_party/WebKit/Source/platform/ files. Thanks!
4 years, 4 months ago (2016-08-23 01:51:21 UTC) #129
dcheng
https://codereview.chromium.org/2156803002/diff/480001/third_party/WebKit/Source/core/dom/DOMImplementation.cpp File third_party/WebKit/Source/core/dom/DOMImplementation.cpp (right): https://codereview.chromium.org/2156803002/diff/480001/third_party/WebKit/Source/core/dom/DOMImplementation.cpp#newcode231 third_party/WebKit/Source/core/dom/DOMImplementation.cpp:231: pluginData = init.frame()->page()->pluginData(mainFrameSecurityContext ? mainFrameSecurityContext->getSecurityOrigin() : SecurityOrigin::create(init.url()).get()); Hm, so ...
4 years, 4 months ago (2016-08-23 05:51:55 UTC) #130
tommycli
https://codereview.chromium.org/2156803002/diff/480001/third_party/WebKit/Source/core/dom/DOMImplementation.cpp File third_party/WebKit/Source/core/dom/DOMImplementation.cpp (right): https://codereview.chromium.org/2156803002/diff/480001/third_party/WebKit/Source/core/dom/DOMImplementation.cpp#newcode231 third_party/WebKit/Source/core/dom/DOMImplementation.cpp:231: pluginData = init.frame()->page()->pluginData(mainFrameSecurityContext ? mainFrameSecurityContext->getSecurityOrigin() : SecurityOrigin::create(init.url()).get()); On 2016/08/23 ...
4 years, 4 months ago (2016-08-23 17:31:03 UTC) #131
tommycli
On 2016/08/23 17:31:03, tommycli wrote: > https://codereview.chromium.org/2156803002/diff/480001/third_party/WebKit/Source/core/dom/DOMImplementation.cpp > File third_party/WebKit/Source/core/dom/DOMImplementation.cpp (right): > > https://codereview.chromium.org/2156803002/diff/480001/third_party/WebKit/Source/core/dom/DOMImplementation.cpp#newcode231 > ...
4 years, 4 months ago (2016-08-23 17:55:17 UTC) #132
trizzofo
https://codereview.chromium.org/2156803002/diff/480001/third_party/WebKit/Source/core/dom/DOMImplementation.cpp File third_party/WebKit/Source/core/dom/DOMImplementation.cpp (right): https://codereview.chromium.org/2156803002/diff/480001/third_party/WebKit/Source/core/dom/DOMImplementation.cpp#newcode231 third_party/WebKit/Source/core/dom/DOMImplementation.cpp:231: pluginData = init.frame()->page()->pluginData(mainFrameSecurityContext ? mainFrameSecurityContext->getSecurityOrigin() : SecurityOrigin::create(init.url()).get()); On 2016/08/23 ...
4 years, 4 months ago (2016-08-23 22:46:20 UTC) #135
dcheng
On 2016/08/23 17:31:03, tommycli wrote: > https://codereview.chromium.org/2156803002/diff/480001/third_party/WebKit/Source/core/dom/DOMImplementation.cpp > File third_party/WebKit/Source/core/dom/DOMImplementation.cpp (right): > > https://codereview.chromium.org/2156803002/diff/480001/third_party/WebKit/Source/core/dom/DOMImplementation.cpp#newcode231 > ...
4 years, 4 months ago (2016-08-24 03:32:47 UTC) #138
dcheng
LGTM with nits https://codereview.chromium.org/2156803002/diff/520001/third_party/WebKit/public/platform/Platform.h File third_party/WebKit/public/platform/Platform.h (right): https://codereview.chromium.org/2156803002/diff/520001/third_party/WebKit/public/platform/Platform.h#newcode331 third_party/WebKit/public/platform/Platform.h:331: virtual void getPluginList(bool refresh, const WebSecurityOrigin& ...
4 years, 4 months ago (2016-08-24 03:33:13 UTC) #139
trizzofo
https://codereview.chromium.org/2156803002/diff/520001/third_party/WebKit/public/platform/Platform.h File third_party/WebKit/public/platform/Platform.h (right): https://codereview.chromium.org/2156803002/diff/520001/third_party/WebKit/public/platform/Platform.h#newcode331 third_party/WebKit/public/platform/Platform.h:331: virtual void getPluginList(bool refresh, const WebSecurityOrigin& mainFrameOrigin, WebPluginListBuilder*) {} ...
4 years, 4 months ago (2016-08-24 23:34:13 UTC) #140
tommycli
On 2016/08/24 23:34:13, trizzofo wrote: > https://codereview.chromium.org/2156803002/diff/520001/third_party/WebKit/public/platform/Platform.h > File third_party/WebKit/public/platform/Platform.h (right): > > https://codereview.chromium.org/2156803002/diff/520001/third_party/WebKit/public/platform/Platform.h#newcode331 > ...
4 years, 4 months ago (2016-08-25 00:41:11 UTC) #141
esprehn
I don't see how this can work, you're reading a static variable and looking at ...
4 years, 3 months ago (2016-08-26 04:46:03 UTC) #143
trizzofo
https://codereview.chromium.org/2156803002/diff/560001/third_party/WebKit/Source/platform/plugins/PluginData.cpp File third_party/WebKit/Source/platform/plugins/PluginData.cpp (right): https://codereview.chromium.org/2156803002/diff/560001/third_party/WebKit/Source/platform/plugins/PluginData.cpp#newcode37 third_party/WebKit/Source/platform/plugins/PluginData.cpp:37: Platform::current()->getPluginList(m_refresh, WebSecurityOrigin(m_mainFrameOrigin), &builder); On 2016/08/26 04:46:03, esprehn wrote: > ...
4 years, 3 months ago (2016-08-26 20:28:00 UTC) #144
tommycli
https://codereview.chromium.org/2156803002/diff/560001/third_party/WebKit/Source/platform/plugins/PluginData.cpp File third_party/WebKit/Source/platform/plugins/PluginData.cpp (right): https://codereview.chromium.org/2156803002/diff/560001/third_party/WebKit/Source/platform/plugins/PluginData.cpp#newcode37 third_party/WebKit/Source/platform/plugins/PluginData.cpp:37: Platform::current()->getPluginList(m_refresh, WebSecurityOrigin(m_mainFrameOrigin), &builder); On 2016/08/26 20:28:00, trizzofo wrote: > ...
4 years, 3 months ago (2016-08-26 20:34:16 UTC) #145
trizzofo
https://codereview.chromium.org/2156803002/diff/560001/third_party/WebKit/Source/platform/plugins/PluginData.cpp File third_party/WebKit/Source/platform/plugins/PluginData.cpp (right): https://codereview.chromium.org/2156803002/diff/560001/third_party/WebKit/Source/platform/plugins/PluginData.cpp#newcode37 third_party/WebKit/Source/platform/plugins/PluginData.cpp:37: Platform::current()->getPluginList(m_refresh, WebSecurityOrigin(m_mainFrameOrigin), &builder); On 2016/08/26 20:34:16, tommycli wrote: > ...
4 years, 3 months ago (2016-08-26 22:19:41 UTC) #146
esprehn
On 2016/08/26 at 22:19:41, trizzofo wrote: > https://codereview.chromium.org/2156803002/diff/560001/third_party/WebKit/Source/platform/plugins/PluginData.cpp > ... > > > > > ...
4 years, 3 months ago (2016-08-26 23:31:09 UTC) #148
tommycli
On 2016/08/26 23:31:09, esprehn wrote: > On 2016/08/26 at 22:19:41, trizzofo wrote: > > > ...
4 years, 3 months ago (2016-08-26 23:48:00 UTC) #149
tommycli
On 2016/08/26 23:48:00, tommycli wrote: > On 2016/08/26 23:31:09, esprehn wrote: > > On 2016/08/26 ...
4 years, 3 months ago (2016-08-26 23:49:23 UTC) #150
esprehn
Can we just send an empty security origin then? Sending a racy origin is super ...
4 years, 3 months ago (2016-08-27 00:01:00 UTC) #151
tommycli
On 2016/08/27 00:01:00, esprehn wrote: > Can we just send an empty security origin then? ...
4 years, 3 months ago (2016-08-27 00:02:41 UTC) #152
tommycli
On 2016/08/27 00:02:41, tommycli wrote: > On 2016/08/27 00:01:00, esprehn wrote: > > Can we ...
4 years, 3 months ago (2016-08-27 00:03:18 UTC) #153
trizzofo
On 2016/08/27 00:03:18, tommycli wrote: > On 2016/08/27 00:02:41, tommycli wrote: > > On 2016/08/27 ...
4 years, 3 months ago (2016-08-28 00:07:29 UTC) #154
trizzofo
On 2016/08/28 00:07:29, trizzofo wrote: > On 2016/08/27 00:03:18, tommycli wrote: > > On 2016/08/27 ...
4 years, 3 months ago (2016-08-29 20:35:13 UTC) #155
esprehn
https://codereview.chromium.org/2156803002/diff/640001/third_party/WebKit/Source/core/dom/DOMImplementation.cpp File third_party/WebKit/Source/core/dom/DOMImplementation.cpp (right): https://codereview.chromium.org/2156803002/diff/640001/third_party/WebKit/Source/core/dom/DOMImplementation.cpp#newcode230 third_party/WebKit/Source/core/dom/DOMImplementation.cpp:230: pluginData = init.frame()->page()->pluginData(init.frame()->isMainFrame() ? SecurityOrigin::create(init.url()).get() : init.frame()->tree().top()->securityContext()->getSecurityOrigin()); why not ...
4 years, 3 months ago (2016-08-29 20:54:57 UTC) #156
esprehn
This is really close, just need to do something about that .get() on the PassRefPtr ...
4 years, 3 months ago (2016-08-29 20:55:15 UTC) #157
trizzofo
https://codereview.chromium.org/2156803002/diff/640001/third_party/WebKit/Source/core/dom/DOMImplementation.cpp File third_party/WebKit/Source/core/dom/DOMImplementation.cpp (right): https://codereview.chromium.org/2156803002/diff/640001/third_party/WebKit/Source/core/dom/DOMImplementation.cpp#newcode230 third_party/WebKit/Source/core/dom/DOMImplementation.cpp:230: pluginData = init.frame()->page()->pluginData(init.frame()->isMainFrame() ? SecurityOrigin::create(init.url()).get() : init.frame()->tree().top()->securityContext()->getSecurityOrigin()); On 2016/08/29 ...
4 years, 3 months ago (2016-08-29 21:32:32 UTC) #158
esprehn
On 2016/08/29 at 21:32:32, trizzofo wrote: > https://codereview.chromium.org/2156803002/diff/640001/third_party/WebKit/Source/core/dom/DOMImplementation.cpp > File third_party/WebKit/Source/core/dom/DOMImplementation.cpp (right): > > https://codereview.chromium.org/2156803002/diff/640001/third_party/WebKit/Source/core/dom/DOMImplementation.cpp#newcode230 ...
4 years, 3 months ago (2016-08-29 23:09:54 UTC) #159
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2156803002/680001
4 years, 3 months ago (2016-08-30 03:45:22 UTC) #166
commit-bot: I haz the power
Committed patchset #26 (id:680001)
4 years, 3 months ago (2016-08-30 05:00:43 UTC) #167
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 05:02:50 UTC) #169
Message was sent while issue was closed.
Patchset 26 (id:??) landed as
https://crrev.com/1c684eba8afc4c730b3ca2e68814e8412020552c
Cr-Commit-Position: refs/heads/master@{#415128}

Powered by Google App Engine
This is Rietveld 408576698