Commit 0afda835 authored by Henri Sivonen's avatar Henri Sivonen
Browse files

Bug 1660764 - Reset mSetCompleteAfterDOMContentLoaded in Document::Open(). r=mattwoodrow

parent ec0be3ef
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -8981,6 +8981,8 @@ Document* Document::Open(const Optional<nsAString>& /* unused */,
  // we do anything else, so we can then proceed to later ready state levels.
  SetReadyStateInternal(READYSTATE_UNINITIALIZED,
                        /* updateTimingInformation = */ false);
  // Reset a flag that affects readyState behavior.
  mSetCompleteAfterDOMContentLoaded = false;
  // Step 13 -- set our compat mode to standards.
  SetCompatibilityMode(eCompatibility_FullStandards);