WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
38615
[V8] Add V8 bindings for FileReader interface and turn on FileReader support in Chromium
https://bugs.webkit.org/show_bug.cgi?id=38615
Summary
[V8] Add V8 bindings for FileReader interface and turn on FileReader support ...
Jian Li
Reported
2010-05-05 17:34:21 PDT
Add V8 bindings for FileReader interface and turn on FileReader support in Chromium.
Attachments
Proposed Patch
(7.88 KB, patch)
2010-05-05 17:39 PDT
,
Jian Li
jianli
: commit-queue-
Details
Formatted Diff
Diff
Proposed Patch
(7.88 KB, patch)
2010-05-05 17:53 PDT
,
Jian Li
abarth
: review-
jianli
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Jian Li
Comment 1
2010-05-05 17:39:02 PDT
Created
attachment 55180
[details]
Proposed Patch The ews queue will be broken since this patch depends on 38609 that has not been landed.
WebKit Review Bot
Comment 2
2010-05-05 17:46:17 PDT
Attachment 55180
[details]
did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style', '--no-squash']" exit_code: 1 WebCore/bindings/v8/custom/V8FileReaderCustom.cpp:67: One space before end of line comments [whitespace/comments] [5] Total errors found: 1 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Jian Li
Comment 3
2010-05-05 17:53:35 PDT
Created
attachment 55184
[details]
Proposed Patch Style fix.
WebKit Review Bot
Comment 4
2010-05-05 19:09:06 PDT
Attachment 55184
[details]
did not build on chromium: Build output:
http://webkit-commit-queue.appspot.com/results/2175007
Eric Seidel (no email)
Comment 5
2010-05-05 21:43:38 PDT
Why are custom bindings needed?
Jian Li
Comment 6
2010-05-05 23:12:34 PDT
(In reply to
comment #5
)
> Why are custom bindings needed?
Because we need to get the ScriptExecutionContext and pass it to the FileReader constructor.
Adam Barth
Comment 7
2010-05-05 23:49:03 PDT
> Because we need to get the ScriptExecutionContext and pass it to the FileReader > constructor.
Have you tried [CallWith=ScriptExecutionContext] ?
Adam Barth
Comment 8
2010-05-05 23:51:11 PDT
Comment on
attachment 55184
[details]
Proposed Patch Please try this without custom bindings. You might need to extend [CallWith] to work with constructors. WebCore/bindings/v8/custom/V8FileReaderCustom.cpp:48 + return throwError("DOM object custructor cannot be called as a function."); Which spec does this text come from? Is this text localized? I don't think we should have this random custom text in the bindings.
Jian Li
Comment 9
2010-05-10 17:18:36 PDT
We do not need this bug now since we choose to change the code generator to avoid the custom bindings code.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug