Closed Bug 1719365 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 29584 - Upstream JS Self-Profiling API WPTs

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox92 fixed)

RESOLVED FIXED
92 Branch
Tracking Status
firefox92 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 29584 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/29584
Details from upstream follow.

b'Andrew Comminos <acomminos@fb.com>' wrote:

Upstream JS Self-Profiling API WPTs

As the sampling requirement is enforced by a SHOULD clause in the spec,
we can normatively test that a sample occurs within one sample interval.
Fall back to this approach until manual sample collection is available,
enabling us to upstream the WPTs.

Bug: 956688
Change-Id: I979eb079425907a39630aca456c7b46a96403751
Reviewed-on: https://chromium-review.googlesource.com/3009982
WPT-Export-Revision: 716d258ee6dd9c1d86f230e621244798aa4809af

CI Results

Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 8 tests and 1 subtests

Status Summary

Firefox

OK : 8
PASS: 1
FAIL: 14

Chrome

OK : 8
PASS: 1
FAIL: 14

Safari

OK : 8
PASS: 1
FAIL: 14

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/js-self-profiling/concurrent-profilers.https.html
concurrent profilers should be supported: FAIL (Chrome: FAIL, Safari: FAIL)
/js-self-profiling/external-script.https.html
external script function details: FAIL (Chrome: FAIL, Safari: FAIL)
/js-self-profiling/function-names.https.html
function expression names are logged correctly: FAIL (Chrome: FAIL, Safari: FAIL)
anonymous function expression names are logged correctly: FAIL (Chrome: FAIL, Safari: FAIL)
function declaration names are logged correctly: FAIL (Chrome: FAIL, Safari: FAIL)
class method names are logged correctly: FAIL (Chrome: FAIL, Safari: FAIL)
class getter names are logged correctly: FAIL (Chrome: FAIL, Safari: FAIL)
class setter names are logged correctly: FAIL (Chrome: FAIL, Safari: FAIL)
/js-self-profiling/iframe-context-filtration.https.html
functions from child frame are not included in profile created by parent frame: FAIL (Chrome: FAIL, Safari: FAIL)
/js-self-profiling/inline-script.html
inline script function details: FAIL (Chrome: FAIL, Safari: FAIL)
/js-self-profiling/max-buffer-size.https.html
max buffer size is not exceeded: FAIL (Chrome: FAIL, Safari: FAIL)
executed samplebufferfull function: FAIL (Chrome: FAIL, Safari: FAIL)
/js-self-profiling/time-domain.window.html
sample timestamps use the current high-resolution time: FAIL (Chrome: FAIL, Safari: FAIL)
/js-self-profiling/without-document-policy/disabled.https.html
profiling should throw without passing document policy: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ed737b4579bd
[wpt PR 29584] - Upstream JS Self-Profiling API WPTs, a=testonly
https://hg.mozilla.org/integration/autoland/rev/9bf8f8f13ff1
[wpt PR 29584] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3ac4a8852530
[wpt PR 29584] - Upstream JS Self-Profiling API WPTs, a=testonly
https://hg.mozilla.org/integration/autoland/rev/9176078ba0b4
[wpt PR 29584] - Update wpt metadata, a=testonly
You need to log in before you can comment on or make changes to this bug.