Some of the Legacy WebKit API entry points use ASSERT_MAIN_THREAD and DOM_ASSERT_MAIN_THREAD, but these macros have been no-ops since soon after their introduction over 8 years ago (<http://trac.webkit.org/r19280>, <http://trac.webkit.org/r19535>). All instances of DOM_ASSERT_MAIN_THREAD are followed by WebCoreThreadViolationCheckRoundOne(), which is a runtime exception by default. These macros (and the definition of DISABLE_THREAD_CHECK) could just be removed.
Created attachment 253691 [details] Remove ASSERT_MAIN_THREAD and DOM_ASSERT_MAIN_THREAD and their uses
Fixed in <http://trac.webkit.org/r184853>.
(In reply to comment #2) > Fixed in <http://trac.webkit.org/r184853>. It broke the bindings tests, please fix.
(In reply to comment #3) > (In reply to comment #2) > > Fixed in <http://trac.webkit.org/r184853>. > > It broke the bindings tests, please fix. A bindings test. Thank you. Fixed in <http://trac.webkit.org/r184854>.