Instance Property

name

The name of the message.

Declaration

readonly attribute DOMString name;

Discussion

There is no fixed meaning to the name of a message; it is up to the programmer to decide how messages should be named within an extension.

A message’s name must not be the empty string. The message name canLoad is used by the SafariContentBrowserTabProxy method canLoad; you should not send messages with this name.

See Also

Working with Messages

message

The message data.