Broken click handler in conent tabs and WebExtension Windows
Categories
(Thunderbird :: Add-Ons: General, defect)
Tracking
(thunderbird_esr91 wontfix)
Tracking | Status | |
---|---|---|
thunderbird_esr91 | --- | wontfix |
People
(Reporter: TbSync, Assigned: darktrojan)
Details
Attachments
(1 file, 1 obsolete file)
STR:
Create a simple html page with an <h1 id="test">some header</h1>
and a link to "#test" somewhere at the bottom after a lot of text to jump back to the top. Load that page with browser.tabs.create({url})
or browser.windows.create({type: "popup", url})
. The link does not work in Thunderbird. It does in Firefox.
This is not only limited to WebExtension windows, but also affects standard content tabs.
There is a standard click handler invoked, which calls ContentDispatchChooser.jsm and tries to access gBrowser.getTabDialogBox which we do not have.
But I guess this itself is wrong already. I have not found where that is hooked up to our tabs/windows.
Reporter | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
The Gecko link-handling code thinks that Thunderbird doesn't handle these protocols, so if you click on a link it tries to open that link outside of Thunderbird.
The test in this patch wouldn't actually catch this problem (it's uses only HTTP) but might catch related problems in the future, so I'm upgrading it while I remember.
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/e47825b0f3c9
Expose file: javascript: and moz-extension: protocol URLs. r=john.bieling
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Description
•