These patches surrounds node-specific part of context builder in runtime.rethrow
with // if node ... // end comments. Also they improve browserified runtime
compilation with support/compile_runtime.js hich respects conditional comments.
// if node
Make runtime.rethrow more browser-friendly
This patch removes `fs`-dependent logic of error context building out of
browserified version of runtime.
Refactor browserified runtime compilation
Sorry. My problem was not related to the fix I provided :))
In fact this fix does not makes any sense (as I just figured out).
But it removes potentionally problematic place in browserified version.
I'm reopening pull-request, but feel free to close it, if you don't need/like it :))
Closing in favor of #985