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

Post-adjustment: Remove unnecessary object creation #2806

Merged
merged 2 commits into from
Apr 3, 2024
Merged

Conversation

ptomato
Copy link
Collaborator

@ptomato ptomato commented Mar 20, 2024

This is to address belated feedback from Anba on #2718. The options object previously created here is unnecessary, because 'constrain' is always the default for this option. Not creating the options object here is consistent with the rest of the spec text.

Closes: #2803

@ptomato
Copy link
Collaborator Author

ptomato commented Mar 20, 2024

cc @anba

Copy link

codecov bot commented Mar 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.59%. Comparing base (a493578) to head (2c896b0).

❗ Current head 2c896b0 differs from pull request most recent head 539e02f. Consider uploading reports for the commit 539e02f to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2806      +/-   ##
==========================================
+ Coverage   96.46%   96.59%   +0.13%     
==========================================
  Files          23       23              
  Lines       12310    12284      -26     
  Branches     2271     2272       +1     
==========================================
- Hits        11875    11866       -9     
+ Misses        374      356      -18     
- Partials       61       62       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This is to address belated feedback from Anba on #2718. The options object
previously created here is unnecessary, because 'constrain' is always the
default for this option. Not creating the options object here is
consistent with the rest of the spec text.

Closes: #2803
Copy link
Member

@ryzokuken ryzokuken left a comment

Choose a reason for hiding this comment

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

RSLGTM

@Ms2ger Ms2ger enabled auto-merge (rebase) April 3, 2024 15:40
@Ms2ger Ms2ger merged commit 837f6a3 into main Apr 3, 2024
5 checks passed
@Ms2ger Ms2ger deleted the 2718-followup branch April 3, 2024 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants