Closed
Bug 544158
Opened 16 years ago
Closed 16 years ago
fix incorrect type usage for NPP_SetValue NPNVprivateModeBool
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(status1.9.2 .9-fixed)
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| status1.9.2 | --- | .9-fixed |
People
(Reporter: karlt, Assigned: jaas)
References
Details
Attachments
(2 files, 3 obsolete files)
|
1.88 KB,
patch
|
karlt
:
review+
|
Details | Diff | Splinter Review |
|
1.88 KB,
patch
|
karlt
:
review+
christian
:
approval1.9.2.9+
|
Details | Diff | Splinter Review |
The proposal for NPNVprivateModeBool in bug 468877 comment 8 suggested that NPP_SetValue use a NULL or non-NULL pointer, but the implementation ended up as a pointer to PRBool. Bug 540775 changed this to pointer to long.
This is minor as it only affects all those big-endian LP64 systems out there.
| Reporter | ||
Updated•16 years ago
|
Hardware: x86 → PowerPC
| Reporter | ||
Comment 1•16 years ago
|
||
Removed Flash from the comment too, as flash doesn't have setvalue.
Josh, do you know if any plugins are using this, is it too late to change to NULL/non-NULL pointer?
Attachment #425131 -
Flags: review?(joshmoz)
| Reporter | ||
Comment 2•16 years ago
|
||
Missed one.
Attachment #425131 -
Attachment is obsolete: true
Attachment #425132 -
Flags: review?(joshmoz)
Attachment #425131 -
Flags: review?(joshmoz)
I talked to Karl on irc, we decided to make our code conform to the spec:
https://wiki.mozilla.org/Plugins:PrivateMode
Thanks for catching this Karl!
Summary: make NPP_SetValue NPNVprivateModeBool use *PRBool → use correct type for NPP_SetValue NPNVprivateModeBool in all cases
Attachment #425132 -
Attachment is obsolete: true
Attachment #425132 -
Flags: review?(joshmoz)
For future reference, it looks like WebKit follows the spec properly:
http://trac.webkit.org/browser/trunk/WebCore/plugins/PluginView.cpp
| Reporter | ||
Comment 6•16 years ago
|
||
Comment on attachment 432484 [details] [diff] [review]
fix v1.0
Thank you.
Attachment #432484 -
Flags: review+
Summary: use correct type for NPP_SetValue NPNVprivateModeBool in all cases → fix incorrect type usage for NPP_SetValue NPNVprivateModeBool
pushed to mozilla-central
http://hg.mozilla.org/mozilla-central/rev/a20352e6761d
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Attachment #433085 -
Flags: approval1.9.2.3?
Updated•15 years ago
|
Attachment #433085 -
Flags: approval1.9.2.4? → approval1.9.2.8?
Comment on attachment 433085 [details] [diff] [review]
fix v1.0 for 1.9.2
a=LegNeato for 1.9.2.9
Attachment #433085 -
Flags: approval1.9.2.9? → approval1.9.2.9+
| Assignee | ||
Comment 10•15 years ago
|
||
The patch for 1.9.2 has gone out of date since OOPP landed on the 1.9.2 branch.
Attachment #433085 -
Attachment is obsolete: true
Attachment #462309 -
Flags: review?(karlt)
| Reporter | ||
Updated•15 years ago
|
Attachment #462309 -
Flags: review?(karlt) → review+
| Assignee | ||
Comment 11•15 years ago
|
||
Comment on attachment 462309 [details] [diff] [review]
fix v1.1 for 1.9.2
Re-requesting 1.9.2 approval just to be safe.
Attachment #462309 -
Flags: approval1.9.2.9?
Comment 12•15 years ago
|
||
Comment on attachment 462309 [details] [diff] [review]
fix v1.1 for 1.9.2
a=LegNeato for 1.9.2.9
Attachment #462309 -
Flags: approval1.9.2.9? → approval1.9.2.9+
Attachment #433085 -
Flags: approval1.9.2.9+ → approval1.9.2.9-
| Assignee | ||
Comment 13•15 years ago
|
||
pushed to mozilla-1.9.2
http://hg.mozilla.org/releases/mozilla-1.9.2/rev/344717593c19
status1.9.2:
--- → .9-fixed
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•