Closed
Bug 767631
Opened 13 years ago
Closed 8 years ago
HTMLObjectElement and HTMLSharedObjectElement should trigger LoadObject in more cases
Categories
(Core Graveyard :: Plug-ins, defect)
Core Graveyard
Plug-ins
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: johns, Unassigned)
References
Details
Right now nsHTMLSharedObjectElement doesn't hook UnsetAttr(), and neither handle the addition of <param> tags or type changes, which may change our decision of what type to load.
Reporter | ||
Updated•12 years ago
|
Status: NEW → ASSIGNED
Summary: nsHTMLObjectElement and nsHTMLSharedObject element should trigger LoadObject in more cases → nsHTMLObjectElement and nsHTMLSharedObjectElement should trigger LoadObject in more cases
Reporter | ||
Comment 1•12 years ago
|
||
Note that we need to be careful not to needlessly instantiate a plugin multiple times
> var obj = document.createElement("object");
> document.body.appendChild(obj);
> obj.type = "application/x-shockwave-flash";
> obj.data = "./vid.swf";
If we LoadObject() when the type attribute changes, we might start instantiating flash as a channel-less plugin, only to invalidate that when .data is set. This could also regress bug 781394 in a similar manner. We likely need to queue up script runners on property changes.
Depends on: 781394
Reporter | ||
Updated•12 years ago
|
Reporter | ||
Comment 2•12 years ago
|
||
test_object.html added by bug 783059 will need workarounds removed when this lands
Reporter | ||
Updated•12 years ago
|
Assignee: jschoenick → nobody
Status: ASSIGNED → NEW
Summary: nsHTMLObjectElement and nsHTMLSharedObjectElement should trigger LoadObject in more cases → HTMLObjectElement and HTMLSharedObjectElement should trigger LoadObject in more cases
Reporter | ||
Updated•12 years ago
|
Whiteboard: [good first bug][mentor=johns][lang=c++]
Reporter | ||
Updated•12 years ago
|
Reporter | ||
Comment 3•12 years ago
|
||
Once bug 872098 is fixed this becomes a trivial fix
Whiteboard: [good first bug][mentor=johns][lang=c++]
Reporter | ||
Comment 4•12 years ago
|
||
(In reply to John Schoenick [:johns] from comment #3)
> Once bug 872098 is fixed this becomes a trivial fix
Ack, confused bug numbers -- bug 856816 rather
Reporter | ||
Updated•11 years ago
|
Comment 5•8 years ago
|
||
Resolving old bugs which are likely not relevant any more, since NPAPI plugins are deprecated.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•