Skip to content

Commit

Permalink
Backed out 6 changesets (bug 1712140) for causing sanitizer failures …
Browse files Browse the repository at this point in the history
…on nsHtml5TreeBuilder.cpp. CLOSED TREE

Backed out changeset b374469160e9 (bug 1712140)
Backed out changeset dfc44cccff32 (bug 1712140)
Backed out changeset 3a35e1401130 (bug 1712140)
Backed out changeset a93481858c38 (bug 1712140)
Backed out changeset a861fd445f56 (bug 1712140)
Backed out changeset dc1dc389f2dc (bug 1712140)

UltraBlame original commit: d6000f1e4ebbd251c5b8f50b0f12435733b7b218
  • Loading branch information
marco-c committed Dec 7, 2023
1 parent 9410a39 commit b523d56
Show file tree
Hide file tree
Showing 44 changed files with 19,102 additions and 4,259 deletions.
177 changes: 0 additions & 177 deletions dom/base/Document.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9332,10 +9332,6 @@ mCloningForSVGUse
(
false
)
mAllowDeclarativeShadowRoots
(
false
)
mXMLDeclarationBits
(
0
Expand Down Expand Up @@ -118150,179 +118146,6 @@ UpdateHiddenByContentVisibility
;
}
}
void
Document
:
:
SetAllowDeclarativeShadowRoots
(
bool
aAllowDeclarativeShadowRoots
)
{
mAllowDeclarativeShadowRoots
=
aAllowDeclarativeShadowRoots
;
}
bool
Document
:
:
AllowsDeclarativeShadowRoots
(
)
const
{
return
mAllowDeclarativeShadowRoots
;
}
/
*
static
*
/
already_AddRefed
<
Document
>
Document
:
:
ParseHTMLUnsafe
(
GlobalObject
&
aGlobal
const
nsAString
&
aHTML
)
{
nsCOMPtr
<
nsIURI
>
uri
;
NS_NewURI
(
getter_AddRefs
(
uri
)
"
about
:
blank
"
)
;
if
(
!
uri
)
{
return
nullptr
;
}
nsCOMPtr
<
Document
>
doc
;
nsresult
rv
=
NS_NewHTMLDocument
(
getter_AddRefs
(
doc
)
aGlobal
.
GetSubjectPrincipal
(
)
aGlobal
.
GetSubjectPrincipal
(
)
)
;
if
(
NS_WARN_IF
(
NS_FAILED
(
rv
)
)
)
{
return
nullptr
;
}
doc
-
>
SetAllowDeclarativeShadowRoots
(
true
)
;
doc
-
>
SetDocumentURI
(
uri
)
;
rv
=
nsContentUtils
:
:
ParseDocumentHTML
(
aHTML
doc
false
)
;
if
(
NS_WARN_IF
(
NS_FAILED
(
rv
)
)
)
{
return
nullptr
;
}
return
doc
.
forget
(
)
;
}
}
/
/
Expand Down
34 changes: 0 additions & 34 deletions dom/base/Document.h
Original file line number Diff line number Diff line change
Expand Up @@ -24335,19 +24335,6 @@ AllowsL10n
)
const
;
void
SetAllowDeclarativeShadowRoots
(
bool
aAllowDeclarativeShadowRoots
)
;
bool
AllowsDeclarativeShadowRoots
(
)
const
;
protected
:
RefPtr
Expand Down Expand Up @@ -30300,11 +30287,6 @@ mCloningForSVGUse
:
1
;
bool
mAllowDeclarativeShadowRoots
:
1
;
/
/
The
Expand Down Expand Up @@ -33438,22 +33420,6 @@ OwnedRadioGroupContainer
(
)
;
static
already_AddRefed
<
Document
>
ParseHTMLUnsafe
(
GlobalObject
&
aGlobal
const
nsAString
&
aHTML
)
;
}
;
NS_DEFINE_STATIC_IID_ACCESSOR
Expand Down

0 comments on commit b523d56

Please sign in to comment.