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

perf_hooks: fix webperf idlharness #44483

Closed
wants to merge 3 commits into from

Commits on Sep 15, 2022

  1. lib: brand check event handler property receivers

    Event handler properties defined by `defineEventHandler` should check
    if the receiver is a valid `EventTarget`.
    legendecas committed Sep 15, 2022
    Configuration menu
    Copy the full SHA
    bf97e0b View commit details
    Browse the repository at this point in the history
  2. perf_hooks: fix webperf idlharness

    1. Enforce receiver checks on IDL interfaces.
    2. Avoid prototype manipulation on constructing IDL interfaces with
       `ReflectConstruct`.
    3. `defineReplaceableAttribute` should create IDL getter/setter.
    4. Corrected `PerformanceResourceTiming` to inherit the public interface
       `PerformanceEntry` instead of the internal interface
       `InternalPerformanceResourceTiming`.
    5. `detail` is not a specified attribute on `PerfomanceEntry`. Node.js
       specific extensions are moved to a subclass of `PerformanceEntry` as
       `PerformanceNodeEntry`.
    legendecas committed Sep 15, 2022
    Configuration menu
    Copy the full SHA
    7f55a1c View commit details
    Browse the repository at this point in the history
  3. perf_hooks: expose webperf global scope interfaces

    Exposes `PerformanceEntry`, `PerformanceMark`, `PerformanceMeasure`,
    `PerformanceObserver`, `PerformanceObserverEntryList`,
    and `PerformanceResourceTiming` to the global scope.
    legendecas committed Sep 15, 2022
    Configuration menu
    Copy the full SHA
    0ff8267 View commit details
    Browse the repository at this point in the history