Skip to content

events: change status of event.returnvalue to legacy #46175

New issue

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

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

Already on GitHub? # to your account

Merged

Conversation

deokjinkim
Copy link
Contributor

event.returnvalue is described as legacy in spec. Plus, add missed '#'(private member) of defaultPrevented in implementation.

Refs: https://dom.spec.whatwg.org/#interface-event
Refs: https://developer.mozilla.org/en-US/docs/Web/API/Event/returnValue

`event.returnvalue` is described as legacy in spec.
Plus, add missed '#'(private member) of defaultPrevented
in implementation.

Refs: https://dom.spec.whatwg.org/#interface-event
Refs: https://developer.mozilla.org/en-US/docs/Web/API/Event/returnValue
@nodejs-github-bot nodejs-github-bot added the needs-ci PRs that need a full CI run. label Jan 11, 2023
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
@aduh95 aduh95 added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. request-ci Add this label to start a Jenkins CI on a PR. labels Jan 17, 2023
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jan 17, 2023
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@aduh95 aduh95 added the commit-queue Add this label to land a pull request using GitHub Actions. label Jan 19, 2023
@nodejs-github-bot nodejs-github-bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels Jan 19, 2023
@nodejs-github-bot
Copy link
Collaborator

Commit Queue failed
- Loading data for nodejs/node/pull/46175
✔  Done loading data for nodejs/node/pull/46175
----------------------------------- PR info ------------------------------------
Title      events: change status of `event.returnvalue` to legacy (#46175)
Author     Deokjin Kim  (@deokjinkim)
Branch     deokjinkim:230112_event_returnvalue_legacy -> nodejs:main
Labels     author ready, needs-ci
Commits    3
 - events: change status of `event.returnvalue` to legacy
 - use cancelable to determine returnValue
 - revise description of `event.returnValue`
Committers 2
 - Deokjin Kim 
 - GitHub 
PR-URL: https://github.com/nodejs/node/pull/46175
Refs: https://dom.spec.whatwg.org/#interface-event
Refs: https://developer.mozilla.org/en-US/docs/Web/API/Event/returnValue
Reviewed-By: James M Snell 
Reviewed-By: Antoine du Hamel 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/46175
Refs: https://dom.spec.whatwg.org/#interface-event
Refs: https://developer.mozilla.org/en-US/docs/Web/API/Event/returnValue
Reviewed-By: James M Snell 
Reviewed-By: Antoine du Hamel 
--------------------------------------------------------------------------------
   ℹ  This PR was created on Wed, 11 Jan 2023 23:52:53 GMT
   ✔  Approvals: 2
   ✔  - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/46175#pullrequestreview-1247085422
   ✔  - Antoine du Hamel (@aduh95) (TSC): https://github.com/nodejs/node/pull/46175#pullrequestreview-1251339886
   ✔  Last GitHub CI successful
   ℹ  Last Full PR CI on 2023-01-17T14:45:15Z: https://ci.nodejs.org/job/node-test-pull-request/49010/
- Querying data for job/node-test-pull-request/49010/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  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 46175
From https://github.com/nodejs/node
 * branch                  refs/pull/46175/merge -> FETCH_HEAD
✔  Fetched commits as cf8c6994e0f7..e8262f69afbd
--------------------------------------------------------------------------------
Auto-merging doc/api/events.md
[main e10a37f04f] events: change status of `event.returnvalue` to legacy
 Author: Deokjin Kim 
 Date: Thu Jan 12 08:46:33 2023 +0900
 2 files changed, 5 insertions(+), 1 deletion(-)
[main 238bd86f97] use cancelable to determine returnValue
 Author: Deokjin Kim 
 Date: Tue Jan 17 12:21:14 2023 +0900
 1 file changed, 1 insertion(+), 1 deletion(-)
Auto-merging doc/api/events.md
[main 6c25c19cd3] revise description of `event.returnValue`
 Author: Deokjin Kim 
 Date: Tue Jan 17 19:05:36 2023 +0900
 1 file changed, 1 insertion(+), 1 deletion(-)
   ✔  Patches applied
There are 3 commits in the PR. Attempting autorebase.
Rebasing (2/6)

Executing: git node land --amend --yes
⚠ Found Refs: https://dom.spec.whatwg.org/#interface-event, skipping..
⚠ Found Refs: https://developer.mozilla.org/en-US/docs/Web/API/Event/returnValue, skipping..
--------------------------------- New Message ----------------------------------
events: change status of event.returnvalue to legacy

event.returnvalue is described as legacy in spec.
Plus, add missed '#'(private member) of defaultPrevented
in implementation.

Refs: https://dom.spec.whatwg.org/#interface-event
Refs: https://developer.mozilla.org/en-US/docs/Web/API/Event/returnValue
PR-URL: #46175
Reviewed-By: James M Snell jasnell@gmail.com
Reviewed-By: Antoine du Hamel duhamelantoine1995@gmail.com

[detached HEAD 821d73e785] events: change status of event.returnvalue to legacy
Author: Deokjin Kim deokjin81.kim@gmail.com
Date: Thu Jan 12 08:46:33 2023 +0900
2 files changed, 5 insertions(+), 1 deletion(-)
Rebasing (3/6)
Rebasing (4/6)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
use cancelable to determine returnValue

Co-authored-by: Antoine du Hamel duhamelantoine1995@gmail.com
PR-URL: #46175
Refs: https://dom.spec.whatwg.org/#interface-event
Refs: https://developer.mozilla.org/en-US/docs/Web/API/Event/returnValue
Reviewed-By: James M Snell jasnell@gmail.com
Reviewed-By: Antoine du Hamel duhamelantoine1995@gmail.com

[detached HEAD e9cdcbf745] use cancelable to determine returnValue
Author: Deokjin Kim deokjin81.kim@gmail.com
Date: Tue Jan 17 12:21:14 2023 +0900
1 file changed, 1 insertion(+), 1 deletion(-)
Rebasing (5/6)
Rebasing (6/6)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
revise description of event.returnValue

Co-authored-by: Antoine du Hamel duhamelantoine1995@gmail.com
PR-URL: #46175
Refs: https://dom.spec.whatwg.org/#interface-event
Refs: https://developer.mozilla.org/en-US/docs/Web/API/Event/returnValue
Reviewed-By: James M Snell jasnell@gmail.com
Reviewed-By: Antoine du Hamel duhamelantoine1995@gmail.com

[detached HEAD 39491fc07b] revise description of event.returnValue
Author: Deokjin Kim deokjin81.kim@gmail.com
Date: Tue Jan 17 19:05:36 2023 +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/3954156853

@aduh95 aduh95 added commit-queue Add this label to land a pull request using GitHub Actions. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. and removed commit-queue-failed An error occurred while landing this pull request using GitHub Actions. labels Jan 19, 2023
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jan 19, 2023
@nodejs-github-bot nodejs-github-bot merged commit 65f8a27 into nodejs:main Jan 19, 2023
@nodejs-github-bot
Copy link
Collaborator

Landed in 65f8a27

RafaelGSS pushed a commit that referenced this pull request Jan 20, 2023
`event.returnvalue` is described as legacy in spec.
Plus, add missed '#'(private member) of defaultPrevented
in implementation.

Refs: https://dom.spec.whatwg.org/#interface-event
Refs: https://developer.mozilla.org/en-US/docs/Web/API/Event/returnValue
PR-URL: #46175
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
@RafaelGSS RafaelGSS mentioned this pull request Jan 20, 2023
juanarbol pushed a commit that referenced this pull request Jan 26, 2023
`event.returnvalue` is described as legacy in spec.
Plus, add missed '#'(private member) of defaultPrevented
in implementation.

Refs: https://dom.spec.whatwg.org/#interface-event
Refs: https://developer.mozilla.org/en-US/docs/Web/API/Event/returnValue
PR-URL: #46175
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
@juanarbol juanarbol mentioned this pull request Jan 28, 2023
juanarbol pushed a commit that referenced this pull request Jan 31, 2023
`event.returnvalue` is described as legacy in spec.
Plus, add missed '#'(private member) of defaultPrevented
in implementation.

Refs: https://dom.spec.whatwg.org/#interface-event
Refs: https://developer.mozilla.org/en-US/docs/Web/API/Event/returnValue
PR-URL: #46175
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. needs-ci PRs that need a full CI run.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants