Files
Stephen Thompson 96ac3f1fc5 Bug 1994530 - canonical URL actor for tab notes r=tabbrowser-reviewers,jswinarton
Standalone new JSWindowActor called CanonicalURL that notifies the parent process when the canonical URL in page content changes. This is intended for use by the in-development Tab Notes feature. That feature requires that we assign users' notes to specific web pages, and we are experimenting with a proof of concept where we use a canonical URL from the page content to determine whether a note pertains to that page.

This implementation has many shortfalls, but it's just an extension point right now. For example, this does not detect back/forward button navigation nor single-page application navigation.

Creates a new `tabnotes` folder under browser/components scoped to the Tabbed Browser component in Bugzilla. Again, this is liable to change in the future. It is likely that this code will move to join some other existing JSWindowActor if we decide that it's a good fit.

Differential Revision: https://phabricator.services.mozilla.com/D272561
2025-11-15 02:19:44 +00:00

17 lines
303 B
JSON

{
"include": ["**/*.mjs", "types/*.ts"],
"exclude": [],
"extends": "../../../tools/@types/tsconfig.json",
"compilerOptions": {
"checkJs": true,
"plugins": [
{
"transform": "../../../tools/ts/plugins/checkRootOnly.js",
"transformProgram": true
}
]
}
}