Skip to content

Commit

Permalink
Bug 1810662. Make "item should have finite clip with respect to aASR"…
Browse files Browse the repository at this point in the history
… asserts non-fatal. r=botond

Differential Revision: https://phabricator.services.mozilla.com/D166984
  • Loading branch information
tnikkel committed Jan 25, 2023
1 parent 03bc251 commit c216ddf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
4 changes: 2 additions & 2 deletions layout/painting/nsDisplayList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2657,7 +2657,7 @@ Maybe<nsRect> nsDisplayItem::GetClipWithRespectToASR(
return Some(clip->GetClipRect());
}
#ifdef DEBUG
MOZ_ASSERT(false, "item should have finite clip with respect to aASR");
NS_ASSERTION(false, "item should have finite clip with respect to aASR");
#endif
return Nothing();
}
Expand Down Expand Up @@ -8203,7 +8203,7 @@ Maybe<nsRect> nsDisplayMasksAndClipPaths::GetClipWithRespectToASR(
return Some(childList->GetClippedBoundsWithRespectToASR(aBuilder, aASR));
}
#ifdef DEBUG
MOZ_ASSERT(false, "item should have finite clip with respect to aASR");
NS_ASSERTION(false, "item should have finite clip with respect to aASR");
#endif
return Nothing();
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
[fixed-position-child-with-transformed-ancestor.html]
disabled:
if os == "win" and debug: https://bugzilla.mozilla.org/show_bug.cgi?id=1801587
if os == "linux" and debug: https://bugzilla.mozilla.org/show_bug.cgi?id=1801587
max-asserts: 4
expected:
if not debug: PASS
ERROR
PASS
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
[fixed-position-child-with-will-change-ancestor.html]
disabled:
if os == "win" and debug: https://bugzilla.mozilla.org/show_bug.cgi?id=1801587
if os == "linux" and debug: https://bugzilla.mozilla.org/show_bug.cgi?id=1801587
max-asserts: 4
expected:
if not debug: PASS
ERROR
PASS

0 comments on commit c216ddf

Please sign in to comment.