• Robert Knight's avatar
    Use an Error-like object rather than an actual Error in a test · f16678ec
    Robert Knight authored
    This fixes a slow test on this branch, which appears to be caused by an
    interaction between using `postMessage` to serialize native Error
    objects and the `source-map-support` Karma plugin that we use.
    
    Sending native Errors via `PortRPC` currently doesn't work in all
    browsers so I expect we'll want to implement our own serialization of
    errors in `PortRPC` to work around that. That can also work around the
    `source-map-support`/`postMessage` issue in Chrome in future.
    
    To move the Browserify => Rollup conversion forwards, this commit just
    changes the test to use an Error-like rather than actual Error object.
    f16678ec
Name
Last commit
Last update
..
test Loading commit data...
bridge-events.js Loading commit data...
bridge.js Loading commit data...
injector.js Loading commit data...
listener-collection.js Loading commit data...
port-rpc.js Loading commit data...
prompts.js Loading commit data...
renderer-options.js Loading commit data...
shortcut.js Loading commit data...
type-coercions.js Loading commit data...
user-agent.js Loading commit data...
warn-once.js Loading commit data...