Bug 745187 - Don't introduce a delay notifying the frontend about new plugins added to the document, because script may immediately remove them from the page. To fix the delayed layout of XBL, introduce a separate method to calculate the notification icon visibility, r=jaws

Note: this patch still has one potential hole: if content creates a plugin and destroys it without forcing reflow, the XBL binding will not be instantiated. This doesn't appear to be a problem in practice, because every site that wants to use a plugin also has to trigger frame construction to get the plugin to instantiate (document.write of the embed element appears to do this automatically).

--HG--
extra : rebase_source : b4920abb75712ef45776165c9c3fa507a67b45cd
Bug 745187 part B - If a plugin is already activated, don't refresh the page.

--HG--
extra : rebase_source : 21a138b16ae153bcc0f8c04dc910dbdc12ade419
Bug 932446 - in-content click-to-activate UI should look more clickable. Give the entire plugin a pointer cursor; reorder the vulnerable and activate sentences; underline the activate sentence so it looks like a clickable link; make the activate sentence red when :active so it also behaves more like a link, r=jaws ui-r=lco

--HG--
extra : rebase_source : b874326dae88f795c1d83ea00b8cb30778cdb507
Bug 932786 - CTP doorhanger does not update to show the new plugin state after the user clicks allow or block; update pluginInfo.fallbackType with the new state in gPluginHandler._updatePluginPermission, r=keeler

--HG--
extra : rebase_source : 191bcfe75a062d33ee9e5b740d57601f3f21198b
Bug 934774 - Intermittent exception is killing mochitests (primarily browser_pluginnotification.js) because we're dispatching an event to a document which is already dead. Check it's aliveness before dispatching, r=johns

--HG--
extra : rebase_source : 01bfd43d78effd14bcab3c3900a0b3053d304d2d
Bug 934503 - Activated hidden plugins should not show the hidden plugin notification icon, r=jaws a=lsblakk for this entire series of plugin CtP fixes

--HG--
extra : rebase_source : 148e76171f01950bc5501946fe14329c549115f1