Closed
Bug 1368436
Opened 8 years ago
Closed 1 year ago
TinyMCE in content script: "Promise rejection value is a non-unwrappable cross-compartment wrapper"
Categories
(Core :: JavaScript Engine, defect, P3)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: edjroot, Unassigned)
Details
(Keywords: triage-deferred)
Attachments
(1 file)
|
1.33 MB,
application/x-zip-compressed
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
Steps to reproduce:
I'm developing a WebExtension that replaces an old editor on a certain page by TinyMCE. All my code does is create a `textarea` and initialize TinyMCE using the jQuery version (`$('textarea').tinymce({})`).
The attached file contains basically the same code that is currently used on the actual extension, which works on Chrome but not on Firefox.
Actual results:
The editor is only partially "built" and is not functional. Apparently, the `iframe` is not fully generated.
The Firefox console shows the following error message: "Promise rejection value is a non-unwrappable cross-compartment wrapper. (unknown)" whenever I scroll the page, and sometimes when I click any of the editor's buttons.
Expected results:
The editor should be functional and no error messages should appear.
The expected behavior is observed on the latest version of Google Chrome.
The problem occurs on all websites, not just the one in the example.
Updated•8 years ago
|
Component: Untriaged → JavaScript Engine
Product: Firefox → Core
Updated•8 years ago
|
Keywords: triage-deferred
Priority: -- → P3
Updated•3 years ago
|
Severity: normal → S3
Updated•1 year ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•