Closed
Bug 430424
Opened 15 years ago
Closed 15 years ago
[FIX]<object> mysteriously acquires type attribute (when plugin loads?)
Categories
(Core Graveyard :: Plug-ins, defect)
Core Graveyard
Plug-ins
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jruderman, Assigned: bzbarsky)
References
()
Details
(Keywords: testcase)
Attachments
(1 file)
1.86 KB,
patch
|
jst
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
Steps to reproduce: 1. Load http://software.hixie.ch/utilities/js/live-dom-viewer/?%3Cbody%3E%3Cobject%20data%3Dflash%3E 2. Add a space. Result: The object element is shown as having an attribute type="application/x-shockwave-flash" Expected: The object should continue to not have a type attribute.
![]() |
Assignee | |
Comment 1•15 years ago
|
||
Gah. It looks like bug 277434 only sort of got fixed. nsPluginStreamListenerPeer::OnStartRequest still calls SetType(), not SetActualType(), which is what's setting the attribute now... Not that anyone _uses_ the thing it sets. Which means this stuff was likely "broken" in 1.8 (writing to .type, reading .actualType), and no one ever noticed. That argues that it's not so useful, to me. In any case, now that we have nsObjectLoadingContent, which implements an actualType getter that has nothing to do with attributes, can we just rip out the nsPluginStreamListenerPeer::OnStartRequest code? It would be good to not mess up the DOM like this...
![]() |
Assignee | |
Comment 2•15 years ago
|
||
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #329565 -
Flags: superreview?(jst)
Attachment #329565 -
Flags: review?(jst)
![]() |
Assignee | |
Updated•15 years ago
|
Summary: <object> mysteriously acquires type attribute (when plugin loads?) → [FIX]<object> mysteriously acquires type attribute (when plugin loads?)
Updated•15 years ago
|
Attachment #329565 -
Flags: superreview?(jst)
Attachment #329565 -
Flags: superreview+
Attachment #329565 -
Flags: review?(jst)
Attachment #329565 -
Flags: review+
![]() |
Assignee | |
Comment 3•15 years ago
|
||
Pushed http://hg.mozilla.org/index.cgi/mozilla-central/rev/f7a0a6d4d496
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Flags: wanted1.9.0.x?
Resolution: --- → FIXED
Updated•1 year ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•