Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(598)

Issue 114953006: Add missing FileReader argument typechecking. (Closed)

Created:
7 years ago by sof
Modified:
7 years ago
Reviewers:
kinuko, michaeln, jianli
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Add missing FileReader argument typechecking. If the supplied argument to the readAs*() methods is not a Blob, throw the required TypeError. Also, improve the error message used when signalling attempts to concurrently read from the same FileReader object. R= BUG=223762 TEST=fast/files/file-reader-methods-illegal-arguments Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163944

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -13 lines) Patch
A LayoutTests/fast/files/file-reader-methods-illegal-arguments.html View 1 chunk +35 lines, -0 lines 0 comments Download
A LayoutTests/fast/files/file-reader-methods-illegal-arguments-expected.txt View 1 chunk +37 lines, -0 lines 0 comments Download
M LayoutTests/fast/files/read-file-async-expected.txt View 1 chunk +4 lines, -4 lines 0 comments Download
M LayoutTests/fast/files/workers/worker-read-file-async-expected.txt View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/fileapi/FileReader.cpp View 5 chunks +13 lines, -5 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
sof
Please take a look when you next have a spare moment.
7 years ago (2013-12-15 21:25:18 UTC) #1
kinuko
lgtm
7 years ago (2013-12-16 01:55:41 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/114953006/1
7 years ago (2013-12-16 06:10:24 UTC) #3
commit-bot: I haz the power
7 years ago (2013-12-16 07:02:41 UTC) #4
Message was sent while issue was closed.
Change committed as 163944

Powered by Google App Engine
This is Rietveld 408576698