[Webkit-unassigned] [Bug 177482] New: Safari 11 crashing on minified JS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 26 03:45:35 PDT 2017


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

            Bug ID: 177482
           Summary: Safari 11 crashing on minified JS
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Macintosh
                OS: macOS 10.12.4
            Status: NEW
          Severity: Major
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: brian at dockyard.com

Our site: https://hightide.earth fails to load on initial load. If you refresh it will load as expected. If you close Safari 11 and hit the URL again it will crash again.

The LOC that appears to be affected relates to Google Analytics. The app initializer is attempting to instantiate the GA library with our user key. The code is minified and using AMDs from an Ember.js application.

Because Safari does not allow me to open the JS console prior to visiting any site I cannot debug this. If I visit another site, open JS console, then visit https://hightide.earth the app works as expected. So this is only happening when Hightide is the first app visited in a fresh instance of Safari.

The console error in question: `(0,a.default) is not a function. (In '(0,a.default)("create","UA-24185112-11","auto")', '(0,a.default)' is an instance of Object)`

Again, this is only a problem in a fresh instance of Safari. If I reload the app works as expected. If I visit from another URL the app works as expected. And I have no observed this error in any other browser.

-- 
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/20170926/fac673fc/attachment-0001.html>


More information about the webkit-unassigned mailing list