[Webkit-unassigned] [Bug 114036] New: Different behaviours when changing value of a readonly properties in a global object.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 5 08:31:22 PDT 2013


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

           Summary: Different behaviours when changing value of a readonly
                    properties in a global object.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: scerveau at connected-labs.com


Created an attachment (id=196635)
 --> (https://bugs.webkit.org/attachment.cgi?id=196635&action=review)
sample html test

Changing the value of a property's object such as width in window.screen is different in a function than in the main.
ie.
for( var prop in window.screen) {
window.screen[prop] =  0xABADCAFE;
}


In the main, the property value does not change if we assigned a new value but then using this object in a function, the property has been changed.
Please see attached example, index.html.

The bug can be reproduced with Safari 5.1.7 but not with Chromium.

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