[tor-bugs] #19039 [Applications/Quality Assurance and Testing]: Test User Timing API in a worker context

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon May 16 16:58:00 UTC 2016


#19039: Test User Timing API in a worker context
-------------------------------------------------+-------------------------
 Reporter:  gk                                   |          Owner:
     Type:  enhancement                          |  cypherpunks
 Priority:  Medium                               |         Status:  closed
Component:  Applications/Quality Assurance and   |      Milestone:
  Testing                                        |        Version:
 Severity:  Normal                               |     Resolution:  fixed
 Keywords:                                       |  Actual Points:
Parent ID:  #18597                               |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by boklm):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 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.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19039#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list