Closed Bug 820708 Opened 13 years ago Closed 13 years ago

"Unknown" plugin in CTP plugins list after disabling/enabling plugins

Categories

(Core Graveyard :: Plug-ins, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla20

People

(Reporter: pauly, Assigned: keeler)

References

Details

Attachments

(1 file, 2 obsolete files)

STR: 1. Open addons manager and disable flash 2. Restart Firefox 3. Open http://mozqa.com/data/firefox/plugins/plugin-test.html --> see the missing plugin notification instead of flash 4. Open addons manager and enable flash 5. Reload the tab from step 3 Actual results: "unknown plugin" instead of flash Works fine after restarting FF.
This came once with the new CTP UI - bug 754472.
Attached patch patch (obsolete) — — Splinter Review
Looks like when enabling/disabling plugins, navigator.plugins doesn't get updated. This makes nsPluginHost notify observers of a "plugin-info-updated" event. Navigator observes this and refreshes its plugins. Josh - how does this look?
Assignee: nobody → dkeeler
Status: NEW → ASSIGNED
Attachment #694625 - Flags: review?(joshmoz)
Comment on attachment 694625 [details] [diff] [review] patch Review of attachment 694625 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/base/Navigator.cpp @@ -100,5 @@ > Navigator::Navigator(nsPIDOMWindow* aWindow) > : mWindow(do_GetWeakReference(aWindow)) > { > NS_ASSERTION(aWindow->IsInnerWindow(), > - "Navigator must get an inner window!"); I don't know how this happened, but I'll fix it before checking in (if this gets r+) or posting a new version (if this doesn't get r+).
Attachment #694625 - Flags: review?(joshmoz) → review+
Attached patch patch (obsolete) — — Splinter Review
I fixed the above issue, renamed a variable, and added a comment explaining a bit more what was going on. Carrying over r+. Try run: https://tbpl.mozilla.org/?tree=Try&rev=ce21dbddfa29
Attachment #694625 - Attachment is obsolete: true
Attachment #697652 - Flags: review+
Attached patch patch v1.1 — — Splinter Review
Looks like I needed to add another #include for b2g. Carrying over r+. This one looks good: https://tbpl.mozilla.org/?tree=Try&rev=3ef465b30ebd Checkin: https://hg.mozilla.org/integration/mozilla-inbound/rev/c90851414292
Attachment #697652 - Attachment is obsolete: true
Attachment #697958 - Flags: review+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Verified fixed Nightly 21.0a1 (2013-01-09) Win 7 x64.
Status: RESOLVED → VERIFIED
Depends on: 856777
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: