Closed Bug 1544665 Opened 6 years ago Closed 6 years ago

TinyMCE randomly crashes trying to get node.ownerDocument.implementation property

Categories

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

66 Branch
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: andrzej.stanczak.andrzej, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0

Steps to reproduce:

Loaded the page with TinyMCE version 3.4.3.2.
TinyMCE tried to load content.

Actual results:

Sometimes all works fine, but sometimes (seems randomly) TinyMCE throws exception:
[Exception... "Unexpected error" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: http://someurl/tiny_mce/tiny_mce.js :: serialize :: line 8231" data: no].
Line 8231:
impl = node.ownerDocument.implementation;

When exception is thrown, object node.ownerDocument has only one empty property: location.

Problem started with FF version 66.0.1 and still occurs in FF 66.0.2 and 66.0.3.

I have noticed that if I hit F12 and open developer tools, this error apears less often. Reloading the page after that error randomly helps.

Expected results:

TinyMCE should not throw exception "Unexpected error" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" while trying to get node.ownerDocument.implementation property. This worked finw with FF 66.0 and earlier versions (TinyMCE still the same version).

Hi, This issue is a bit too technical for us and I am not sure how to reproduce it but I will pass it to our Developers and they can take a look and maybe find the cause of it.

I'm not sure if Browser Console is the correct component for this issue but it seems like a good place to start since it involved the "Unexpected Error:..."

In the mean time can you check our latest Nightly build and see if the issue still occurs there as well or maybe it's been fixed already. You have the build here: https://nightly.mozilla.org/

Component: Untriaged → Console
Flags: needinfo?(andrzej.stanczak.andrzej)
Product: Firefox → DevTools

Doesn't look like a Console bug IMO.
Andrzej, could you run MozRegression to check when this issue was introduced if you have some time?

Component: Console → General
Product: DevTools → Core
Component: General → DOM: Core & HTML
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE

The problem was TinyMCE in version 3.4.3.2, upgrade to 3.5.12 solved problem.
I suppose that this TinyMCE , as mentioned in https://www.mozilla.org/en-US/firefox/67.0/releasenotes/: "TinyMCE versions 3.4.4 and earlier are not compatible with Firefox 67 and later" existed also from version 66.0.1.

Flags: needinfo?(andrzej.stanczak.andrzej)
You need to log in before you can comment on or make changes to this bug.