Title: Zone ES2015 distribution: patched toString returns wrong results for null or undefined · Issue #40750 · angular/angular · GitHub
Open Graph Title: Zone ES2015 distribution: patched toString returns wrong results for null or undefined · Issue #40750 · angular/angular
X Title: Zone ES2015 distribution: patched toString returns wrong results for null or undefined · Issue #40750 · angular/angular
Description: 🐞 bug report Affected Package The issue is caused by package zone.js@0.11.3 Is this a regression? Yes, it works well with ES5 distribution Description Object.prototype.toString.call(undefined) returns [object Window] instead of [object U...
Open Graph Description: 🐞 bug report Affected Package The issue is caused by package zone.js@0.11.3 Is this a regression? Yes, it works well with ES5 distribution Description Object.prototype.toString.call(undefined) retu...
X Description: 🐞 bug report Affected Package The issue is caused by package zone.js@0.11.3 Is this a regression? Yes, it works well with ES5 distribution Description Object.prototype.toString.call(undefined) retu...
Opengraph URL: https://github.com/angular/angular/issues/40750
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Zone ES2015 distribution: patched toString returns wrong results for null or undefined","articleBody":"\u003c!--🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅\r\n\r\nOh hi there! 😄\r\n\r\nTo expedite issue processing please search open and closed issues before submitting a new one.\r\nExisting issues often contain information about workarounds, resolution, or progress updates.\r\n\r\n🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅--\u003e\r\n\r\n\r\n# 🐞 bug report\r\n\r\n### Affected Package\r\nThe issue is caused by package zone.js@0.11.3\r\n\r\n\r\n### Is this a regression?\r\n\r\nYes, it works well with ES5 distribution\r\n\r\n\r\n### Description\r\n\r\n`Object.prototype.toString.call(undefined)` returns **[object Window]** instead of **[object Undefined]**\r\n`Object.prototype.toString.call(null)` returns **[object Window]** instead of **[object Null]**\r\n\r\n## 🔬 Minimal Reproduction\r\nhttps://codepen.io/htnfr/pen/bGBeNVe\r\n\r\n## 🔥 Exception or Error\r\nNone\r\n\r\n\r\n## 🌍 Your Environment\r\n\r\n**Angular Version:**\r\n\u003cpre\u003e\u003ccode\u003e\r\nAngular CLI: 11.1.0\r\nNode: 14.15.1\r\nOS: win32 x64\r\n\r\nAngular: 11.1.0\r\n... animations, cdk, cli, common, compiler, compiler-cli, core\r\n... forms, language-service, localize, material\r\n... platform-browser, platform-browser-dynamic, router\r\nIvy Workspace: Yes\r\n\r\nPackage Version\r\n---------------------------------------------------------\r\n@angular-devkit/architect 0.1101.0\r\n@angular-devkit/build-angular 0.1101.0\r\n@angular-devkit/core 11.1.0\r\n@angular-devkit/schematics 11.1.0\r\n@schematics/angular 11.1.0\r\n@schematics/update 0.1101.0\r\nrxjs 6.6.3\r\ntypescript 4.1.3\r\n\r\n\u003c/code\u003e\u003c/pre\u003e\r\n\r\n**Anything else relevant?**\r\nIt breaks a lib which uses toString","author":{"url":"https://github.com/vannhi","@type":"Person","name":"vannhi"},"datePublished":"2021-02-08T09:13:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/40750/angular/issues/40750"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8560a02a-005a-9aa4-932c-cb21aa2a0d51 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CD9E:1E1ACC:1F6C3E7:2A25ABC:6A5BC641 |
| html-safe-nonce | 5296512787129f241a09b227008f7483020fa6f3e65afab2f8c9e4f77fdf3824 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDlFOjFFMUFDQzoxRjZDM0U3OjJBMjVBQkM6NkE1QkM2NDEiLCJ2aXNpdG9yX2lkIjoiODYyNzIyMDU1MjM4MDQzMjAxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b97d1452f6fad8b4a3f22f5b21ad4d220c2c000261156a3ff7a111d2f73a3b2d |
| hovercard-subject-tag | issue:803361393 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/40750/issue_layout |
| twitter:image | https://opengraph.githubassets.com/22cdb27c54bf338689ac02529dafeb62ea614202f6dc5ba6189f052d9a0c9178/angular/angular/issues/40750 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/22cdb27c54bf338689ac02529dafeb62ea614202f6dc5ba6189f052d9a0c9178/angular/angular/issues/40750 |
| og:image:alt | 🐞 bug report Affected Package The issue is caused by package zone.js@0.11.3 Is this a regression? Yes, it works well with ES5 distribution Description Object.prototype.toString.call(undefined) retu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vannhi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width