Bug 228745

Summary: [iOS] Allow check for nvram "emu" state on internal OS builds
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: WebKit Misc.Assignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, pvollan, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Brent Fulgham 2021-08-03 11:59:08 PDT
Some internal test infrastructure needs the ability to check the state of the "emu" nvram variable. Let's allow this access when running on an apple-internal system to avoid spurious sandbox violation reports.
Comment 1 Brent Fulgham 2021-08-03 11:59:23 PDT
<rdar://problem/78363040>
Comment 2 Brent Fulgham 2021-08-03 12:02:15 PDT
Created attachment 434847 [details]
Patch
Comment 3 Per Arne Vollan 2021-08-03 12:05:20 PDT
Comment on attachment 434847 [details]
Patch

R=me.
Comment 4 Brent Fulgham 2021-08-03 15:48:13 PDT
The Mac-AS-debug-wk2 test failure is not relevant; these sandboxes are not used at all on macOS.
Comment 5 EWS 2021-08-03 15:52:18 PDT
Committed r280620 (240233@main): <https://commits.webkit.org/240233@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 434847 [details].