buffer_loaded_hook: run only for main document
commit23eb1061638f716e2eb69f66c2d8ddddd4b1d8b9
authorJohn Foerch <jjfoerch@earthlink.net>
Wed, 15 Feb 2012 18:31:39 +0000 (15 13:31 -0500)
committerJohn Foerch <jjfoerch@earthlink.net>
Wed, 15 Feb 2012 18:31:39 +0000 (15 13:31 -0500)
treec6efbc17b18835b96983f6e095ec48e6a1a7c575
parent95e0972ef407908ac83e2da15b4a1127f1743a5c
buffer_loaded_hook: run only for main document

Previously, buffer_loaded_hook would run for the main document as well as
every subframe load.  This was not the original intent of the hook, evidence
the hook's name and the fact that no reference to which frame was loaded
is passed to the hook.
modules/buffer.js