Skip to content

Commit

Permalink
Backed out changeset 149e69327bbb (bug 1746524) for causing gv-junit …
Browse files Browse the repository at this point in the history
…failures on bypassHTTPSOnlyError. CLOSED TREE

UltraBlame original commit: 5d6699b34edce04ffd8886be86de9d604d88a89a
  • Loading branch information
marco-c committed Nov 8, 2023
1 parent 0ba019b commit 367c3fb
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 84 deletions.
90 changes: 54 additions & 36 deletions docshell/base/CanonicalBrowsingContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11401,34 +11401,6 @@ aOuterWindowId
{
if
(
!
IsTopContent
(
)
|
|
!
GetContentParent
(
)
|
|
(
StaticPrefs
:
:
browser_tabs_documentchannel_parent_controlled
(
)
)
)
{
return
false
;
}
if
(
WatchedByDevTools
(
)
Expand Down Expand Up @@ -11611,6 +11583,33 @@ bool
aSetNavigating
)
{
if
(
!
IsTopContent
(
)
|
|
!
GetContentParent
(
)
|
|
!
StaticPrefs
:
:
browser_tabs_documentchannel_parent_controlled
(
)
)
{
return
false
;
}
uint64_t
outerWindowId
=
Expand Down Expand Up @@ -11684,22 +11683,41 @@ nsDocShellLoadState
aLoadState
)
{
uint64_t
outerWindowId
=
0
;
if
(
!
IsTopContent
(
)
|
|
!
GetContentParent
(
)
|
|
(
StaticPrefs
:
:
browser_tabs_documentchannel_speculative_load
browser_tabs_documentchannel_parent_controlled
(
)
|
|
)
)
{
return
false
;
}
uint64_t
outerWindowId
=
0
;
if
(
!
SupportsLoadingInParent
(
Expand Down
48 changes: 0 additions & 48 deletions modules/libpref/init/StaticPrefList.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9559,54 +9559,6 @@ type
bool
value
:
true
mirror
:
always
#
If
set
use
DocumentChannel
to
attempt
a
speculative
load
from
the
#
parent
whenever
it
'
s
not
possible
to
directly
load
from
the
parent
.
-
name
:
browser
.
tabs
.
documentchannel
.
speculative
-
load
type
:
bool
value
:
false
mirror
:
Expand Down

0 comments on commit 367c3fb

Please sign in to comment.