Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the api.WorkerGlobalScope.console entry #9634

Merged
merged 1 commit into from
Apr 1, 2021

Conversation

foolip
Copy link
Contributor

@foolip foolip commented Mar 27, 2021

This duplicates the api.Console.worker_support entry, which is more
accurate.

http://mdn-bcd-collector.appspot.com/tests/api/Console/log was used to
confirm the following version_added:

  • Chrome 31
  • Firefox 29
  • IE 10 (so Edge not tested)
  • Opera 12.16
  • Safari 6.1 or 6.2 (in 6.2 but not in 6, 6.1 not available)

In the preceding versions, an exception like "console is not defined"
was thrown, it wasn't console.log that was somehow missing.

The WebView version was inferred from Chromium 31.

This duplicates the api.Console.worker_support entry, which is more
accurate.

http://mdn-bcd-collector.appspot.com/tests/api/Console/log was used to
confirm the following version_added:
 - Chrome 31
 - Firefox 29
 - IE 10 (so Edge not tested)
 - Opera 12.16
 - Safari 6.1 or 6.2 (in 6.2 but not in 6, 6.1 not available)

In the preceding versions, an exception like "console is not defined"
was thrown, it wasn't `console.log` that was somehow missing.

The WebView version was inferred from Chromium 31.
@github-actions github-actions bot added the data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Mar 27, 2021
},
"firefox": {
"version_added": "29",
"notes": "Before Firefox 30, the console would be of type <code>WorkerConsole</code> instead of <code>Console</code>."
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not an important note, the name of the interface doesn't matter when using console.log. By now, console is a namespace, so there's not even anything one can do with an interface object which will work in all browsers.

Copy link
Collaborator

@ddbeck ddbeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @foolip! 🎉

@ddbeck ddbeck merged commit 5346f0b into mdn:main Apr 1, 2021
ddbeck added a commit to ddbeck/browser-compat-data that referenced this pull request Apr 1, 2021
@foolip foolip deleted the worker-console branch April 1, 2021 15:07
ddbeck added a commit that referenced this pull request Apr 1, 2021
* Add release note for #9695
* Add release note for #9640
* Add release note for #9634
* Add release notes #9694 and #9671
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants