fix passing null as Promise's onFullfilled (which is broken in Chrome 32)
Merge pull request #5507 from palkan/fix-promise-null

Fix passing null as onFullfilled (which is broken in Chrome(-ium) 32)