Bug 69655 - [FileSystem API] readonly attributes test
Summary: [FileSystem API] readonly attributes test
Status: RESOLVED FIXED
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 12:30 PDT by Mark Pilgrim (Google)
Modified: 2011-10-14 23:51 PDT (History)
2 users (show)

See Also:


Attachments
Patch (4.45 KB, patch)
2011-10-07 12:35 PDT, Mark Pilgrim (Google)
no flags 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 12:30:54 PDT
According to http://dev.w3.org/2009/dap/file-system/pub/FileSystem/ , the following attributes should be read-only:

FileSystem.name
Entry.isFile
Entry.isDirectory
Entry.name
Entry.fullPath
Entry.fileSystem

According to WebIDL, setting a readonly attribute should fail silently. Thus, this test attempts to set each of these attributes to a value other than its known value, then tests whether the value actually changed.

WebKit passes this test.
Comment 1 Mark Pilgrim (Google) 2011-10-07 12:35:02 PDT
Created attachment 110196 [details]
Patch
Comment 2 WebKit Review Bot 2011-10-14 23:51:55 PDT
Comment on attachment 110196 [details]
Patch

Clearing flags on attachment: 110196

Committed r97542: <http://trac.webkit.org/changeset/97542>
Comment 3 WebKit Review Bot 2011-10-14 23:51:59 PDT
All reviewed patches have been landed.  Closing bug.