If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

change default to "ready" for contentScriptWhen option of PageMod

RESOLVED FIXED

Status

Developer Documentation
Add-ons
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: ododos, Assigned: wbamberg)

Tracking

Details

(URL)

(Reporter)

Description

3 years ago
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0 (Beta/Release)
Build ID: 20140605174243




Expected results:

In https://developer.mozilla.org/en-US/Add-ons/SDK/Guides/Content_Scripts#Controlling_when_to_attach_the_script the default value for contentScriptWhen is "end", while in https://developer.mozilla.org/en-US/Add-ons/SDK/High-Level_APIs/page-mod#PageMod%28options%29 it is "ready".
(Reporter)

Updated

3 years ago
(Assignee)

Comment 1

3 years ago
"end" is the default. I've updated https://developer.mozilla.org/en-US/Add-ons/SDK/High-Level_APIs/page-mod#PageMod%28options%29 accordingly. Thanks for reporting this.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.