René's URL Explorer Experiment


Title: [zonejs] An exception in event handler breaks execution of remaining handlers · Issue #41522 · angular/angular · GitHub

Open Graph Title: [zonejs] An exception in event handler breaks execution of remaining handlers · Issue #41522 · angular/angular

X Title: [zonejs] An exception in event handler breaks execution of remaining handlers · Issue #41522 · angular/angular

Description: 🐞 bug report Affected Package The issue is caused by package @angular/zone.js. Is this a regression? AFAICT, it has always been like this. Description W3C event handlers are supposed to be called regardless if one of them throws an excep...

Open Graph Description: 🐞 bug report Affected Package The issue is caused by package @angular/zone.js. Is this a regression? AFAICT, it has always been like this. Description W3C event handlers are supposed to be called r...

X Description: 🐞 bug report Affected Package The issue is caused by package @angular/zone.js. Is this a regression? AFAICT, it has always been like this. Description W3C event handlers are supposed to be called r...

Opengraph URL: https://github.com/angular/angular/issues/41522

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[zonejs] An exception in event handler breaks execution of remaining handlers","articleBody":"# 🐞 bug report\r\n\r\n### Affected Package\r\nThe issue is caused by package @angular/zone.js.\r\n\r\n\r\n### Is this a regression?\r\nAFAICT, it has always been like this.\r\n\r\n\r\n### Description\r\nW3C event handlers are supposed to be called regardless if one of them throws an exception.\r\nHowever when global callback handling is used (default), if any of the registered event handlers result in an unhandled exception, execution of all remaining handlers is aborted. This represents a significant and hard-to-detect breakage in event handling just from loading ZoneJS.\r\n\r\nhttps://github.com/angular/angular/blob/51bb922a081a1059929cb549ffbc3cf1d1366e2a/packages/zone.js/lib/common/events.ts#L150-L155\r\n\r\n\r\n## 🔬 Minimal Reproduction\r\nWhen run w/o ZoneJS, clicking the button prints both `click 1` and `click 2`.\r\nWhen run with ZoneJS loaded, only `click 1` is printed.\r\n\r\n```javascript\r\n(function() {\r\n  const btn = document.body.appendChild(document.createElement('button'));\r\n  btn.textContent = 'Click me';\r\n\r\n  btn.addEventListener('click', () => {\r\n    console.log('click 1');\r\n    throw new Error();\r\n  });\r\n\r\n  btn.addEventListener('click', () => {\r\n    console.log('click 2');\r\n  });\r\n})()\r\n```","author":{"url":"https://github.com/mleibman","@type":"Person","name":"mleibman"},"datePublished":"2021-04-08T21:24:23Z","url":"https://github.com/angular/angular/issues/41522"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:679127b7-2281-0093-713b-16e747ce3b79
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB93C:11EACE:C899C2:10CB09E:6B00FBFD
html-safe-nonced02e7705ac0630277db6b0e9a3d98ec7e7ee183d52f1dc007c5f3c184cf52ba4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTNDOjExRUFDRTpDODk5QzI6MTBDQjA5RTo2QjAwRkJGRCIsInZpc2l0b3JfaWQiOiIyOTkzNjg3NTk0MDM1OTAzNDg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac8df5dba49f649aa0241c21ea18778472fb50b088d9d0724d21ffd9eb1ddd237e
hovercard-subject-tagissue:853933930
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/41522/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ebfcd9fc20d20a3ba98f0527e5639a6cab345f435faba86d8586b8eac95b1600/angular/angular/issues/41522
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ebfcd9fc20d20a3ba98f0527e5639a6cab345f435faba86d8586b8eac95b1600/angular/angular/issues/41522
og:image:alt🐞 bug report Affected Package The issue is caused by package @angular/zone.js. Is this a regression? AFAICT, it has always been like this. Description W3C event handlers are supposed to be called r...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemleibman
hostnamegithub.com
expected-hostnamegithub.com
Nonee208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187
turbo-cache-controlno-preview
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7dafd017fb7809a839c443dba08622af38e63c09
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/41522#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F41522
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F41522
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular
Reloadhttps://github.com/angular/angular/issues/41522
Reloadhttps://github.com/angular/angular/issues/41522
Reloadhttps://github.com/angular/angular/issues/41522
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues835 (835)https://github.com/angular/angular/issues
Pull requests141 (141)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
https://github.com/angular/angular
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/41522
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/41522
[zonejs] An exception in event handler breaks execution of remaining handlershttps://github.com/angular/angular/issues/41522#top
https://github.com/JiaLiPassion
P2The issue is important to a large percentage of users, with a workaroundhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P2%22
area: zonesIssues related to zone.jshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20zones%22
hotlist: googlehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22hotlist%3A%20google%22
Backloghttps://github.com/angular/angular/milestone/82
https://github.com/mleibman
mleibmanhttps://github.com/mleibman
on Apr 8, 2021https://github.com/angular/angular/issues/41522#issue-853933930
angular/packages/zone.js/lib/common/events.tshttps://github.com/angular/angular/blob/51bb922a081a1059929cb549ffbc3cf1d1366e2a/packages/zone.js/lib/common/events.ts#L150-L155
51bb922https://github.com/angular/angular/commit/51bb922a081a1059929cb549ffbc3cf1d1366e2a
Nexthttps://github.com/angular/angular/issues/41522?timeline_page=1
https://github.com/mleibman
mleibmanhttps://github.com/mleibman
on Apr 8, 2021https://github.com/angular/angular/issues/41522#issuecomment-816248064
@JiaLiPassionhttps://github.com/JiaLiPassion
AndrewKushnirhttps://github.com/AndrewKushnir
area: zonesIssues related to zone.jshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20zones%22
on Apr 8, 2021https://github.com/angular/angular/issues/41522#event-4571405429
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
on Apr 8, 2021https://github.com/angular/angular/issues/41522#event-4571405991
https://github.com/mleibman
mleibmanhttps://github.com/mleibman
on Apr 9, 2021https://github.com/angular/angular/issues/41522#issuecomment-816331801
JiaLiPassionhttps://github.com/JiaLiPassion
on Apr 9, 2021https://github.com/angular/angular/issues/41522#event-4575128002
https://github.com/JiaLiPassion
JiaLiPassionhttps://github.com/JiaLiPassion
on Apr 9, 2021https://github.com/angular/angular/issues/41522#issuecomment-816770044
@mleibmanhttps://github.com/mleibman
jelbournhttps://github.com/jelbourn
hotlist: googlehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22hotlist%3A%20google%22
P2The issue is important to a large percentage of users, with a workaroundhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P2%22
on Apr 9, 2021https://github.com/angular/angular/issues/41522#event-4576303362
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
Backloghttps://github.com/angular/angular/milestone/82
on Apr 9, 2021https://github.com/angular/angular/issues/41522#event-4576303425
https://github.com/jelbourn
jelbournhttps://github.com/jelbourn
on Apr 9, 2021https://github.com/angular/angular/issues/41522#issuecomment-816957240
@JiaLiPassionhttps://github.com/JiaLiPassion
@mheveryhttps://github.com/mhevery
https://github.com/JiaLiPassion
JiaLiPassionhttps://github.com/JiaLiPassion
on Apr 10, 2021https://github.com/angular/angular/issues/41522#issuecomment-817049477
@mleibmanhttps://github.com/mleibman
https://github.com/JiaLiPassion
JiaLiPassionhttps://github.com/JiaLiPassion
on Apr 10, 2021https://github.com/angular/angular/issues/41522#issuecomment-817049519
@jelbournhttps://github.com/jelbourn
AndrewKushnirhttps://github.com/AndrewKushnir
on Apr 19, 2021https://github.com/angular/angular/issues/41522#event-4614514203
jessicajaniukhttps://github.com/jessicajaniuk
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
008eaf3https://github.com/angular/angular/commit/008eaf3b7df90b2cdd9c83e229d23d4014d6dbc9
on Apr 21, 2021https://github.com/angular/angular/issues/41522#event-4627627572
jessicajaniukhttps://github.com/jessicajaniuk
on Apr 21, 2021https://github.com/angular/angular/issues/41522#event-4627627588
test(zone.js): should invoke XHR task even onload handler throw error. (https://github.com/angular/angular/commit/c3614662cb0ae5f93eb4d77f97f68fbba3cc360e
c361466https://github.com/angular/angular/commit/c3614662cb0ae5f93eb4d77f97f68fbba3cc360e
fix(zone.js): should continue to executue listeners when throw error (#…https://github.com/angular/angular/commit/6ac9e2e9914609d7d5a2ad1eb4f52658195972a7
#…https://github.com/angular/angular/pull/41562
6ac9e2ehttps://github.com/angular/angular/commit/6ac9e2e9914609d7d5a2ad1eb4f52658195972a7
test(zone.js): should invoke XHR task even onload handler throw error. (https://github.com/angular/angular/commit/1d1fa1a8f36e49d441e917a922221e5d9b71e24b
1d1fa1ahttps://github.com/angular/angular/commit/1d1fa1a8f36e49d441e917a922221e5d9b71e24b
fix(zone.js): should continue to executue listeners when throw error (#…https://github.com/angular/angular/commit/6e198b519b659f0d902437c79feb01ebfd6199e0
#…https://github.com/angular/angular/pull/41562
6e198b5https://github.com/angular/angular/commit/6e198b519b659f0d902437c79feb01ebfd6199e0
test(zone.js): should invoke XHR task even onload handler throw error. (https://github.com/angular/angular/commit/0830885c951a2b1db1376a91b53aec2b26a5dbc8
0830885https://github.com/angular/angular/commit/0830885c951a2b1db1376a91b53aec2b26a5dbc8
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on May 22, 2021https://github.com/angular/angular/issues/41522#issuecomment-846429329
automatic conversation locking policyhttps://github.com/angular/angular/blob/8f24bc9443b3872fe095d9f7f77b308a361a13b4/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on May 22, 2021https://github.com/angular/angular/issues/41522#event-4782487036
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/41522
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/41522
JiaLiPassionhttps://github.com/JiaLiPassion
P2The issue is important to a large percentage of users, with a workaroundhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P2%22
area: zonesIssues related to zone.jshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20zones%22
hotlist: googlehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22hotlist%3A%20google%22
BacklogNo due datehttps://github.com/angular/angular/milestone/82
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.