[Webkit-unassigned] [Bug 186451] New: Add support for --jscOptions in DumpRenderTree and WebKitTestRunner.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 8 17:07:14 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=186451

            Bug ID: 186451
           Summary: Add support for --jscOptions in DumpRenderTree and
                    WebKitTestRunner.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mark.lam at apple.com

This option can be used by a layout test to specify some JSC runtime options needed by the test e.g. by adding something like this to the top of the html file after the DOCTYPE tag:
    <!-- webkit-test-runner [ jscOptions=--useIntlPluralRules=true ] -->

If more than one option is needed, the options can be specified as a comma separated string e.g.
    <!-- webkit-test-runner [ jscOptions=--useIntlPluralRules=true,--useZombieMode=true ] -->

This only works with JSC options that can be changed at runtime.  Not all JSC options can be changed this way as some options are only checked and set once at VM / process initialization time: changing these types of options may have no effect.  It's the test writer's responsibility to determine which options are appropriate for with this webkit-test-runner jscOptions option.

<rdar://problem/40875792>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180609/4f98505d/attachment.html>


More information about the webkit-unassigned mailing list