Skip to content

[pull] master from mozilla:master#450

Merged
pull[bot] merged 4 commits into
code:masterfrom
mozilla:master
Jul 6, 2026
Merged

[pull] master from mozilla:master#450
pull[bot] merged 4 commits into
code:masterfrom
mozilla:master

Conversation

@pull

@pull pull Bot commented Jul 6, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Snuffleupagus and others added 4 commits July 5, 2026 13:43
… (PR 21247 follow-up)

Despite the `enableSignatureVerification` option/preference being enabled in development mode and TESTING builds, the lack of any `SignatureVerifier` implementation still renders the UI disabled.
This seems unfortunate, since it makes it more difficult to check that the digital signature UI works correctly:
 - That the button is visible when it's supposed to be, and that the panel can be opened/closed.
 - That the UI looks correct, w.r.t. the HTML elements and their CSS rules.
 - Currently the viewer JS code is effectively uncovered, with overall test-coverage dropping from `90` to `89` percent when PR 21247 landed.

To improve the current situation this patch adds a `FakeSignatureVerifier` class, limited to only development mode and TESTING builds, that treats every digital signature as invalid.
This allows easier manual testing, and also the addition of a few *very rudimentary* integration-tests.

*Note:* It probably wouldn't be all that difficult to add additional integration-tests for *valid* certificates, by having the test-cases instruct (during setup) the `FakeSignatureVerifier` how to respond to simulate verified certificates.
…sh3_64.update()`

This commit brings the coverage of `src/shared/murmurhash3.js` to 100%.
Implement a unit test for passing unsupported data types to `MurmurHash3_64.update()`
Add a `FakeSignatureVerifier` for development mode and TESTING builds (PR 21247 follow-up)
@pull pull Bot locked and limited conversation to collaborators Jul 6, 2026
@pull pull Bot added the ⤵️ pull label Jul 6, 2026
@pull pull Bot had a problem deploying to code-coverage July 6, 2026 02:03 Failure
@pull pull Bot had a problem deploying to code-coverage July 6, 2026 02:03 Failure
@pull pull Bot had a problem deploying to code-coverage July 6, 2026 02:03 Failure
@pull pull Bot had a problem deploying to code-coverage July 6, 2026 02:03 Failure
@pull pull Bot had a problem deploying to code-coverage July 6, 2026 02:03 Failure
@pull pull Bot had a problem deploying to code-coverage July 6, 2026 02:03 Failure
@pull pull Bot had a problem deploying to code-coverage July 6, 2026 02:03 Failure
@pull pull Bot had a problem deploying to code-coverage July 6, 2026 02:03 Failure
@pull pull Bot had a problem deploying to code-coverage July 6, 2026 02:03 Failure
@pull pull Bot had a problem deploying to code-coverage July 6, 2026 02:03 Failure
@pull pull Bot had a problem deploying to code-coverage July 6, 2026 02:03 Failure
@pull pull Bot had a problem deploying to code-coverage July 6, 2026 02:03 Failure
@pull pull Bot merged commit 6689097 into code:master Jul 6, 2026
4 of 16 checks passed
@pull pull Bot had a problem deploying to code-coverage July 6, 2026 02:03 Failure
@pull pull Bot had a problem deploying to code-coverage July 6, 2026 02:03 Failure
@pull pull Bot had a problem deploying to code-coverage July 6, 2026 02:03 Failure
@pull pull Bot had a problem deploying to code-coverage July 6, 2026 02:03 Failure
@pull pull Bot had a problem deploying to code-coverage July 6, 2026 02:03 Failure
@pull pull Bot had a problem deploying to code-coverage July 6, 2026 02:03 Failure
@pull pull Bot had a problem deploying to code-coverage July 6, 2026 02:03 Failure
@pull pull Bot had a problem deploying to code-coverage July 6, 2026 02:03 Failure
@pull pull Bot had a problem deploying to code-coverage July 6, 2026 02:03 Failure
@pull pull Bot had a problem deploying to code-coverage July 6, 2026 02:03 Failure
@pull pull Bot had a problem deploying to code-coverage July 6, 2026 02:03 Failure
@pull pull Bot had a problem deploying to code-coverage July 6, 2026 02:03 Failure
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants