Skip to content

Bug: Code uses blocked inline event handlers #643

@evilpie

Description

@evilpie

Since Firefox blocks inline event handlers in browser.xhtml (https://bugzilla.mozilla.org/show_bug.cgi?id=1942991) at least the following code will not work anymore:

'(' + addressInputHandle.toString() + ')()'

const menuItem = this.createElement(document, 'menuitem', { id: 'contextmenu-openlinkdefault', 'data-l10n-id': 'context-menu-open-link-default-browser', oncommand: 'gContextMenu.openLinkInDefaultBrowser()' });

menuItem.setAttribute('oncommand', `OpenPwaShortcut("${sanitizeString(item.url)}");`);

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions