Commit aa0e96e
committed
Bug 1820594 - Part 24: Add ModuleErroredRunnable to dispatch ModuleErrored. r=jonco
When there's a ParseError, the error should be dispatched asynchronously.
However, workers can't handle the micro task, therefore we still call
ModuleErrored synchronously.
WPT test: /html/semantics/scripting-1/the-script-element/module/inline-async-inserted-execorder.html
Differential Revision: https://phabricator.services.mozilla.com/D2551281 parent 8054f6d commit aa0e96e
2 files changed
+29
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
885 | 887 | | |
886 | 888 | | |
887 | 889 | | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
888 | 914 | | |
889 | 915 | | |
890 | 916 | | |
| |||
975 | 1001 | | |
976 | 1002 | | |
977 | 1003 | | |
978 | | - | |
| 1004 | + | |
979 | 1005 | | |
980 | 1006 | | |
981 | 1007 | | |
| |||
991 | 1017 | | |
992 | 1018 | | |
993 | 1019 | | |
994 | | - | |
| 1020 | + | |
995 | 1021 | | |
996 | 1022 | | |
997 | 1023 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
563 | 563 | | |
564 | 564 | | |
565 | 565 | | |
| 566 | + | |
566 | 567 | | |
567 | 568 | | |
568 | 569 | | |
| |||
0 commit comments