Closed Bug 1868395 Opened 1 year ago Closed 1 year ago

Intermittent TV dom/notification/test/browser/browser_permission_dismiss.js | single tracking bug

Categories

(Core :: DOM: Push Subscriptions, defect, P5)

defect

Tracking

()

RESOLVED FIXED
122 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox120 --- unaffected
firefox121 --- unaffected
firefox122 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression, test-verify-fail)

Attachments

(1 file)

Filed by: csabou [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=438905988&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Y7sSdRNlTb-3ADbmFv4wbg/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Y7sSdRNlTb-3ADbmFv4wbg/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2023-12-05T15:19:48.756Z] 15:19:48     INFO - TEST-PASS | dom/notification/test/browser/browser_permission_dismiss.js | doorhanger should have been removed in all cases by now - 
[task 2023-12-05T15:19:48.757Z] 15:19:48     INFO - Buffered messages logged at 15:18:25
[task 2023-12-05T15:19:48.760Z] 15:19:48     INFO - Console message: [JavaScript Error: "InvalidStateError: JSWindowActorChild.sendAsyncMessage: JSWindowActorChild cannot send at the moment" {file: "resource://gre/actors/CookieBannerChild.sys.mjs" line: 272}]
[task 2023-12-05T15:19:48.761Z] 15:19:48     INFO - Buffered messages logged at 15:18:26
[task 2023-12-05T15:19:48.763Z] 15:19:48     INFO - Console message: [JavaScript Error: "Error: Can't find profile directory." {file: "resource://gre/modules/XULStore.sys.mjs" line: 60}]
[task 2023-12-05T15:19:48.764Z] 15:19:48     INFO - load@resource://gre/modules/XULStore.sys.mjs:60:15
[task 2023-12-05T15:19:48.765Z] 15:19:48     INFO - XULStore@resource://gre/modules/XULStore.sys.mjs:17:10
[task 2023-12-05T15:19:48.767Z] 15:19:48     INFO - 
[task 2023-12-05T15:19:48.769Z] 15:19:48     INFO - Buffered messages logged at 15:18:27
[task 2023-12-05T15:19:48.771Z] 15:19:48     INFO - Console message: [JavaScript Warning: "Requesting Notification permission outside a short running user-generated event handler is deprecated and will not be supported in the future." {file: "https://example.com/browser/dom/notification/test/browser/notification.html" line: 0}]
[task 2023-12-05T15:19:48.772Z] 15:19:48     INFO - TEST-PASS | dom/notification/test/browser/browser_permission_dismiss.js | Should call the legacy callback with the permission state - "granted" == "granted" - 
[task 2023-12-05T15:19:48.774Z] 15:19:48     INFO - TEST-PASS | dom/notification/test/browser/browser_permission_dismiss.js | Should resolve the promise with the permission state - "granted" == "granted" - 
[task 2023-12-05T15:19:48.775Z] 15:19:48     INFO - Buffered messages finished
[task 2023-12-05T15:19:48.777Z] 15:19:48     INFO - TEST-UNEXPECTED-FAIL | dom/notification/test/browser/browser_permission_dismiss.js | Test timed out - 
[task 2023-12-05T15:19:48.779Z] 15:19:48     INFO - GECKO(1616) | Completed ShutdownLeaks collections in process 1616
[task 2023-12-05T15:19:48.781Z] 15:19:48     INFO - TEST-START | Shutdown
[task 2023-12-05T15:19:48.782Z] 15:19:48     INFO - Browser Chrome Test Summary
[task 2023-12-05T15:19:48.784Z] 15:19:48     INFO - Passed:  58
[task 2023-12-05T15:19:48.785Z] 15:19:48     INFO - Failed:  1
[task 2023-12-05T15:19:48.787Z] 15:19:48     INFO - Todo:    0
[task 2023-12-05T15:19:48.788Z] 15:19:48     INFO - Mode:    e10s
[task 2023-12-05T15:19:48.790Z] 15:19:48     INFO - *** End BrowserChrome Test Results ***
Assignee: nobody → hsingh
Summary: Intermittent TV dom/notification/test/browser/browser_permission_dismiss.js | Test timed out - → Intermittent TV dom/notification/test/browser/browser_permission_dismiss.js | single tracking bug

Set release status flags based on info from the regressing bug 1866099

browser_permission_dismiss.js could fail in test variants where test is run multiple times with the same
browser window because the permissions were not cleared out properly at the end of test and as a result,
the next iteration of the test run did not yield expected results.

Pushed by hsingh@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b8c2667c7f01 Fixing browser_permission_dismiss.js failure for repeated runs.r=saschanaz
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: