[JS] Convert Promise.prototype.catch to be a built-in
Created attachment 224656 [details] Patch
Comment on attachment 224656 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=224656&action=review > Source/JavaScriptCore/builtins/Promise.prototype.js:33 > + var then = this.then; > + if (typeof then !== "function") > + throw new @TypeError("Promise.prototype.catch requires that |onRejected| be a function"); > + > + return then.@call(this, undefined, onRejected); return this.then(undefined, onRejected);
Created attachment 224677 [details] Patch
Comment on attachment 224677 [details] Patch r=me
Comment on attachment 224677 [details] Patch Clearing flags on attachment: 224677 Committed r164396: <http://trac.webkit.org/changeset/164396>
All reviewed patches have been landed. Closing bug.