Opened 3 years ago

Closed 3 years ago

#19039 closed enhancement (fixed)

Test User Timing API in a worker context

Reported by: gk Owned by: cypherpunks
Priority: Medium Milestone:
Component: Applications/Quality Assurance and Testing Version:
Severity: Normal Keywords:
Cc: boklm Actual Points:
Parent ID: #18597 Points:
Reviewer: Sponsor:

Description

#18601 shows that we are good with respect to the User Timing API in a worker context. We should enhance our test respectively.

Child Tickets

Change History (1)

comment:1 Changed 3 years ago by boklm

Resolution: fixed
Status: newclosed

This is fixed in commit 91f5e2b86900eb4d0a8b11aa2f0c14bc7bb45a3e, adding a user-timing-worker test.

The test fails if we enable dom.enable_user_timing (as expected).

The following page is used in the test:
https://test-data.tbb.torproject.org/user-timing-worker.html

It will display OK if both performance.measure() and performance.mark() called in worker context caused an exception, or NOT OK otherwise.

Note: See TracTickets for help on using tickets.