Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit the timer resolution in non-isolated contexts #93

Merged
merged 13 commits into from
Feb 18, 2021

Conversation

yoavweiss
Copy link
Contributor

@yoavweiss yoavweiss commented Sep 15, 2020

Closes #89

We still need to discuss and see what X value would be reasonable here


Preview | Diff

@yoavweiss yoavweiss requested a review from npm1 September 15, 2020 13:56
@npm1
Copy link
Contributor

npm1 commented Sep 15, 2020

This makes sense but I think we want to move this to some algorithm which is called every time we want to get a timestamp, otherwise the current settings object does not make much sense.

@yoavweiss
Copy link
Contributor Author

This makes sense but I think we want to move this to some algorithm which is called every time we want to get a timestamp, otherwise the current settings object does not make much sense.

Good call. That would indeed be nicer and more precise.

@annevk
Copy link
Member

annevk commented Sep 22, 2020

require-corp does not guarantee isolation by itself. You want cross-origin isolated...

@yoavweiss
Copy link
Contributor Author

require-corp does not guarantee isolation by itself. You want cross-origin isolated...

Cool, thanks!

@annevk
Copy link
Member

annevk commented Sep 23, 2020

Thinking about this more you probably want cross-origin isolated capability here. So only if cross-origin isolated is delegated would a third party frame get true high-resolution timers.

cc @domenic @yutakahirano

@domenic
Copy link

domenic commented Sep 23, 2020

Yes, we purposefully don't export "cross-origin isolated" since people should be using the capability.

@yoavweiss
Copy link
Contributor Author

FYI - @mikewest @camillelamy @hemeryar

@yoavweiss
Copy link
Contributor Author

Rebased the PR based on #97 and comments. Please take a look.

We still need to determine:

  • What would a good value for X be?
  • How can we publish this from a process perspective?
    • Do we need to go back to PR/CR? Define this as L3? Define HR-Time as a Living Standard as part of Process 2020?
  • Do we need WPTs? If so, how can we actually test this?

@yutakahirano
Copy link

Could you use https://html.spec.whatwg.org/multipage/webappapis.html#concept-settings-object-cross-origin-isolated-capability instead of agent cluster's cross-origin isolated?

@yoavweiss
Copy link
Contributor Author

Could you use https://html.spec.whatwg.org/multipage/webappapis.html#concept-settings-object-cross-origin-isolated-capability instead of agent cluster's cross-origin isolated?

Exactly what I was looking for. Thanks!!

@yoavweiss
Copy link
Contributor Author

There are 2 issues we still need to discuss it seems:

  1. The value of the limit in the non-isolated context case
  2. Removing the limit in the isolated context case

Regarding (1), I would go with 100 microseconds, as it's a value that seems to satisfy the use-cases without being overly granular.

The use-cases I found for sub-millisecond timers are:

  • Ability to schedule work in sub-millisecond intervals
    • When running work on the main thread developers have a "window" of a few ms to do all the work they need to do for the browser to properly generate the next frame. 1ms granularity makes it hard to schedule such work without causing jank.
  • RUM based benchmarking - getting accurate timing for e.g. User Timing can matter, depending on what you're measuring.
  • Benchmarking (one example) - that seems like a less critical example, as folks who want to benchmark specific browser operations can do so in isolated contexts
  • Framerate calculations and audio/animation coordination

Regarding (2), I'm not convinced that isolated contexts resolve the spy in the sandbox caching attacks.
Talking to Chrome security folks, Chrome will not remove the limitation, even if the spec says it's no longer mandatory.
And while it's true that SAB and threads expose better granularity in isolated contexts, thread scheduling could mitigate that if that turns out to be a problem in practice.

At the same time, it may make sense to relax it in spec, as e.g. it may not be an issue on non-Intel hardware, and implementation-defined limitations could apply the limit only where it makes sense from a security perspective.

@annevk - Would you be interested in joining a WG call to discuss the above?

@annevk
Copy link
Member

annevk commented Oct 6, 2020

I chatted with Tom Ritter and my understanding about Firefox was incorrect. Firefox also does clamping:

  1. Cross-origin isolated: clamped to 20 microseconds, no jitter.
  2. Normal: clamped to 1000 microseconds, jitter.
  3. Reduced fingerprinting preference enabled: clamped to 100000 microseconds, jitter (in both cross-origin isolated and normal).

