Closed Bug 468552 Opened 16 years ago Closed 16 years ago

"ASSERTION: hmm? CanCallNow failed in XPCWrappedNative::CallMethod. We are finding out about this late!" messing with __proto__, XPCNativeWrapper

Categories

(Core :: DOM: Core & HTML, defect)

x86
macOS
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: jruderman, Assigned: mrbkap)

References

Details

(Keywords: assertion, testcase, verified1.9.1)

Attachments

(2 files)

Attached file testcase
###!!! ASSERTION: hmm? CanCallNow failed in XPCWrappedNative::CallMethod. We are finding out about this late!: 'rv == NS_ERROR_XPC_SECURITY_MANAGER_VETO', file /Users/jruderman/central/js/src/xpconnect/src/xpcwrappednative.cpp, line 1935
Attached patch FixSplinter Review
This is the easiest way to fix this. The problem is that we don't bother enforcing the funobj checks.
Assignee: nobody → mrbkap
Status: NEW → ASSIGNED
Attachment #352455 - Flags: superreview?(jst)
Attachment #352455 - Flags: review?(jst)
Attachment #352455 - Flags: superreview?(jst)
Attachment #352455 - Flags: superreview+
Attachment #352455 - Flags: review?(jst)
Attachment #352455 - Flags: review+
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Flags: in-testsuite+
Depends on: 471366
Comment on attachment 352455 [details] [diff] [review] Fix Taking this on the branch is a good thing to do, and it makes Blake's life easier, so a=jst
Attachment #352455 - Flags: approval1.9.1+
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/61beb1b0e247 contains the fix for this on the 1.9.1 branch.
Keywords: fixed1.9.1
verified FIXED on debug builds: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1pre) Gecko/20090608 Shiretoko/3.5pre ID:20090608122057 and Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090608 Minefield/3.6a1pre ID:20090608122028
Status: RESOLVED → VERIFIED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: