Streams: Add commented-out assert() impl
It's a waste of time reimplementing assert() every time you need it. Instead, include a definition of assert() in CommonOperations.js. The implementation is commented-out so it will have no runtime overhead (comments are not included in the V8 snapshot). https://bugs.chromium.org/p/chromium/issues/detail?id=662542 aims to find the long-term solution to making asserts work. This is just a stop-gap to make them less painful in the short term. Bug: Change-Id: Ib62851d19183b805f164a281c2f5c79a33d92c4b Reviewed-on: https://chromium-review.googlesource.com/594127Reviewed-by:Takeshi Yoshino <tyoshino@chromium.org> Commit-Queue: Adam Rice <ricea@chromium.org> Cr-Commit-Position: refs/heads/master@{#491324}
Showing
Please register or sign in to comment