Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 25 additions & 2 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23815,6 +23815,13 @@ declare var NavigateEvent: {
new(type: string, eventInitDict: NavigateEventInit): NavigateEvent;
};

interface NavigationEventMap {
"currententrychange": NavigationCurrentEntryChangeEvent;
"navigate": NavigateEvent;
"navigateerror": ErrorEvent;
"navigatesuccess": Event;
}

/**
* The **`Navigation`** interface of the Navigation API allows control over all navigation actions for the current window in one central place, including initiating navigations programmatically, examining navigation history entries, and managing navigations as they happen.
*
Expand Down Expand Up @@ -23845,6 +23852,14 @@ interface Navigation extends EventTarget {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currentEntry)
*/
readonly currentEntry: NavigationHistoryEntry | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currententrychange_event) */
oncurrententrychange: ((this: Navigation, ev: NavigationCurrentEntryChangeEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigate_event) */
onnavigate: ((this: Navigation, ev: NavigateEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigateerror_event) */
onnavigateerror: ((this: Navigation, ev: ErrorEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigatesuccess_event) */
onnavigatesuccess: ((this: Navigation, ev: Event) => any) | null;
/**
* The **`transition`** read-only property of the Navigation interface returns a NavigationTransition object representing the status of an in-progress navigation, which can be used to track it.
*
Expand Down Expand Up @@ -23893,6 +23908,10 @@ interface Navigation extends EventTarget {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/updateCurrentEntry)
*/
updateCurrentEntry(options: NavigationUpdateCurrentEntryOptions): void;
addEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}

declare var Navigation: {
Expand Down Expand Up @@ -26242,7 +26261,11 @@ declare var PerformanceObserverEntryList: {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
*/
interface PerformancePaintTiming extends PerformanceEntry, PaintTimingMixin {
/** The **`toJSON()`** method of the PerformancePaintTiming interface is a serializer; it returns a JSON representation of the PerformancePaintTiming object. */
/**
* The **`toJSON()`** method of the PerformancePaintTiming interface is a serializer; it returns a JSON representation of the PerformancePaintTiming object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming/toJSON)
*/
toJSON(): any;
}

Expand Down Expand Up @@ -33441,7 +33464,7 @@ interface ServiceWorkerContainer extends EventTarget {
*/
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
/**
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope. If successful, the registration associates the provided script URL to a scope, which is subsequently used for matching documents to a specific service worker.
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
*/
Expand Down
2 changes: 1 addition & 1 deletion baselines/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7058,7 +7058,7 @@ interface ServiceWorkerContainer extends EventTarget {
*/
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
/**
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope. If successful, the registration associates the provided script URL to a scope, which is subsequently used for matching documents to a specific service worker.
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
*/
Expand Down
2 changes: 1 addition & 1 deletion baselines/sharedworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6635,7 +6635,7 @@ interface ServiceWorkerContainer extends EventTarget {
*/
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
/**
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope. If successful, the registration associates the provided script URL to a scope, which is subsequently used for matching documents to a specific service worker.
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
*/
Expand Down
27 changes: 25 additions & 2 deletions baselines/ts5.5/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23791,6 +23791,13 @@ declare var NavigateEvent: {
new(type: string, eventInitDict: NavigateEventInit): NavigateEvent;
};

interface NavigationEventMap {
"currententrychange": NavigationCurrentEntryChangeEvent;
"navigate": NavigateEvent;
"navigateerror": ErrorEvent;
"navigatesuccess": Event;
}

/**
* The **`Navigation`** interface of the Navigation API allows control over all navigation actions for the current window in one central place, including initiating navigations programmatically, examining navigation history entries, and managing navigations as they happen.
*
Expand Down Expand Up @@ -23821,6 +23828,14 @@ interface Navigation extends EventTarget {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currentEntry)
*/
readonly currentEntry: NavigationHistoryEntry | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currententrychange_event) */
oncurrententrychange: ((this: Navigation, ev: NavigationCurrentEntryChangeEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigate_event) */
onnavigate: ((this: Navigation, ev: NavigateEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigateerror_event) */
onnavigateerror: ((this: Navigation, ev: ErrorEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigatesuccess_event) */
onnavigatesuccess: ((this: Navigation, ev: Event) => any) | null;
/**
* The **`transition`** read-only property of the Navigation interface returns a NavigationTransition object representing the status of an in-progress navigation, which can be used to track it.
*
Expand Down Expand Up @@ -23869,6 +23884,10 @@ interface Navigation extends EventTarget {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/updateCurrentEntry)
*/
updateCurrentEntry(options: NavigationUpdateCurrentEntryOptions): void;
addEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}

declare var Navigation: {
Expand Down Expand Up @@ -26218,7 +26237,11 @@ declare var PerformanceObserverEntryList: {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
*/
interface PerformancePaintTiming extends PerformanceEntry, PaintTimingMixin {
/** The **`toJSON()`** method of the PerformancePaintTiming interface is a serializer; it returns a JSON representation of the PerformancePaintTiming object. */
/**
* The **`toJSON()`** method of the PerformancePaintTiming interface is a serializer; it returns a JSON representation of the PerformancePaintTiming object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming/toJSON)
*/
toJSON(): any;
}

Expand Down Expand Up @@ -33416,7 +33439,7 @@ interface ServiceWorkerContainer extends EventTarget {
*/
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
/**
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope. If successful, the registration associates the provided script URL to a scope, which is subsequently used for matching documents to a specific service worker.
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
*/
Expand Down
2 changes: 1 addition & 1 deletion baselines/ts5.5/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7055,7 +7055,7 @@ interface ServiceWorkerContainer extends EventTarget {
*/
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
/**
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope. If successful, the registration associates the provided script URL to a scope, which is subsequently used for matching documents to a specific service worker.
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
*/
Expand Down
2 changes: 1 addition & 1 deletion baselines/ts5.5/sharedworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6632,7 +6632,7 @@ interface ServiceWorkerContainer extends EventTarget {
*/
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
/**
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope. If successful, the registration associates the provided script URL to a scope, which is subsequently used for matching documents to a specific service worker.
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
*/
Expand Down
2 changes: 1 addition & 1 deletion baselines/ts5.5/webworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8177,7 +8177,7 @@ interface ServiceWorkerContainer extends EventTarget {
*/
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
/**
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope. If successful, the registration associates the provided script URL to a scope, which is subsequently used for matching documents to a specific service worker.
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
*/
Expand Down
27 changes: 25 additions & 2 deletions baselines/ts5.6/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23812,6 +23812,13 @@ declare var NavigateEvent: {
new(type: string, eventInitDict: NavigateEventInit): NavigateEvent;
};

interface NavigationEventMap {
"currententrychange": NavigationCurrentEntryChangeEvent;
"navigate": NavigateEvent;
"navigateerror": ErrorEvent;
"navigatesuccess": Event;
}

/**
* The **`Navigation`** interface of the Navigation API allows control over all navigation actions for the current window in one central place, including initiating navigations programmatically, examining navigation history entries, and managing navigations as they happen.
*
Expand Down Expand Up @@ -23842,6 +23849,14 @@ interface Navigation extends EventTarget {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currentEntry)
*/
readonly currentEntry: NavigationHistoryEntry | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/currententrychange_event) */
oncurrententrychange: ((this: Navigation, ev: NavigationCurrentEntryChangeEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigate_event) */
onnavigate: ((this: Navigation, ev: NavigateEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigateerror_event) */
onnavigateerror: ((this: Navigation, ev: ErrorEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/navigatesuccess_event) */
onnavigatesuccess: ((this: Navigation, ev: Event) => any) | null;
/**
* The **`transition`** read-only property of the Navigation interface returns a NavigationTransition object representing the status of an in-progress navigation, which can be used to track it.
*
Expand Down Expand Up @@ -23890,6 +23905,10 @@ interface Navigation extends EventTarget {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigation/updateCurrentEntry)
*/
updateCurrentEntry(options: NavigationUpdateCurrentEntryOptions): void;
addEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof NavigationEventMap>(type: K, listener: (this: Navigation, ev: NavigationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}

declare var Navigation: {
Expand Down Expand Up @@ -26239,7 +26258,11 @@ declare var PerformanceObserverEntryList: {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)
*/
interface PerformancePaintTiming extends PerformanceEntry, PaintTimingMixin {
/** The **`toJSON()`** method of the PerformancePaintTiming interface is a serializer; it returns a JSON representation of the PerformancePaintTiming object. */
/**
* The **`toJSON()`** method of the PerformancePaintTiming interface is a serializer; it returns a JSON representation of the PerformancePaintTiming object.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming/toJSON)
*/
toJSON(): any;
}

Expand Down Expand Up @@ -33438,7 +33461,7 @@ interface ServiceWorkerContainer extends EventTarget {
*/
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
/**
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope. If successful, the registration associates the provided script URL to a scope, which is subsequently used for matching documents to a specific service worker.
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
*/
Expand Down
2 changes: 1 addition & 1 deletion baselines/ts5.6/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7055,7 +7055,7 @@ interface ServiceWorkerContainer extends EventTarget {
*/
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
/**
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope. If successful, the registration associates the provided script URL to a scope, which is subsequently used for matching documents to a specific service worker.
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
*/
Expand Down
2 changes: 1 addition & 1 deletion baselines/ts5.6/sharedworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6632,7 +6632,7 @@ interface ServiceWorkerContainer extends EventTarget {
*/
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
/**
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope. If successful, the registration associates the provided script URL to a scope, which is subsequently used for matching documents to a specific service worker.
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
*/
Expand Down
2 changes: 1 addition & 1 deletion baselines/ts5.6/webworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8177,7 +8177,7 @@ interface ServiceWorkerContainer extends EventTarget {
*/
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
/**
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope. If successful, the registration associates the provided script URL to a scope, which is subsequently used for matching documents to a specific service worker.
* The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)
*/
Expand Down
Loading