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

LibJS: RAII in js???? #16630

Merged
merged 8 commits into from Jan 23, 2023
Merged

LibJS: RAII in js???? #16630

merged 8 commits into from Jan 23, 2023

Commits on Jan 23, 2023

  1. LibJS: Clarify more errors in test-common

    Without a message these just show 'ExpectationError' even if the check
    has multiple steps.
    davidot committed Jan 23, 2023
    Copy the full SHA
    87bfbc9 View commit details
    Browse the repository at this point in the history
  2. LibJS: Add custom details to toBe{True, False} shown on failure

    Any test with multiple expect(...).toBe{True, False} checks is very hard
    to debug.
    davidot committed Jan 23, 2023
    Copy the full SHA
    8402726 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    92e69a6 View commit details
    Browse the repository at this point in the history
  4. LibJS: Add an initialize binding hint to all initialize_binding methods

    This will allow us to specify things like SyncDispose and perhaps
    AsyncDispose in the future.
    davidot committed Jan 23, 2023
    Copy the full SHA
    6d359bf View commit details
    Browse the repository at this point in the history
  5. LibJS: Add Symbol.dispose

    davidot committed Jan 23, 2023
    Copy the full SHA
    7a5e042 View commit details
    Browse the repository at this point in the history
  6. LibJS: Add using declaration support, RAII like operation in js

    In this patch only top level and not the more complicated for loop using
    statements are supported. Also, as noted in the latest meeting of tc39
    async parts of the spec are not stage 3 thus not included.
    davidot committed Jan 23, 2023
    Copy the full SHA
    349110d View commit details
    Browse the repository at this point in the history
  7. LibJS: Add using declaration support in for and for of loops

    The using declarations have kind of special behavior in for loops so
    this is seperated.
    davidot committed Jan 23, 2023
    Copy the full SHA
    d39a4ca View commit details
    Browse the repository at this point in the history
  8. LibJS: Add DisposableStack{, Prototype, Constructor}

    Since the async parts of the spec are not stage 3 at this point we don't
    add AsyncDisposableStack.
    davidot committed Jan 23, 2023
    Copy the full SHA
    04b432a View commit details
    Browse the repository at this point in the history