bug 1001466removed deprecated content first patch
Merge pull request #1676 from y-t-/1001466-remove-deprecated-on

bug 1001466 - removed deprecated onMessage, r=@zombie