We can change cross-origin isolated to clamp to 5 microseconds, but indeed, we want to keep clamping there as well and I was mistaken above.

(I could attend a call, but I'm not sure that's still needed?)

chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 16, 2021
This aligns our implementation with [1].

[1] w3c/hr-time#93

Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b

BUG: 1180178
Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 17, 2021
This aligns our implementation with [1].

[1] w3c/hr-time#93

Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b

BUG: 1180178
Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 17, 2021
This aligns our implementation with [1].

[1] w3c/hr-time#93

Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b

BUG: 1180178
Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 17, 2021
This aligns our implementation with [1].

[1] w3c/hr-time#93

Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b

BUG: 1180178
Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 17, 2021
This aligns our implementation with [1].

[1] w3c/hr-time#93

Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b

BUG: 1180178
Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 17, 2021
This aligns our implementation with [1].

[1] w3c/hr-time#93

Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b

BUG: 1180178
Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 18, 2021
This aligns our implementation with [1].

[1] w3c/hr-time#93

Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b

BUG: 1180178
Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 18, 2021
This aligns our implementation with [1].

[1] w3c/hr-time#93

Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b

BUG: 1180178
Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 18, 2021
This aligns our implementation with [1].

[1] w3c/hr-time#93

Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b

BUG: 1180178
Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 18, 2021
This aligns our implementation with [1].

[1] w3c/hr-time#93

Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b

BUG: 1180178
Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 19, 2021
This aligns our implementation with [1].

[1] w3c/hr-time#93

Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b

BUG: 1180178
Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 19, 2021
This aligns our implementation with w3c/hr-time#93

I2S: https://groups.google.com/a/chromium.org/g/blink-dev/c/k6M3HJiqmkE/m/zgaVyKfnAwAJ

BUG: 1180178
Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 22, 2021
This aligns our implementation with w3c/hr-time#93

I2S: https://groups.google.com/a/chromium.org/g/blink-dev/c/k6M3HJiqmkE/m/zgaVyKfnAwAJ

