Closed Bug 335976 Opened 19 years ago Closed 18 years ago

touching xul:textbox that has been moved between documents causes "Illegal operation on WrappedNative prototype object"

Categories

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

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: testcase)

Attachments

(1 file, 1 obsolete file)

1.39 KB, application/xhtml+xml
Details
Attached file testcase (obsolete) —
[Exception... "Illegal operation on WrappedNative prototype object" nsresult: "0x8057000c (NS_ERROR_XPC_BAD_OP_ON_WN_PROTO)" location: "JS frame :: file:///Users/admin/Desktop/fuzzdesktop/dWhatTheHeck.xhtml :: lookAtTextboxesIn :: line 11" data: no]
Just clicking "Move it into the iframe" causes errors: WARNING: Moving XPConnect wrappedNative to new scope, but can't fixup __proto__: file /Users/admin/trunk/mozilla/js/src/xpconnect/src/xpcwrappednative.cpp, line 1095 JavaScript error: , line 0: uncaught exception: [Exception... "Illegal operation on WrappedNative prototype object" nsresult: "0x8057000c (NS_ERROR_XPC_BAD_OP_ON_WN_PROTO)" location: "JS frame :: chrome://global/content/bindings/textbox.xml :: :: line 119" data: no]
Depends on: 235640
I can still reproduce the bug on trunk using this new testcase.
Attachment #220282 - Attachment is obsolete: true
WFM, Mac trunk debug.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
I converted the testcase to a mochitest and checked it in.
Flags: in-testsuite+
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: