diff options
author | Moonchild <moonchild@palemoon.org> | 2022-09-18 11:01:27 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-09-18 11:01:27 +0000 |
commit | fc5b767f5dbed652966eea65f61036a97d9b893a (patch) | |
tree | b422d4f9a2f65f23761bc8bff825ad309404ee1f /js/src/builtin/RegExp.js | |
parent | 302d46a0f999f8ec99bc65a6dab1b0b18d733dd6 (diff) | |
download | uxp-fc5b767f5dbed652966eea65f61036a97d9b893a.tar.gz |
Issue #2008 - Implement missing s parameter parsing and align case with spec.
This does 2 things.
First, it adds parsing of the 's' parameter parsing to DOM object construction of regexes
Second, it corrects the DOM property to be `dotAll` instead of `dotall`
For consistency's sake, all function names and calls were renamed with the finalized casing.
This resolves #2008
Diffstat (limited to 'js/src/builtin/RegExp.js')
-rw-r--r-- | js/src/builtin/RegExp.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/builtin/RegExp.js b/js/src/builtin/RegExp.js index 7218fc0e8a..879375b988 100644 --- a/js/src/builtin/RegExp.js +++ b/js/src/builtin/RegExp.js @@ -34,7 +34,7 @@ function RegExpFlagsGetter() { result += "y"; // ES2018 - if (R.dotall) + if (R.dotAll) result += "s"; // Step 19. |