Set Pointer/Hover types to None before PointerMediaQueriesDynamic test
On devices which already match the media requirements, the test fails as handleMediaChange is never called. Instead, set the pointer and hover types to None so that updating the types later is guaranteed to trigger the matchMedia handler. Bug: None Change-Id: I8fa91ecef9c1f372d1b04abfbc540a7b9c0fc3c2 Reviewed-on: https://chromium-review.googlesource.com/951860Reviewed-by:Dave Tapuska <dtapuska@chromium.org> Commit-Queue: Dave Tapuska <dtapuska@chromium.org> Cr-Commit-Position: refs/heads/master@{#541212}
Showing
Please register or sign in to comment