Closed
Bug 749795
Opened 12 years ago
Closed 12 years ago
Getter for NPNVprivateModeBool is broken with OOPP
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla15
People
(Reporter: jdm, Assigned: jdm)
References
Details
Attachments
(1 file)
3.53 KB,
patch
|
jaas
:
review+
|
Details | Diff | Splinter Review |
I'm glad I decided to add a test for bug 748752, since it exposed that the code is completely broken. Retrieving the document (http://mxr.mozilla.org/mozilla-central/source/dom/plugins/base/nsNPAPIPlugin.cpp#2139) fails, since npp is null (http://mxr.mozilla.org/mozilla-central/source/dom/plugins/ipc/PluginModuleParent.cpp#978). Josh, what's the correct way to fix this?
Assignee | ||
Updated•12 years ago
|
Assignee | ||
Comment 1•12 years ago
|
||
It looks like the privateModeBool handling will need to move to PluginInstance*, similar to pluginElementNPObject and pluginWindowNPObject.
Assignee | ||
Comment 2•12 years ago
|
||
That was easy. The test now passes.
Attachment #619505 -
Flags: review?(joshmoz)
Comment on attachment 619505 [details] [diff] [review] Use neglected code that properly obtains private browsing mode in plugins. Review of attachment 619505 [details] [diff] [review]: ----------------------------------------------------------------- Did you intend to include the change to test_domstorage_aboutpages.js?
Attachment #619505 -
Flags: review?(joshmoz) → review+
Assignee | ||
Comment 4•12 years ago
|
||
Nein. I'll take that out when landing.
Assignee | ||
Comment 5•12 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/52abbd73ec2d
Assignee: nobody → josh
Flags: in-testsuite+
Target Milestone: --- → mozilla15
Comment 6•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/52abbd73ec2d
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
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
•