Bug 247460
| Summary: | JetStream driver should ignore references to URL parameters when run in `jsc` shell | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | hysu <hysu> |
| Component: | Tools / Tests | Assignee: | hysu <hysu> |
| Status: | RESOLVED FIXED | ||
| Severity: | Major | CC: | hysu, webkit-bug-importer |
| Priority: | P1 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
hysu
https://bugs.webkit.org/show_bug.cgi?id=247301 broke JS2 testing on Linux, as well as RAMification on macOS.
The cause for this is that `URLSearchParams` is undefined in the `jsc` shell. When run in the shell, URL parameters are irrelevant anyways (because the test is not being invoked via a URL), so ideally this logic should be ignored.
```
$ ~/tools/WebKit/WebKitBuild/Release/bin/jsc watch-cli.js
Exception: ReferenceError: Can't find variable: URLSearchParams
```
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/101934826>
hysu
Pull request: https://github.com/WebKit/WebKit/pull/6109
EWS
Committed 256304@main (e43d0d6df748): <https://commits.webkit.org/256304@main>
Reviewed commits have been landed. Closing PR #6109 and removing active labels.