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

Issue 26541011: Return matching plug-ins in the sorted order (by version number). (Closed)

Created:
7 years, 2 months ago by Rafał Chłodnicki
Modified:
6 years, 7 months ago
Reviewers:
jam
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Return matching plug-ins in the sorted order (by version number). In case there are multiple plug-ins in one group (multiple versions of Flash plug-in for example), returning sorted list that has highest version first makes sure that Chrome won't try to load outdated version and end up blocking it in the end. BUG=13892 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=231381

Patch Set 1 #

Patch Set 2 : move include to cc file #

Patch Set 3 : reupload #

Patch Set 4 : rebase #

Patch Set 5 : Use multiset #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -3 lines) Patch
M content/common/plugin_list.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/common/plugin_list.cc View 1 2 3 4 4 chunks +28 lines, -3 lines 0 comments Download
M content/common/plugin_list_unittest.cc View 3 chunks +44 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
Rafał Chłodnicki
7 years, 2 months ago (2013-10-09 23:22:04 UTC) #1
jam
1) i can't click the side-by-side links? 2) how is this happening, i thought plugin_list_win.cc's ...
7 years, 2 months ago (2013-10-10 05:04:07 UTC) #2
Rafał Chłodnicki
On 2013/10/10 05:04:07, jam wrote: > 1) i can't click the side-by-side links? Not sure ...
7 years, 2 months ago (2013-10-10 07:52:44 UTC) #3
asanka
I'll bow out from the reviewers list here since I've only touched this code in ...
7 years, 2 months ago (2013-10-10 15:48:43 UTC) #4
jam
On 2013/10/10 07:52:44, Rafał Chłodnicki wrote: > On 2013/10/10 05:04:07, jam wrote: > > 1) ...
7 years, 2 months ago (2013-10-11 15:21:38 UTC) #5
Rafał Chłodnicki
On 2013/10/11 15:21:38, jam wrote: > On 2013/10/10 07:52:44, Rafał Chłodnicki wrote: > > On ...
7 years, 2 months ago (2013-10-11 15:57:33 UTC) #6
jam
On 2013/10/11 15:57:33, Rafał Chłodnicki wrote: > On 2013/10/11 15:21:38, jam wrote: > > On ...
7 years, 2 months ago (2013-10-14 20:40:39 UTC) #7
Rafał Chłodnicki
On 2013/10/14 20:40:39, jam wrote: > > So... what you want me to do? > ...
7 years, 2 months ago (2013-10-15 09:31:13 UTC) #8
jam
apologies for the delay. feel free to ping me on irc in the future. lgtm
7 years, 2 months ago (2013-10-18 16:50:30 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rchlodnicki@opera.com/26541011/16001
7 years, 2 months ago (2013-10-19 10:02:55 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=179314
7 years, 2 months ago (2013-10-19 11:41:02 UTC) #11
Rafał Chłodnicki
On 2013/10/19 11:41:02, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years, 2 months ago (2013-10-22 16:19:46 UTC) #12
Rafał Chłodnicki
On 2013/10/22 16:19:46, Rafał Chłodnicki wrote: > On 2013/10/19 11:41:02, I haz the power (commit-bot) ...
7 years, 2 months ago (2013-10-22 16:35:12 UTC) #13
jam
lgtm
7 years, 1 month ago (2013-10-28 16:46:38 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rchlodnicki@opera.com/26541011/294001
7 years, 1 month ago (2013-10-28 16:48:58 UTC) #15
commit-bot: I haz the power
Change committed as 231381
7 years, 1 month ago (2013-10-28 19:44:41 UTC) #16
dglazkov
I think this change impacted Blink layout tests. I can't tell whether it's a progression ...
7 years, 1 month ago (2013-10-28 20:33:36 UTC) #17
dglazkov
On 2013/10/28 20:33:36, Dimitri Glazkov wrote: > I think this change impacted Blink layout tests. ...
7 years, 1 month ago (2013-10-28 20:54:13 UTC) #18
Rafał Chłodnicki
6 years, 7 months ago (2014-05-05 17:18:14 UTC) #19
On 2013/10/28 20:54:13, dglazkov wrote:
> On 2013/10/28 20:33:36, Dimitri Glazkov wrote:
> > I think this change impacted Blink layout tests. I can't tell whether it's a
> > progression or a regressions. Please take a look and let me know soon:
> > 
> >
>
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%25...
> > 
> > The last test is clearly saying FAIL now. Should I roll out?
> 
> Reverted in r231401. To help with troubleshooting, the following tests started
> failing only on Mac:
> fast/css/object-fit-embed.html,plugins/embed-prefers-plugins-for-images.html

I can only guess that this is due to different order of the plugins. With this
change, tests pick up different plugin for the <embed src="image.png"> tag than
they did before. There are two plugins I know of that handle image/png.
Chromium's/Webkit's test plugin and QuickTime. At least the
http://src.chromium.org/viewvc/blink/trunk/LayoutTests/plugins/embed-prefers-...
test should work with both of them but somehow it has failed with this fix.

So I wonder if there is some other plugin on builders that handles image/png
that the builders don't expect or for example the plugin that is picked up with
this fix crashes (at least one Mac, one builder crashed, according to the test
results).

It's hard to do anything about this without knowing more (for example seeing a
dump of navigator.plugins / navigator.mimeTypes).

Powered by Google App Engine
This is Rietveld 408576698