Bug 69689 - [File API] FileWriter required arguments test
Summary: [File API] FileWriter required arguments test
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-07 20:10 PDT by Mark Pilgrim (Google)
Modified: 2011-10-14 23:01 PDT (History)
2 users (show)

See Also:


Attachments
Patch (2.87 KB, patch)
2011-10-07 20:11 PDT, Mark Pilgrim (Google)
abarth: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Pilgrim (Google) 2011-10-07 20:10:44 PDT
According to http://dev.w3.org/2009/dap/file-system/file-writer.html#the-filewriter-interface , FileWriter objects have three methods that have required arguments:

write(data)
seek(offset)
truncate(size)

This test creates a FileWriter object and calls these methods without their respective required arguments, and logs the results. Expected results in each case: TypeError (not enough arguments).

WebKit passes this test.
Comment 1 Mark Pilgrim (Google) 2011-10-07 20:11:34 PDT
Created attachment 110246 [details]
Patch