Closed Bug 2003693 Opened 1 month ago Closed 1 month ago

WYSIWYG Jira Editor Breaks In Nightly

Categories

(Core :: DOM: Editor, defect)

Firefox 147
defect

Tracking

()

RESOLVED FIXED
147 Branch
Tracking Status
firefox-esr140 --- unaffected
firefox145 --- unaffected
firefox146 --- unaffected
firefox147 --- fixed

People

(Reporter: contact, Assigned: vhilla)

References

(Regression)

Details

(Keywords: regression)

Attachments

(4 files)

Steps to reproduce:

Firefox nightly 147.0a1 (2025-12-02) (aarch64)

Apple M2 Pro Sequoia 15.7.1

I really tried to create a minimal reproduction which didn't involve having access to a Jira LTS versioned server. But I literally cannot get this bug to happen unless it's on Jira. I will keep trying, open to any ideas.

  1. View an issue in Jira 10.3.3
  2. Click on the description area to try and edit the contents

Actual results:

Description area is replaced by a white box. When inspected it is an iframe with only an empty body and empty head element. The src is blank.

I did notice that in Firefox stable (144.0) the iframe's readyState was "uninitialized" after an iframe is added via js. But in nightly it is "complete". Maybe that's preventing content from loading correctly?

Expected results:

The description area gets replaced by a WYSIWYG editor which you can click in and type. This lives in an iframe with src being blank.

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Editor' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → DOM: Editor
Product: Firefox → Core
Flags: needinfo?(vhilla)

I will note. This is a new issue. I remember it starting ~Thursday of last week after I updated. But I don't always get the chance to update every day.

Hi, thanks for the report. This looks like bug 2002481 but that is fixed in my nightly 147.0a1 (2025-12-02).

Reporter, can you tell us what classes the iframe has, especially whether it has cke_wysiwyg_frame?

If so, can you report the value of the CKEDITOR.version gobal and iframe.src?

Flags: needinfo?(vhilla) → needinfo?(contact)

( Thursday last week strongly indicates it's a regression from bug 543435 )

Marking as regressed by bug 543435 in order not to lose track of this. We can undo this if it turns out not to be true.

Keywords: regression
Regressed by: sync-about-blank

Okay "Nightly is up to date" on Dec 3, 2025 at 9:14 AM Eastern.

@Vincent The iframe has the classes: cke_wysiwyg_frame and cke_reset. The iframe's src attribute is set to an empty string ("").

Here is the full HTML of the iframe:

<iframe src="" frameborder="0" style="width: 100%; height: 100%;" class="cke_wysiwyg_frame cke_reset" title="Rich Text Editor, comment_AyauHXPVYa25IgSm" aria-describedby="cke_436" tabindex="0" allowtransparency="true">
#document
<html>
<head></head>
<body></body>
</html>
</iframe>

The CKEDITOR field was not defined. But JEDITOR was (going to assume it's a Jira wrapper of CKEditor). The jeditor.version was "4.15.0".

I looked at my browsing history in Firefox stable, which I only started using after the bug occured, and it looks like I ran into the bug first on December 1, 2025.

Attached are some screenshots of what the broken iframe looks like in nightly (a white box), what it looks like in Firefox stable (WYSIWYG editor), and also the CSS of those two classes I mentioned above.

Flags: needinfo?(contact)

Broken Jira Editor in Firefox nightly

Working Jira editor in Firefox stable

Iframe's CSS classes

See Also: → 2002481

I should also mention the console output on Firefox nightly and Firefox stable is literally identical. No errors which showed up on Firefox nightly did not show up on Firefox stable.

Thanks, I think this is exactly what we need to know.

In the meantime, you can work around this by spoofing your user agent as Chrome or calling dispatchEvent(new Event("load")) on the iframe.

Yeah it seems the workaround for bug 2002481 doesn't work because they are using JEDITOR rather than CKEDITOR in the global.

I guess potential fixes would be:

  • Add JEDITOR to our ckeditor check.
  • Remove the JSValue check.

Either seems fine to me...

Assignee: nobody → vhilla
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

(In reply to Vincent Hilla [:vhilla] from comment #11)

In the meantime, you can work around this by spoofing your user agent as Chrome or calling dispatchEvent(new Event("load")) on the iframe.

That works!

Set release status flags based on info from the regressing bug 543435

(In reply to kiln8350 from comment #14)

(In reply to Vincent Hilla [:vhilla] from comment #11)

In the meantime, you can work around this by spoofing your user agent as Chrome or calling dispatchEvent(new Event("load")) on the iframe.

That works!

Sorry. Ambiguous there. The event dispatch thing works.

Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 147 Branch

Fix confirmed on Dec 4, 2025 at 9:19 AM Eastern in 147.0a1 (2025-12-04) (aarch64)! Thank you very much for the speedy fix!

QA Whiteboard: [qa-triage-done-c148/b147]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: