From 805996191732e270bd8a1153c2f594d0cbb4659e Mon Sep 17 00:00:00 2001 From: Tom Tang Date: Wed, 4 Jun 2025 19:10:01 +0000 Subject: [PATCH 1/2] feat: clone SpiderMonkey source code from the official Firefox github repo --- setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index a3b23f0b..2001a374 100755 --- a/setup.sh +++ b/setup.sh @@ -44,8 +44,8 @@ echo "Done installing dependencies" echo "Downloading spidermonkey source code" # Read the commit hash for mozilla-central from the `mozcentral.version` file MOZCENTRAL_VERSION=$(cat mozcentral.version) -wget -c -q -O firefox-source-${MOZCENTRAL_VERSION}.zip https://github.com/mozilla/gecko-dev/archive/${MOZCENTRAL_VERSION}.zip -unzip -q firefox-source-${MOZCENTRAL_VERSION}.zip && mv gecko-dev-${MOZCENTRAL_VERSION} firefox-source +wget -c -q -O firefox-source-${MOZCENTRAL_VERSION}.zip https://github.com/mozilla-firefox/firefox/archive/${MOZCENTRAL_VERSION}.zip +unzip -q firefox-source-${MOZCENTRAL_VERSION}.zip && mv firefox-${MOZCENTRAL_VERSION} firefox-source echo "Done downloading spidermonkey source code" echo "Building spidermonkey" From 8a54b8433c0c710df61617719648f8830d593d08 Mon Sep 17 00:00:00 2001 From: Tom Tang Date: Wed, 4 Jun 2025 19:13:33 +0000 Subject: [PATCH 2/2] fix Firefox source git version https://github.com/mozilla-firefox/firefox/commit/6bca861985ba51920c1cacc21986af01c51bd690 is equivalent to https://github.com/mozilla/gecko-dev/commit/cdfe9f2e144a04618cb6e9ffd9e6202d6d85ed56 --- mozcentral.version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozcentral.version b/mozcentral.version index f72b9ef3..55aeecbf 100644 --- a/mozcentral.version +++ b/mozcentral.version @@ -1 +1 @@ -cdfe9f2e144a04618cb6e9ffd9e6202d6d85ed56 +6bca861985ba51920c1cacc21986af01c51bd690