The Web Bluetooth Fuzzer generates test pages that can be run as web tests. These pages consist of a sequence of calls to the Web Bluetooth API whose purpose is to stress test the API's implementation and catch any bugs or regressions.
This document describes the overall design of the fuzzer.
To generate test pages the fuzzer performs the following steps:
These generated test pages can then be run as web tests in content_shell.
This fuzzer is designed to be run by ClusterFuzz and therefore takes three arguments,
This fuzzer depends on files in:
To ease development a setup.py script is included to copy over the necessary files to run the fuzzer locally. Additionally the script can be used to generate a .tar.bz2 file that can be uploaded to ClusterFuzz. To see the available options, run:
python setup.py -h