Necko: Electrolysis design and subprojects: Difference between revisions

no edit summary
No edit summary
Line 45: Line 45:
*** Possible that plugins like Flash call during redirects or at other times?
*** Possible that plugins like Flash call during redirects or at other times?


==== HTTP redirects ====
==== HTTP redirects ====
The current architecture shifts out the original channel and replaces it with a channel to the new destination.
 
* This will probably require IPDL traffic to tell the content process to do something similar on its end.
The current architecture shifts out the original channel and replaces it with a channel to the new destination.  
* There are also listeners that are notified of redirects, and have the ability to cancel if they don't approve (plugins such as flash use this).
 
** There will be listeners that need to notified in both chrome and content processes, so use IPC.
*This will probably require IPDL traffic to tell the content process to do something similar on its end.  
** But right now these notifications are synchronous: we should change this to async on mozilla-central, and then merge into e10s tree, before trying to implement with IPC.
*There are also listeners that are notified of redirects, and have the ability to cancel if they don't approve (plugins such as flash use this).  
*** Opened as [https://bugzilla.mozilla.org/show_bug.cgi?id=513086 bug 513086]
**There will be listeners that need to notified in both chrome and content processes, so use IPC.  
**But right now these notifications are synchronous: we should change this to async on mozilla-central, and then merge into e10s tree, before trying to implement with IPC.  
***Opened as [https://bugzilla.mozilla.org/show_bug.cgi?id=513086 bug 513086]
*Security concerns
**Is it possible an observer not only cancel a navigation but rewrite/redirect it?  If so how would that change be propagated?
**Is the navigation blocked until all observers return?  Otherwise we might run the risk of a race condition.


==== HTTPS ====
==== HTTPS ====
Confirmed users
717

edits