Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1589)

Issue 18478003: Vibration cannot be canceled during pattern vibration. (Closed)

Created:
7 years, 5 months ago by kihong
Modified:
7 years, 2 months ago
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, do-not-use
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Vibration cannot be canceled during pattern vibration. Vibration could not be canceled during pattern vibration is working. In the resting time which are even numbers of pattern, m_isVibrating will be false and cancel will thus return early. WebKit bug : https://bugs.webkit.org/show_bug.cgi?id=117822 BUG=222504, 261467, 310137 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=160289 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=160407

Patch Set 1 #

Total comments: 11

Patch Set 2 : Vibration cannot be canceled during pattern vibration. #

Total comments: 9

Patch Set 3 : Vibration cannot be canceled during pattern vibration. #

Patch Set 4 : Adoptation for recently changing of NavigatorVibration. #

Total comments: 1

Patch Set 5 : Vibration cannot be canceled during pattern vibration. #

Total comments: 10

Patch Set 6 : Vibration cannot be canceled during pattern vibration. #

Total comments: 12

Patch Set 7 : Vibration cannot be canceled during pattern vibration. #

Patch Set 8 : Vibration cannot be canceled during pattern vibration. #

Patch Set 9 : Add FIXME: to the web_tests.py #

Patch Set 10 : Upload with --no-find-copies #

Patch Set 11 : patch #

Total comments: 5

Patch Set 12 : patch #

Patch Set 13 : patch #

Patch Set 14 : patch #

Patch Set 15 : patch #

Patch Set 16 : Patch for Relanding #

