Closed Ye0nny closed 7 months ago
@Ye0nny @EJueon Thanks for reporting issues. May I ask you how or where did you get these test codes? Did you generate these tests by yourself?
@clover2123 Thanks for your question. :) These test cases have been generated based on our research results. Additionally, the poc files are manually reduced ones.
@Ye0nny
These test cases have been generated based on our research results.
Could you share your research result with us? Or lf there are research papers of yours, please let us know. We may improve the Escargot engine's reliability/security based on your works :)
@clover2123 It's an honor. Our paper is scheduled to be published soon. We'll let you know as soon as it's published. Thank you.
Fixed by #1327 Thanks for reporting bugs.
Escargot
Build Steps
Describe the bug Assertion failure
Test case
testcase
```javascript if ( isNaN ( true % null )!== true ) { throw new Test262Error ( " 1 : true % null === Not - a - Number. Actual : " + true % null ) ; } if ( null % true!== 0 ) { throw new Test262Error ( " 2 : null % true === 0 Actual : " + null % true ) ; } if ( isNaN ( new Boolean Number ( true ) % null )!== true ) { throw new Test262Error ( " 2 : new Boolean ( true ) % null === Not - a - Number. Actual : " + new Boolean ( true ) % null ) ; } if ( null % new Boolean ( true )!== 0 ) { throw new Test262Error ( " 4 : null % new Boolean ( true ) === 0 Actual : " + null % new Boolean ( true ) ) ; } ```
Execution steps & Output
Backtrace
Expected behavior
Credits: @Ye0nny, @EJueon