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

RESOLVED WORKSFORME

Status

()

Core
DOM
RESOLVED WORKSFORME
12 years ago
10 years ago

People

(Reporter: Jesse Ruderman, Unassigned)

Tracking

(Depends on: 1 bug, {testcase})

Trunk
PowerPC
Mac OS X
testcase
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

1.39 KB, application/xhtml+xml
Details
(Reporter)

Description

12 years ago
 
(Reporter)

Comment 1

12 years ago
Created attachment 220282 [details]
testcase
(Reporter)

Comment 2

12 years ago
[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]
(Reporter)

Comment 3

12 years ago
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
(Reporter)

Comment 4

10 years ago
Created attachment 285451 [details]
testcase using adoptNode

I can still reproduce the bug on trunk using this new testcase.
Attachment #220282 - Attachment is obsolete: true
(Reporter)

Comment 5

10 years ago
WFM, Mac trunk debug.
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → WORKSFORME
(Reporter)

Comment 6

10 years ago
I converted the testcase to a mochitest and checked it in.
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.