Closed
Bug 548133
Opened 15 years ago
Closed 12 years ago
Remove special casing of <object> with <param name="pluginurl">
Categories
(Core Graveyard :: Plug-ins, defect)
Core Graveyard
Plug-ins
Tracking
(firefox18+ fixed, firefox19+ fixed, firefox20 fixed, firefox-esr1718+ fixed)
RESOLVED
FIXED
mozilla20
People
(Reporter: Dolske, Assigned: johns)
References
Details
Attachments
(1 file)
(deleted),
patch
|
Dolske
:
review+
jaas
:
review+
akeybl
:
approval-mozilla-aurora+
akeybl
:
approval-mozilla-beta+
akeybl
:
approval-mozilla-esr17+
johns
:
checkin+
|
Details | Diff | Splinter Review |
There's code scattered around that deals with <object><param name="pluginurl"></object> as a special case (vs <object> without such a <param>). It looks like the purpose of this is because the Default Plugin can use the <param> to install plugins itself. And so there's special case code to allow loading the Default Plugin in these cases, and suppress the newer PFS UI.
Bug 533891 will be removing the Default Plugin, in the meantime we should just go ahead and remove this related special-case code since it doesn't end up used, and can confusingly suppress the usual "missing plugin" UI.
IE, Safari, and Chrome seem to treat <objects> with/without this URL equally.
Comment 1•15 years ago
|
||
Will we still look at that param in the PFS?
Reporter | ||
Comment 2•15 years ago
|
||
I don't think PFS looks at the "pluginurl" param. I looked at all the hits for that string in the tree, and outside of /modules/plugin/default the param value didn't seem to be used for anything (just side-effects when the param *name* is present).
It looks like PFS does use a "pluginspage" param when present, but that's not used in the various places where we specialcase "pluginurl".
Comment 3•15 years ago
|
||
Ah, hmm. pluginspage is a webpage to navigate to; pluginurl is the place to download the plugin from directly. I guess we don't really want the latter, yeah.
Assignee | ||
Comment 4•12 years ago
|
||
This is annoying as we don't display the usual 'you need a plugin to display this content' message for <object> tags *unless* we have this otherwise-unused param. I'm going to fix this along with the numerous followups to bug 745030
Assignee | ||
Comment 5•12 years ago
|
||
Assignee | ||
Comment 6•12 years ago
|
||
Comment on attachment 653582 [details] [diff] [review]
Remove special handling for object 'pluginurl' param
The PFS no longer uses this, but our CSS only binds error frames to objects that have a pluginurl parameter - so the visible change here is now we'll actually display missing plugin errors for <object> tags without this param
Attachment #653582 -
Flags: review?(dolske)
Reporter | ||
Comment 7•12 years ago
|
||
Comment on attachment 653582 [details] [diff] [review]
Remove special handling for object 'pluginurl' param
Look fine, though you'll be wanting review from a content peer for the /content/* changes.
Might be worth keeping/adding a test with |pluginurl| specified, just to ensure its presence doesn't make us asplode?
Attachment #653582 -
Flags: review?(dolske) → review+
Assignee | ||
Updated•12 years ago
|
Attachment #653582 -
Flags: review?(joshmoz)
Attachment #653582 -
Flags: review?(joshmoz) → review+
Comment 8•12 years ago
|
||
(In reply to John Schoenick [:johns] from comment #6)
> The PFS no longer uses this, but our CSS only binds error frames to objects
> that have a pluginurl parameter - so the visible change here is now we'll
> actually display missing plugin errors for <object> tags without this param
Then the alternate content will never be displayed? It doesn' t look correct per spec.
Assignee | ||
Comment 9•12 years ago
|
||
(In reply to Masatoshi Kimura [:emk] from comment #8)
> (In reply to John Schoenick [:johns] from comment #6)
> > The PFS no longer uses this, but our CSS only binds error frames to objects
> > that have a pluginurl parameter - so the visible change here is now we'll
> > actually display missing plugin errors for <object> tags without this param
> Then the alternate content will never be displayed? It doesn' t look correct
> per spec.
We'll still show alternate content if it exists, otherwise we'll show our custom error frame
Assignee | ||
Comment 10•12 years ago
|
||
Comment on attachment 653582 [details] [diff] [review]
Remove special handling for object 'pluginurl' param
https://hg.mozilla.org/integration/mozilla-inbound/rev/a6f040934c99
Attachment #653582 -
Flags: checkin+
Assignee | ||
Comment 11•12 years ago
|
||
Comment on attachment 653582 [details] [diff] [review]
Remove special handling for object 'pluginurl' param
Bounced due to a reftest failure:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ad0a615541cf
I only realized this lacked a try push after hitting inbound, oops!
Followup to fix that and actually address c7 incoming...
Attachment #653582 -
Flags: checkin+
Assignee | ||
Comment 12•12 years ago
|
||
Comment on attachment 653582 [details] [diff] [review]
Remove special handling for object 'pluginurl' param
https://hg.mozilla.org/integration/mozilla-inbound/rev/4082461196b0
Try:
https://tbpl.mozilla.org/?tree=Try&rev=7ac49c949717
Attachment #653582 -
Flags: checkin+
Comment 13•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Assignee | ||
Comment 14•12 years ago
|
||
Comment on attachment 653582 [details] [diff] [review]
Remove special handling for object 'pluginurl' param
[Approval Request Comment]
Bug caused by (feature/regressing bug #):
N/A
User impact if declined:
N/A
Testing completed (on m-c, etc.):
On m-c
Risk to taking this patch (and alternatives if risky):
Causes <object> tags to display the grey missing-plugin frame in many more cases, which could possibly be unwanted on some sites. The <embed> tag already behaves this way, and chrome displays the missing-plugin frame more aggressively than us, so the risk of this being significant is fairly low.
String or UUID changes made by this patch:
None
This blocks landing bug 800018 on beta
Attachment #653582 -
Flags: approval-mozilla-beta?
Assignee | ||
Comment 15•12 years ago
|
||
Comment on attachment 653582 [details] [diff] [review]
Remove special handling for object 'pluginurl' param
[Approval Request Comment]
If this is not a sec:{high,crit} bug, please state case for ESR consideration:
This is needed if we want to take bug 800018 on 17esr, otherwise is not worth uplifting. See comments there.
Attachment #653582 -
Flags: approval-mozilla-esr17?
Assignee | ||
Updated•12 years ago
|
Attachment #653582 -
Flags: approval-mozilla-aurora?
Comment 16•12 years ago
|
||
Comment on attachment 653582 [details] [diff] [review]
Remove special handling for object 'pluginurl' param
[Triage Comment]
Blocks bug 800018 from landing, approving for all branches.
Attachment #653582 -
Flags: approval-mozilla-esr17?
Attachment #653582 -
Flags: approval-mozilla-esr17+
Attachment #653582 -
Flags: approval-mozilla-beta?
Attachment #653582 -
Flags: approval-mozilla-beta+
Attachment #653582 -
Flags: approval-mozilla-aurora?
Attachment #653582 -
Flags: approval-mozilla-aurora+
Updated•12 years ago
|
tracking-firefox-esr17:
--- → 18+
Updated•12 years ago
|
status-firefox18:
--- → affected
status-firefox19:
--- → affected
status-firefox-esr17:
--- → affected
tracking-firefox18:
--- → +
tracking-firefox19:
--- → +
Comment 17•12 years ago
|
||
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
•