Closed Bug 1340633 Opened 8 years ago Closed 8 years ago

WebExtension: support title property for tabs.update

Categories

(WebExtensions :: Untriaged, defect)

54 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1333943

People

(Reporter: geoffreydebelie, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
Build ID: 20170215110151

Steps to reproduce:

The "title" property is not supported when updating a the properties of a tab. This is a request to make this possible without resorting to DOM manipulation.

(Please note this request is not the same as https://bugzilla.mozilla.org/show_bug.cgi?id=1333376)

browser.tabs.update(tab.id, {
	title: "+" + tab.title
}).then(
	function(data){
		console.log("Update OK");
	},
	function(error){
		console.log("Update failed: " + error);
	}
);


Actual results:

Error: Type error for parameter updateProperties (Unexpected property "title") for tabs.update.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.