Closed
Bug 1361798
Opened 7 years ago
Closed 7 years ago
Configure Nightly to download and use the 3rd-party flash blocklist (set plugins.flashBlock.enabled=true)
Categories
(Core Graveyard :: Plug-ins, enhancement)
Core Graveyard
Plug-ins
Tracking
(firefox55 fixed)
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: Felipe, Assigned: Felipe)
References
Details
(Keywords: dev-doc-needed, flashplayer, site-compat)
Attachments
(2 files)
1.00 KB,
patch
|
Felipe
:
review+
|
Details | Diff | Splinter Review |
1.64 KB,
patch
|
Felipe
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1317856 +++ Switching plugins.flashBlock.enabled got non-trivial, so instead of mixing that on bug 1317856, I'm spinning this off to this separate bug in order to make things clearer. Note that this also has the side-effect that now we'll start blocking Flash on null and system principals. In order to land this, we need: - Switch the pref (patch reviewed by bsmedberg on 1317856) - Fix the reftest harness code that checks if the Test plug-in exists - Move tests that uses the Test plug-in in chrome/data:, to non-chrome/http (these are fixed on bug 1335475 and I'll be cherry-picking them to land)
Assignee | ||
Comment 1•7 years ago
|
||
Attachment #8864259 -
Flags: review+
Assignee | ||
Comment 2•7 years ago
|
||
Previously the harness would check for navigator.plugins[Test Plug-in] in the browser window, but that is now blocked from working. Instead we can simply use an existing getTestPlugin function that enumerates the plugin through nsIPluginHost
Attachment #8864262 -
Flags: review?(benjamin)
Assignee | ||
Updated•7 years ago
|
Attachment #8864262 -
Attachment is patch: true
Assignee | ||
Updated•7 years ago
|
Blocks: flash-click-to-play
Comment 3•7 years ago
|
||
See https://reviewboard.mozilla.org/r/118608/diff/5/ This patch is already reviewed, but IIRC it's also the patch that broke stylo reftests. If that works now feel free to land it.
Assignee | ||
Comment 4•7 years ago
|
||
Ah, I missed that there.. I sent this to try, let's see how it goes: https://treeherder.mozilla.org/#/jobs?repo=try&revision=c04310e6fb695e396055084c53dd8135445c6d65
Assignee | ||
Comment 5•7 years ago
|
||
The stylo tests worked: https://treeherder.mozilla.org/#/jobs?repo=try&revision=19ff162c738922a6bc9bcf3ae11d57f07da86293 Maybe your bug can land, after all? Or maybe what was crashing was the HTTP changes, which I didn't include to not be blocked on that. But it's a bit bitrotted anyways, so I'll not include it fully now, only the cherry-picked parts that I need to land.
Assignee | ||
Comment 6•7 years ago
|
||
Comment on attachment 8864262 [details] [diff] [review] Update reftest harness code (same patch was written by bsmedberg and reviewed by dbaron. I kept the original attribution to land)
Attachment #8864262 -
Flags: review?(benjamin) → review+
Comment 7•7 years ago
|
||
roger go ahead and I'll de-bitrot my bits
Pushed by felipc@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/a12ce01a8b21 Configure Nightly to download and use the flash 3rd party blocklist, in preparation for switching Flash as Click-to-Activate. r=bsmedberg
Comment 9•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a12ce01a8b21
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Comment 10•7 years ago
|
||
Hi. I just wanted to check what dev documentation updates you wanted as a result of this bug? We don't keep a record of Fx prefs on MDN (at least not anymore), and we archived our Flash docs some time ago. Cheers!
Flags: needinfo?(felipc)
Comment 11•7 years ago
|
||
We need to document the behavior and rules of the 3rd-party Flash blocklist so that web developers know what to expect. I might be the best person to write that doc.
Flags: needinfo?(felipc)
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•