Closed Bug 1704616 Opened 3 years ago Closed 3 years ago

Enable proton modals

Categories

(Toolkit Graveyard :: Notifications and Alerts, enhancement, P1)

Desktop
All
enhancement

Tracking

(firefox89 fixed)

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: Gijs, Assigned: Gijs)

References

(Blocks 1 open bug)

Details

Attachments

(3 files, 2 obsolete files)

Per discussion with Romain, we want to enable proton modals on nightly in their current state.

Depends on: 1699844

Failing tests:

browser/base/content/test/tabdialogs/browser_tabdialogbox_content_prompts.js
browser/components/places/tests/browser/browser_addBookmarkForFrame.js

annnd crashes in bug 1699844. It's quite possible that the crashes hide further test failures. :-(

I have fixes for the two tests in comment #2 but there are more places tests that are failing once I fix the addBookmarkForFrame one. Those seem largely to do with the helper that opens the bookmarks properties dialog, with context menus staying open when code was relying on the new window opening to close the menu and remove focus from it (so stray keypresses don't go there) and code being confused about whether to expect the dialog to open in a subdialog in the browser window or not. I hope to have a patch ready in the next few hours.

Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Keywords: leave-open
Pushed by gijskruitbosch@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/646a650576a9
fix modal tests that break with proton modals enabled, r=mak
Pushed by gijskruitbosch@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/623c1b4ecf35
work around promiseDocumentFlushed crashes in proton modal prompts, r=mconley
https://hg.mozilla.org/integration/autoland/rev/16e0111f7c6d
enable proton modals by default r=jaws
Keywords: leave-open
Pushed by btara@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/be83f7c46c9c
fix browser_beforeunload_urlbar.js to not crash in promiseDocumentFlushed, take #2
Regressions: 1705118
Backout by nbeleuzu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5b707acf2003
Backed out 2 changesets for Mochitest failures in remote/cdp/test/browser/page/browser_javascriptDialog_prompt.js. CLOSED TREE
Attachment #9215637 - Attachment is obsolete: true
Attachment #9215813 - Attachment is obsolete: true
No longer regressions: 1705118

Well, patches from 1699844 are landing now, so I pushed to try to see if that means we can flip the pref without having to work around that crash: https://treeherder.mozilla.org/#/jobs?repo=try&revision=7593edb99ef18efc0600aaea5e92c54122594077

Flags: needinfo?(gijskruitbosch+bugs)
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/43c14056afe4
handle promise rejections from promiseDocumentFlushed in case the modal window goes away, r=mconley
https://hg.mozilla.org/integration/autoland/rev/7a8ac810e5a1
enable proton modals by default r=jaws
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
Regressions: 1718982
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: