WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
206131
Object.preventExtensions should throw if not successful
https://bugs.webkit.org/show_bug.cgi?id=206131
Summary
Object.preventExtensions should throw if not successful
Alexey Shvayka
Reported
2020-01-11 10:16:36 PST
Test case: Object.preventExtensions(new Proxy({}, { preventExtensions: () => false })) Expected: Throws TypeError Actual: Returns Proxy ECMA262:
https://tc39.es/ecma262/#sec-object.preventextensions
(step 3) Test262:
https://test262.report/browse/built-ins/Object/preventExtensions/throws-when-false.js
Attachments
Patch
(3.87 KB, patch)
2020-01-11 12:30 PST
,
Alexey Shvayka
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Alexey Shvayka
Comment 1
2020-01-11 12:30:34 PST
Created
attachment 387443
[details]
Patch
Ross Kirsling
Comment 2
2020-01-15 10:23:27 PST
Comment on
attachment 387443
[details]
Patch r=me
WebKit Commit Bot
Comment 3
2020-01-15 11:57:44 PST
Comment on
attachment 387443
[details]
Patch Clearing flags on attachment: 387443 Committed
r254626
: <
https://trac.webkit.org/changeset/254626
>
WebKit Commit Bot
Comment 4
2020-01-15 11:57:45 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 5
2020-01-15 11:58:17 PST
<
rdar://problem/58613904
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug