Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(13)

Issue 182850043: Use window.onerror for errors in XHR callbacks. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by kpreid_google
Modified:
11 years, 3 months ago
Reviewers:
felix8a
CC:
google-caja-discuss_googlegroups.com
Base URL:
http://google-caja.googlecode.com/svn/trunk/
Visibility:
Public.

Description

If the readystatechange callback of an XHR object throws an error, pass it to window.onerror like for other asynchronous callbacks. Also, extract the repeated pattern of setting up onerror handlers in test-domado-events-guest.html. @r5704

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -18 lines) Patch
M src/com/google/caja/plugin/domado.js View 3 chunks +10 lines, -3 lines 0 comments Download
M tests/com/google/caja/plugin/test-domado-events-guest.html View 5 chunks +36 lines, -15 lines 0 comments Download

Messages

Total messages: 2
kpreid_google
11 years, 3 months ago (2014-11-26 21:13:40 UTC) #1
felix8a
11 years, 3 months ago (2014-11-26 21:51:08 UTC) #2
lgtm
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b