Differential D276668
Bug 2006340 - Implement Resource Timing Level 3 interim response timestamps ClosedPublic Authored by hjanuschka on Dec 16 2025, 1:59 PM. Tags Referenced Files
Details
Summary Add firstInterimResponseStart and finalResponseHeadersStart properties
Matches WebKit and Chromium implementations.
Diff Detail
Event TimelineThere are a very large number of changes, so older changes are hidden. Show Older Changes hjanuschka added a comment.Dec 22 2025, 6:11 PM Comment Actionssorry for the hasle, fixed the .ini file, hope bots will be green now hjanuschka added a comment.Dec 25 2025, 10:46 PM Comment Actionsdo i need todo anything further, to re-land it? Closed by commit rFIREFOXAUTOLAND9b1ebbeb5c66: Bug 2006340 - Implement Resource Timing Level 3 interim response timestamps… (authored by hjanuschka, committed by valentin). · Explain WhyJan 3 2026, 8:21 PM This revision was automatically updated to reflect the committed changes. sstanca reopened this revision.Jan 4 2026, 1:50 AM This revision is now accepted and ready to land.Jan 4 2026, 1:50 AM hjanuschka added a comment.Jan 4 2026, 7:35 PM Comment Actions@valentin i am pretty new to firefox code, is there any better way to run the tests locally!? that verify it, or CI to catch it? it is all green, local and CI it lands and then fails :/ newest upload should fix the last revert-reason, and hopefully is a full-fix! thanks in for your time and patience with me! valentin requested changes to this revision.Jan 7 2026, 11:44 AM Comment Actions
I pushed your changes to try: https://treeherder.mozilla.org/jobs?repo=try&landoCommitID=171585 Lacking that, you can build the changes on your own machine and run the tests that are most likely to be impacted: I have found a minor bug in the implementation that needs to be fixed.
This revision now requires changes to proceed.Jan 7 2026, 11:44 AM hjanuschka requested review of this revision.Jan 7 2026, 2:37 PM hjanuschka updated this revision to Diff 1180779. hjanuschka added a comment.Jan 7 2026, 2:41 PM Comment Actionsthank you! pushed an update! with your suggestion! hope its correct (phabricator is quiet complex, and everything feels so different to e.g. chromium 🙃) valentin accepted this revision.Jan 7 2026, 2:45 PM Comment ActionsExcellent. Thank you! This revision is now accepted and ready to land.Jan 7 2026, 2:45 PM hjanuschka added a comment.Jan 7 2026, 3:17 PM Comment Actionsthank you hop it sticks now! is there anything like AUTHORS or so where i'd need to add myself? Closed by commit rFIREFOXAUTOLAND60c72a74ce60: Bug 2006340 - Implement Resource Timing Level 3 interim response timestamps… (authored by hjanuschka, committed by valentin). · Explain WhyJan 8 2026, 8:45 AM This revision was automatically updated to reflect the committed changes. agoloman reopened this revision.Jan 8 2026, 10:25 AM This revision is now accepted and ready to land.Jan 8 2026, 10:25 AM hjanuschka added a comment.Jan 9 2026, 1:06 AM Comment Actions@valentin sorry that this is such a back and forth :( - could you try this patchset? valentin added a comment.Jan 9 2026, 8:21 AM Comment Actions
Don't worry about the back and forth 🙂 It's part of the normal development cycle of any sufficiently complex piece of software. When making updates to the patch, it would be good if you left a comment explaining what changed. hjanuschka added a comment.Jan 12 2026, 9:31 AM Comment ActionsChanges in this update:
reviewbot added a comment.Jan 12 2026, 9:56 AM Comment ActionsCode analysis found 3 defects in diff 1182741:
WARNING: Found 3 defects (warning level) that can be dismissed.
You can run this analysis locally with: For your convenience, here is a patch that fixes all the clang-format defects (use it in your repository with or ). If you see a problem in this automated review, please report it here. You can view these defects in the Diff Detail section of Phabricator diff 1182741. valentin added a comment.Jan 14 2026, 2:04 PM Comment Actions
@hjanuschka both WPT and xpcshell tests seem to be failing. hjanuschka added a comment.Jan 15 2026, 10:22 AM Comment Actions@valentin valentin added a comment.Feb 3 2026, 12:38 PM Comment ActionsI did another try push. Hopefully this is green now https://treeherder.mozilla.org/jobs?repo=try&landoCommitID=177134 hjanuschka added a comment.Feb 3 2026, 8:25 PM Comment Actions@valentin - can you please kick off another run? hjanuschka added a comment.Mar 12 2026, 12:55 PM Comment Actions@valentin asking for help here, webkit and chromium already shipped it and i am stuck in a nimbus of "idfk" - it says job failed but does not show me error valentin added a comment.Mar 12 2026, 1:51 PM Comment Actions
https://treeherder.mozilla.org/jobs?repo=try&landoCommitID=185181 Hope this works. Sorry I missed the previous comment. hjanuschka added a comment.Mar 12 2026, 6:44 PM Comment Actionsit fails again, but both of the errors dont really ring a bell for me :/ a bit lost on this change hjanuschka edited the summary of this revision. (Show Details) hjanuschka added a comment.Mar 25 2026, 1:55 PM Comment Actions@valentin really feeling bad about all this ping pong, could you PLEASE start it one more time, i thnk i found the missing test expectation updates? valentin added a comment.Mar 25 2026, 2:25 PM Comment ActionsNo reason to feel bad about it. I'm really grateful for your contributions! https://treeherder.mozilla.org/jobs?repo=try&landoCommitID=188120 - mach try auto hjanuschka added a comment.Mar 25 2026, 10:56 PM Comment Actions@valentin again please, locally the da** wpt's now pass, is there any chance i could kick of bots on this changeset myself? Comment Actions SummaryIntentThe changes implement the W3C Resource Timing Level 3 specification for interim response timestamps. Specifically, this adds two new properties — and — to the API. These properties allow web developers to distinguish between the timing of interim HTTP responses (1xx status codes, such as 103 Early Hints or 100 Continue) and the timing of the final HTTP response (2xx/3xx/4xx/5xx). This aligns Firefox's implementation with WebKit and Chromium, which already support these properties. SolutionThe implementation spans multiple layers of the Firefox codebase: Network Layer (Timing Capture):
Channel Layer (Propagation):
IPC Layer (Cross-Process Serialization):
DOM Layer (Web API Exposure):
Tests:
Please use / reactions on inline comments to provide feedback. This will have a significant impact on the quality of future reviews.
valentin added a comment.Mar 26 2026, 1:04 PM Comment Actions
https://treeherder.mozilla.org/jobs?repo=try&landoCommitID=188385 If you're interested in contributing more following this patch you could apply for level 1 commit rights. see https://firefox-source-docs.mozilla.org/tools/try/configuration.html valentin added a comment.Mar 26 2026, 1:25 PM Comment Actions
https://treeherder.mozilla.org/jobs?repo=try&landoCommitID=188385 If you're interested in contributing more following this patch you could apply for level 1 commit rights. see https://firefox-source-docs.mozilla.org/tools/try/configuration.html hjanuschka added a comment.Mar 26 2026, 4:32 PM Comment Actionsnot sure how frequently i'll contribute, but since i enjoy closing interop gaps, and i have a pretty good chromium track, i bet/hope there'll be some more ff changes in the near future. filed a request: https://bugzilla.mozilla.org/show_bug.cgi?id=2026703 and could you run the jobs again? hjanuschka added a comment.Apr 13 2026, 9:17 AM Comment Actions@valentin may i ask you for a voucher for the level1 access? valentin added a comment.Apr 13 2026, 9:29 AM Comment Actions
Vouched and pushed to try again. Sorry for the delay, I was on PTO the last week and a but swamped with bugmail. hjanuschka added a comment.Apr 14 2026, 9:28 PM Comment Actions@valentin really appreciate the voucher, and i somehow managed to "./mach try auto" but now i have 100's failing tests. how did you start the bots? sorry for hijacking the changeset for such questions, is there a slack/chat/whatever channel for ff devs? valentin added a comment.Apr 15 2026, 5:11 PM Comment Actions
I also do ./mach try auto
Yes, feel free to ask in https://chat.mozilla.org/#/room/#necko:mozilla.org or https://chat.mozilla.org/#/room/#dev-help:mozilla.org valentin added a comment.Apr 15 2026, 5:13 PM Comment Actions
You can also do and select only one platform web-platform-tests hjanuschka added a comment.Apr 20 2026, 1:11 AM Comment Actionsplease take a look at this bot run: https://treeherder.mozilla.org/push-health/push?repo=try&revision=f82a9b2a7c1575cfde5f6f13c0848dc97e021bd1&tab=tests&testGroup=pr&selectedTest=event-timinglarge-duration-thresholdhtml&selectedTaskId=561088698&selectedJobName=event-timing%2Flarge-duration-threshold.html+test-windows11-32-24h2%2Fopt-web-platform-tests-9 the ones that still fail - are what looks like unrelated. hjanuschka added a comment.Apr 28 2026, 7:22 AM Comment Actionshttps://treeherder.mozilla.org/jobs?repo=try&revision=e95c4d767a36638b1c26bc2b96c41a18871c6037 @valentin could we try landing again? Closed by commit rFIREFOXAUTOLANDceb343c444f6: Bug 2006340 - Implement Resource Timing Level 3 interim response timestamps… (authored by hjanuschka, committed by valentin). · Explain WhyApr 28 2026, 7:30 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 1260097 testing/web-platform/meta/loading/early-hints/early-hints-response-time.h2.html.iniLoading... | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
