• Robert Knight's avatar
    Add infrastructure for capturing host-frame errors in Sentry · 59d2f213
    Robert Knight authored
    Add infrastructure that will allow us to gain visibility into errors
    happening in the host frame, in specifically wrapped blocks of code, by
    capturing the errors and forwarding them to the sidebar.
    
    The initial implementation requires that the browser is able to clone
    errors in `window.postMessage` calls, and currently only Chrome supports
    that. In other browsers forwarding errors will fail with a warning.
    
     - Add `shared/frame-error-capture.js` module with functions for
       capturing errors, registering a target frame to receive them and
       forwarding errors to the frame.
    
     - Register sidebar application as handler for errors in host frame in
       `Sidebar` constructor and de-register it in the destructor.
    
     - Call `handleErrorsInFrames` in `sidebar/util/sentry.js` to handle
       errors from host frame by sending them to Sentry.
    59d2f213
Name
Last commit
Last update
..
test Loading commit data...
collections.js Loading commit data...
copy-to-clipboard.js Loading commit data...
disable-opener-for-external-links.js Loading commit data...
dom.js Loading commit data...
fetch.js Loading commit data...
immutable.js Loading commit data...
memoize.js Loading commit data...
oauth-client.js Loading commit data...
observe-element-size.js Loading commit data...
pagination.js Loading commit data...
postmessage-json-rpc.js Loading commit data...
retry.js Loading commit data...
search-filter.js Loading commit data...
sentry.js Loading commit data...
time.js Loading commit data...
typing.js Loading commit data...
unicode.js Loading commit data...
url.js Loading commit data...
watch.js Loading commit data...