Closed
Bug 1586888
Opened 5 years ago
Closed 5 years ago
Test security/sandbox/test/browser_content_sandbox_fs.js has failures on macOS Catalina
Categories
(Core :: Security: Process Sandboxing, defect, P2)
Tracking
()
RESOLVED
FIXED
mozilla72
People
(Reporter: haik, Assigned: haik)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
On macOS Catalina Betas, some tests in browser_content_sandbox_fs.js are failing because two directories used for tests/checks don't exist. Those are /Network
and /Library/Widgets
. We need to update the tests to take this into account.
$ ./mach test --headless security/sandbox/test/browser_content_sandbox_fs.js
Unexpected Results
------------------
security/sandbox/test/browser_content_sandbox_fs.js
FAIL Uncaught exception - [Exception... "Component returned failure code: 0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST) [nsIFile.isDirectory]" nsresult: "0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST)" location: "JS frame :: chrome://mochitests/content/browser/security/sandbox/test/browser_content_sandbox_utils.js :: GetDir :: line 96" data: no]
Stack trace:
GetDir@chrome://mochitests/content/browser/security/sandbox/test/browser_content_sandbox_utils.js:96:17
testFileAccess@chrome://mochitests/content/browser/security/sandbox/test/browser_content_sandbox_fs.js:468:25
Tester_execTest/<@chrome://mochikit/content/browser-test.js:1350:34
async*Tester_execTest@chrome://mochikit/content/browser-test.js:1385:11
nextTest/<@chrome://mochikit/content/browser-test.js:1213:14
SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:805:67
FAIL Found an unexpected tab at the end of test run: about:blank -
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → haftandilian
Priority: -- → P2
Assignee | ||
Comment 1•5 years ago
|
||
Don't test with directories not present on macOS 10.15.
Updated•5 years ago
|
Attachment #9101704 -
Attachment description: Bug 1586888 - Test security/sandbox/test/browser_content_sandbox_fs.js has failures on macOS Catalina r?spohl → Bug 1586888 - Test security/sandbox/test/browser_content_sandbox_fs.js has failures on macOS Catalina r?gcp
Pushed by haftandilian@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e2135df66bd7
Test security/sandbox/test/browser_content_sandbox_fs.js has failures on macOS Catalina r=gcp
Comment 3•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox72:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Updated•5 years ago
|
status-firefox70:
--- → wontfix
status-firefox-esr68:
--- → affected
Comment 4•5 years ago
|
||
bugherder uplift |
Comment 5•5 years ago
|
||
bugherder uplift |
Comment 6•5 years ago
|
||
bugherder landing |
You need to log in
before you can comment on or make changes to this bug.
Description
•