Closed
Bug 1403325
Opened 7 years ago
Closed 7 years ago
Need to add objdir to "sandbox_whitelist_paths" on Windows
Categories
(Testing :: Reftest, enhancement, P1)
Tracking
(firefox58 fixed)
RESOLVED
FIXED
mozilla58
Tracking | Status | |
---|---|---|
firefox58 | --- | fixed |
People
(Reporter: ahal, Assigned: ahal)
References
Details
(Whiteboard: sb+)
Attachments
(1 file)
Bas was hitting an issue when running |mach reftest| on Windows. We discovered it was because his objdir lived outside of topsrcdir and tracked that down to the sandbox whitelist.
There are currently two options that can add to the sandbox whitelist, --work-path and --obj-path. We do pass in the objdir into --obj-path already, but for some reason that only gets added on Linux.
I find these two arguments fairly confusing. I'd prefer a single --sandbox-whitelist argument that can be passed in multiple times. It's more clear what it's for and provides more flexibility in adding additional paths to the whitelist.
Updated•7 years ago
|
Whiteboard: sb?
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → ahalberstadt
Status: NEW → ASSIGNED
Comment hidden (mozreview-request) |
Assignee | ||
Comment 2•7 years ago
|
||
Hey Alex, I flagged you for the review as the author of bug 1374557, but feel free to redirect if needed.
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8912405 [details]
Bug 1403325 - Use a single --sandbox-read-whitelist argument in mochitest and reftest,
https://reviewboard.mozilla.org/r/183724/#review189194
r+ with small nit: please change `sandbox-whitelist` to `sandbox-read-whitelist` for clarity that these paths do not have write permissions.
Attachment #8912405 -
Flags: review?(agaynor) → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Pushed by ahalberstadt@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/35460a8966c7
Use a single --sandbox-read-whitelist argument in mochitest and reftest, r=Alex_Gaynor
Updated•7 years ago
|
Priority: -- → P1
Whiteboard: sb? → sb+
Comment 7•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Comment 8•7 years ago
|
||
This regressed bug 1392640, which is a blocker for people working on layout.
For future reference, the "for some reason ... on Linux" bit had a reason, and the reason was pretty obvious from looking at the blame...
You need to log in
before you can comment on or make changes to this bug.
Description
•