new WebExtensionPropertyCollection()

Methods

add(name, value) → Number

Adds web extension property.

Parameters

Name Type Optional Description

name

String

 

The name of property.

value

String

 

The value of property.

Returns

Number The index of added property.

add()

Reserved for internal use.

clear()

contains()

Reserved for internal use.

get(index) → WebExtensionProperty

Gets the property of web extension by the index.

Parameter

Name Type Optional Description

index

Number

 

The index.

Returns

WebExtensionProperty The property of web extension.

get(name) → WebExtensionProperty

Gets the property of web extension.

Parameter

Name Type Optional Description

name

String

 

The name of property.

Returns

WebExtensionProperty The property of web extension.

get()

Reserved for internal use.

getCount()

indexOf()

Reserved for internal use.

iterator()

removeAt(name)

Remove the property by the name.

Parameter

Name Type Optional Description

name

String

 

The name of the property.

removeAt()