[Webkit-unassigned] [Bug 105307] New: 2 fast/filesystem test cases ask for more space than the size they request when creating the file system
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 18 08:19:27 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=105307
Summary: 2 fast/filesystem test cases ask for more space than
the size they request when creating the file system
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: liachen at rim.com
CC: rwlbuis at gmail.com, yoli at rim.com, jmason at rim.com,
leoyang at rim.com
Following two test cases ask for more space than they request when making the request to open a file system:
LayoutTests/fast/filesystem/file-writer-abort-continue.html
LayoutTests/fast/filesystem/op-get-metadata.html
For the first test case, in file fast/filesystem/resources/file-writer-abort-continue.js, following code is called to create a WebFileSystem with 2M size:
setupAndRunTest(2*1024*1024, ...),
but then in one of the test, a length of 2200000 is requested as shown below, with blobSize defined as 1100000.
verifyLength : blobSize * 2, // Add in leftovers from previous method.
For the second test case, in file fast/filesystem/resources/op-tests-helper.js, following code is called to create a WebFileSystem with 100 bytes size:
webkitRequestFileSystem(TEMPORARY, 100, fileSystemCallback, errorCallback);
But then in one of the test file in fast/filesystem/resources/op-get-metadata.js, an 100 bytes file is requested, after a file with 10 bytes size is created.
{fullPath:'/file3', size:100},
Right now the size used in requestFileSystem() is not enforced, but for platform want to enforce this limit, these 2 tests will fail because the space over usage.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list