[Webkit-unassigned] [Bug 156688] New: Javascript error, only when debugger is _not_ connected

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 18 01:17:42 PDT 2016


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

            Bug ID: 156688
           Summary: Javascript error, only when debugger is _not_
                    connected
    Classification: Unclassified
           Product: WebKit
           Version: Safari 9
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: markus.johnsson at infviz.com

I have encountered a bug in Safari/webkit that appears only when the developer tools are *not* open, which makes me think it is related to optimisation of javascript. 

The easiest way to confirm there is an issue is to use the following link (no interaction required):
http://res.statisticsstudio.com/app-v81/player.htm?app=b546db83-f6dd-4c0c-b266-9637265a08f9&v=v81

Opened with the developer tools / web inspector open, it loads correctly. If the developer tools are not open, it does not load.

It loads fine in Chrome, IE, Firefox

This link, for comparison (same javascript, less data), loads OK even without debugger in Safari:
http://res.statisticsstudio.com/app-v81/player.htm?app=cc22d264-322d-4cd4-819a-e1d5efbd7c21&v=v81


An interactive repro is also available (which actually outputs an error):
http://res.statisticsstudio.com/app-v81/default.htm?app=9650898a-0a88-49e6-b10d-b1ef68544a6d

1. Close developer tools / web inspector window
2. Click “Kom igång!”
3. Check “Utbildningsnivå” in the left panel
4. Click “Klar” at the bottom
5. Click the leftmost layout button
6. Click “Linjediagram”
7. In the far right panel, click “Län”
8. Click all items in the “Län” list (crashes towards the end of the list: “undefined is not an object”)

Try again with developer tools open, at it does not crash.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160418/b5d4d00b/attachment-0001.html>


More information about the webkit-unassigned mailing list