[Webkit-unassigned] [Bug 250661] New: variable assignment seemed to have failed rarely in JavaScript

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 15 19:15:30 PST 2023


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

            Bug ID: 250661
           Summary: variable assignment seemed to have failed rarely in
                    JavaScript
           Product: WebKit
           Version: Safari 16
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: takuo.kihira at gmail.com

It seemed to have failed to assign a value in JavaScript.

I couldn't make a minimal reproducible example so I share the entire program URL here:
https://dop32t.csb.app

After the game finishing, the time on the bottom should stop but sometimes it continues to run.

Here is the source code: https://dop32t.csb.app/main.js

The `gameOver` variable is the controller of the timer, and it should be true when the screen shows the 'Clear!' message.

I've recorded the reproducing video: https://www.youtube.com/shorts/rROZFfi7afc

Here is how I reproduced this issue:

1. Open https://dop32t.csb.app URL in Mobile Safari
2. Kill the Mobile Safari and relaunch it
3. Play the game to the end
4. Sometimes (50% probability in my env) the timer does not stop
5. If you back to home screen and then reopen the Safari, the timer stops

This is not only for iOS but also PC Safari as well. No other browsers, like Chrome or Firefox, do not behave like this. Below is reproduced versions:

- iOS 15.4
- iOS 16.0
- MacOS Safari Version 14.0.3 (16610.4.3.1.7)
- MacOS Safari Version 16.2 (17614.3.7.1.7, 17614)

-- 
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/20230116/42e3aaad/attachment.htm>


More information about the webkit-unassigned mailing list