[Webkit-unassigned] [Bug 281369] REGRESSION (iOS 17): Random SyntaxError: Invalid character: '\0'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 17 02:36:06 PDT 2024


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

--- Comment #5 from chyizheng <chyizheng at tencent.com> ---
(In reply to Mark Lam from comment #3)
> chyizheng, do you have a reproduction test case demonstrating the issue.
> 
> Also, though the stack trace is random and non-sensical, sharing it may or
> may not shed some light too.  Right now, we have absolutely no info on this.

I'm very sorry that i cannot provide more info on this, but we really couldn't find a way to reproduce.

Here's all the info we got:

1. It's only related to JavaScriptCore on iOS 17 and above.
2. It's not related to sepecific framework or application.
3. Once the error is triggered, it will keep occurring until the application is restarted.
4. The error stack is different each time it occurs.
5. The first line of the error stack is `[native code]` even if the actual stack is a javascript function.

Here is some error stack samples:

```
Invalid character: '\0'
    all@[native code]
    webpack://__appServiceSDK__/src/appservice/network/tasks/NetworkTask.js:609:18

  608 |
> 609 |       Promise.all([requestDataLengthPromise, responseDataLengthPromise]).then(
      |                  ^
  610 |         ([requestDataLength, responseDataLength]) => {
tTask.call(task, {
```

```
Invalid character: '\0'
    ho@[native code]
    newChildren at webpack://__virtualDOM__/src/tmpl/list_diff.js:205:39

  204 |     if (node === null) {
> 205 |       node = virtualTreeToExparserNode(newChildren[index], null, exparserNode.ownerShadowRoot, tm, false)
      |                                       ^
  206 |     }
```

```
Invalid character: '\0'
    pd@[native code]
    webpack://__appServiceSDK__/src/appservice/device/network.js:53:15

  52 | const _getNetworkType = args => {
> 53 |   invokeMethod('getNetworkType', args, {
     |               ^
  54 |     beforeAll(res) {

```

-- 
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/20241017/b983f962/attachment.htm>


More information about the webkit-unassigned mailing list