Skip to content
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

Basic infrastructure to run test262's tests in a browser's worker #130

Closed
wants to merge 1 commit into from

Conversation

dpino
Copy link
Contributor

@dpino dpino commented Oct 23, 2017

This PR allows to run several test262's tests inside a browser's worker.

test262 is not part of of gecko-dev. It's necessary to pull test262 in testing/web-platform/tests/resources/. Then run the script testing/web-platform/tests/resources/generate-test262-runner.pl.

$ ./generate-test262-runner.pl
Generated ../atomics/test262-runner.html. To run it:
./mach wpt-manifest-update
./mach wpt /atomics/test262-runner.html

After that run the commands above to run the test262-runner test.

The test contains a subset of test262 tests. At this moment the tested tests are all using "SharedArrayBuffer" but which not make use of the JS agent API and the createRealm call. In total there are 148 tests, all of them pass when run inside a DedicatedWorker agent.

Further steps are:

  • Create a wrapper for createRealm if possible.
  • Increase the number of tests.
  • Extend generate-test262-runner.pl to generate versions that also work in SharedWorkers and ServiceWorkres.

@dpino dpino closed this Oct 23, 2017
moz-v2v-gh pushed a commit that referenced this pull request Sep 11, 2020
https://github.com/mozilla/authenticator-rs/releases/tag/v0.3.0

Major changes:

 * Move to Rust 2018 edition #125
 * Remove dependency on boxfnonce #121
 * Reworked error handling #130
 * Added a higher-level AuthenticatorService that can use multiple backends #123
 * Changed the C API to use the new AuthenticatorService #123
 * Added a Status channel for backends #122
 * Now obtaining HID report sizes from the descriptors #12
 * Add authenticator USB and Firmware details to the C API #93

Differential Revision: https://phabricator.services.mozilla.com/D89823
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant