tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit dcdbc805276cd5bf131cac2dbf53dda1538a32d5
parent f3a55b11d15f12a0eb26c09cf0ae82ec14141c60
Author: Ted Campbell <tcampbell@mozilla.com>
Date:   Fri,  3 Oct 2025 04:11:04 +0000

Bug 1817767 - Add testcase. r=jandem

Differential Revision: https://phabricator.services.mozilla.com/D170796

Diffstat:
Ajs/src/jit-test/tests/basic/bug1817767.js | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/js/src/jit-test/tests/basic/bug1817767.js b/js/src/jit-test/tests/basic/bug1817767.js @@ -0,0 +1,11 @@ +function a(b) { + var x = {}; + x[b] = true; + return Object.getOwnPropertyNames(x)[0]; +} +c = "aaaaaaaaaaaaaaaaaa111aaaa"; +d = "foo" + c; +e = "bar" + d; +f = "\u1200" + d; +f.lastIndexOf(); +a(e);