Crash when trying to add a timer to a detached document.
https://bugs.webkit.org/show_bug.cgi?id=77692 Reviewed by Alexey Proskuryakov. In http://webkit.org/b/77370, a timer is fired on a detached document. Since a document clears all timers when it is detached, and it shouldn't be possible to add a timer to a detached document, we crash if this should happen anyway. This will hopefully result in an easier to debug crash dump. * page/DOMTimer.cpp: (WebCore::DOMTimer::DOMTimer): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106636 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Showing with 20 additions and 0 deletions