Closed Bug 1570009 Opened 5 years ago Closed 5 years ago

Add Tests for sandbox

Categories

(Core :: Security: Process Sandboxing, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: srujana121, Assigned: srujana121, Mentored)

References

Details

Attachments

(3 files)

Write tests to see if sandbox is working as expected as code changes might accidentally disable features we thought we were protected against.

Assignee: nobody → Srujana.htt121
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #9086193 - Attachment description: Basic IPDL protocol with two actors. → Testing framework for Content Process.
Attachment #9086194 - Attachment description: Added GPU Process testing to the framework. → Part 3 : Added GPU Process testing to the framework.
Attachment #9086193 - Attachment description: Testing framework for Content Process. → Part 2 : Testing framework for Content Process.
Attachment #9086193 - Attachment description: Part 2 : Testing framework for Content Process. → Part 2 : Added Content Process testing to the framework.

Created a new browser-chrome test which uses a new XPCOM to create top-level actors for testing sandbox.

Attachment #9091612 - Attachment description: Part 1: Sandbox Testing framework. → Part 1: Create a top-level actor in child processes capable of testing the sandbox.

Thanks for all your work on this Srujana, I'll hopefully be able to look at these patches on Monday.

Pushed by daparks@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cfc5fac4fbb6
Part 1: Create a top-level actor in child processes capable of testing the sandbox. r=bobowen,dmajor
https://hg.mozilla.org/integration/autoland/rev/191da9c84380
Part 2 : Added Content Process testing to the framework. r=bobowen
https://hg.mozilla.org/integration/autoland/rev/e60db9056c2e
Part 3 : Added GPU Process testing to the framework. r=bobowen
Regressions: 1589277
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71

I'm running into an issue when trying to build a debug build on Mac that seems to stem from this update.

"/gecko/security/sandbox/common/test/SandboxTestingParent.h:10:10: fatal error: 'mozilla/PSandboxTestingParent.h' file not found"

I can do a non-debug build on Firefox just fine.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: