GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: fix setter of `event.cancelBubble` by deokjinkim · Pull Request #45986 · nodejs/node

Conversation

@deokjinkim

@deokjinkim deokjinkim commented Dec 27, 2022

Copy link
Copy Markdown
Contributor

Setter of event.cancelBubble needs 1 argument(value). And event.cancelBubble() is working if value is true. But it's not described properly.

Refs: https://dom.spec.whatwg.org/#interface-event

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@deokjinkim
doc: fix setter of event.cancelBubble
9dd8e84
Setter of `event.cancelBubble` needs 1 argument(value).
And event.cancelBubble() is working if value is true.
But it's not described properly.

Refs: https://dom.spec.whatwg.org/#interface-event
@nodejs-github-bot nodejs-github-bot added the needs-ci PRs that need a full CI run. label Dec 27, 2022
aduh95
aduh95 reviewed Dec 28, 2022
View reviewed changes

@aduh95 aduh95 left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

cancelBubble is not a function, it's an attribute. Let's use this PR to fix that.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread doc/api/events.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread doc/api/events.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread doc/api/events.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread doc/api/events.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

@deokjinkim @aduh95
Apply suggestions from code review
e320789
Co-authored-by: Antoine du Hamel <[email protected]>
@deokjinkim

deokjinkim commented Dec 28, 2022

Copy link
Copy Markdown
Contributor Author

cancelBubble is not a function, it's an attribute. Let's use this PR to fix that.

You're right. I'm confused for setter. Thank you for correction.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

aduh95
aduh95 reviewed Dec 28, 2022
View reviewed changes
Comment thread doc/api/events.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

@deokjinkim @aduh95
Add missed Type: to specify data type
8f78b2e
Co-authored-by: Antoine du Hamel <[email protected]>
aduh95
aduh95 reviewed Dec 28, 2022
View reviewed changes
Comment thread lib/internal/event_target.js Resolved

Uh oh!

There was an error while loading. Please reload this page.

@deokjinkim @aduh95
Revert change of JSDoc
31f921e
Co-authored-by: Antoine du Hamel <[email protected]>
aduh95
aduh95 approved these changes Dec 28, 2022
View reviewed changes
@aduh95 aduh95 added doc Issues and PRs related to Node.js documentation. author ready PRs with CI started, the required approvals, and no outstanding review comments. eventtarget Issues and PRs related to the EventTarget implementation. and removed needs-ci PRs that need a full CI run. labels Dec 28, 2022
aymen94
aymen94 approved these changes Dec 29, 2022
View reviewed changes
Comment thread lib/internal/event_target.js Resolved

Uh oh!

There was an error while loading. Please reload this page.

aymen94
aymen94 approved these changes Dec 30, 2022
View reviewed changes
@deokjinkim

deokjinkim commented Jan 5, 2023

Copy link
Copy Markdown
Contributor Author

@aduh95 Could you please land this PR because this PR is created 1 week ago?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

addaleax
addaleax approved these changes Jan 6, 2023
View reviewed changes
@addaleax addaleax added the commit-queue PRs queued for automated landing through the Commit Queue. label Jan 6, 2023
@nodejs-github-bot nodejs-github-bot added commit-queue-failed PRs whose Commit Queue landing failed and need manual intervention before retrying. and removed commit-queue PRs queued for automated landing through the Commit Queue. labels Jan 6, 2023
@nodejs-github-bot

nodejs-github-bot commented Jan 6, 2023