Unified diffs Side-by-side diffs Delta from patch set Stats (+238 lines, -1 line) Patch
A LayoutTests/vibration/cancel-vibration-during-pattern-vibrating.html View 1 2 3 4 1 chunk +64 lines, -0 lines 0 comments Download
A LayoutTests/vibration/cancel-vibration-during-pattern-vibrating-expected.txt View 1 2 3 1 chunk +18 lines, -0 lines 0 comments Download
M Source/bindings/derived_sources.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/modules.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +16 lines, -0 lines 0 comments Download
M Source/modules/modules.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +7 lines, -0 lines 0 comments Download
M Source/modules/vibration/NavigatorVibration.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M Source/modules/vibration/NavigatorVibration.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +3 lines, -1 line 0 comments Download
A Source/modules/vibration/testing/InternalsVibration.h View 1 2 3 4 5 6 7 8 9 10 11 14 1 chunk +46 lines, -0 lines 0 comments Download
A Source/modules/vibration/testing/InternalsVibration.cpp View 1 2 3 4 5 6 7 8 9 10 11 14 1 chunk +46 lines, -0 lines 0 comments Download
A Source/modules/vibration/testing/InternalsVibration.idl View 1 2 3 4 5 6 7 8 9 10 11 12 14 1 chunk +33 lines, -0 lines 0 comments Download
M Source/web/web.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 54 (0 generated)
Michael van Ouwerkerk
https://codereview.chromium.org/18478003/diff/1/LayoutTests/vibration/cancelVibration-during-pattern-vibrating.html File LayoutTests/vibration/cancelVibration-during-pattern-vibrating.html (right): https://codereview.chromium.org/18478003/diff/1/LayoutTests/vibration/cancelVibration-during-pattern-vibrating.html#newcode14 LayoutTests/vibration/cancelVibration-during-pattern-vibrating.html:14: navigator.vibrate([100, 100, 100, 100, 100]); I find this test ...
7 years, 5 months ago (2013-07-03 10:47:54 UTC) #1
kihong
https://codereview.chromium.org/18478003/diff/1/LayoutTests/vibration/cancelVibration-during-pattern-vibrating.html File LayoutTests/vibration/cancelVibration-during-pattern-vibrating.html (right): https://codereview.chromium.org/18478003/diff/1/LayoutTests/vibration/cancelVibration-during-pattern-vibrating.html#newcode14 LayoutTests/vibration/cancelVibration-during-pattern-vibrating.html:14: navigator.vibrate([100, 100, 100, 100, 100]); On 2013/07/03 10:47:55, Michael ...
7 years, 5 months ago (2013-07-08 10:14:06 UTC) #2
abarth-chromium
https://codereview.chromium.org/18478003/diff/6001/Source/core/testing/Internals.cpp File Source/core/testing/Internals.cpp (right): https://codereview.chromium.org/18478003/diff/6001/Source/core/testing/Internals.cpp#newcode104 Source/core/testing/Internals.cpp:104: #include "modules/vibration/NavigatorVibration.h" Technically this is a bad dependency. You ...
7 years, 5 months ago (2013-07-08 21:04:59 UTC) #3
Michael van Ouwerkerk
https://codereview.chromium.org/18478003/diff/1/LayoutTests/vibration/cancelVibration-during-pattern-vibrating.html File LayoutTests/vibration/cancelVibration-during-pattern-vibrating.html (right): https://codereview.chromium.org/18478003/diff/1/LayoutTests/vibration/cancelVibration-during-pattern-vibrating.html#newcode20 LayoutTests/vibration/cancelVibration-during-pattern-vibrating.html:20: setTimeout(function() { The tests are much easier to read ...
7 years, 5 months ago (2013-07-10 16:10:05 UTC) #4
haraken
https://codereview.chromium.org/18478003/diff/6001/Source/core/testing/Internals.cpp File Source/core/testing/Internals.cpp (right): https://codereview.chromium.org/18478003/diff/6001/Source/core/testing/Internals.cpp#newcode104 Source/core/testing/Internals.cpp:104: #include "modules/vibration/NavigatorVibration.h" The right solution would be to add ...
7 years, 5 months ago (2013-07-12 09:21:41 UTC) #5
kihong
https://codereview.chromium.org/18478003/diff/6001/LayoutTests/vibration/cancelVibration-during-pattern-vibrating.html File LayoutTests/vibration/cancelVibration-during-pattern-vibrating.html (right): https://codereview.chromium.org/18478003/diff/6001/LayoutTests/vibration/cancelVibration-during-pattern-vibrating.html#newcode32 LayoutTests/vibration/cancelVibration-during-pattern-vibrating.html:32: // Progress time by 50ms so we are in ...
7 years, 5 months ago (2013-07-12 11:04:13 UTC) #6
kihong
https://codereview.chromium.org/18478003/diff/6001/Source/core/testing/Internals.cpp File Source/core/testing/Internals.cpp (right): https://codereview.chromium.org/18478003/diff/6001/Source/core/testing/Internals.cpp#newcode104 Source/core/testing/Internals.cpp:104: #include "modules/vibration/NavigatorVibration.h" On 2013/07/12 09:21:42, haraken wrote: > > ...
7 years, 5 months ago (2013-07-17 02:19:15 UTC) #7
kihong
Added an issue about partial interface for Internals.idl and removing "#include modules..." https://code.google.com/p/chromium/issues/detail?id=261467
7 years, 5 months ago (2013-07-18 07:20:36 UTC) #8
abarth-chromium
https://codereview.chromium.org/18478003/diff/19001/Source/core/testing/Internals.cpp File Source/core/testing/Internals.cpp (right): https://codereview.chromium.org/18478003/diff/19001/Source/core/testing/Internals.cpp#newcode121 Source/core/testing/Internals.cpp:121: #include "modules/vibration/NavigatorVibration.h" This is a bad dependency. Rather than ...
7 years, 5 months ago (2013-07-18 07:39:06 UTC) #9
do-not-use
https://codereview.chromium.org/18478003/diff/25001/Source/modules/testing/InternalsVibration.cpp File Source/modules/testing/InternalsVibration.cpp (right): https://codereview.chromium.org/18478003/diff/25001/Source/modules/testing/InternalsVibration.cpp#newcode14 Source/modules/testing/InternalsVibration.cpp:14: * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS ...
7 years, 4 months ago (2013-08-13 06:41:58 UTC) #10
kihong
https://codereview.chromium.org/18478003/diff/25001/Source/modules/testing/InternalsVibration.cpp File Source/modules/testing/InternalsVibration.cpp (right): https://codereview.chromium.org/18478003/diff/25001/Source/modules/testing/InternalsVibration.cpp#newcode14 Source/modules/testing/InternalsVibration.cpp:14: * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS ...
7 years, 4 months ago (2013-08-13 06:57:12 UTC) #11
do-not-use
LGTM but someone more knowledgeable with gyp definitely needs to take a look.
7 years, 4 months ago (2013-08-13 08:42:56 UTC) #12
Michael van Ouwerkerk
lgtm
7 years, 4 months ago (2013-08-13 16:46:14 UTC) #13
tkent
https://codereview.chromium.org/18478003/diff/34001/Source/bindings/derived_sources.gyp File Source/bindings/derived_sources.gyp (right): https://codereview.chromium.org/18478003/diff/34001/Source/bindings/derived_sources.gyp#newcode40 Source/bindings/derived_sources.gyp:40: 'partial_interface_test_support_idl_files': [ The variable name should start with deprecated_perl_. ...
7 years, 3 months ago (2013-08-28 03:58:07 UTC) #14
kihong
https://codereview.chromium.org/18478003/diff/34001/Source/bindings/derived_sources.gyp File Source/bindings/derived_sources.gyp (right): https://codereview.chromium.org/18478003/diff/34001/Source/bindings/derived_sources.gyp#newcode40 Source/bindings/derived_sources.gyp:40: 'partial_interface_test_support_idl_files': [ On 2013/08/28 03:58:07, tkent wrote: > The ...
7 years, 3 months ago (2013-08-28 05:25:25 UTC) #15
tkent
nbarth, haraken, would you review gyp/gypi changes for IDL handling please?
7 years, 3 months ago (2013-08-28 06:01:05 UTC) #16
tkent
https://codereview.chromium.org/18478003/diff/34001/Source/web/web_tests.gyp File Source/web/web_tests.gyp (right): https://codereview.chromium.org/18478003/diff/34001/Source/web/web_tests.gyp#newcode77 Source/web/web_tests.gyp:77: '../modules/modules.gyp:modules_test_support', On 2013/08/28 05:25:25, kihong wrote: > On 2013/08/28 ...
7 years, 3 months ago (2013-08-28 06:07:24 UTC) #17
kihong
On 2013/08/28 06:07:24, tkent wrote: > https://codereview.chromium.org/18478003/diff/34001/Source/web/web_tests.gyp > File Source/web/web_tests.gyp (right): > > https://codereview.chromium.org/18478003/diff/34001/Source/web/web_tests.gyp#newcode77 > ...
7 years, 3 months ago (2013-08-28 06:27:38 UTC) #18
tkent
On 2013/08/28 06:27:38, kihong wrote: > On 2013/08/28 06:07:24, tkent wrote: > > https://codereview.chromium.org/18478003/diff/34001/Source/web/web_tests.gyp > ...
7 years, 3 months ago (2013-08-28 06:36:44 UTC) #19
haraken
On 2013/08/28 06:01:05, tkent wrote: > nbarth, haraken, would you review gyp/gypi changes for IDL ...
7 years, 3 months ago (2013-08-28 06:41:13 UTC) #20
kihong
On 2013/08/28 06:36:44, tkent wrote: > On 2013/08/28 06:27:38, kihong wrote: > > On 2013/08/28 ...
7 years, 3 months ago (2013-08-28 06:55:33 UTC) #21
tkent
> > Why do you add webcore_test_support here? > > I'm not exactly sure about ...
7 years, 3 months ago (2013-08-28 07:15:42 UTC) #22
Nils Barth (inactive)
On 2013/08/28 06:41:13, haraken wrote: > On 2013/08/28 06:01:05, tkent wrote: > > nbarth, haraken, ...
7 years, 3 months ago (2013-08-28 07:27:08 UTC) #23
kihong
On 2013/08/28 07:15:42, tkent wrote: > > > Why do you add webcore_test_support here? > ...
7 years, 3 months ago (2013-08-28 07:55:29 UTC) #24
kihong
On 2013/08/28 06:07:24, tkent wrote: > https://codereview.chromium.org/18478003/diff/34001/Source/web/web_tests.gyp > File Source/web/web_tests.gyp (right): > > https://codereview.chromium.org/18478003/diff/34001/Source/web/web_tests.gyp#newcode77 > ...
7 years, 3 months ago (2013-08-28 09:06:53 UTC) #25
tkent
On 2013/08/28 09:06:53, kihong wrote: > > Why does the unit test require V8Internals.cpp? > ...
7 years, 3 months ago (2013-08-29 01:18:01 UTC) #26
Nils Barth (inactive)
tkent: > you need to invent a way to support partial interface for Internals without ...
7 years, 3 months ago (2013-08-29 01:25:30 UTC) #27
kihong
Nils Barth: I'm appreciate your kind comments. But abarth doesn't want to make new dependency ...
7 years, 3 months ago (2013-08-29 05:34:25 UTC) #28
tkent
On 2013/08/29 05:34:25, kihong wrote: > How do you think about adding "FIXME:" to the ...
7 years, 3 months ago (2013-08-29 06:34:23 UTC) #29
kihong
I newly added InternalsVibration.xxx files but they looks like moved from WebGLExtension or OESTextureFloat after ...
7 years, 3 months ago (2013-08-30 02:37:22 UTC) #30
tkent
On 2013/08/30 02:37:22, kihong wrote: > I newly added InternalsVibration.xxx files but they looks like ...
7 years, 3 months ago (2013-08-30 03:16:07 UTC) #31
kihong
On 2013/08/30 03:16:07, tkent wrote: > On 2013/08/30 02:37:22, kihong wrote: > > I newly ...
7 years, 3 months ago (2013-09-02 06:16:29 UTC) #32
Nils Barth (inactive)
On 2013/09/02 06:16:29, kihong wrote: > I updated patch but I think I cannot use ...
7 years, 3 months ago (2013-09-02 06:28:47 UTC) #33
kihong
Partial interface for Internal is supported from Revision 159635(Support partial interface for test support idls). ...
7 years, 2 months ago (2013-10-15 06:50:06 UTC) #34
abarth-chromium
Nice! LGTM w/ one nit on file placement. https://codereview.chromium.org/18478003/diff/83001/Source/modules/modules.gypi File Source/modules/modules.gypi (right): https://codereview.chromium.org/18478003/diff/83001/Source/modules/modules.gypi#newcode787 Source/modules/modules.gypi:787: ], ...
7 years, 2 months ago (2013-10-15 23:56:54 UTC) #35
kihong
https://codereview.chromium.org/18478003/diff/83001/Source/modules/modules.gypi File Source/modules/modules.gypi (right): https://codereview.chromium.org/18478003/diff/83001/Source/modules/modules.gypi#newcode787 Source/modules/modules.gypi:787: ], On 2013/10/15 23:56:55, abarth wrote: > These should ...
7 years, 2 months ago (2013-10-16 00:18:35 UTC) #36
kihong
https://codereview.chromium.org/18478003/diff/83001/Source/modules/modules.gypi File Source/modules/modules.gypi (right): https://codereview.chromium.org/18478003/diff/83001/Source/modules/modules.gypi#newcode787 Source/modules/modules.gypi:787: ], On 2013/10/15 23:56:55, abarth wrote: > These should ...
7 years, 2 months ago (2013-10-16 01:16:50 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kihong.kwon@samsung.com/18478003/91001
7 years, 2 months ago (2013-10-16 01:20:44 UTC) #38
commit-bot: I haz the power
Retried try job too often on mac_layout for step(s) webkit_lint http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_layout&number=11462
7 years, 2 months ago (2013-10-16 01:46:27 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kihong.kwon@samsung.com/18478003/91001
7 years, 2 months ago (2013-10-16 02:21:40 UTC) #40
commit-bot: I haz the power
Retried try job too often on linux_layout for step(s) webkit_lint http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_layout&number=11869
7 years, 2 months ago (2013-10-16 02:41:30 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kihong.kwon@samsung.com/18478003/112001
7 years, 2 months ago (2013-10-16 04:11:45 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kihong.kwon@samsung.com/18478003/121001
7 years, 2 months ago (2013-10-16 04:20:57 UTC) #43
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 2 months ago (2013-10-16 05:28:18 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kihong.kwon@samsung.com/18478003/121001
7 years, 2 months ago (2013-10-16 06:40:58 UTC) #45
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 2 months ago (2013-10-16 07:35:56 UTC) #46
Michael van Ouwerkerk
On 2013/10/16 07:35:56, I haz the power (commit-bot) wrote: > Sorry for I got bad ...
7 years, 2 months ago (2013-10-22 13:54:31 UTC) #47
lgombos
On 2013/10/22 13:54:31, Michael van Ouwerkerk wrote: > On 2013/10/16 07:35:56, I haz the power ...
7 years, 2 months ago (2013-10-22 18:15:07 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kihong.kwon@samsung.com/18478003/121001
7 years, 2 months ago (2013-10-23 01:00:54 UTC) #49
commit-bot: I haz the power
Change committed as 160289
7 years, 2 months ago (2013-10-23 03:40:47 UTC) #50
Nils Barth (inactive)
On 2013/10/23 03:40:47, I haz the power (commit-bot) wrote: > Change committed as 160289 Reverting ...
7 years, 2 months ago (2013-10-23 07:28:42 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kihong.kwon@samsung.com/18478003/289001
7 years, 2 months ago (2013-10-24 01:26:12 UTC) #52
kihong
On 2013/10/23 07:28:42, Nils Barth wrote: > On 2013/10/23 03:40:47, I haz the power (commit-bot) ...
7 years, 2 months ago (2013-10-24 01:28:18 UTC) #53
commit-bot: I haz the power
7 years, 2 months ago (2013-10-24 02:42:35 UTC) #54
Message was sent while issue was closed.
Change committed as 160407

Powered by Google App Engine
This is Rietveld 408576698