Add logging to try to diagnose where we get a null structure.
Created attachment 343729 [details] Patch
Comment on attachment 343729 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=343729&action=review r=me with additional ChangeLog comment. > Source/JavaScriptCore/ChangeLog:9 > + Add a logging to JSObject::toPrimitive to help diagnose a nullptr > + structure crash. Can you please add a note that this logging is disabled by default, and requires a code change + rebuild to enable it?
Created attachment 343732 [details] Patch for landing
(In reply to Mark Lam from comment #2) > Can you please add a note that this logging is disabled by default, and > requires a code change + rebuild to enable it? I was wrong about this. Keith pointed out (offline) that this is not disabled by default, hence why this code is only here temporarily, and need to be removed eventually.
Comment on attachment 343732 [details] Patch for landing Rejecting attachment 343732 [details] from commit-queue. Number of test failures exceeded the failure limit. Full output: https://webkit-queues.webkit.org/results/8361086
Created attachment 343740 [details] Archive of layout-test-results from webkit-cq-01 for mac-sierra The attached test failures were seen while running run-webkit-tests on the commit-queue. Bot: webkit-cq-01 Port: mac-sierra Platform: Mac OS X 10.12.6
Created attachment 343748 [details] Patch for landing
Comment on attachment 343748 [details] Patch for landing Clearing flags on attachment: 343748 Committed r233278: <https://trac.webkit.org/changeset/233278>
All reviewed patches have been landed. Closing bug.
<rdar://problem/41543626>