Closed Bug 1015635 Opened 11 years ago Closed 8 years ago

Clean up nsObjectLoadingContent::UpdateObjectParameters

Categories

(Core Graveyard :: Plug-ins, defect)

defect
Not set
normal

Tracking

(e10s-)

RESOLVED INCOMPLETE
Tracking Status
e10s - ---

People

(Reporter: dzbarsky, Assigned: dzbarsky)

References

Details

Attachments

(1 file, 2 obsolete files)

No description provided.
Attached patch Patch (obsolete) (deleted) — Splinter Review
Assignee: nobody → dzbarsky
Attachment #8428288 - Flags: review?(jschoenick)
Attached patch Patch (obsolete) (deleted) — Splinter Review
Forgot to qref
Attachment #8428288 - Attachment is obsolete: true
Attachment #8428288 - Flags: review?(jschoenick)
Attachment #8428289 - Flags: review?(jschoenick)
Comment on attachment 8428289 [details] [diff] [review] Patch Review of attachment 8428289 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/base/src/nsObjectLoadingContent.cpp @@ +1475,5 @@ > // bug 853995 > if (isJava) { > // Find all <param> tags that are nested beneath us, but not beneath another > // object/applet tag. > + Element* mydomElement = thisContent->AsElement(); Why not QI to Element in the first place? @@ +1488,3 @@ > if (domelement) { > nsAutoString name; > domelement->GetAttribute(NS_LITERAL_STRING("name"), name); Element has one that takes an atom
(In reply to :Ms2ger from comment #3) > Comment on attachment 8428289 [details] [diff] [review] > Patch > > Review of attachment 8428289 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: content/base/src/nsObjectLoadingContent.cpp > @@ +1475,5 @@ > > // bug 853995 > > if (isJava) { > > // Find all <param> tags that are nested beneath us, but not beneath another > > // object/applet tag. > > + Element* mydomElement = thisContent->AsElement(); > > Why not QI to Element in the first place? > Good point. > @@ +1488,3 @@ > > if (domelement) { > > nsAutoString name; > > domelement->GetAttribute(NS_LITERAL_STRING("name"), name); > > Element has one that takes an atom Fixed.
Attached patch Patch (deleted) — Splinter Review
Attachment #8428289 - Attachment is obsolete: true
Attachment #8428289 - Flags: review?(jschoenick)
Attachment #8428303 - Flags: review?(jschoenick)
Comment on attachment 8428303 [details] [diff] [review] Patch Review of attachment 8428303 [details] [diff] [review]: ----------------------------------------------------------------- LGTM
Attachment #8428303 - Flags: review?(jschoenick) → review+
Blocks: 853995
@dzbarsky landing ping
Flags: needinfo?(dzbarsky)
Sorry, I thought I commented on this before. The patch fails some tests on try and I haven't had time to debug yet.
Flags: needinfo?(dzbarsky)
Resolving old bugs which are likely not relevant any more, since NPAPI plugins are deprecated.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: