Commit 2fd69bd5 authored by Paul Bone's avatar Paul Bone
Browse files

Bug 1597154 - pt 2. Fix out-of-date comment r=mattwoodrow

Differential Revision: https://phabricator.services.mozilla.com/D58898

--HG--
extra : moz-landing-system : lando
parent 0048098c
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -786,12 +786,10 @@ var E10SUtils = {
      return false;
    }

    // If we are performing HTTP response process selection, and are loading an
    // HTTP URI, we can start the load in the current process, and then perform
    // the switch later-on using the RedirectProcessChooser mechanism.
    //
    // We should never be sending a POST request from the parent process to a
    // http(s) uri, so make sure we switch if we're currently in that process.
    // If we are using DocumentChannel or remote subframes (fission), and
    // are loading a HTTP URI, we can start the load in the current
    // process, and then perform the switch later-on using the
    // RedirectProcessChooser mechanism.
    if (
      Services.appinfo.remoteType != NOT_REMOTE &&
      (useRemoteSubframes || documentChannel) &&