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)

Version 3
enhancement

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.
Whiteboard: sb?
Assignee: nobody → ahalberstadt
Status: NEW → ASSIGNED
Hey Alex, I flagged you for the review as the author of bug 1374557, but feel free to redirect if needed.
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+
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
Priority: -- → P1
Whiteboard: sb? → sb+
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Depends on: 1407292
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.

Attachment

General

Created:
Updated:
Size: