It's is our current behavior, and this is also what Firefox does.
This is more important than it sounds - it means that a plug-in must be instantiated when JS code accesses properties and methods of its owner element, e.g. with a call like plg.addEventListener(...).
Created attachment 51103 [details]
Comment on attachment 51103 [details]
Committed revision 56198.