New issue
Advanced search Search tips

Issue 759166 link

Starred by 1 user

Issue metadata

Status: Started
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocked on:
issue 762453



Sign in to add a comment

[LongTaskAPIV2] Add "tasktype"

Project Member Reported by panicker@chromium.org, Aug 25 2017

Issue description

Add tasktype attribute as described in doc.
We will start with "networking" task, as it's already in spec:
https://html.spec.whatwg.org/multipage/webappapis.html#generic-task-sources

https://docs.google.com/document/d/1iUmC6zb9jPG5Tk1jJ2vcRL1V0xSeVRM1_zR04GKMOYE/edit
 

Comment 1 by maxlg@chromium.org, Aug 30 2017

Status: Started (was: Assigned)

Comment 2 by maxlg@chromium.org, Aug 30 2017

The task is similar to crbug/702318. There is a difficulty of plumbing the meta data of tasks across all layers.

Comment 3 by maxlg@chromium.org, Aug 30 2017

This task will be put on hold until the TaskType is available in TaskQueueManager.

Comment 4 by npm@chromium.org, Aug 30 2017

Which method are you referring to? In general the TQM already knows about task queues, in particular task types.

Comment 5 by maxlg@chromium.org, Aug 30 2017

Talked off-line with npm@. By task-type, it means the one defined as generic-task-sources -
 https://html.spec.whatwg.org/multipage/webappapis.html#generic-task-sources. It's not in TQM et. Thanks anyway:)

Comment 6 by npm@chromium.org, Aug 30 2017

Never mind, wrong tasktype
Cc: npm@chromium.org altimin@chromium.org panicker@chromium.org
Shubhie, as far as I can tell, there's no consensus on the spec end of things that this would be the task type we want to expose.

Does it make sense for us to dig into this before we're confident of how the spec will shape up? I suppose the dance around layering constraints will be pretty similar, but it might just make sense to wait for now.
Blockedon: 762453
Seems like we should be able to add the most obvious one today: "networking" task source (this is both in spec and scheduler)
But fine to wait as we don't know the rest of the task types yet.

Comment 10 by maxlg@chromium.org, Oct 10 2017

Summary: [LongTaskAPIV2] Add "tasktype" (was: Long tasks v2: add "tasktype")
We haven't been able to prioritize sorting out the spec issues here yet.

Next step is coming up with a concrete proposal for task types, and running it by the working group.

Filed issue on the spec repo here:
https://github.com/w3c/longtasks/issues/40

Comment 12 by maxlg@chromium.org, May 16 2018

Ping myself as it's getting stale.

Not prioritized the task yet. Pinged the w3c issue.
Ping from bug triage: Any update on this? 
Updates from on w3c:

https://github.com/w3c/longtasks/issues/40#issuecomment-389557834

blocking on spec

Sign in to add a comment