New issue
Advanced search Search tips
Starred by 3 users

Issue metadata

Status: WontFix
Closed: Oct 2017
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Feature

Blocked on:
issue 639227

Sign in to add a comment

Issue 669901: Add warning message in DevTools when a touch event listener is not passive

Reported by, Nov 30 2016 Project Member

Issue description

It would be nice when adding a non passive touch/wheel event listener that DevTools could throw a warning message that would say something like "Hey, if you're not calling preventDefault() later, you might want to pass {passive: true} options. See"

Comment 1 by, Nov 30 2016

What do you think Rick?

Comment 2 by, Dec 12 2016

Components: Platform>DevTools

Comment 3 by, Dec 14 2016

Components: -Platform>DevTools Platform>DevTools>Mobile
Labels: -Type-Bug Type-Feature
Status: Assigned (was: Unconfirmed)

Comment 4 by, Dec 14 2016

Pavel, this sounds like a violation.

Comment 5 by, Dec 21 2016

Blockedon: 639227
Sorry I missed the question earlier.  dtapuska@ is the expert here.  Personally I think we've realized that outreach on this is largely failing, but that we have a pretty good looking plan to just make touch listeners passive by default.  I think we should wait to see how the intervention in  issue 639227  goes and then re-evaluate.

Comment 6 by, Dec 22 2016

There's discussion around this for lighthouse here:

I think there is value in encouraging developers to opt in to passive event listeners early, but I'd be fine with waiting until we've seen how the document level passive event listeners intervention goes.

Comment 7 by, Dec 22 2016

I didn't mean to discourage any work you're already planning here!  I agree there's value in the warning - I'm just no longer convinced it's worth pushing really hard on and potentially risking warning blindness for.  But certainly if it fits in with larger violation/lighthouse plans then yes - let's warn :-)

Comment 8 by, Oct 4 2017

Status: WontFix (was: Assigned)
As per comment #7.

Sign in to add a comment