BUG: 1180178
Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2757334
Commit-Queue: Yoav Weiss <[email protected]>
Reviewed-by: Andrey Kosyakov <[email protected]>
Reviewed-by: Nicolás Peña Moreno <[email protected]>
Reviewed-by: Camille Lamy <[email protected]>
Reviewed-by: Paul Lewis <[email protected]>
Reviewed-by: Klaus Weidner <[email protected]>
Cr-Commit-Position: refs/heads/master@{#865234}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 22, 2021
This aligns our implementation with w3c/hr-time#93

I2S: https://groups.google.com/a/chromium.org/g/blink-dev/c/k6M3HJiqmkE/m/zgaVyKfnAwAJ

BUG: 1180178
Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2757334
Commit-Queue: Yoav Weiss <[email protected]>
Reviewed-by: Andrey Kosyakov <[email protected]>
Reviewed-by: Nicolás Peña Moreno <[email protected]>
Reviewed-by: Camille Lamy <[email protected]>
Reviewed-by: Paul Lewis <[email protected]>
Reviewed-by: Klaus Weidner <[email protected]>
Cr-Commit-Position: refs/heads/master@{#865234}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 22, 2021
This reverts commit a6bff86b7b59db2467b5b4fc2fd7a05c093f33a6.

Reason for revert: Causing gamepad/gamepad-polling-access.html to fail (see https://ci.chromium.org/ui/p/chromium/builders/ci/Win7%20Tests%20(1)/115719/overview)

Original change's description:
> Coarsen performance.now() in cross-origin non-isolated contexts
>
> This aligns our implementation with w3c/hr-time#93
>
> I2S: https://groups.google.com/a/chromium.org/g/blink-dev/c/k6M3HJiqmkE/m/zgaVyKfnAwAJ
>
> BUG: 1180178
> Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2757334
> Commit-Queue: Yoav Weiss <[email protected]>
> Reviewed-by: Andrey Kosyakov <[email protected]>
> Reviewed-by: Nicolás Peña Moreno <[email protected]>
> Reviewed-by: Camille Lamy <[email protected]>
> Reviewed-by: Paul Lewis <[email protected]>
> Reviewed-by: Klaus Weidner <[email protected]>
> Cr-Commit-Position: refs/heads/master@{#865234}

Change-Id: If7d5a4318f3a1cf172675d418ece9c6d8001e5ba
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2779717
Auto-Submit: Adithya Srinivasan <[email protected]>
Commit-Queue: Rubber Stamper <[email protected]>
Bot-Commit: Rubber Stamper <[email protected]>
Cr-Commit-Position: refs/heads/master@{#865303}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 22, 2021
This reverts commit a6bff86b7b59db2467b5b4fc2fd7a05c093f33a6.

Reason for revert: Causing gamepad/gamepad-polling-access.html to fail (see https://ci.chromium.org/ui/p/chromium/builders/ci/Win7%20Tests%20(1)/115719/overview)

Original change's description:
> Coarsen performance.now() in cross-origin non-isolated contexts
>
> This aligns our implementation with w3c/hr-time#93
>
> I2S: https://groups.google.com/a/chromium.org/g/blink-dev/c/k6M3HJiqmkE/m/zgaVyKfnAwAJ
>
> BUG: 1180178
> Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2757334
> Commit-Queue: Yoav Weiss <[email protected]>
> Reviewed-by: Andrey Kosyakov <[email protected]>
> Reviewed-by: Nicolás Peña Moreno <[email protected]>
> Reviewed-by: Camille Lamy <[email protected]>
> Reviewed-by: Paul Lewis <[email protected]>
> Reviewed-by: Klaus Weidner <[email protected]>
> Cr-Commit-Position: refs/heads/master@{#865234}

Change-Id: If7d5a4318f3a1cf172675d418ece9c6d8001e5ba
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2779717
Auto-Submit: Adithya Srinivasan <[email protected]>
Commit-Queue: Rubber Stamper <[email protected]>
Bot-Commit: Rubber Stamper <[email protected]>
Cr-Commit-Position: refs/heads/master@{#865303}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 22, 2021
This reverts commit 8f63c9bfc76588ff57f1945a558cab7cf45ff79a.

Reason for revert: Test should be marked as flaky

Original change's description:
> Revert "Coarsen performance.now() in cross-origin non-isolated contexts"
>
> This reverts commit a6bff86b7b59db2467b5b4fc2fd7a05c093f33a6.
>
> Reason for revert: Causing gamepad/gamepad-polling-access.html to fail (see https://ci.chromium.org/ui/p/chromium/builders/ci/Win7%20Tests%20(1)/115719/overview)
>
> Original change's description:
> > Coarsen performance.now() in cross-origin non-isolated contexts
> >
> > This aligns our implementation with w3c/hr-time#93
> >
> > I2S: https://groups.google.com/a/chromium.org/g/blink-dev/c/k6M3HJiqmkE/m/zgaVyKfnAwAJ
> >
> > BUG: 1180178
> > Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2757334
> > Commit-Queue: Yoav Weiss <[email protected]>
> > Reviewed-by: Andrey Kosyakov <[email protected]>
> > Reviewed-by: Nicolás Peña Moreno <[email protected]>
> > Reviewed-by: Camille Lamy <[email protected]>
> > Reviewed-by: Paul Lewis <[email protected]>
> > Reviewed-by: Klaus Weidner <[email protected]>
> > Cr-Commit-Position: refs/heads/master@{#865234}
>
> Change-Id: If7d5a4318f3a1cf172675d418ece9c6d8001e5ba
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2779717
> Auto-Submit: Adithya Srinivasan <[email protected]>
> Commit-Queue: Rubber Stamper <[email protected]>
> Bot-Commit: Rubber Stamper <[email protected]>
> Cr-Commit-Position: refs/heads/master@{#865303}

Change-Id: Idd11b301a00b2926e6cad6517e1ac7a14c68b376
pull bot pushed a commit to Mu-L/chromium that referenced this pull request Mar 22, 2021
This aligns our implementation with w3c/hr-time#93

I2S: https://groups.google.com/a/chromium.org/g/blink-dev/c/k6M3HJiqmkE/m/zgaVyKfnAwAJ

BUG: 1180178
Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2757334
Commit-Queue: Yoav Weiss <[email protected]>
Reviewed-by: Andrey Kosyakov <[email protected]>
Reviewed-by: Nicolás Peña Moreno <[email protected]>
Reviewed-by: Camille Lamy <[email protected]>
Reviewed-by: Paul Lewis <[email protected]>
Reviewed-by: Klaus Weidner <[email protected]>
Cr-Commit-Position: refs/heads/master@{#865234}
pull bot pushed a commit to FreddyZeng/chromium that referenced this pull request Mar 22, 2021
This reverts commit a6bff86.

Reason for revert: Causing gamepad/gamepad-polling-access.html to fail (see https://ci.chromium.org/ui/p/chromium/builders/ci/Win7%20Tests%20(1)/115719/overview)

Original change's description:
> Coarsen performance.now() in cross-origin non-isolated contexts
>
> This aligns our implementation with w3c/hr-time#93
>
> I2S: https://groups.google.com/a/chromium.org/g/blink-dev/c/k6M3HJiqmkE/m/zgaVyKfnAwAJ
>
> BUG: 1180178
> Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2757334
> Commit-Queue: Yoav Weiss <[email protected]>
> Reviewed-by: Andrey Kosyakov <[email protected]>
> Reviewed-by: Nicolás Peña Moreno <[email protected]>
> Reviewed-by: Camille Lamy <[email protected]>
> Reviewed-by: Paul Lewis <[email protected]>
> Reviewed-by: Klaus Weidner <[email protected]>
> Cr-Commit-Position: refs/heads/master@{#865234}

Change-Id: If7d5a4318f3a1cf172675d418ece9c6d8001e5ba
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2779717
Auto-Submit: Adithya Srinivasan <[email protected]>
Commit-Queue: Rubber Stamper <[email protected]>
Bot-Commit: Rubber Stamper <[email protected]>
Cr-Commit-Position: refs/heads/master@{#865303}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 23, 2021
This reverts commit 8f63c9bfc76588ff57f1945a558cab7cf45ff79a.

Reason for revert: Test should be marked as flaky

Original change's description:
> Revert "Coarsen performance.now() in cross-origin non-isolated contexts"
>
> This reverts commit a6bff86b7b59db2467b5b4fc2fd7a05c093f33a6.
>
> Reason for revert: Causing gamepad/gamepad-polling-access.html to fail (see https://ci.chromium.org/ui/p/chromium/builders/ci/Win7%20Tests%20(1)/115719/overview)
>
> Original change's description:
> > Coarsen performance.now() in cross-origin non-isolated contexts
> >
> > This aligns our implementation with w3c/hr-time#93
> >
> > I2S: https://groups.google.com/a/chromium.org/g/blink-dev/c/k6M3HJiqmkE/m/zgaVyKfnAwAJ
> >
> > BUG: 1180178
> > Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2757334
> > Commit-Queue: Yoav Weiss <[email protected]>
> > Reviewed-by: Andrey Kosyakov <[email protected]>
> > Reviewed-by: Nicolás Peña Moreno <[email protected]>
> > Reviewed-by: Camille Lamy <[email protected]>
> > Reviewed-by: Paul Lewis <[email protected]>
> > Reviewed-by: Klaus Weidner <[email protected]>
> > Cr-Commit-Position: refs/heads/master@{#865234}
>
> Change-Id: If7d5a4318f3a1cf172675d418ece9c6d8001e5ba
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2779717
> Auto-Submit: Adithya Srinivasan <[email protected]>
> Commit-Queue: Rubber Stamper <[email protected]>
> Bot-Commit: Rubber Stamper <[email protected]>
> Cr-Commit-Position: refs/heads/master@{#865303}

Change-Id: Idd11b301a00b2926e6cad6517e1ac7a14c68b376
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2780473
Bot-Commit: Rubber Stamper <[email protected]>
Commit-Queue: Yoav Weiss <[email protected]>
Cr-Commit-Position: refs/heads/master@{#865593}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 23, 2021
This reverts commit 8f63c9bfc76588ff57f1945a558cab7cf45ff79a.

Reason for revert: Test should be marked as flaky

Original change's description:
> Revert "Coarsen performance.now() in cross-origin non-isolated contexts"
>
> This reverts commit a6bff86b7b59db2467b5b4fc2fd7a05c093f33a6.
>
> Reason for revert: Causing gamepad/gamepad-polling-access.html to fail (see https://ci.chromium.org/ui/p/chromium/builders/ci/Win7%20Tests%20(1)/115719/overview)
>
> Original change's description:
> > Coarsen performance.now() in cross-origin non-isolated contexts
> >
> > This aligns our implementation with w3c/hr-time#93
> >
> > I2S: https://groups.google.com/a/chromium.org/g/blink-dev/c/k6M3HJiqmkE/m/zgaVyKfnAwAJ
> >
> > BUG: 1180178
> > Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2757334
> > Commit-Queue: Yoav Weiss <[email protected]>
> > Reviewed-by: Andrey Kosyakov <[email protected]>
> > Reviewed-by: Nicolás Peña Moreno <[email protected]>
> > Reviewed-by: Camille Lamy <[email protected]>
> > Reviewed-by: Paul Lewis <[email protected]>
> > Reviewed-by: Klaus Weidner <[email protected]>
> > Cr-Commit-Position: refs/heads/master@{#865234}
>
> Change-Id: If7d5a4318f3a1cf172675d418ece9c6d8001e5ba
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2779717
> Auto-Submit: Adithya Srinivasan <[email protected]>
> Commit-Queue: Rubber Stamper <[email protected]>
> Bot-Commit: Rubber Stamper <[email protected]>
> Cr-Commit-Position: refs/heads/master@{#865303}

Change-Id: Idd11b301a00b2926e6cad6517e1ac7a14c68b376
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2780473
Bot-Commit: Rubber Stamper <[email protected]>
Commit-Queue: Yoav Weiss <[email protected]>
Cr-Commit-Position: refs/heads/master@{#865593}
blueboxd pushed a commit to blueboxd/chromium-legacy that referenced this pull request Mar 23, 2021
This reverts commit 8f63c9b.

Reason for revert: Test should be marked as flaky

Original change's description:
> Revert "Coarsen performance.now() in cross-origin non-isolated contexts"
>
> This reverts commit a6bff86.
>
> Reason for revert: Causing gamepad/gamepad-polling-access.html to fail (see https://ci.chromium.org/ui/p/chromium/builders/ci/Win7%20Tests%20(1)/115719/overview)
>
> Original change's description:
> > Coarsen performance.now() in cross-origin non-isolated contexts
> >
> > This aligns our implementation with w3c/hr-time#93
> >
> > I2S: https://groups.google.com/a/chromium.org/g/blink-dev/c/k6M3HJiqmkE/m/zgaVyKfnAwAJ
> >
> > BUG: 1180178
> > Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2757334
> > Commit-Queue: Yoav Weiss <[email protected]>
> > Reviewed-by: Andrey Kosyakov <[email protected]>
> > Reviewed-by: Nicolás Peña Moreno <[email protected]>
> > Reviewed-by: Camille Lamy <[email protected]>
> > Reviewed-by: Paul Lewis <[email protected]>
> > Reviewed-by: Klaus Weidner <[email protected]>
> > Cr-Commit-Position: refs/heads/master@{#865234}
>
> Change-Id: If7d5a4318f3a1cf172675d418ece9c6d8001e5ba
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2779717
> Auto-Submit: Adithya Srinivasan <[email protected]>
> Commit-Queue: Rubber Stamper <[email protected]>
> Bot-Commit: Rubber Stamper <[email protected]>
> Cr-Commit-Position: refs/heads/master@{#865303}

Change-Id: Idd11b301a00b2926e6cad6517e1ac7a14c68b376
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2780473
Bot-Commit: Rubber Stamper <[email protected]>
Commit-Queue: Yoav Weiss <[email protected]>
Cr-Commit-Position: refs/heads/master@{#865593}
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Mar 27, 2021
…n non-isolated contexts, a=testonly

Automatic update from web-platform-tests
Coarsen performance.now() in cross-origin non-isolated contexts

This aligns our implementation with w3c/hr-time#93

I2S: https://groups.google.com/a/chromium.org/g/blink-dev/c/k6M3HJiqmkE/m/zgaVyKfnAwAJ

BUG: 1180178
Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2757334
Commit-Queue: Yoav Weiss <[email protected]>
Reviewed-by: Andrey Kosyakov <[email protected]>
Reviewed-by: Nicolás Peña Moreno <[email protected]>
Reviewed-by: Camille Lamy <[email protected]>
Reviewed-by: Paul Lewis <[email protected]>
Reviewed-by: Klaus Weidner <[email protected]>
Cr-Commit-Position: refs/heads/master@{#865234}

--

wpt-commits: 570d161c271531545c6481da73ca590c43de4f53
wpt-pr: 28069
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Mar 27, 2021
…ss-origin non-isolated contexts", a=testonly

Automatic update from web-platform-tests
Revert "Coarsen performance.now() in cross-origin non-isolated contexts"

This reverts commit a6bff86b7b59db2467b5b4fc2fd7a05c093f33a6.

Reason for revert: Causing gamepad/gamepad-polling-access.html to fail (see https://ci.chromium.org/ui/p/chromium/builders/ci/Win7%20Tests%20(1)/115719/overview)

Original change's description:
> Coarsen performance.now() in cross-origin non-isolated contexts
>
> This aligns our implementation with w3c/hr-time#93
>
> I2S: https://groups.google.com/a/chromium.org/g/blink-dev/c/k6M3HJiqmkE/m/zgaVyKfnAwAJ
>
> BUG: 1180178
> Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2757334
> Commit-Queue: Yoav Weiss <[email protected]>
> Reviewed-by: Andrey Kosyakov <[email protected]>
> Reviewed-by: Nicolás Peña Moreno <[email protected]>
> Reviewed-by: Camille Lamy <[email protected]>
> Reviewed-by: Paul Lewis <[email protected]>
> Reviewed-by: Klaus Weidner <[email protected]>
> Cr-Commit-Position: refs/heads/master@{#865234}

Change-Id: If7d5a4318f3a1cf172675d418ece9c6d8001e5ba
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2779717
Auto-Submit: Adithya Srinivasan <[email protected]>
Commit-Queue: Rubber Stamper <[email protected]>
Bot-Commit: Rubber Stamper <[email protected]>
Cr-Commit-Position: refs/heads/master@{#865303}

--

wpt-commits: 136b02824b73ef9f0a2cff4142e4bfa9a1fa3b59
wpt-pr: 28176
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Mar 27, 2021
…ss-origin non-isolated contexts", a=testonly

Automatic update from web-platform-tests
Reland "Coarsen performance.now() in cross-origin non-isolated contexts"

This reverts commit 8f63c9bfc76588ff57f1945a558cab7cf45ff79a.

Reason for revert: Test should be marked as flaky

Original change's description:
> Revert "Coarsen performance.now() in cross-origin non-isolated contexts"
>
> This reverts commit a6bff86b7b59db2467b5b4fc2fd7a05c093f33a6.
>
> Reason for revert: Causing gamepad/gamepad-polling-access.html to fail (see https://ci.chromium.org/ui/p/chromium/builders/ci/Win7%20Tests%20(1)/115719/overview)
>
> Original change's description:
> > Coarsen performance.now() in cross-origin non-isolated contexts
> >
> > This aligns our implementation with w3c/hr-time#93
> >
> > I2S: https://groups.google.com/a/chromium.org/g/blink-dev/c/k6M3HJiqmkE/m/zgaVyKfnAwAJ
> >
> > BUG: 1180178
> > Change-Id: Ie3e62ab03fdb4eef49f818145e03476a0747464b
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2757334
> > Commit-Queue: Yoav Weiss <[email protected]>
> > Reviewed-by: Andrey Kosyakov <[email protected]>
> > Reviewed-by: Nicolás Peña Moreno <[email protected]>
> > Reviewed-by: Camille Lamy <[email protected]>
> > Reviewed-by: Paul Lewis <[email protected]>
> > Reviewed-by: Klaus Weidner <[email protected]>
> > Cr-Commit-Position: refs/heads/master@{#865234}
>
> Change-Id: If7d5a4318f3a1cf172675d418ece9c6d8001e5ba
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2779717
> Auto-Submit: Adithya Srinivasan <[email protected]>
> Commit-Queue: Rubber Stamper <[email protected]>
> Bot-Commit: Rubber Stamper <[email protected]>
> Cr-Commit-Position: refs/heads/master@{#865303}

Change-Id: Idd11b301a00b2926e6cad6517e1ac7a14c68b376
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2780473
Bot-Commit: Rubber Stamper <[email protected]>
Commit-Queue: Yoav Weiss <[email protected]>
Cr-Commit-Position: refs/heads/master@{#865593}

--

wpt-commits: 57747da202f050d84df2b73e5821a56b18af66f7
wpt-pr: 28178
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make high resolution time dependant on cross-origin isolated
5 participants