Fix using initCustomEvent() of CustomEvent
authorWonYoung Choi <wy80.choi@samsung.com>
Tue, 8 Dec 2015 12:50:44 +0000 (21:50 +0900)
committerWonYoung Choi <wy80.choi@samsung.com>
Tue, 8 Dec 2015 12:50:44 +0000 (21:50 +0900)
commit0479e6b3999e41bb553cb2ae397630319e9b80dc
tree1fb72b1aee5c85e2a99d1f320e4b5bad5e1890b0
parent76bf243c5a5a288797279bc9df81ca44e163a433
Fix using initCustomEvent() of CustomEvent

CustomEvent.initCustomEvent() function is used with 3 arguments,
fourth being optional.
In chromium m47 IDL for CustomEvent.initCustomEvent() was changed,
and now it requires all four arguments to be present.
Calls with 3 arguments fail, and no event is received in a web
application.
extensions/internal/widget/widget_api.js
runtime/browser/web_application.cc