Last Comment Bug 680883 - unneeded nsIPluginHost QueryInterface in sanitize.js and nsPrivateBrowsingService.js
: unneeded nsIPluginHost QueryInterface in sanitize.js and nsPrivateBrowsingSer...
Product: Firefox
Classification: Client Software
Component: Private Browsing (show other bugs)
: Trunk
: All All
: -- normal (vote)
: ---
Assigned To: arno renevier
Depends on:
  Show dependency treegraph
Reported: 2011-08-22 06:42 PDT by arno renevier
Modified: 2011-08-23 01:29 PDT (History)
2 users (show)
mounir: in‑testsuite-
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

patch proposal (3.25 KB, patch)
2011-08-22 06:44 PDT, arno renevier
ehsan: review+
Details | Diff | Review

Description arno renevier 2011-08-22 06:42:03 PDT
in browser/base/content/sanitize.js and browser/components/privatebrowsing/src/nsPrivateBrowsingService.js, we have
let ph = Cc[";1"].getService(Ci.nsIPluginHost);
which is just after QueryInterfaced to nsIPluginHost again.
Comment 1 arno renevier 2011-08-22 06:44:24 PDT
Created attachment 554845 [details] [diff] [review]
patch proposal

patch proposal. I've tested it on try server:
Comment 2 Josh Matthews [:jdm] 2011-08-22 07:20:23 PDT
Comment on attachment 554845 [details] [diff] [review]
patch proposal

I think this is ehsan's code.
Comment 3 :Ehsan Akhgari (busy, don't ask for review please) 2011-08-22 11:29:25 PDT
Pushed to inbound.
Comment 4 Mounir Lamouri (:mounir) 2011-08-23 01:29:29 PDT

Note You need to log in before you can comment on or make changes to this bug.