Tolerate %VERSION% as a CKEditor 4 version number in the compatibility hack
Categories
(Core :: DOM: Navigation, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr140 | --- | unaffected |
| firefox148 | --- | fixed |
| firefox149 | --- | fixed |
| firefox150 | --- | fixed |
People
(Reporter: hsivonen, Assigned: hsivonen)
References
(Regression)
Details
(Keywords: regression)
Attachments
(4 files, 4 obsolete files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
445 bytes,
text/html
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-release+
|
Details | Review |
Bug 2002481 added a compat hack for CKEditor 4. For the hack to activate, window.CKEDITOR.version must exist and must start with "4.".
In bug 2020668 comment 15, a case of CKEditor 4 without the build step that would replace %VERSION% with a version number has been reported.
We should tolerate %VERSION% as the version number (or drop the additional check beyond a magic class name).
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
| Assignee | ||
Updated•1 month ago
|
Comment 3•1 month ago
|
||
Set release status flags based on info from the regressing bug 543435
Comment 4•1 month ago
|
||
| bugherder | ||
Comment 5•1 month ago
|
||
The patch landed in nightly and beta is affected.
:hsivonen, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox149towontfix.
For more information, please visit BugBot documentation.
Comment 6•1 month ago
|
||
:hsivonen, to add to Comment 5, could you also consider a release uplift request?
| Assignee | ||
Comment 7•1 month ago
|
||
| Assignee | ||
Comment 8•1 month ago
|
||
| Assignee | ||
Comment 9•1 month ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D285982
Updated•1 month ago
|
Comment 10•1 month ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined: CKEditor 4 that has been deployed without the upstream-intended build step does not work in Firefox.
Also, bug 2020927 is on top of this one, and uplifting that one is more important.
- Code covered by automated testing: yes
- Fix verified in Nightly: yes
- Needs manual QE test: no
- Steps to reproduce for manual QE testing: Load the attachment named "Actual manual test" and observe in the console in dev tools that there is a warning "Altered iframe load event timing for compatibility with CKEditor 4’s browser detection" and there is a log line "EVENT".
- Risk associated with taking this patch: low
- Explanation of risk level: I have manually tested that properly-deployed CKEditor 4 (which needs the compat hack) and CKEditor 5 (which doesn't need the compat hack) work after this. I have reasoned from a properly-deployed CKEditor 5 demo that it uses different globals, so this is not supposed to break improperly-deployed CKEditor 5, either.
- String changes made/needed: None.
- Is Android affected?: yes
| Assignee | ||
Comment 11•1 month ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D285982
Updated•1 month ago
|
Comment 12•1 month ago
|
||
firefox-release Uplift Approval Request
- User impact if declined: CKEditor 4 that has been deployed without the upstream-intended build step does not work in Firefox.
Also, bug 2020927 is on top of this one, and uplifting that one is more important.
- Code covered by automated testing: yes
- Fix verified in Nightly: yes
- Needs manual QE test: no
- Steps to reproduce for manual QE testing: Load the attachment named "Actual manual test" and observe in the console in dev tools that there is a warning "Altered iframe load event timing for compatibility with CKEditor 4’s browser detection" and there is a log line "EVENT".
- Risk associated with taking this patch: low
- Explanation of risk level: I have manually tested that properly-deployed CKEditor 4 (which needs the compat hack) and CKEditor 5 (which doesn't need the compat hack) work after this. I have reasoned from a properly-deployed CKEditor 5 demo that it uses different globals, so this is not supposed to break improperly-deployed CKEditor 5, either.
- String changes made/needed: None.
- Is Android affected?: yes
| Assignee | ||
Comment 13•1 month ago
|
||
Updated•1 month ago
|
| Assignee | ||
Comment 14•1 month ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D285982
Updated•1 month ago
|
| Assignee | ||
Comment 15•1 month ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D285982
Updated•1 month ago
|
Updated•1 month ago
|
| Assignee | ||
Comment 16•1 month ago
|
||
The duplicate uplift requests are due to requesting uplift here first and then the uplifts requests in bug 2020927 depending on this change.
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Comment 17•1 month ago
|
||
| uplift | ||
Updated•1 month ago
|
Updated•1 month ago
|
Comment 18•1 month ago
|
||
| uplift | ||
Updated•1 month ago
|
Description
•