Bug 167917 - Object.preventExtensions() on a Location object should throw a TypeError
Summary: Object.preventExtensions() on a Location object should throw a TypeError
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-06 18:59 PST by Chris Dumez
Modified: 2017-02-07 00:52 PST (History)
7 users (show)

See Also:


Attachments
Patch (8.25 KB, patch)
2017-02-06 19:45 PST, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2017-02-06 18:59:42 PST
Object.preventExtensions() on a Location object should throw a TypeError:
- https://html.spec.whatwg.org/#location-preventextensions
- https://www.ecma-international.org/ecma-262/7.0/index.html#sec-object.preventextensions

Firefox already implements this.
Comment 1 Chris Dumez 2017-02-06 19:45:03 PST
Created attachment 300778 [details]
Patch
Comment 2 WebKit Commit Bot 2017-02-07 00:52:41 PST
Comment on attachment 300778 [details]
Patch

Clearing flags on attachment: 300778

Committed r211778: <http://trac.webkit.org/changeset/211778>
Comment 3 WebKit Commit Bot 2017-02-07 00:52:47 PST
All reviewed patches have been landed.  Closing bug.