-
beidson@apple.com authored
<rdar://problem/7556252> and https://bugs.webkit.org/show_bug.cgi?id=33828 Reviewed by Alexey Proskuryakov. WebCore: Test: fast/loader/stateobjects/state-api-on-detached-frame-crash.html * page/History.cpp: (WebCore::History::stateObjectAdded): Do an early return when detached. The spec doesn't really cover expected behavior and we already do something similar in other places, such as in History::length(). LayoutTests: * fast/loader/stateobjects/state-api-on-detached-frame-crash-expected.txt: Added. * fast/loader/stateobjects/state-api-on-detached-frame-crash.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
62b5cc5a