Copy link
Copy Markdown
Collaborator
Commit Queue failed
- Loading data for nodejs/node/pull/45986
✔  Done loading data for nodejs/node/pull/45986
----------------------------------- PR info ------------------------------------
Title      doc: fix setter of `event.cancelBubble` (#45986)
Author     Deokjin Kim  (@deokjinkim)
Branch     deokjinkim:221227_revise_setter_cancelbubble -> nodejs:main
Labels     doc, author ready, eventtarget
Commits    4
 - doc: fix setter of `event.cancelBubble`
 - Apply suggestions from code review
 - Add missed `Type:` to specify data type
 - Revert change of JSDoc
Committers 2
 - Deokjin Kim 
 - GitHub 
PR-URL: https://github.com/nodejs/node/pull/45986
Refs: https://dom.spec.whatwg.org/#interface-event
Reviewed-By: Antoine du Hamel 
Reviewed-By: Anna Henningsen 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/45986
Refs: https://dom.spec.whatwg.org/#interface-event
Reviewed-By: Antoine du Hamel 
Reviewed-By: Anna Henningsen 
--------------------------------------------------------------------------------
   ℹ  This PR was created on Tue, 27 Dec 2022 09:40:07 GMT
   ✔  Approvals: 2
   ✔  - Antoine du Hamel (@aduh95) (TSC): https://github.com/nodejs/node/pull/45986#pullrequestreview-1232059481
   ✔  - Anna Henningsen (@addaleax): https://github.com/nodejs/node/pull/45986#pullrequestreview-1239531619
   ✔  Last GitHub CI successful
   ℹ  Green GitHub CI is sufficient
--------------------------------------------------------------------------------
   ✔  No git cherry-pick in progress
   ✔  No git am in progress
   ✔  No git rebase in progress
--------------------------------------------------------------------------------
- Bringing origin/main up to date...
From https://github.com/nodejs/node
 * branch                  main       -> FETCH_HEAD
✔  origin/main is now up-to-date
- Downloading patch for 45986
From https://github.com/nodejs/node
 * branch                  refs/pull/45986/merge -> FETCH_HEAD
✔  Fetched commits as 4788c0d2a02a..31f921ee0e1e
--------------------------------------------------------------------------------
Auto-merging doc/api/events.md
Auto-merging lib/internal/event_target.js
[main e1857dd49d] doc: fix setter of `event.cancelBubble`
 Author: Deokjin Kim 
 Date: Tue Dec 27 18:29:20 2022 +0900
 2 files changed, 6 insertions(+), 4 deletions(-)
Auto-merging doc/api/events.md
[main 5a015f9058] Apply suggestions from code review
 Author: Deokjin Kim 
 Date: Wed Dec 28 23:10:59 2022 +0900
 1 file changed, 3 insertions(+), 3 deletions(-)
Auto-merging doc/api/events.md
[main 85dd674059] Add missed `Type:` to specify data type
 Author: Deokjin Kim 
 Date: Thu Dec 29 07:42:22 2022 +0900
 1 file changed, 1 insertion(+), 1 deletion(-)
Auto-merging lib/internal/event_target.js
[main d5b4a2971d] Revert change of JSDoc
 Author: Deokjin Kim 
 Date: Thu Dec 29 07:50:01 2022 +0900
 1 file changed, 1 insertion(+), 1 deletion(-)
   ✔  Patches applied
There are 4 commits in the PR. Attempting autorebase.
Rebasing (2/8)

Executing: git node land --amend --yes
⚠ Found Refs: https://dom.spec.whatwg.org/#interface-event, skipping..
--------------------------------- New Message ----------------------------------
doc: fix setter of event.cancelBubble

Setter of event.cancelBubble needs 1 argument(value).
And event.cancelBubble() is working if value is true.
But it's not described properly.

Refs: https://dom.spec.whatwg.org/#interface-event
PR-URL: #45986
Reviewed-By: Antoine du Hamel [email protected]
Reviewed-By: Anna Henningsen [email protected]

[detached HEAD 37f393d875] doc: fix setter of event.cancelBubble
Author: Deokjin Kim [email protected]
Date: Tue Dec 27 18:29:20 2022 +0900
2 files changed, 6 insertions(+), 4 deletions(-)
Rebasing (3/8)
Rebasing (4/8)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
Apply suggestions from code review

Co-authored-by: Antoine du Hamel [email protected]
PR-URL: #45986
Refs: https://dom.spec.whatwg.org/#interface-event
Reviewed-By: Antoine du Hamel [email protected]
Reviewed-By: Anna Henningsen [email protected]

[detached HEAD 1414069ff4] Apply suggestions from code review
Author: Deokjin Kim [email protected]
Date: Wed Dec 28 23:10:59 2022 +0900
1 file changed, 3 insertions(+), 3 deletions(-)
Rebasing (5/8)
Rebasing (6/8)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
Add missed Type: to specify data type

Co-authored-by: Antoine du Hamel [email protected]
PR-URL: #45986
Refs: https://dom.spec.whatwg.org/#interface-event
Reviewed-By: Antoine du Hamel [email protected]
Reviewed-By: Anna Henningsen [email protected]

[detached HEAD 445eeedc30] Add missed Type: to specify data type
Author: Deokjin Kim [email protected]
Date: Thu Dec 29 07:42:22 2022 +0900
1 file changed, 1 insertion(+), 1 deletion(-)
Rebasing (7/8)
Rebasing (8/8)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
Revert change of JSDoc

Co-authored-by: Antoine du Hamel [email protected]
PR-URL: #45986
Refs: https://dom.spec.whatwg.org/#interface-event
Reviewed-By: Antoine du Hamel [email protected]
Reviewed-By: Anna Henningsen [email protected]

[detached HEAD b838c68149] Revert change of JSDoc
Author: Deokjin Kim [email protected]
Date: Thu Dec 29 07:50:01 2022 +0900
1 file changed, 1 insertion(+), 1 deletion(-)

Successfully rebased and updated refs/heads/main.

ℹ Add commit-queue-squash label to land the PR as one commit, or commit-queue-rebase to land as separate commits.

https://github.com/nodejs/node/actions/runs/3859357483

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@aduh95
aduh95 merged commit 57add38 into nodejs:main Jan 7, 2023
@aduh95

aduh95 commented Jan 7, 2023

Copy link
Copy Markdown
Contributor

Landed in 57add38

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

RafaelGSS pushed a commit to RafaelGSS/node that referenced this pull request Jan 17, 2023
@deokjinkim @RafaelGSS
doc: fix event.cancelBubble documentation
e91d592
Setter of `event.cancelBubble` is a no-op if the value passed to it is
not `true`.

Refs: https://dom.spec.whatwg.org/#interface-event
PR-URL: nodejs#45986
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
RafaelGSS pushed a commit that referenced this pull request Jan 20, 2023
@deokjinkim @RafaelGSS
doc: fix event.cancelBubble documentation
76408bc
Setter of `event.cancelBubble` is a no-op if the value passed to it is
not `true`.

Refs: https://dom.spec.whatwg.org/#interface-event
PR-URL: #45986
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
@RafaelGSS RafaelGSS mentioned this pull request Jan 20, 2023
v19.5.0 proposal #46286
Merged
juanarbol pushed a commit that referenced this pull request Jan 26, 2023
@deokjinkim @juanarbol
doc: fix event.cancelBubble documentation
de09c54
Setter of `event.cancelBubble` is a no-op if the value passed to it is
not `true`.

Refs: https://dom.spec.whatwg.org/#interface-event
PR-URL: #45986
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
@juanarbol juanarbol mentioned this pull request Jan 28, 2023
V18.14.0 proposal #46396
Merged
juanarbol pushed a commit that referenced this pull request Jan 31, 2023
@deokjinkim @juanarbol
doc: fix event.cancelBubble documentation
1ec14c2
Setter of `event.cancelBubble` is a no-op if the value passed to it is
not `true`.

Refs: https://dom.spec.whatwg.org/#interface-event
PR-URL: #45986
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@addaleax addaleax addaleax approved these changes
@aduh95 aduh95 aduh95 approved these changes
+1 more reviewer
@aymen94 aymen94 aymen94 approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. commit-queue-failed PRs whose Commit Queue landing failed and need manual intervention before retrying. doc Issues and PRs related to Node.js documentation. eventtarget Issues and PRs related to the EventTarget implementation.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@deokjinkim @nodejs-github-bot @aduh95 @addaleax @aymen94
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.