-
jianli@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=48163 Reviewed by David Levin. WebCore: Test: fast/files/file-reader-abort.html * fileapi/FileReader.cpp: (WebCore::delayedAbort): (WebCore::FileReader::abort): Schedule to do the abort later to work around the case that abort() could be called from event handler. (WebCore::FileReader::doAbort): (WebCore::FileReader::didFail): Do not go with normal error handling when we are in the process of aborting. (WebCore::FileReader::failed): (WebCore::FileReader::readyState): * fileapi/FileReader.h: LayoutTests: * fast/files/file-reader-abort-expected.txt: Added. * fast/files/file-reader-abort.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
jianli@chromium.org authoredhttps://bugs.webkit.org/show_bug.cgi?id=48163 Reviewed by David Levin. WebCore: Test: fast/files/file-reader-abort.html * fileapi/FileReader.cpp: (WebCore::delayedAbort): (WebCore::FileReader::abort): Schedule to do the abort later to work around the case that abort() could be called from event handler. (WebCore::FileReader::doAbort): (WebCore::FileReader::didFail): Do not go with normal error handling when we are in the process of aborting. (WebCore::FileReader::failed): (WebCore::FileReader::readyState): * fileapi/FileReader.h: LayoutTests: * fast/files/file-reader-abort-expected.txt: Added. * fast/files/file-reader-abort.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Loading