Last Comment Bug 758401 - Add message manager getter from docShell
: Add message manager getter from docShell
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: DOM (show other bugs)
: Trunk
: All All
: -- normal (vote)
: mozilla15
Assigned To: Olli Pettay [:smaug]
:
: Andrew Overholt [:overholt]
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-24 14:54 PDT by :Felipe Gomes (needinfo me!)
Modified: 2012-06-05 09:45 PDT (History)
4 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
untested patch (4.15 KB, patch)
2012-05-25 07:48 PDT, Olli Pettay [:smaug]
no flags Details | Diff | Splinter Review
some tests (6.86 KB, patch)
2012-05-25 11:23 PDT, Olli Pettay [:smaug]
jst: review+
Details | Diff | Splinter Review

Description :Felipe Gomes (needinfo me!) 2012-05-24 14:54:10 PDT
For the Identity work for b2g, we need a way to access the message manager from a window object. Smaug said we could do this by adding a getter to docShell.
Comment 1 Olli Pettay [:smaug] 2012-05-25 07:48:09 PDT
Created attachment 627229 [details] [diff] [review]
untested patch

The idea is that one could get nsIContentFrameMessageManager interface from
docshell (getInterface).
Comment 2 Olli Pettay [:smaug] 2012-05-25 11:23:05 PDT
Created attachment 627303 [details] [diff] [review]
some tests

Felipe, feel free to try this.

https://tbpl.mozilla.org/?tree=Try&rev=5576b415c9bf
Comment 3 Olli Pettay [:smaug] 2012-05-28 05:27:07 PDT
https://hg.mozilla.org/mozilla-central/rev/43fb1c7ae6e7

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