Skip to content

Set the annotationType automatically in the Annotation constructor#20685

Merged
Snuffleupagus merged 1 commit intomozilla:masterfrom
Snuffleupagus:Annotation-set-annotationType
Feb 18, 2026
Merged

Set the annotationType automatically in the Annotation constructor#20685
Snuffleupagus merged 1 commit intomozilla:masterfrom
Snuffleupagus:Annotation-set-annotationType

Conversation

@Snuffleupagus
Copy link
Collaborator

Rather than assigning it manually in every extending class, we can utilize the fact that the AnnotationType-entries are simply the upper-case version of the /Subtype (when it exists) in the Annotation dictionary.

Rather than assigning it manually in every extending class, we can utilize the fact that the `AnnotationType`-entries are simply the upper-case version of the `/Subtype` (when it exists) in the Annotation dictionary.
@codecov-commenter
Copy link

codecov-commenter commented Feb 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.71%. Comparing base (61de564) to head (e1cc24c).
⚠️ Report is 10 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #20685      +/-   ##
==========================================
+ Coverage   62.68%   62.71%   +0.03%     
==========================================
  Files         169      169              
  Lines      119616   119590      -26     
==========================================
+ Hits        74977    75001      +24     
+ Misses      44639    44589      -50     
Flag Coverage Δ
unittestcli 62.71% <100.00%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Snuffleupagus
Copy link
Collaborator Author

/botio-linux test

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

Command cmd_test from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.241.84.105:8877/aeec04917c5df83/output.txt

Copy link
Contributor

@calixteman calixteman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you.

@Snuffleupagus
Copy link
Collaborator Author

/botio-windows test

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Received

Command cmd_test from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.193.163.58:8877/176cc62c19a6109/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/aeec04917c5df83/output.txt

Total script time: 60.00 mins

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/176cc62c19a6109/output.txt

Total script time: 84.27 mins

  • Unit tests: FAILED
  • Integration Tests: Passed
  • Regression tests: FAILED
  different ref/snapshot: 1

Image differences available at: http://54.193.163.58:8877/176cc62c19a6109/reftest-analyzer.html#web=eq.log

@Snuffleupagus Snuffleupagus merged commit 74ab1a9 into mozilla:master Feb 18, 2026
12 checks passed
@Snuffleupagus Snuffleupagus deleted the Annotation-set-annotationType branch February 18, 2026 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants