New issue
Advanced search Search tips

Issue 697110 link

Starred by 5 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Dec 19
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Compat

Blocked on:
issue 703523

Blocking:
issue 674593


Show other hotlists

Hotlists containing this issue:
Non-Standard-IDL


Sign in to add a comment

Remove Client#frameType

Project Member Reported by lunalu@chromium.org, Feb 28 2017

Issue description

The spec for Client has been changed. We should remove frameType.
See https://github.com/slightlyoff/ServiceWorker/issues/732#issuecomment-235898697

Also, we should add "readonly attribute ClientType type;" to the interface, for more details, please see the spec: https://w3c.github.io/ServiceWorker/#client
 
Cc: foolip@chromium.org
Labels: -Type-Bug Type-Compat
Status: Available (was: Untriaged)
FYI: Firefox hasn't removed this yet[1] because of a privacy issue on an alternative feature (ancestorOrigins)[2]

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1290936
[2] https://github.com/w3c/ServiceWorker/issues/732#issuecomment-280060084

Comment 3 by bke...@mozilla.com, Mar 17 2017

ancestorOrigins issue is part of it.  Its also that we prefer chrome to take the lead on breaking changes like this because developers are less likely to test their SW in firefox.
Components: Privacy

Comment 5 by falken@chromium.org, Mar 21 2017

Also we need to implement the alternative feature WindowClient#ancestorOrigins before removing frameType.

Comment 6 by falken@chromium.org, Mar 21 2017

Adding use counter is a good first step though.

Comment 7 by foolip@chromium.org, Mar 21 2017

Is there a bug for those ancestorOrigins changes that this can be blocked on?

Comment 8 by falken@chromium.org, Mar 21 2017

Blockedon: 703523

Comment 9 by falken@chromium.org, Mar 21 2017

Done :)
Although this issue's title is focused on the `frameType` attribute, the description includes a suggestion to implement the `type` attribute. I'm suggesting we track each change separately--see  issue 705685 .
 Issue 707347  has been merged into this issue.
Project Member

Comment 12 by bugdroid1@chromium.org, Jun 29 2017

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

commit 56151ab64d017acbe7de93c40e7b72374704e83a
Author: Matt Falkenhagen <falken@chromium.org>
Date: Thu Jun 29 03:07:59 2017

service worker: Add UseCounter for Client#frameType

This feature is at-risk and we need to measure the usage.

Bug:  697110 
Change-Id: Iaee645f8037ebd3b7b28ec8e0ba0b3f774115653
Reviewed-on: https://chromium-review.googlesource.com/554040
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#483275}
[add] https://crrev.com/56151ab64d017acbe7de93c40e7b72374704e83a/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/resources/feature-worker.js
[modify] https://crrev.com/56151ab64d017acbe7de93c40e7b72374704e83a/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/usecounter.html
[modify] https://crrev.com/56151ab64d017acbe7de93c40e7b72374704e83a/third_party/WebKit/Source/modules/serviceworkers/Client.idl
[modify] https://crrev.com/56151ab64d017acbe7de93c40e7b72374704e83a/third_party/WebKit/Source/modules/serviceworkers/FetchEvent.cpp
[modify] https://crrev.com/56151ab64d017acbe7de93c40e7b72374704e83a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClient.cpp
[modify] https://crrev.com/56151ab64d017acbe7de93c40e7b72374704e83a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClient.h
[modify] https://crrev.com/56151ab64d017acbe7de93c40e7b72374704e83a/third_party/WebKit/public/platform/WebFeature.h
[modify] https://crrev.com/56151ab64d017acbe7de93c40e7b72374704e83a/tools/metrics/histograms/enums.xml

Labels: Hotlist-Interop
Status: WontFix (was: Available)
Client#frameType is back: https://github.com/w3c/ServiceWorker/pull/1329

Sign in to add a comment