mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
No issue - Align our resource timing with the updated Fetch spec.
This makes FetchStart use StartTime() when the TAO check fails for PerformanceResourceTiming Given the recent Fetch spec updates, Step 8.1 in https://fetch.spec.whatwg.org/#finalize-and-report-timing specifies that start time(StartTime) and post-redirect start time(FetchStart) should be start time when the TAO check fails.
This commit is contained in:
parent
a8b1099a1e
commit
50965fb223
1 changed files with 5 additions and 2 deletions
|
|
@ -69,9 +69,12 @@ public:
|
|||
}
|
||||
|
||||
DOMHighResTimeStamp FetchStart() const {
|
||||
return mTiming
|
||||
if (mTiming) {
|
||||
return mTiming->TimingAllowed()
|
||||
? mTiming->FetchStartHighRes()
|
||||
: 0;
|
||||
: StartTime();
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
DOMHighResTimeStamp RedirectStart() const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue