Last Comment Bug 758401 - Add message manager getter from docShell
: Add message manager getter from docShell
Product: Core
Classification: Components
Component: DOM (show other bugs)
: Trunk
: All All
: -- normal (vote)
: mozilla15
Assigned To: Olli Pettay [:smaug]
: Andrew Overholt [:overholt]
Depends on:
  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:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

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.
Comment 3 Olli Pettay [:smaug] 2012-05-28 05:27:07 PDT

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