René's URL Explorer Experiment


Title: Canceling an in-progress JSONP request causes "callback undefined" console error · Issue #34818 · angular/angular · GitHub

Open Graph Title: Canceling an in-progress JSONP request causes "callback undefined" console error · Issue #34818 · angular/angular

X Title: Canceling an in-progress JSONP request causes "callback undefined" console error · Issue #34818 · angular/angular

Description: 🐞 bug report Affected Package @angular/common/http Is this a regression? No Description It looks like HttpClientJsonpModule deletes the JSONP callback function for a request immediately upon cancellation. If the request was still in prog...

Open Graph Description: 🐞 bug report Affected Package @angular/common/http Is this a regression? No Description It looks like HttpClientJsonpModule deletes the JSONP callback function for a request immediately upon cancel...

X Description: 🐞 bug report Affected Package @angular/common/http Is this a regression? No Description It looks like HttpClientJsonpModule deletes the JSONP callback function for a request immediately upon cancel...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Canceling an in-progress JSONP request causes \"callback undefined\" console error","articleBody":"# 🐞 bug report\r\n\r\n### Affected Package\r\n@angular/common/http\r\n\r\n### Is this a regression?\r\nNo\r\n\r\n### Description\r\n\r\nIt looks like HttpClientJsonpModule deletes the JSONP callback function for a request immediately upon cancellation. If the request was still in progress, an error is logged in the console when it completes because the function doesn't exist.\r\n\r\nThis issue occurs when the time between requests is usually lower than the time a request takes to complete.\r\n\r\n## 🔬 Minimal Reproduction\r\nhttps://angular-c6oeqi.stackblitz.io\r\nhttps://stackblitz.com/edit/angular-c6oeqi\r\n\r\n## 🔥 Exception or Error\r\n\u003cpre>\u003ccode>\r\nUncaught ReferenceError: ng_jsonp_callback_16 is not defined\r\n\u003c/code>\u003c/pre>\r\n\r\n## 🌍  Your Environment\r\n_**Can be reproduced with Angular 8 (see repro)**_ ‼️\r\n\r\n\u003cpre>\u003ccode>\r\nAngular CLI: 6.2.9\r\nNode: 8.17.0\r\nOS: darwin x64\r\nAngular: 6.1.10\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... http, platform-browser, platform-browser-dynamic\r\n... platform-server, router\r\n\r\nPackage                           Version\r\n-----------------------------------------------------------\r\n@angular-devkit/architect         0.8.9\r\n@angular-devkit/build-angular     0.8.9\r\n@angular-devkit/build-optimizer   0.8.9\r\n@angular-devkit/build-webpack     0.8.9\r\n@angular-devkit/core              0.8.9\r\n@angular-devkit/schematics        0.8.9\r\n@angular/cdk                      6.4.7\r\n@angular/cli                      6.2.9\r\n@angular/language-service         7.2.15\r\n@ngtools/webpack                  6.2.9\r\n@schematics/angular               0.8.9\r\n@schematics/update                0.8.9\r\nrxjs                              6.2.2\r\ntypescript                        2.9.2\r\nwebpack                           4.16.4\r\n\u003c/code>\u003c/pre>\r\n\r\n**Anything else relevant?**\r\nNo","author":{"url":"https://github.com/eppsilon","@type":"Person","name":"eppsilon"},"datePublished":"2020-01-16T19:24:47Z","url":"https://github.com/angular/angular/issues/34818"}

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:d45b567f-f6a6-81f9-7f86-3b9c4a96a037
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAE06:3F8AB1:10357CD:14C3C4B:6B00FF8A
html-safe-nonce95680644c3229cfb61780f277bebb7490ee16fb8adc40bf44fdd9680b98eeb8d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTA2OjNGOEFCMToxMDM1N0NEOjE0QzNDNEI6NkIwMEZGOEEiLCJ2aXNpdG9yX2lkIjoiNjU0NzcyNDMxMzY2MTg2NTg2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4d9611168d3ab926615b0241543aca2cd8b1649c6e007a2e661a8be5db87fe9f
hovercard-subject-tagissue:551006254
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/34818/issue_layout
twitter:imagehttps://opengraph.githubassets.com/190fffd64c25ca11dff6f35ca049693b2eeb755d85e32815f9a12879c29ef092/angular/angular/issues/34818
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/190fffd64c25ca11dff6f35ca049693b2eeb755d85e32815f9a12879c29ef092/angular/angular/issues/34818
og:image:alt🐞 bug report Affected Package @angular/common/http Is this a regression? No Description It looks like HttpClientJsonpModule deletes the JSONP callback function for a request immediately upon cancel...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameeppsilon
hostnamegithub.com
expected-hostnamegithub.com
Nonecb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124
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
release2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/34818#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F34818
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%2F34818
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/34818
Reloadhttps://github.com/angular/angular/issues/34818
Reloadhttps://github.com/angular/angular/issues/34818
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/34818
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/34818
Canceling an in-progress JSONP request causes "callback undefined" console errorhttps://github.com/angular/angular/issues/34818#top
P4A relatively minor issue that is not relevant to core functionshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P4%22
area: common/httpIssues related to HTTP and HTTP Clienthttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20common%2Fhttp%22
freq2: mediumhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
state: confirmedhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20confirmed%22
state: has PRhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20has%20PR%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
Backloghttps://github.com/angular/angular/milestone/82
https://github.com/eppsilon
eppsilonhttps://github.com/eppsilon
on Jan 16, 2020https://github.com/angular/angular/issues/34818#issue-551006254
https://angular-c6oeqi.stackblitz.iohttps://angular-c6oeqi.stackblitz.io
https://stackblitz.com/edit/angular-c6oeqihttps://stackblitz.com/edit/angular-c6oeqi
Nexthttps://github.com/angular/angular/issues/34818?timeline_page=1
AndrewKushnirhttps://github.com/AndrewKushnir
area: common/httpIssues related to HTTP and HTTP Clienthttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20common%2Fhttp%22
on Jan 16, 2020https://github.com/angular/angular/issues/34818#event-2955864003
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
on Jan 16, 2020https://github.com/angular/angular/issues/34818#event-2955864090
alxhubhttps://github.com/alxhub
freq2: mediumhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
severity2: inconvenienthttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22severity2%3A%20inconvenient%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
on Jan 31, 2020https://github.com/angular/angular/issues/34818#event-2995494366
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
Backloghttps://github.com/angular/angular/milestone/82
on Jan 31, 2020https://github.com/angular/angular/issues/34818#event-2995494401
alxhubhttps://github.com/alxhub
state: confirmedhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20confirmed%22
on May 29, 2020https://github.com/angular/angular/issues/34818#event-3388407056
martinsikhttps://github.com/martinsik
on Feb 9, 2022https://github.com/angular/angular/issues/34818#event-6037571706
fix(common): canceled JSONP requests won't throw console error with m…https://github.com/martinsik/angular/commit/d8c065b79b96028e04828ee8c42926e21792da27
https://docs.github.com/articles/closing-issues-via-commit-messages
d8c065bhttps://github.com/martinsik/angular/commit/d8c065b79b96028e04828ee8c42926e21792da27
refactor(http): change