[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


            Bug ID: 156688
           Summary: Javascript error, only when debugger is _not_
    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):

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:

An interactive repro is also available (which actually outputs an error):

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