Port bug 1559181 to Thunderbird - Loading chrome pages blocked by about: policies never complete
Categories
(Thunderbird :: Upstream Synchronization, task, P1)
Tracking
(thunderbird_esr78 unaffected, thunderbird83 unaffected)
Tracking | Status | |
---|---|---|
thunderbird_esr78 | --- | unaffected |
thunderbird83 | --- | unaffected |
People
(Reporter: mkmelin, Assigned: mkaply)
References
Details
Attachments
(1 file, 1 obsolete file)
11.06 KB,
patch
|
mkaply
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1559181 +++
This is at least making the comm/mail/components/enterprisepolicies/tests/browser/browser_policy_block_about.js test fail
Assignee | ||
Comment 1•4 years ago
|
||
Sorry about that. I have a local Thunderbird build. I'll take a look.
Assignee | ||
Comment 2•4 years ago
|
||
I think this will do it, but thunderbird tests aren't running locally for me.
There's a new function on nsIAboutModule that retrieves the chrome URI so we can block it in addition to the about: version.
The test itself doesn't need much change (although it can be rewritten to test the chrome URLs as well)
Reporter | ||
Comment 3•4 years ago
|
||
I did some addititions/modifications and now the test passes.
I don't quite understand why Firefox don't need to have a PromiseTestUtils.expectUncaughtRejection call for the blocked requests. But maybe it's there somewhere and I'm just not seeing it... Seems correct that it should be there though and the test doesn't pass without it.
Assignee | ||
Comment 4•4 years ago
|
||
Comment on attachment 9183548 [details] [diff] [review]
thunderbird.diff
Thanks for correcting my mistakes
LGTM.
I wonder if one of those about pages doesn't explicitly in Thunderbird?
Either way, you're right, better safe than sorry.
Reporter | ||
Comment 5•4 years ago
|
||
(In reply to Mike Kaply [:mkaply] from comment #4)
Thanks for correcting my mistakes
Thanks for the initial patch! :)
I wonder if one of those about pages doesn't explicitly in Thunderbird?
I think some word is missing here? What did you mean to ask?
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/ec2929c05e02
Port bug 1559181 to Thunderbird - Loading chrome pages blocked by about: policies never complete. r=mkaply
Reporter | ||
Updated•4 years ago
|
Comment hidden (Intermittent Failures Robot) |
Description
•