[Webkit-unassigned] [Bug 65523] New: LayoutTests should not declare a global "var undefined; "
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 2 02:01:40 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=65523
Summary: LayoutTests should not declare a global "var
undefined;"
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Tools / Tests
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jkummerow at chromium.org
According to EcmaScript 5 Section 15.1.1.3, "undefined" is a read-only property of the global object and as such cannot be re-declared as a global variable. Some layout tests, however, do precisely this. This has become an issue because V8 does, as of now, properly set the read-only flag of "undefined", and therefore throws an exception when the re-declaration attempt occurs. Fortunately, the fix is easy: since "undefined" is available as a value anyway, the conflicting redeclarations can simply be removed.
Affected tests:
* editing/pasteboard/data-transfer-items
* editing/pasteboard/onpaste-text-html
* fast/events/ondrop-text-html
* fast/js/char-at
--
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