Fix known sites fallout from mirroring charCode and keyCode values (1479964) in 66
Categories
(Core :: DOM: Events, defect, P1)
Tracking
()
People
(Reporter: miketaylr, Assigned: denschub, NeedInfo)
References
Details
Attachments
(2 files)
(deleted),
text/x-phabricator-request
|
Details | |
Bug 1538966 - Beta/Release - Use legacy keyCode and charCode for sites with known issues. r=masayuki
(deleted),
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
pascalc
:
approval-mozilla-release+
|
Details |
This bug covers the sites we want to add to the blacklist controlled by dom.keyboardevent.keypress.hack.use_legacy_keycode_and_charcode.
We should get a patch landed ASAP, and request beta and release uplist to try to make the next dot release.
Reporter | ||
Comment 1•6 years ago
|
||
[Tracking Requested - why for this release]:
We want to get this patch into the next dot release.
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Okay, here is a patch adding a few more domains to the prefs.
dom.keyboardevent.keypress.hack.use_legacy_keycode_and_charcode
:
- For Office (bug 1538651, bug 1538652), we decided to add some wildcard domains. This is based on this comment, and initial conversations we had with Microsoft. It's probably the safest approach for us right now.
- For IBM Webmail (bug 1538317), this patch only includes the one known domain. The domain is mentioned in IBMs docs, so it's likely a generic endpoint for one of their shared cloud offerings. We're working on getting more information here, but for now, that's all we have. Given we can't really tell what else is behind that domain, using a wildcard here would be dangerous. We can iterate in the future.
dom.keyboardevent.keypress.hack.dispatch_non_printable_keys
:
- For iCloud (bug 1537913), Adam confirmed in that bug that this resolves the issue. iCloud always seems to hard-redirect to the www-subdomain for these documents, so I see no reason to use a wildcard here.
Masayuki, could you have a look at that patch? We're trying to get this into the next dot-release, so you're a good first reviewer-try, given the timezone. :)
Updated•6 years ago
|
Pushed by nbeleuzu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/15a1ecb3c254
Use legacy keyCode and charCode for sites with known issues. r=masayuki
Comment 6•6 years ago
|
||
bugherder |
Updated•6 years ago
|
Comment 7•6 years ago
|
||
Dennis, please request uplift to beta and release today for our next dot release, thanks!
Updated•6 years ago
|
Assignee | ||
Comment 8•6 years ago
|
||
Assignee | ||
Comment 9•6 years ago
|
||
Comment on attachment 9053591 [details]
Bug 1538966 - Beta/Release - Use legacy keyCode and charCode for sites with known issues. r=masayuki
Beta/Release Uplift Approval Request
- Feature/Bug causing the regression: Bug 1502795
- User impact if declined: Office 365's PowerPoint, Word, and OneNote (potentially others), as well as some iCloud functionality and IBM WebMail would be broken.
- Is this code covered by automated tests?: Unknown
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): It's changing a pref value that's known to be working, as we previously have updated the value for Release.
- String changes made/needed:
- Do you want to request approval of these patches as well?:
Assignee | ||
Comment 10•6 years ago
|
||
Note: Both patches here are basically the same - I only had to build a second one as the initial PowerPoint pref-value never got uplifted to Beta, so the patch wouldn't apply.
Also, as we decided to use a wildcard for Office, the just discovered bug 1539087 is already covered by this patch, without any changes.
Comment 11•6 years ago
|
||
Comment on attachment 9053591 [details]
Bug 1538966 - Beta/Release - Use legacy keyCode and charCode for sites with known issues. r=masayuki
Webcompat driver for 66.0.2, approved for release and beta branches, thanks!
Comment 13•6 years ago
|
||
bugherder uplift |
Comment 14•6 years ago
|
||
bugherder uplift |
Updated•6 years ago
|
Comment 15•6 years ago
|
||
Dennis, could you help us with some steps to verify this bug? Would few web compatibility check of the above mentioned websites from comment 9?
Assignee | ||
Comment 16•6 years ago
|
||
As discussed on Slack, please do check the bugs blocking this bug, each of them has STRs in them. I removed bug 1538970 from that list, because it was discovered too late for this bug, and has its own patch.
Comment 17•6 years ago
|
||
Hi, We tested on Windows 10, Ubuntu and MAC OsX systems with the latest versions of Release 66.0.2, Nightly 68.0a1 (2019-03-26)and Beta 67.0b6 and the issues blocking this Bug no longer occur in these versions. I will mark this issue accordingly.
Comment 18•6 years ago
|
||
There seems to be an extra period before the comma on this one, which may or may not make any difference:
*.officeapps-df.live.com.,
Comment 19•6 years ago
|
||
After upgrading to 66.0.2 on Win10, the online versions of Word and OneNote are still adding an extra space character.
Reporter | ||
Comment 20•6 years ago
|
||
Dennis, could Comment #19 be related to Comment #18?
Assignee | ||
Comment 21•6 years ago
|
||
jefmitch: interesting. Could you do me a favor? In the OneNote tab, open the Firefox Developer Tools console (Cmd-Opt-K on macOS, Ctrl-Alt-K on Win/Linux), and paste
Array.from(document.querySelectorAll("iframe")).map(f => f.contentWindow)
and copy-paste the output of that command to the bug here? Maybe there is another domain we need to capture.
(In reply to Mike Taylor [:miketaylr] from comment #20)
Dennis, could Comment #19 be related to Comment #18?
Unlikely, unless the person happens to use OneNote via that domain, which we'll know soon. :) Will file a follow-up to remove that point.
Comment 22•6 years ago
|
||
(4) […]
0: Window https://skyapi.onedrive.live.com/api/proxy?v=3
1: Restricted https://people.directory.live.com/xmlProxy.htm?vn=9.090519.0&domain=live.com
2: Restricted https://people.directory.live.com/xmlProxy.htm?vn=9.090519.0&domain=live.com
3: Restricted https://onenote.officeapps.live.com/o/onenoteframe.aspx?ui=en-US&rs=en-US&hid=+xyB1XtrV0qnP0qNWgWi/Q.0&WOPISrc=https%3A%2F%2Fwopi.onedrive.com%2Fwopi%2Ffolders%2F48608058A8638883%21570928&wdo=6&wdorigin=ondc&sc=host%3D%26qt%3DFolders&mscc=1&wdp=0
length: 4
Assignee | ||
Updated•6 years ago
|
Comment 23•6 years ago
|
||
Something with UBlock Origin was breaking it. It works after disabling that extension.
Assignee | ||
Comment 24•6 years ago
|
||
Ah, alright. Thanks for the report and the help anyway, much appreciated. :)
Comment 25•6 years ago
|
||
After getting the update with the X key bugfix.... Suddenly in our topdesk.net page we cant type words with a lower-case x anymore, and it sends the TAB key instead.
Could this be fixed soon?
Assignee | ||
Comment 26•6 years ago
|
||
Hey Sven, thanks for stopping by! We didn't hotfix any specific key, and also topdesk.net was not in the list of domains we added an exception for, so I unfortunately have no way to answer your question without knowing more details. If you have a webapp that's broken right now, we'd really like to know details. Do you mind filing a separate bug for that (this one is already closed), and could you provide us with a URL/account credentials so we could have a look at what's exactly going on there?
If you file a new bug, please needinfo me there as well, so I can make sure we work on that as soon as possible. :)
Updated•6 years ago
|
Comment 28•5 years ago
|
||
Please specify a root cause for this bug. See :tmaity for more information.
Assignee | ||
Updated•5 years ago
|
Description
•