Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

E10S problem with http request and nsIContentPolicy handling

18 views
Skip to first unread message

Виноградов Сергей

unread,
Apr 16, 2015, 3:00:00 PM4/16/15
to dev-tech-e...@lists.mozilla.org
I tried FireFox Nightly with E10S. However I have several problems:

1. nsIContentPolicy is now called only for internal downloads (chrome:// and resource://). How to register it? now registration underway in chrome code via categoryManager 'content-policy' (similary behavior with 'simple-content-policy')

2. Similarly, document-element-inserted event is called only for internal downloads.

3. In the 'http-on-opening-request' event I do not see way to send synchronous messages. MessageManager does not support the synchronous interface. However, I need

4. On the basis of the document loaded in the tab, to make certain decisions. I am now get field browser._documentURI.spec. however, this is a private field. I understand that it should not be used.
Without synchronous messages cannot determine the address of the loaded document. (tab URI is not suitable)

Who either knows how to solve it?
0 new messages