New issue
Advanced search Search tips

Issue 747457 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 3
Type: Launch-OWP
Launch-Accessibility: NA
Launch-Exp-Leadership: ----
Launch-Leadership: ----
Launch-Legal: NA
Launch-M-Approved: ----
Launch-M-Target: ----
Launch-Privacy: NA
Launch-Security: NotReviewed
Launch-Test: NotReviewed
Launch-UI: NA
Rollout-Type: ----



Sign in to add a comment

PerformanceObserver inside Worker

Project Member Reported by npm@chromium.org, Jul 21 2017

Issue description

Change description:
Expose the PerformanceEntry and PerformanceObserver interfaces to Worker.

Changes to API surface:
The following will be added to (dedicated, shared, and service) workers:

interface PerformanceEntry
    attribute @@toStringTag
    getter duration
    getter entryType
    getter name
    getter startTime
    method constructor
    method toJSON
interface PerformanceObserver
    attribute @@toStringTag
    method constructor
    method disconnect
    method observe

Links:
Spec: https://w3c.github.io/performance-timeline/ 
Initial bug:  705820 

Support in other browsers:
Edge: No (under consideration)
Firefox: Yes
Safari: No
 

Comment 1 by npm@chromium.org, Jul 21 2017

Labels: -M-61 M-62
Project Member

Comment 2 by bugdroid1@chromium.org, Aug 4 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/bd47b272d20f2604283d2c23ab20db589429a802

commit bd47b272d20f2604283d2c23ab20db589429a802
Author: Nicolas Pena <npm@chromium.org>
Date: Fri Aug 04 22:35:33 2017

Allow PerformanceObserver within Worker

This CL exposes PerformanceObserver to Worker and fixes tests
accordingly. Intent to implement and ship:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/vpPUStxToGY

Bug:  chromium:705820 ,  chromium:747457 
Change-Id: I2e174e5aff57617b7af86f0f896603e05c85f35d
Reviewed-on: https://chromium-review.googlesource.com/577957
Commit-Queue: Nicolás Peña <npm@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Timothy Dresser <tdresser@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Shubhie Panicker <panicker@chromium.org>
Cr-Commit-Position: refs/heads/master@{#492153}
[modify] https://crrev.com/bd47b272d20f2604283d2c23ab20db589429a802/third_party/WebKit/LayoutTests/TestExpectations
[delete] https://crrev.com/7923722cfe87a3f6b459b668c1a901d96080a681/third_party/WebKit/LayoutTests/external/wpt/performance-timeline/worker-with-performance-observer-expected.txt
[modify] https://crrev.com/bd47b272d20f2604283d2c23ab20db589429a802/third_party/WebKit/LayoutTests/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt
[modify] https://crrev.com/bd47b272d20f2604283d2c23ab20db589429a802/third_party/WebKit/LayoutTests/platform/mac/virtual/stable/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt
[modify] https://crrev.com/bd47b272d20f2604283d2c23ab20db589429a802/third_party/WebKit/LayoutTests/platform/mac/virtual/stable/webexposed/global-interface-listing-dedicated-worker-expected.txt
[modify] https://crrev.com/bd47b272d20f2604283d2c23ab20db589429a802/third_party/WebKit/LayoutTests/platform/mac/virtual/stable/webexposed/global-interface-listing-shared-worker-expected.txt
[modify] https://crrev.com/bd47b272d20f2604283d2c23ab20db589429a802/third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt
[modify] https://crrev.com/bd47b272d20f2604283d2c23ab20db589429a802/third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/webexposed/global-interface-listing-dedicated-worker-expected.txt
[modify] https://crrev.com/bd47b272d20f2604283d2c23ab20db589429a802/third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/webexposed/global-interface-listing-shared-worker-expected.txt
[modify] https://crrev.com/bd47b272d20f2604283d2c23ab20db589429a802/third_party/WebKit/LayoutTests/virtual/stable/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt
[modify] https://crrev.com/bd47b272d20f2604283d2c23ab20db589429a802/third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-dedicated-worker-expected.txt
[modify] https://crrev.com/bd47b272d20f2604283d2c23ab20db589429a802/third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-shared-worker-expected.txt
[modify] https://crrev.com/bd47b272d20f2604283d2c23ab20db589429a802/third_party/WebKit/LayoutTests/webexposed/global-interface-listing-dedicated-worker-expected.txt
[modify] https://crrev.com/bd47b272d20f2604283d2c23ab20db589429a802/third_party/WebKit/LayoutTests/webexposed/global-interface-listing-shared-worker-expected.txt
[modify] https://crrev.com/bd47b272d20f2604283d2c23ab20db589429a802/third_party/WebKit/Source/core/timing/PerformanceBase.cpp
[modify] https://crrev.com/bd47b272d20f2604283d2c23ab20db589429a802/third_party/WebKit/Source/core/timing/PerformanceEntry.idl
[modify] https://crrev.com/bd47b272d20f2604283d2c23ab20db589429a802/third_party/WebKit/Source/core/timing/PerformanceObserver.cpp
[modify] https://crrev.com/bd47b272d20f2604283d2c23ab20db589429a802/third_party/WebKit/Source/core/timing/PerformanceObserver.idl

Comment 3 by npm@chromium.org, Aug 15 2017

Status: Fixed (was: Assigned)

Sign in to add a comment