Closed Bug 1677735 Opened 4 years ago Closed 4 years ago

perma comm/mail/components/enterprisepolicies/tests/browser/browser_policy_block_about.js | and other NS_ERROR_BLOCKED_BY_POLICY [nsIWebNavigation.loadURI]" failures

Categories

(Thunderbird :: General, defect, P5)

Tracking

(thunderbird_esr78 unaffected, thunderbird84 unaffected)

RESOLVED FIXED
85 Branch
Tracking Status
thunderbird_esr78 --- unaffected
thunderbird84 --- unaffected

People

(Reporter: intermittent-bug-filer, Assigned: darktrojan)

Details

(Keywords: intermittent-failure)

Attachments

(3 files, 1 obsolete file)

Filed by: mkmelin [at] iki.fi
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=322031248&repo=comm-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Ql3BQgBqTYOmi1CoDE3s6g/runs/0/artifacts/public/logs/live_backing.log


Caused by some mozilla-central change in https://hg.mozilla.org/mozilla-central/pushloghtml?changeset=31d67eef91da183d26334f42e78ae41d9b37ff90```

Suspects bug 1675018 and bug 1585070 were backed out in the same push. Bug 1671983 perhaps.

This is one thing that needed porting from 1671983. But doesn't seem to fix things - just briefly checked locally. Sent it to try now: https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=0ed3440578b598bb5b3ea00275b74d5247bc3773

Attachment #9188421 - Flags: review?(geoff)

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/e0ea3f0dc638
port bug 1671983 - Remove E10SUtils.shouldLoadURI. r=darktrojan
https://hg.mozilla.org/comm-central/rev/c2719f6fa5cc
Catch uncaught but expected NS_ERROR_BLOCKED_BY_POLICY in a test. rs=bustage-fix

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED

Comment on attachment 9188421 [details] [diff] [review]
bug1677735_blocked_by_policy.patch

Oops, I should review this before landing it. It doesn't fix the problem, but still needed doing.

Attachment #9188421 - Flags: review?(geoff) → review+

Here's a patch that does fix the bug. I've already landed it.

I'm not entirely sure why this behaves differently on Firefox but it does. It seems to me the exception should throw for them too.
I think it has something to do with the relationship between their browser elements and gBrowser. The same behaviour occurs whether E10s is enabled or not.

Assignee: nobody → geoff
Attachment #9188480 - Flags: review?(mkmelin+mozilla)
Comment on attachment 9188480 [details] [diff] [review]
1677735-about-pages-test.diff

Review of attachment 9188480 [details] [diff] [review]:
-----------------------------------------------------------------

Yep, I had the same question in bug 1672995 comment 3.
Attachment #9188480 - Flags: review?(mkmelin+mozilla) → review+
Target Milestone: --- → 85 Branch
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/7f1183f577d4
Catch uncaught but expected NS_ERROR_BLOCKED_BY_POLICY in another test. rs=bustage-fix

More syncing up

Attachment #9188512 - Flags: review?(geoff)

Comment on attachment 9188512 [details] [diff] [review]
bug1677735_about_devtools_blocked.patch

Wrong patch

Attachment #9188512 - Attachment is obsolete: true
Attachment #9188512 - Flags: review?(geoff)
Attachment #9188514 - Flags: review?(geoff) → review+
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/8d3857d43929
part 4 - more syncing up of the Firefox version of the test. r=darktrojan
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: