Bug 1602318 - Disable parent-initiated loads when using devtools. r=nika,ochameau

Differential Revision: https://phabricator.services.mozilla.com/D71136
This commit is contained in:
Matt Woodrow
2020-04-24 07:01:02 +00:00
parent 8ccf628c05
commit c48da842f3
4 changed files with 20 additions and 0 deletions

View File

@@ -12845,5 +12845,6 @@ nsDocShell::GetWatchedByDevtools(bool* aWatched) {
NS_IMETHODIMP
nsDocShell::SetWatchedByDevtools(bool aWatched) {
mWatchedByDevtools = aWatched;
mBrowsingContext->SetWatchedByDevtools(aWatched);
return NS_OK;
}