Skip to content

Remove invalid documentation for pause method of HTMLMediaElement #1666

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

Merged
merged 1 commit into from
Dec 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11589,7 +11589,7 @@ interface HTMLMediaElement extends HTMLElement {
*/
load(): void;
/**
* Pauses the current playback and sets paused to TRUE. This can be used to test whether the media is playing or paused. You can also use the pause or play events to tell whether the media is playing or not.
* Pauses the current playback and sets paused to TRUE.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/pause)
*/
Expand Down
6 changes: 3 additions & 3 deletions inputfiles/comments.json
Original file line number Diff line number Diff line change
Expand Up @@ -1574,7 +1574,7 @@
"methods": {
"method": {
"pause": {
"comment": "Pauses the current playback and sets paused to TRUE. This can be used to test whether the media is playing or paused. You can also use the pause or play events to tell whether the media is playing or not."
"comment": "Pauses the current playback and sets paused to TRUE."
},
"play": {
"comment": "Loads and starts playback of a media resource."
Expand Down Expand Up @@ -1811,11 +1811,11 @@
"properties": {
"property": {
"parent": {
"comment" : "Refers to either the parent WindowProxy, or itself.\n\nIt can rarely be null e.g. for contentWindow of an iframe that is already removed from the parent."
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 was done automatically by prettier, but I can remove it if it is an issue. It does appear to be a valid correction as well.

"comment": "Refers to either the parent WindowProxy, or itself.\n\nIt can rarely be null e.g. for contentWindow of an iframe that is already removed from the parent."
}
}
}
}
}
}
}
}