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:
@@ -12845,5 +12845,6 @@ nsDocShell::GetWatchedByDevtools(bool* aWatched) {
|
||||
NS_IMETHODIMP
|
||||
nsDocShell::SetWatchedByDevtools(bool aWatched) {
|
||||
mWatchedByDevtools = aWatched;
|
||||
mBrowsingContext->SetWatchedByDevtools(aWatched);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user