[Webkit-unassigned] [Bug 106472] New: IndexedDB: Remove unnecessary tests from storage/indexeddb/key-type-array.html

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 9 10:42:05 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=106472

           Summary: IndexedDB: Remove unnecessary tests from
                    storage/indexeddb/key-type-array.html
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: michael at 68k.org
                CC: tony at chromium.org, benjamin at webkit.org,
                    jsbell at chromium.org, alecflett at chromium.org


The tests in storage/indexeddb/key-type-array.html which verify that JSON.stringify() throws an exception for cyclic objects are unnecessary and differ between JSC and V8.

The error message regarding serializing cyclic structures in JSC is "JSON.stringify cannot serialize cyclic structures." (Source/JavaScriptCore/runtime/JSONObject.cpp line 412) while the comparable error message in V8 is "Converting circular structure to JSON" (v8/src/messages.js line 116).

The error messages relating to serializing cyclic structures are rather incidental to the functionality being tested:

shouldThrow("JSON.stringify(cyclic_array)");

These tests should be removed.

-- 
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