Toolvito

Works on this device

Browser Capability Test

Each test here really uses one part of your browser once and tells you what happened, how long it took and any error text. Nothing runs until you choose a button, and the results stay in this tab.

Capability tests

Nothing runs until you choose a button. Each test uses one part of the browser once, measures the time and cleans up after itself. The results stay in this tab.

Ready. No test has run yet.

Tests: 0 passed, 0 failed, 0 could not run, 7 not run yet.

Capability tests and their outcome
Test What it does Outcome Time taken Details Run
Canvas draw and read back Draws four coloured squares on a small canvas that is not shown, then reads four pixels back. Not run yet – –
Web Worker round trip Starts a worker, sends it three numbers, waits for the sorted list and the sum, then stops the worker. Not run yet – –
IndexedDB write and read Opens a test database, writes one record, reads it back, deletes the record and then deletes the database. Not run yet – –
Web Crypto SHA-256 digest Asks the browser for the SHA-256 digest of the text abc and compares it with the published value. Not run yet – –
WebAssembly module Builds a very small WebAssembly module from 41 bytes that are part of this page, and calls its one function, which adds two whole numbers. Not run yet – –
Clipboard write Writes a short test text to your clipboard. This replaces what was on the clipboard. Not run yet – –
Full screen Shows the test area in full screen for about one second, then leaves full screen. Not run yet – –

Full screen test area. The full screen test shows this box in full screen for about one second.

How to use the capability test

  1. Choose Run the five automatic tests. The canvas, worker, IndexedDB, SHA-256 and WebAssembly tests run one after the other.
  2. Read the Outcome column: Passed, Failed or Could not run. Time taken shows how long the test took. Details shows what came back, or the error text of the browser.
  3. Choose Run clipboard test only if the page may write a short test text to your clipboard. This replaces what you copied before.
  4. Choose Run full screen test to see if the page can go to full screen. It leaves full screen by itself after about one second.
  5. Choose Copy as text or Download CSV to keep the results. Choose Clear results to start again.

What each test does

The seven tests and how each one cleans up
Test What the page does How it cleans up
Canvas draw and read back Makes a canvas of 16 by 16 pixels that is never shown, fills four squares (red, green, blue and white) and reads one pixel from the middle of each square. All four must have the exact colour that was drawn. The canvas is set to size zero and dropped.
Web Worker round trip Starts a worker from a script of this site, sends it the numbers 3, 1, 2 and waits for the numbers in order and their sum. The worker is stopped, also when it gives an error or no answer in 5 seconds.
IndexedDB write and read Opens a database with the name toolvito-capability-test, writes one record, reads it back, deletes the record and checks that it is gone. The test database is deleted, also when a step fails.
Web Crypto SHA-256 digest Asks the browser for the SHA-256 digest of the text abc and compares it with the published value. Nothing is kept.
WebAssembly module Builds a module from 41 bytes that are written in the script of this page. The module has one function that adds two whole numbers. The page calls it two times and checks both answers. The module is not kept after the test.
Clipboard write Writes the text "Toolvito clipboard test" to your clipboard. The page does not read your clipboard. The test text stays on your clipboard until you copy something else.
Full screen Shows the test area in full screen for about one second. The page leaves full screen by itself. You can also press Escape or choose Leave full screen.

What the outcome means

  • Passed means the browser did the work once and gave the expected answer in this run.
  • Failed means the browser gave an error or a wrong answer. The details show the error text of the browser as it is.
  • Could not run means the part is missing in this browser or is not allowed on this page, so the test did not start.
  • Time taken is the time of this one run, read from the clock of the page. It is not a speed test: a first run is often slower than a second one.
  • Some browsers change what a page reads from a canvas on purpose, to protect your privacy. Then the canvas test fails here, and that is the correct report.

Worked example

The SHA-256 digest of the three letters abc is ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad. This is the first example in the Secure Hash Standard. If your browser returns this value, the SHA-256 test passes.

The worker gets the numbers 3, 1, 2. It must send back 1, 2, 3 and the sum 6. The canvas test passes when 4 of 4 test pixels are read back with the colour that was drawn.

The WebAssembly function must give 2 + 3 = 5. It must also give 2147483647 + 1 = -2147483648: the largest 32-bit whole number plus one wraps around to the smallest one. A wrong answer or an error fails the test.

Limits you should know

  • A test that passes shows that one small job worked once. It does not prove that every part of the feature works on every site.
  • The WebAssembly test builds one tiny module from bytes that are part of this page. It does not load a WebAssembly file and does not test speed, threads or large modules. The security policy of this page allows WebAssembly for this test; it still does not allow a script to run text as code.
  • To see only if an interface exists, without running it, use the Browser Feature Detector.
  • In a private window some browsers do not allow IndexedDB or limit it. Then the test reports the error text of the browser.
  • The page cannot check that the clipboard text arrived, because it does not read your clipboard. Paste somewhere to see it.
  • The tests run in this tab only. Nothing is sent anywhere, and nothing is kept in the browser after a test ends, except the test text on your clipboard.

Related tools