Closed Bug 1037953 Opened 10 years ago Closed 9 years ago

change default to "ready" for contentScriptWhen option of PageMod

Categories

(Developer Documentation Graveyard :: Add-ons, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ododos, Assigned: wbamberg)

References

()

Details

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".
"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
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.