- Notifications
You must be signed in to change notification settings - Fork20.6k
Commit0b9c503
authored
Deferred: Respect source maps in jQuery.Deferred.exceptionHook
So far, `jQuery.Deferred.exceptionHook` used to log error message and stackseparately. However, that breaks browser applying source maps against the stacktrace - most browsers require logging an error instance. This change makes usdo exactly that.One drawback of the change is that in IE 11 previously stack was printeddirectly and now just the error summary; to get to the actual stacktrace, three clicks are required. This seems to be a low price to payfor having source maps work in all the other browsers, though.Safari with the new change requires one click to get to the stack tracewhich sounds manageable.Fixesgh-3179Closesgh-5192Refhttps://crbug.com/6222271 parent6d13644 commit0b9c503
2 files changed
+5
-5
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
14 |
| - | |
| 13 | + | |
| 14 | + | |
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
575 | 575 |
| |
576 | 576 |
| |
577 | 577 |
| |
578 |
| - | |
579 |
| - | |
580 |
| - | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
581 | 581 |
| |
582 | 582 |
| |
583 | 583 |
| |
|
0 commit comments
Comments
(0)