Added setting m_state when calling Vibration::vibrate. It was missing after refactoring Vibration (r165598).
Created attachment 226908 [details]
If there is a timing issue and this patch makes a layout test to pass,
m_state should be set as State::Waiting instead of State::Vibrating.
If m_state is set as State::Vibrating, the first element of m_pattern will be used for waiting time.
Created attachment 227034 [details]
Comment on attachment 227034 [details]
Clearing flags on attachment: 227034
Committed r165882: <http://trac.webkit.org/changeset/165882>
All reviewed patches have been landed. Closing bug.