Bug 197617

Summary: Add assertions to JSLazyEventListener to help catch the cause of a crash
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore Misc.Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, ap, beidson, commit-queue, dbates, esprehn+autocc, ews-watchlist, ggaren, kangil.han, rniwa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=197576
https://bugs.webkit.org/show_bug.cgi?id=197696
Attachments:
Description Flags
Patch
none
Archive of layout-test-results from ews211 for win-future none

Description Chris Dumez 2019-05-06 10:56:22 PDT
Add assertions to JSLazyEventListener to help catch the cause of a crash (rdar://problem/24314027).
Comment 1 Chris Dumez 2019-05-06 10:58:15 PDT
Created attachment 369138 [details]
Patch
Comment 2 EWS Watchlist 2019-05-06 15:37:40 PDT
Comment on attachment 369138 [details]
Patch

Attachment 369138 [details] did not pass win-ews (win):
Output: https://webkit-queues.webkit.org/results/12115355

New failing tests:
js/dom/custom-constructors.html
Comment 3 EWS Watchlist 2019-05-06 15:37:42 PDT
Created attachment 369184 [details]
Archive of layout-test-results from ews211 for win-future

The attached test failures were seen while running run-webkit-tests on the win-ews.
Bot: ews211  Port: win-future  Platform: CYGWIN_NT-10.0-17763-3.0.5-338.x86_64-x86_64-64bit
Comment 4 Chris Dumez 2019-05-06 15:56:42 PDT
Comment on attachment 369138 [details]
Patch

I doubt the windows failure is related.
Comment 5 Alexey Proskuryakov 2019-05-06 16:45:37 PDT
It crashed, so maybe it is? But can't get a crash log from Windows EWS AFAIK.
Comment 6 Chris Dumez 2019-05-06 16:50:58 PDT
(In reply to Alexey Proskuryakov from comment #5)
> It crashed, so maybe it is? But can't get a crash log from Windows EWS AFAIK.

Yes, it crashed but no crash trace and the test in question does not seem to have lazy event listeners.
Comment 7 WebKit Commit Bot 2019-05-06 17:21:31 PDT
Comment on attachment 369138 [details]
Patch

Clearing flags on attachment: 369138

Committed r244995: <https://trac.webkit.org/changeset/244995>
Comment 8 WebKit Commit Bot 2019-05-06 17:21:33 PDT
All reviewed patches have been landed.  Closing bug.
Comment 9 Radar WebKit Bug Importer 2019-05-06 17:23:58 PDT
<rdar://problem/50520711>