[Webkit-unassigned] [Bug 160773] New: The jsc shell's Element host constructor should throw if it fails to construct an object.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 11 11:46:09 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=160773
Bug ID: 160773
Summary: The jsc shell's Element host constructor should throw
if it fails to construct an object.
Classification: Unclassified
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mark.lam at apple.com
The Element object is a test object provided in the jsc shell for testing use only. JavaScriptCore expects host constructors to either throw an error or return a constructed object. Element has a host constructor that did not obey this contract. As a result, the following statement will fail a RELEASE_ASSERT:
new (Element.bind())
We should fix this.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160811/a8b450bb/attachment.html>
More information about the webkit-unassigned
mailing list