Closed
Bug 477128
Opened 16 years ago
Closed 16 years ago
XPCNativeWrapper("foo") shouldn't throw
Categories
(Core :: XPConnect, defect, P2)
Tracking
()
RESOLVED
FIXED
People
(Reporter: asaf, Assigned: mrbkap)
References
Details
(Keywords: fixed1.9.1, verified1.9.0.9)
Attachments
(2 files)
1.18 KB,
patch
|
jst
:
review+
jst
:
superreview+
dveditz
:
approval1.9.0.9+
|
Details | Diff | Splinter Review |
1.23 KB,
patch
|
Details | Diff | Splinter Review |
We need a way to check if an argument, that was passed to a component's method which takes it as a string, is actually a string, and not a js object that implements toString. Blake suggested using XPCNativeWrapper(theArgument), but that wouldn't work since XPCNativeWrapper("foo") apparently throws.
Assignee | ||
Comment 1•16 years ago
|
||
Assignee: nobody → mrbkap
Status: NEW → ASSIGNED
Attachment #360806 -
Flags: superreview?(jst)
Attachment #360806 -
Flags: review?(jst)
Updated•16 years ago
|
Attachment #360806 -
Flags: superreview?(jst)
Attachment #360806 -
Flags: superreview+
Attachment #360806 -
Flags: review?(jst)
Attachment #360806 -
Flags: review+
Updated•16 years ago
|
Flags: blocking1.9.1?
Flags: blocking1.9.0.8?
Comment 2•16 years ago
|
||
This blocks 454363, so we should get it on trunk and 191 asap, and it is a 191 blocker.
Flags: blocking1.9.1? → blocking1.9.1+
Priority: -- → P2
Updated•16 years ago
|
Flags: blocking1.9.0.8? → blocking1.9.0.8+
Assignee | ||
Comment 3•16 years ago
|
||
Assignee | ||
Comment 4•16 years ago
|
||
Comment on attachment 360806 [details] [diff] [review]
Fix
This applies as-is.
Attachment #360806 -
Flags: approval1.9.0.8?
Comment 5•16 years ago
|
||
Comment on attachment 360806 [details] [diff] [review]
Fix
Approved for 1.9.0.8, a=dveditz for release-drivers
Attachment #360806 -
Flags: approval1.9.0.8? → approval1.9.0.8+
Comment 7•16 years ago
|
||
No unit tests for this change?
Assignee | ||
Comment 8•16 years ago
|
||
Assignee | ||
Comment 9•16 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/a77ca9432e65 and http://hg.mozilla.org/releases/mozilla-1.9.1/rev/b467060a5be9 and test_wrappers.html revision: 1.6 on CVS trunk.
Flags: in-testsuite+
Comment 10•16 years ago
|
||
Verified for 1.9.0.9 with mochitest on tinderbox today.
Keywords: fixed1.9.0.9 → verified1.9.0.9
You need to log in
before you can comment on or make changes to this bug.
Description
•