Instance Method

removeMenu

Removes the specified menu.

Declaration

void removeMenu(in DOMString identifier);

Parameters

identifier

The unique identifier for the menu being removed.

Discussion

If the menu with the given identifier is currently being displayed to the user, an exception is thrown.

If there is no menu with the given identifier, this method does nothing.

See Also

Working with Menus

menus

All of the menus of an extension.

createMenu

Creates and returns a new menu.