I’ve posted the bug here:
https://bugzilla.mozilla.org/show_bug.cgi?id=1222690
And I am also posting here for more visibility, I don’t know if this change is intentional or not but it breaks crucial functionalities in my add-on.
In short, when a content script is attached at “contentScriptWhen: start”, any self.port.on in the content-script will only be called when the page is fully loaded (readySate = complete).
It should be called when the content script is running at start (readyState = loading) like it does in the previous versions before the two recent Nightlies 45.0a1 (2015-11-05) and 45.0a1 (2015-11-06) (couldn’t test earlier versions), and in current Firefox 42 stable.
Is this change intentional or not?