-
Notifications
You must be signed in to change notification settings - Fork 23
Fix --test for d8 shell runner #293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -55,3 +55,8 @@ if (typeof performance == "undefined") | |
|
|
||
| performance.mark ??= function(){}; | ||
| performance.measure ??= function(){}; | ||
|
|
||
| if (isD8) { | ||
| performance.mark = function(){}; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Mark and measure is supported in newer d8 versions (we do run CI tests so this does work). What d8 version were you using?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was using a main branch pulled yesterday (or at least I believe so) - now I am running it again from a different computer and this no longer seems needed after I fixed the typo 🤯 some what puzzled about what's going on, but I think this can be removed.. |
||
| performance.measure = function(){}; | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a shell test as well to https://github.com/WebKit/JetStream/blob/main/tests/run-shell.mjs so we don't accidentally regress this again?