[Webkit-unassigned] [Bug 93570] New: Test case of Object.defineProperty for the non-configurable property should be corrected

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 8 18:57:17 PDT 2012


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

           Summary: Test case of Object.defineProperty for the
                    non-configurable property should be corrected
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: hojong.han at samsung.com
                CC: barraclough at apple.com


LayoutTests/fast/js/script-tests/Object-defineProperty.js
============================================================
function testObject()
{
    // Test case from https://bugs.webkit.org/show_bug.cgi?id=38636
    ... skip ...

    // Test case from https://bugs.webkit.org/show_bug.cgi?id=48911
    Object.defineProperty(Object.getPrototypeOf(anObj), 'slot5', {get: function() { return this._Slot5; }, set: function(v) { this._Slot5 = v; }, configurable: false}); 
   ... skip ...
}
var anObj = {};
testObject();
var anObj = this;
testObject();
============================================================

"slot5" is set as non-configurable at the first call of testObject() and it will be tried to be set again at the second call.
I think it's right operation that throws exception at the second call, but Object-defineProperty-expected.txt doesn't reflect this.

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