Closed
Bug 782707
Opened 12 years ago
Closed 12 years ago
LoadObject(aForceLoad = true) prints bogus assertion if mType == eType_Loading ("Trying to load new plugin with existing content")
Categories
(Core Graveyard :: Plug-ins, defect)
Core Graveyard
Plug-ins
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla17
People
(Reporter: johns, Assigned: johns)
References
Details
Attachments
(2 files)
1.06 KB,
patch
|
jaas
:
review+
johns
:
checkin+
|
Details | Diff | Splinter Review |
2.53 KB,
patch
|
jaas
:
review+
johns
:
checkin+
|
Details | Diff | Splinter Review |
If you call LoadObject with aForceLoad while the type is "loading", we assert. We actually just need to return early if we're still in a valid loading state after UpdateObjectParameters()
Assignee | ||
Comment 1•12 years ago
|
||
If mType == eType_Loading we're waiting on a channel, but if mChannel already exists, we have nothing to do, so take an early return
Attachment #651833 -
Flags: review?(joshmoz)
Attachment #651833 -
Flags: review?(joshmoz) → review+
Assignee | ||
Comment 2•12 years ago
|
||
Comment on attachment 651833 [details] [diff] [review] Avoid an assertion in nsObjectLoadingContent https://hg.mozilla.org/integration/mozilla-inbound/rev/a5418205a35f try run: https://tbpl.mozilla.org/?tree=Try&rev=1e72e421e6b8
Attachment #651833 -
Flags: checkin+
Assignee | ||
Comment 3•12 years ago
|
||
Arrgh, actually, this check should be lower, so we will close the channel immediately if state changed -- otherwise we'll wait for the channel to finish opening, and only then re-open it.
Attachment #652173 -
Flags: review?(joshmoz)
Assignee | ||
Updated•12 years ago
|
Whiteboard: [leave open]
Attachment #652173 -
Flags: review?(joshmoz) → review+
Comment 4•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a5418205a35f
Assignee | ||
Comment 5•12 years ago
|
||
Comment on attachment 652173 [details] [diff] [review] Move waiting-on-channel bailout to after we potentially close it https://hg.mozilla.org/integration/mozilla-inbound/rev/9d10b718c9a8 try: https://tbpl.mozilla.org/?tree=Try&rev=46b32a4de584
Attachment #652173 -
Flags: checkin+
Assignee | ||
Updated•12 years ago
|
Whiteboard: [leave open]
Comment 6•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9d10b718c9a8
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
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
•