Summary: | [Streams API] Shield promises when prototype is replaced from a promise | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Xabier Rodríguez Calvar <calvaris> | ||||||
Component: | New Bugs | Assignee: | Xabier Rodríguez Calvar <calvaris> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | benjamin, commit-queue, darin, youennf | ||||||
Priority: | P2 | ||||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Xabier Rodríguez Calvar
2015-11-09 09:24:26 PST
Created attachment 265062 [details]
Patch
I'll land this tomorrow as I don't have too much time left. Created attachment 265076 [details]
Patch
Rebased, will cq+ tomorrow
Comment on attachment 265076 [details] Patch Clearing flags on attachment: 265076 Committed r192207: <http://trac.webkit.org/changeset/192207> All reviewed patches have been landed. Closing bug. Nice work :) The only minor issue I have is that the code is new somehow less readable. It would have been good to be able to keep blabla.....@then. One approach for doing so might be to do specific handling like for @call/@apply. But I prefer your simpler approach. This is not worth it, at least in the current situation where streams API is the only API consuming user-land promises. |