mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-26 02:17:34 +09:00
addendum to git rev aeda91f1d0
This commit is contained in:
parent
e578dccb6d
commit
c07540b2d5
1 changed files with 2 additions and 2 deletions
|
|
@ -125,7 +125,7 @@ public:
|
|||
|
||||
DOMTimeMilliSec UnloadEventStart()
|
||||
{
|
||||
if (!nsContentUtils::IsPerformanceTimingEnabled()) {
|
||||
if (!nsContentUtils::IsPerformanceTimingEnabled() || !mAllRedirectsSameOrigin) {
|
||||
return 0;
|
||||
}
|
||||
return TimerClamping::ReduceMsTimeValue(GetDOMTiming()->GetUnloadEventStart());
|
||||
|
|
@ -133,7 +133,7 @@ public:
|
|||
|
||||
DOMTimeMilliSec UnloadEventEnd()
|
||||
{
|
||||
if (!nsContentUtils::IsPerformanceTimingEnabled()) {
|
||||
if (!nsContentUtils::IsPerformanceTimingEnabled() || !mAllRedirectsSameOrigin) {
|
||||
return 0;
|
||||
}
|
||||
return TimerClamping::ReduceMsTimeValue(GetDOMTiming()->GetUnloadEventEnd());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue