Kevin
94992a4a8c
Implement Array.prototype.at() ( #1613 )
3 years ago
hle0
d3c5aea44e
Implement `Symbol.prototype.valueOf` ( #1618 )
3 years ago
Nikodem Rabuliński
5029a23185
Fix integer parsing ( #1614 )
...
* Use BigInt for parsing long integers
3 years ago
jedel1043
1cbbb0fd72
Rewrite initialization of builtins to use the `BuiltIn` trait ( #1586 )
...
* Rewrite initialization of builtins to use the `BuiltIn` trait
* Document the `BuiltIn` trait
3 years ago
Kevin Putera
bda00b0640
Implement Object.getOwnPropertyNames and Object.getOwnPropertySymbols ( #1606 )
...
* Implement Object.getOwnPropertyNames and Object.getOwnPropertySymbols
* Add documentation
* Simplify implementation + add more docs following spec
* Tests for Object.getOwnPropertyNames
* Reduce duplication in test
* Use new TestAction API for tests
* Tests for Object.getOwnPropertySymbols
* Simplify tests
* Prevent unnecessary copies in get_own_property_keys
3 years ago
Abhishek C Sharma
ffe20d8fff
Fix broken structure links in the documentation ( #1612 )
3 years ago
Halid Odat
aacdd12ed9
Implement functions for vm ( #1433 )
...
- Separate builtin function from rust JavaScript function
- Removed BuiltInFunction struct
3 years ago
Iban Eguia
7be421bda7
Updated all dependencies and Test262 test suite ( #1597 )
3 years ago
Jason Williams
c977b8e5aa
changelog v0.13 ( #1590 )
...
Co-authored-by: Iban Eguia <iban.eguia@cern.ch>
3 years ago
dependabot[bot]
92dd6ed10f
Bump webpack from 5.54.0 to 5.55.0 ( #1594 )
3 years ago
dependabot[bot]
4a29332b91
Bump webpack from 5.53.0 to 5.54.0 ( #1592 )
3 years ago
dependabot[bot]
d802749dc3
Bump webpack-dev-server from 4.2.1 to 4.3.0 ( #1593 )
3 years ago
dependabot[bot]
68d75bdd72
Bump monaco-editor from 0.28.0 to 0.28.1 ( #1589 )
3 years ago
dependabot[bot]
36309e9da9
Bump monaco-editor from 0.27.0 to 0.28.0 ( #1588 )
3 years ago
dependabot[bot]
99f2e74588
Bump style-loader from 3.2.1 to 3.3.0 ( #1587 )
3 years ago
jedel1043
dd84439ea0
Refactor the `Math` builtin object ( #1584 )
...
* Document the `Math` builtin object
* Fix typos and rename variables
3 years ago
Iban Eguia
9a915c3ee9
Added "js" feature for getrandom for WebAssembly builds ( #1521 )
3 years ago
jedel1043
25ac4cc67a
Allow moving `NativeObject` variables into closures as external captures ( #1523 )
...
* Allow passing additional `NativeObject` captures to closures
* Add test for external closure captures
3 years ago
dependabot[bot]
6e7d615a5b
Bump webpack from 5.52.1 to 5.53.0 ( #1585 )
3 years ago
neeldug
21ef83940e
missing normalization improvement for has ( #1578 )
...
related to: #1445
3 years ago
dependabot[bot]
7195e7db02
Bump wasm-bindgen from 0.2.77 to 0.2.78 ( #1582 )
3 years ago
dependabot[bot]
57812a01ec
Bump prettier from 2.4.0 to 2.4.1 ( #1581 )
3 years ago
raskad
e4226c855d
Refactor `JSON.parse` ( #1535 )
3 years ago
raskad
c5a4be02e6
Refactor `EnvironmentRecordTrait` functions ( #1569 )
3 years ago
dependabot[bot]
0d2f53657c
Bump serde_json from 1.0.67 to 1.0.68 ( #1577 )
3 years ago
raskad
9b8f50ee58
Implement `ComputedPropertyName` for accessor properties in `ObjectLiteral` ( #1526 )
3 years ago
dependabot[bot]
78ad3917ea
Bump webpack-dev-server from 4.2.0 to 4.2.1 ( #1576 )
3 years ago
dependabot[bot]
693ec6b1a8
Bump serde_yaml from 0.8.20 to 0.8.21 ( #1574 )
3 years ago
dependabot[bot]
99e37971ba
Bump webpack from 5.52.0 to 5.52.1 ( #1573 )
3 years ago
jedel1043
8ba500a26a
Refactor builtin `Map` intrinsics to follow more closely the spec ( #1572 )
...
* Refactor builtin `Map` object and document methods
* Replace some calls to `is_function` with `is_callable`
* Remove `expect_map` methods and cleanup some `expect`s
3 years ago
neeldug
2f8c35db57
improve map conformance without losing perf ( #1445 )
...
* improve map conformance without losing perf
add clear & foreach & delete
3 years ago
dependabot[bot]
e3e0de60d7
Bump webpack-dev-server from 4.1.1 to 4.2.0 ( #1571 )
3 years ago
Iban Eguia
9af431de98
Upgraded dependencies and Test262 submodule ( #1568 )
...
* Upgraded dependencies and Test262 submodule
* Missing some updates
3 years ago
Halid Odat
13482493d7
Optimize integer negation ( #1464 )
...
* Optimize integer negation
* Check for `-0`
* Make `JsValue::rem` spec compliant
Co-authored-by: jedel1043 <jedel0124@gmail.com>
3 years ago
raskad
f1b5358834
Add strict mode flag to `Context` ( #1550 )
...
* Add strict mode flag to `Context`
* Add strict mode handling of `delete`
* Add strict mode test
* Handle non-strict functions in strict functions
* Enable strict mode for functions defined in a strict context
3 years ago
dependabot[bot]
59659a6927
Bump git2 from 0.13.21 to 0.13.22 ( #1566 )
3 years ago
dependabot[bot]
ed01575a3e
Bump wasm-bindgen from 0.2.76 to 0.2.77 ( #1565 )
3 years ago
jedel1043
c91af158d0
Implement abstract operation `GetPrototypeFromConstructor` ( #1561 )
3 years ago
Kevin Velasco
9f5ee5f012
Implement Display for function objects ( #1309 )
...
* Do the naive thing for questions
* Move all the rendering code to the builtin function struct
* prevent panics when called unconventionally
* remove unnecessary clone
* fix clippy issues
* Docs: minor phrasing fix
Co-authored-by: João Borges <rageknify@gmail.com>
3 years ago
dependabot[bot]
be204ed471
Bump bootstrap from 5.1.0 to 5.1.1 ( #1564 )
3 years ago
dependabot[bot]
f0adaa9a84
Bump webpack-dev-server from 4.1.0 to 4.1.1 ( #1563 )
3 years ago
jedel1043
87e7ca345a
Replace more instances with `get_or_undefined`
3 years ago
jedel1043
2a8d343fdd
Implement new `get_or_undefined` method for `[JsValue]` ( #1492 )
...
* Create `JsArgs` trait
* Implement trait `JsArgs` for `[JsValue]`
* Replace calls to `get/unwrap_or` with `get_or_undefined`
3 years ago
neeldug
e9d7ac9333
Add `Array.prototype.splice` ( #1365 )
...
* Add `Array.prototype.splice` (#1365 )
3 years ago
dependabot[bot]
24febf4612
Bump num-bigint from 0.4.1 to 0.4.2 ( #1556 )
3 years ago
dependabot[bot]
7a8f155fd1
Bump webpack from 5.51.1 to 5.52.0 ( #1554 )
3 years ago
dependabot[bot]
ba52aac9df
Bump clean-webpack-plugin from 3.0.0 to 4.0.0 ( #1549 )
3 years ago
jedel1043
01ce7a1914
Fix benchmark action in CI ( #1553 )
3 years ago
raskad
6115182ab9
Replace `FxHashMap` with `IndexMap` in object properties ( #1547 )
...
* Replace `FxHashMap` with `IndexMap` in object properties
* Add test for property order
* Remove unneeded sort from `JSON.stringify`
3 years ago
dependabot[bot]
e66375decc
Bump webpack-dev-server from 4.0.0 to 4.1.0 ( #1548 )
3 years ago