Skip to content

Commit

Permalink
More SerenityOS --> Ladybird
Browse files Browse the repository at this point in the history
  • Loading branch information
ADKaster committed Jun 3, 2024
1 parent 123a78e commit 068fe1b
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# LibJS Website

Website for SerenityOS's JavaScript engine.
Website for Ladybird's JavaScript engine.
2 changes: 1 addition & 1 deletion repl/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h1>LibJS REPL<span id="header-description"></span></h1>
</div>
</template>
<script src="https://unpkg.com/unfetch/polyfill"></script>
<script src="https://serenityos.github.io/libjs-data/libjs.js"></script>
<script src="https://ladybirdwebbrowser.github.io/libjs-data/libjs.js"></script>
<script src="repl.js"></script>
<script src="main.js"></script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion repl/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const headerDescriptionSpan = document.getElementById("header-description");

const buildHash = Module.SERENITYOS_COMMIT;
const shortenedBuildHash = buildHash.substring(0, 7);
headerDescriptionSpan.innerHTML = ` (built from <a href="https://github.com/serenityos/serenity/commit/${buildHash}">${shortenedBuildHash}</a>)`;
headerDescriptionSpan.innerHTML = ` (built from <a href="https://github.com/LadybirdWebBrowser/ladybird/commit/${buildHash}">${shortenedBuildHash}</a>)`;

loadingContainer.style.display = "none";
mainContainer.style.display = "";
Expand Down
2 changes: 1 addition & 1 deletion test262/fetch.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const LIBJS_DATA_URL =
"https://raw.githubusercontent.com/SerenityOS/libjs-data/master";
"https://raw.githubusercontent.com/LadybirdWebBrowser/libjs-data/master";

const fetchData = (path) => {
return fetch(`${LIBJS_DATA_URL}/${path}`, {
Expand Down
8 changes: 4 additions & 4 deletions test262/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@
} = metadata[dataIndex];
const dateTime = DateTime.fromSeconds(commitTimestamp);
const duration = Duration.fromMillis(durationSeconds * 1000);
const serenityVersion = versions.serenity.substring(0, 7);
const ladybirdVersion = versions.serenity.substring(0, 7);
// prettier-ignore
const libjsTest262Version = versions["libjs-test262"].substring(0, 7);
const test262Version = versions.test262.substring(0, 7);
Expand All @@ -307,7 +307,7 @@
Committed on ${dateTime.toLocaleString(DateTime.DATETIME_SHORT)}, \
run took ${duration.toISOTime()}
Versions: serenity@${serenityVersion}, libjs-test262@${libjsTest262Version},
Versions: ladybird@${ladybirdVersion}, libjs-test262@${libjsTest262Version},
test262@${test262Version}, test262-parser-tests@${test262ParserTestsVersion}`;
},
},
Expand Down Expand Up @@ -375,7 +375,7 @@ test262@${test262Version}, test262-parser-tests@${test262ParserTestsVersion}`;
</strong> for commit
<code>
<a
href="https://github.com/SerenityOS/serenity/commits/${commitHash}"
href="https://github.com/LadybirdWebBrowser/ladybird/commits/${commitHash}"
target="_blank"
rel="noopener noreferrer"
title="View commits up to this point"
Expand Down Expand Up @@ -416,7 +416,7 @@ test262@${test262Version}, test262-parser-tests@${test262ParserTestsVersion}`;
initializeSummary(
document.getElementById("summary-test262"),
last.run_timestamp,
last.versions.serenity,
last.versions.ladybird,
last.tests.test262.duration,
last.tests.test262.results
);
Expand Down
18 changes: 9 additions & 9 deletions wasm/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ <h2>Introduction</h2>
<p>
These are the results of the
<a
href="https://github.com/SerenityOS/serenity"
href="https://github.com/LadybirdWebBrowser/ladybird"
target="_blank"
rel="noopener noreferrer"
>SerenityOS</a
>Ladybird</a
>
WebAssembly library, LibWasm, running the WebAssembly
<a
Expand All @@ -39,10 +39,10 @@ <h2>Introduction</h2>
If you have any questions or want to help out with improving these
test scores, feel free to get in touch on the
<a
href="https://discord.gg/serenityos"
href="https://join.slack.com/t/ladybirdbrowser/shared_invite/zt-2jsfmix9x-R44t0YyMPnJk9qzgf~Cvdg"
target="_blank"
rel="noopener noreferrer"
>SerenityOS Discord server</a
>Ladybird Slack server</a
>.
</p>
</section>
Expand All @@ -58,23 +58,23 @@ <h2>Source code & Data</h2>
<ul>
<li>
<a
href="https://github.com/SerenityOS/serenity/blob/master/Tests/LibWasm/test-wasm.cpp"
href="https://github.com/LadybirdWebBrowser/ladybird/blob/master/Tests/LibWasm/test-wasm.cpp"
target="_blank"
rel="noopener noreferrer"
>Test Runner</a
>
</li>
<li>
<a
href="https://github.com/SerenityOS/serenity/blob/master/Userland/Libraries/LibWasm"
href="https://github.com/LadybirdWebBrowser/ladybird/blob/master/Userland/Libraries/LibWasm"
target="_blank"
rel="noopener noreferrer"
>LibWasm</a
>
</li>
<li>
<a
href="https://github.com/SerenityOS/libjs-website"
href="https://github.com/LadybirdWebBrowser/libjs-website"
target="_blank"
rel="noopener noreferrer"
>This website</a
Expand All @@ -85,15 +85,15 @@ <h2>Source code & Data</h2>
<ul>
<li>
<a
href="https://github.com/SerenityOS/libjs-data/blob/master/wasm/results.json"
href="https://github.com/LadybirdWebBrowser/libjs-data/blob/master/wasm/results.json"
target="_blank"
rel="noopener noreferrer"
>Results over time, used for the graphs below</a
>
</li>
<li>
<a
href="https://github.com/SerenityOS/libjs-data/blob/master/wasm/per-file-master.json"
href="https://github.com/LadybirdWebBrowser/libjs-data/blob/master/wasm/per-file-master.json"
target="_blank"
rel="noopener noreferrer"
>Per-file results of the <code>master</code> branch</a
Expand Down
6 changes: 3 additions & 3 deletions wasm/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,12 +265,12 @@
} = metadata[dataIndex];
const dateTime = DateTime.fromSeconds(commitTimestamp);
const duration = Duration.fromMillis(durationSeconds * 1000);
const serenityVersion = versions.serenity.substring(0, 7);
const ladybirdVersion = versions.serenity.substring(0, 7);
return `\
Committed on ${dateTime.toLocaleString(DateTime.DATETIME_SHORT)}, \
run took ${duration.toISOTime()}
Versions: serenity@${serenityVersion}`;
Versions: ladybird@${ladybirdVersion}`;
},
},
},
Expand Down Expand Up @@ -337,7 +337,7 @@ Versions: serenity@${serenityVersion}`;
</strong> for commit
<code>
<a
href="https://github.com/SerenityOS/serenity/commits/${commitHash}"
href="https://github.com/LadybirdWebBrowser/ladybird/commits/${commitHash}"
target="_blank"
rel="noopener noreferrer"
title="View commits up to this point"
Expand Down

0 comments on commit 068fe1b

Please sign in to comment.