forked from WebKit/WebKit-http
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conversion misspelled "Convertion" in error message string
https://bugs.webkit.org/show_bug.cgi?id=185436 Patch by Rick Waldron <[email protected]> on 2018-05-23 JSTests: Reviewed by Saam Barati, Michael Saboff. * bigIntTests.yaml: Source/JavaScriptCore: Reviewed by Saam Barati, Michael Saboff * runtime/JSBigInt.cpp: (JSC::JSBigInt::toNumber const): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@232110 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
986a7a5
commit c6f8518
Showing
5 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
2018-05-23 Rick Waldron <[email protected]> | ||
|
||
Conversion misspelled "Convertion" in error message string | ||
https://bugs.webkit.org/show_bug.cgi?id=185436 | ||
|
||
Reviewed by Saam Barati, Michael Saboff. | ||
|
||
* bigIntTests.yaml: | ||
|
||
2018-05-23 Yusuke Suzuki <[email protected]> | ||
|
||
Unreviewed, skip test if memoryLimited is specified | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
//@ runBigIntEnabled | ||
|
||
let message; | ||
try { | ||
1n + 1; | ||
} catch (error) { | ||
message = error.message; | ||
} | ||
|
||
if (message !== "Conversion from 'BigInt' to 'number' is not allowed.") { | ||
throw new Error("Error message has changed to something unexpected"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
2018-05-23 Rick Waldron <[email protected]> | ||
|
||
Conversion misspelled "Convertion" in error message string | ||
https://bugs.webkit.org/show_bug.cgi?id=185436 | ||
|
||
Reviewed by Saam Barati, Michael Saboff | ||
|
||
* runtime/JSBigInt.cpp: | ||
(JSC::JSBigInt::toNumber const): | ||
|
||
2018-05-22 Yusuke Suzuki <[email protected]> | ||
|
||
[JSC] Clean up stringGetByValStubGenerator | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters