* fix(boa): fix stringpad abstract operation
- renames filter to filler in accordance with spec
- adds empty string
check to StringPad function
Closes#1306
* refactor to use `is_empty` method over comparison
* Style: Don't repeat code at end of if
Respecting lint clippy::branches_sharing_code
* Refactor: Introduce BigInt::is_zero, reduce allocations
* Refactor: Use self for "converting" date methods
Respecting the wrong_self_conversion lint
* Style: rustfmt
* Test: Prepare Array.prototype.concat test
* Fixed top level indents
* Fixed function definitions
* For loops display correctly now
* Await expressions display correctly
* Await calls no longer have a custom display() function
* Fixed async function declaration
* Added spacing to do-while loop
* Fixed for of loop
* Fixed object declaration formatter
* Fixed switch statements formatting
* Added operator fmt test
* Added array display test
* Added tests for await expressions. Unclear if let a = await blah() has been implemented yet, but I got parse errors when testing that
* Added block display test
* Added break formatting test
* Added a potential test for when block labels are added
* Added call formatting tests
* Added a testing utility function for formatting tests
* Using custom testing function instead of a bunch of asserts in formatting tests
* Improved formatting of failed parsing formatting tests
* Added conditional formatting tests
* Wrote function tests, and found out that functions are still horribly broken
* Fixed arrow function declaration
* Fixed the formatting for the rest of the functions. Async function expressions don't seem to be parsed correctly
* Re-ordered functions to match the output of StatementList
* Fixed async function expressions
* Added field formatting tests
* Added formatting test for 'for' loops
* For in loops now display their label if they have one
* Added test for the rest of the loops
* Added fmt for labels for all the types of loops
* Added test for new keyword formatting
* Added object formatting
* Partially fixed object display function
* Split Node::display into two functions, allowing objects to be displayed correctly
* Added a first implementation of a MethodDefinition formatter
* Added tests for the rest of object function fields (every branch of MethodDefinitionField)
* Operator test uses propper formatting test
* Added return statment formatter test
* Added spread argument formatting test
* Added switch statement formatting test
* Added a formatting test for templates
* Added a throw statement formatter test
* Added try catch test
* Removed unused import
* Formatting test now uses eprintln! instead of println!
* Support GetOwnProperty for string exotic object
* Fix clippy error
* change var name
* dont load from_u32 to namespace
* be explicit about attributes
* Update boa/src/object/internal_methods.rs
Co-authored-by: Iban Eguia <razican@protonmail.ch>
* fix utf16 emoji panic
* use map and ? operator
Co-authored-by: Iban Eguia <razican@protonmail.ch>
* Don't consider panic fixes as "new failures"
* Improved coding style
* Fixed Test262 tester for the testing update
* Ignore JSON module tests
* Test262 uses _FIXTURE at any point of the file name
* Added some result changes for Test262 result comparisons
* Added a bug and a panic to test the changes in the comparator
* Remove explicit todo!()
* Fixing output for test links
* Force comment
* Reducing failures so that commenting works
* New test
* Fixed a bit of formatting
* Reverted purposedly introduced bugs
* Added a "details" section for the test262 test diff
* Fix bold
* Add default parameter support
* Update second environment
* Use map instead of if let, remove empty line
* Inline call and construct methods
Co-authored-by: Iban Eguia <razican@protonmail.ch>
* Handle cases where arguments object is not needed
* Reword arguments object comment
Co-authored-by: Iban Eguia <razican@protonmail.ch>