Using target="_blank" in content pages does not work and sort of kills extensions
Categories
(Thunderbird :: Add-Ons: Extensions API, defect)
Tracking
(thunderbird_esr102 wontfix, thunderbird109 wontfix, thunderbird110 wontfix)
People
(Reporter: TbSync, Assigned: TbSync)
References
Details
Attachments
(3 files, 1 obsolete file)
I am able to crash a debug build by using target="_blank" in a tags. A normal build just stops working and kills extensions. There is no useful output on the console, even in debug builds.
STR:
- Install add-on
- Click on CLICK button in main toolbar
- You see 3 links. The first one works, the second one does not, the third on kills TB (debug build)
- After clicking on the second link, the add-on as basically dead (clicking on the CLICK button is not opening the page any more) and the add-on has to be disabled/enabled first.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 3•2 years ago
|
||
Depends on D167045
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 4•2 years ago
•
|
||
Try analysis
Without this patch:
https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=dd9a11a4e4244483ecadce4927bb03f43adaa602
With this patch:
https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=a296a67d6ef884e5501c1cffad24e62b8d4b3cf7
Additional fails on first run:
Linux opt:
X3: toolkit/components/extensions/test/xpcshell/test_ext_contentscript_errors.js
bct3: comm/mail/components/addrbook/test/browser/browser_edit_card.js
bct3: comm/mail/components/addrbook/test/browser/browser_edit_photo.j
Linux debug:
bct2: comm/mail/base/test/browser/browser_formPickers.js
bct2: comm/mail/base/test/browser/browser_linkHandler.js
bct3: Assertion failure: mDocGroup->GetBrowsingContextGroup() == GetBrowsingContext()->Group(), at /builds/worker/checkouts/gecko/dom/base/Document.cpp:4260
bct3: comm/mail/components/addrbook/test/browser/browser_contact_tree.js
bct5: comm/mail/test/browser/attachment/browser_attachmentMenus.js
bct7: Assertion failure: mDocGroup->GetBrowsingContextGroup() == GetBrowsingContext()->Group(), at /builds/worker/checkouts/gecko/dom/base/Document.cpp:4260
OSX opt:
bct7: comm/mail/test/browser/tabmail/browser_dragndrop.js
OSX debug:
bct5: comm/mail/test/browser/attachment/browser_attachmentMenus.js
Win opt:
X1: toolkit/components/downloads/test/unit/test_DownloadLegacy.js
X4: toolkit/components/cleardata/tests/unit/test_network_cache.js
Win debug:
bct1: ?
bct5: comm/mail/test/browser/attachment/browser_openAttachment.js
Win 64 debug:
X2: toolkit/components/antitracking/test/xpcshell/test_staticPartition_prefetch.js
The failed tests succeeded on second run. Win 32 debug bct1 log file however cannot be parsed (in both try runs).
Assignee | ||
Updated•2 years ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/b6f7d07e544b
Fix target links for WebExtensions. r=darktrojan
Assignee | ||
Comment 6•2 years ago
|
||
This is still crashing debug builds:
https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=00f794fef7c0f65f0c535b215cb072ebe3395693&selectedTaskRun=N9LuHz26R7OKpDYN3AWhgA.0
Removing the check from the test (to get rid of the test fail) and re-opening this to fix the debug crash.
Assignee | ||
Comment 7•2 years ago
|
||
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/0b8daf815bf2
Disable clickhandler test for debug builds, but run all parts for non-debug builds. r=mkmelin
Assignee | ||
Comment 9•9 months ago
|
||
The browser created by firefox does not have a docShell, when we reach the same assertion.
I can see that the docShell gets added in Thunderbird at this line:
https://searchfox.org/comm-central/source/mail/base/content/specialTabs.js#833
Assignee | ||
Comment 10•9 months ago
|
||
Marking this bug as fixed, as it fixed most of the described issues. The remaining debug crash is fixed in Bug 1882713.
Assignee | ||
Updated•9 months ago
|
Assignee | ||
Updated•5 months ago
|
Assignee | ||
Updated•5 months ago
|
Assignee | ||
Updated•5 months ago
|
Description
•