-
-
Notifications
You must be signed in to change notification settings - Fork 402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Object.defineProperty()
#1005
Conversation
Test262 conformance changes:
|
Codecov Report
@@ Coverage Diff @@
## master #1005 +/- ##
==========================================
+ Coverage 60.07% 60.10% +0.02%
==========================================
Files 167 167
Lines 11132 11142 +10
==========================================
+ Hits 6688 6697 +9
- Misses 4444 4445 +1
Continue to review full report at Codecov.
|
Benchmark for b7894f2Click to view benchmark
|
Benchmark for d00f633Click to view benchmark
|
Somehow 680579a changed 2 test262 tests from passing to panicking, the change can be seen by looking at the edit history of the comment showing the results, #1005 (comment) Don't understand how that change could introduce panicking. |
It is probably due to another unrelated bug. |
The new panic is caused by the test 15.2.3.6-4-187. This test calls As Lines 98 to 109 in 67ee6fa
It seems that setting only |
- Fix panic if first argument is not supplied. - Fix panic if second argument is not supplied. - Fix bug when the object is not a object. - Implemented `DefinePropertyOrThrow()`
680579a
to
ac136fd
Compare
Benchmark for d29ca82Click to view benchmark
|
It changes the following:
DefinePropertyOrThrow()