зеркало из https://github.com/mozilla/gecko-dev.git
15316f5e45
Previously, the updates in OnStartRequest were not updating some of the interface fields, including `nsIHttpChannelInternal`, which caused the wrong channel object to be queried for Cross-Origin-Opener-Policy status during process switches after a redirect, and crashes. In the `browser_application_panel_viewsource-service-worker.js` test case, the http channel was being intercepted by a service worker, but the non-intercepted channel was being queried. As the non-intercepted channel had not observed `OnStartRequest`, the query failed. Differential Revision: https://phabricator.services.mozilla.com/D98619 |
||
---|---|---|
.. | ||
moz.build | ||
nsIViewSourceChannel.idl | ||
nsViewSourceChannel.cpp | ||
nsViewSourceChannel.h | ||
nsViewSourceHandler.cpp | ||
nsViewSourceHandler.h |