Closed Bug 554186 Opened 15 years ago Closed 9 years ago

[OOPP] Unimplement NPN_Status

Categories

(Core Graveyard :: Plug-ins, defect)

defect
Not set
normal

Tracking

(firefox41 fixed)

RESOLVED FIXED
mozilla41
Tracking Status
firefox41 --- fixed

People

(Reporter: bent.mozilla, Assigned: cpeterson)

Details

Attachments

(2 files)

It's currently unimplemented and silverlight at least calls it.
Remove NPN_Status() implementation. When testing Netflix in a debug build of Firefox on Windows, I noticed that the Silverlight plugin calls NPN_Status("Done") continuously.. even though Firefox no longer has a proper status bar (just the HREF status bar when mousing over a link) and, when we did, web content was prohibited from setting the status bar text unless the "dom.disable_window_status_change" pref was flipped (e.g. bug 875956). NPN_Status() is not plumbed on e10s, so Silverlight logs an endless stream of "Not yet implemented!" warnings. Rather than hook up NPN_Status() for e10s, this patch removes the useless implementation for all plugins, leaving a no-op implementation for Silverlight to call. [NPAPI 3048] WARNING: Not yet implemented!: file c:/builds/moz2_slave/m-cen-w32-d-000000000000000000/build/src/dom/plugins/ipc/PluginModuleChild.cpp, line 1325 [NPAPI 3048] WARNING: Not yet implemented!: file c:/builds/moz2_slave/m-cen-w32-d-000000000000000000/build/src/dom/plugins/ipc/PluginModuleChild.cpp, line 1325 [NPAPI 3048] WARNING: Not yet implemented!: file c:/builds/moz2_slave/m-cen-w32-d-000000000000000000/build/src/dom/plugins/ipc/PluginModuleChild.cpp, line 1325 [NPAPI 3048] WARNING: Not yet implemented!: file c:/builds/moz2_slave/m-cen-w32-d-000000000000000000/build/src/dom/plugins/ipc/PluginModuleChild.cpp, line 1325 [NPAPI 3048] WARNING: Not yet implemented!: file c:/builds/moz2_slave/m-cen-w32-d-000000000000000000/build/src/dom/plugins/ipc/PluginModuleChild.cpp, line 1325 [NPAPI 3048] WARNING: Not yet implemented!: file c:/builds/moz2_slave/m-cen-w32-d-000000000000000000/build/src/dom/plugins/ipc/PluginModuleChild.cpp, line 1325 [NPAPI 3048] WARNING: Not yet implemented!: file c:/builds/moz2_slave/m-cen-w32-d-000000000000000000/build/src/dom/plugins/ipc/PluginModuleChild.cpp, line 1325
Assignee: nobody → cpeterson
Status: NEW → ASSIGNED
Attachment #8623501 - Flags: review?(joshmoz)
If we are revving the nsIPluginInstanceOwner interface for ShowStatus, we can remove the unused nsPluginInstanceOwner::ShowNativeContextMenu() function, too. ShowNativeContextMenu() was unimplemented in bug 1092630, but left the following comment: // This is no longer used, just leaving it here so we don't have to change // the nsIPluginInstanceOwner interface.
Attachment #8623505 - Flags: review?(joshmoz)
Summary: [OOPP] Implement NPN_Status → [OOPP] Unimplement NPN_Status
Attachment #8623505 - Flags: review?(joshmoz) → review+
Attachment #8623501 - Flags: review?(joshmoz) → review+
Thanks!
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
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: