GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix(codemode): pass the in-scope test262 class tests by jlongster · Pull Request #64965 · anomalyco/opencode Conversation
Contributor
Issue for this PRBuilds on #64954 (classes); merge that first. Until it lands, this diff also shows its commits. Type of change
What does this PR do?#64954 skipped 334 test262 class tests. 86 of them are in scope (the rest cover extending built-ins, plain functions as parents or with
Why the 48 destructuring tests stay skipped: to pass them, array destructuring would have to check on every run whether The fixes also make 36 tests pass that were skipped before #64954: 26 restricted-property tests under How the main fixes work:
Skipped tests: 2681 on #64954, 2621 here (60 removed, none added). In-scope class tests skipped: 86 → 62. How did you verify your code works?In
New cases in Visual<svg xmlns="http://www.w3.org/2000/svg" width="240" height="72" viewBox="0 0 240 72" fill="none" stroke="currentColor" stroke-width="2" font-family="monospace" font-size="11"> <style>.c{animation:t 3s infinite}.d{animation-delay:.5s}.e{animation-delay:1s}.f{animation-delay:1.5s}@keyframes t{0%,20%{opacity:.25}35%,100%{opacity:1}}</style> <rect x="8" y="8" width="96" height="56" rx="6" opacity=".4"/> <text x="18" y="30" fill="currentColor" stroke="none">class B</text> <text x="18" y="48" fill="currentColor" stroke="none" opacity=".6">extends A</text> <g class="c"><path d="M128 18l5 5 9-10"/><text x="150" y="23" fill="currentColor" stroke="none">super.x++</text></g> <g class="c d"><path d="M128 36l5 5 9-10"/><text x="150" y="41" fill="currentColor" stroke="none">return</text></g> <g class="c e"><path d="M128 54l5 5 9-10"/><text x="150" y="59" fill="currentColor" stroke="none">fields</text></g> </svg> Checklist
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUser decisions: - Basic class support: declarations, constructors, methods, statics, fields, get/set, extends with super, extends Error - No private fields, static blocks, or new on plain functions User decisions: - Basic class support: declarations, constructors, methods, statics, fields, get/set, extends with super, extends Error - No private fields, static blocks, or new on plain functions …ync methods User decisions: - Basic class support: declarations, constructors, methods, statics, fields, get/set, extends with super, extends Error - No private fields, static blocks, or new on plain functions User decisions: - Basic class support: declarations, constructors, methods, statics, fields, get/set, extends with super, extends Error - No private fields, static blocks, or new on plain functions User decisions: - Basic class support: declarations, constructors, methods, statics, fields, get/set, extends with super, extends Error - No private fields, static blocks, or new on plain functions …d test suspend at every class point User decisions: - Basic class support: declarations, constructors, methods, statics, fields, get/set, extends with super, extends Error - No private fields, static blocks, or new on plain functions - Test suspend/resume at every point class code runs User decisions: - Basic class support: declarations, constructors, methods, statics, fields, get/set, extends with super, extends Error - No private fields, static blocks, or new on plain functions User decisions: - Basic class support: declarations, constructors, methods, statics, fields, get/set, extends with super, extends Error - No private fields, static blocks, or new on plain functions … iterator close User decisions: - Basic class support: declarations, constructors, methods, statics, fields, get/set, extends with super, extends Error - No private fields, static blocks, or new on plain functions - Pass every in-scope test262 class test User decisions: - Basic class support: declarations, constructors, methods, statics, fields, get/set, extends with super, extends Error - No private fields, static blocks, or new on plain functions - Pass every in-scope test262 class test …e super.x User decisions: - Basic class support: declarations, constructors, methods, statics, fields, get/set, extends with super, extends Error - No private fields, static blocks, or new on plain functions - Pass every in-scope test262 class test User decisions: - Basic class support: declarations, constructors, methods, statics, fields, get/set, extends with super, extends Error - No private fields, static blocks, or new on plain functions - Pass every in-scope test262 class test User decisions: - Basic class support: declarations, constructors, methods, statics, fields, get/set, extends with super, extends Error - No private fields, static blocks, or new on plain functions - Pass every in-scope test262 class test …s accessors User decisions: - Basic class support: declarations, constructors, methods, statics, fields, get/set, extends with super, extends Error - No private fields, static blocks, or new on plain functions - Pass every in-scope test262 class test User decisions: - Basic class support: declarations, constructors, methods, statics, fields, get/set, extends with super, extends Error - No private fields, static blocks, or new on plain functions - Pass every in-scope test262 class test
jlongster
enabled auto-merge (squash)
Uh oh!
There was an error while loading. Please reload this page.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I found no blocking problems. I checked the change by running the same small programs on the head of #64954 and on this PR. On #64954:
With this PR, all four behave as the spec says. I also tried edge cases: compound and logical The full The public API is unchanged: everything stays inside the codemode language layer. One behaviour change to be aware of: reading
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
kommander
added a commit
that referenced
this pull request
…NT from #64930 Class declarations and expressions with constructors only new may call, instance and static methods, accessors and fields, extends of classes and Error types, super(...) and super.x reads, writes, calls, compound assignments and deletes (also in object literal methods), home objects, derived constructors' this before super() and their return rules, Function.prototype's restricted caller and arguments, class names in console.log, and the reference's texts for refused class syntax, decorators and private names. An element read or written with an object key now calls a program getter or setter, and a function under a computed key is named by it. Uint8Array, its prototype and Buffer get BYTES_PER_ELEMENT. #64919 changes only test hooks. Recordings regenerated from the reference, with class cases from its tests.
1 task
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabelsProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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 01402775 — 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. |