Add internal setting to disable SecureContext checks, in order to facilitate development for features like Service workers or device orientation / motion.
<rdar://problem/54438512>
Created attachment 376886 [details] Patch
Attachment 376886 [details] did not pass style-queue: ERROR: Tools/TestWebKitAPI/Tests/WebKitCocoa/DeviceOrientation.mm:305: Multi-line string ("...") found. This lint script doesn't do well with such strings, and may give bogus warnings. They're ugly and unnecessary, and you should use concatenation instead". [readability/multiline_string] [5] ERROR: Tools/TestWebKitAPI/Tests/WebKitCocoa/DeviceOrientation.mm:313: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Tools/TestWebKitAPI/Tests/WebKitCocoa/DeviceOrientation.mm:320: Multi-line string ("...") found. This lint script doesn't do well with such strings, and may give bogus warnings. They're ugly and unnecessary, and you should use concatenation instead". [readability/multiline_string] [5] ERROR: Tools/TestWebKitAPI/Tests/WebKitCocoa/DeviceOrientation.mm:345: More than one command on the same line [whitespace/newline] [4] Total errors found: 4 in 10 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 376888 [details] Patch
Attachment 376888 [details] did not pass style-queue: ERROR: Tools/TestWebKitAPI/Tests/WebKitCocoa/DeviceOrientation.mm:305: Multi-line string ("...") found. This lint script doesn't do well with such strings, and may give bogus warnings. They're ugly and unnecessary, and you should use concatenation instead". [readability/multiline_string] [5] ERROR: Tools/TestWebKitAPI/Tests/WebKitCocoa/DeviceOrientation.mm:313: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Tools/TestWebKitAPI/Tests/WebKitCocoa/DeviceOrientation.mm:320: Multi-line string ("...") found. This lint script doesn't do well with such strings, and may give bogus warnings. They're ugly and unnecessary, and you should use concatenation instead". [readability/multiline_string] [5] ERROR: Tools/TestWebKitAPI/Tests/WebKitCocoa/DeviceOrientation.mm:345: More than one command on the same line [whitespace/newline] [4] Total errors found: 4 in 10 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 376888 [details] Patch Why don't you just use TCPServer with HTTPS or HTTPSProxy? Then we wouldn't have to add a way to disable important security checks.
(In reply to Alex Christensen from comment #6) > Comment on attachment 376888 [details] > Patch > > Why don't you just use TCPServer with HTTPS or HTTPSProxy? Then we wouldn't > have to add a way to disable important security checks. Please look at the radar.
Comment on attachment 376888 [details] Patch Clearing flags on attachment: 376888 Committed r248957: <https://trac.webkit.org/changeset/248957>
All reviewed patches have been landed. Closing bug.