@@ -350,7 +350,7 @@ export namespace WebNavigation {
350350 /**
351351 * Fired when a navigation is about to occur.
352352 */
353- interface onBeforeNavigateEvent extends Events . Event < ( details : OnBeforeNavigateDetailsType ) => void > {
353+ interface OnBeforeNavigateEvent extends Events . Event < ( details : OnBeforeNavigateDetailsType ) => void > {
354354 /**
355355 * Registers an event listener <em>callback</em> to an event.
356356 *
@@ -366,7 +366,7 @@ export namespace WebNavigation {
366366 * might still be downloading, but at least part of the document has been received from the server and the browser has
367367 * decided to switch to the new document.
368368 */
369- interface onCommittedEvent extends Events . Event < ( details : OnCommittedDetailsType ) => void > {
369+ interface OnCommittedEvent extends Events . Event < ( details : OnCommittedDetailsType ) => void > {
370370 /**
371371 * Registers an event listener <em>callback</em> to an event.
372372 *
@@ -380,7 +380,7 @@ export namespace WebNavigation {
380380 /**
381381 * Fired when the page's DOM is fully constructed, but the referenced resources may not finish loading.
382382 */
383- interface onDOMContentLoadedEvent extends Events . Event < ( details : OnDOMContentLoadedDetailsType ) => void > {
383+ interface OnDOMContentLoadedEvent extends Events . Event < ( details : OnDOMContentLoadedDetailsType ) => void > {
384384 /**
385385 * Registers an event listener <em>callback</em> to an event.
386386 *
@@ -394,7 +394,7 @@ export namespace WebNavigation {
394394 /**
395395 * Fired when a document, including the resources it refers to, is completely loaded and initialized.
396396 */
397- interface onCompletedEvent extends Events . Event < ( details : OnCompletedDetailsType ) => void > {
397+ interface OnCompletedEvent extends Events . Event < ( details : OnCompletedDetailsType ) => void > {
398398 /**
399399 * Registers an event listener <em>callback</em> to an event.
400400 *
@@ -409,7 +409,7 @@ export namespace WebNavigation {
409409 * Fired when an error occurs and the navigation is aborted. This can happen if either a network error occurred,
410410 * or the user aborted the navigation.
411411 */
412- interface onErrorOccurredEvent extends Events . Event < ( details : OnErrorOccurredDetailsType ) => void > {
412+ interface OnErrorOccurredEvent extends Events . Event < ( details : OnErrorOccurredDetailsType ) => void > {
413413 /**
414414 * Registers an event listener <em>callback</em> to an event.
415415 *
@@ -423,7 +423,7 @@ export namespace WebNavigation {
423423 /**
424424 * Fired when a new window, or a new tab in an existing window, is created to host a navigation.
425425 */
426- interface onCreatedNavigationTargetEvent
426+ interface OnCreatedNavigationTargetEvent
427427 extends Events . Event < ( details : OnCreatedNavigationTargetDetailsType ) => void >
428428 {
429429 /**
@@ -439,7 +439,7 @@ export namespace WebNavigation {
439439 /**
440440 * Fired when the reference fragment of a frame was updated. All future events for that frame will use the updated URL.
441441 */
442- interface onReferenceFragmentUpdatedEvent
442+ interface OnReferenceFragmentUpdatedEvent
443443 extends Events . Event < ( details : OnReferenceFragmentUpdatedDetailsType ) => void >
444444 {
445445 /**
@@ -458,7 +458,7 @@ export namespace WebNavigation {
458458 /**
459459 * Fired when the frame's history was updated to a new URL. All future events for that frame will use the updated URL.
460460 */
461- interface onHistoryStateUpdatedEvent extends Events . Event < ( details : OnHistoryStateUpdatedDetailsType ) => void > {
461+ interface OnHistoryStateUpdatedEvent extends Events . Event < ( details : OnHistoryStateUpdatedDetailsType ) => void > {
462462 /**
463463 * Registers an event listener <em>callback</em> to an event.
464464 *
@@ -488,40 +488,40 @@ export namespace WebNavigation {
488488 /**
489489 * Fired when a navigation is about to occur.
490490 */
491- onBeforeNavigate : onBeforeNavigateEvent ;
491+ onBeforeNavigate : OnBeforeNavigateEvent ;
492492
493493 /**
494494 * Fired when a navigation is committed. The document (and the resources it refers to, such as images and subframes)
495495 * might still be downloading, but at least part of the document has been received from the server and the browser has
496496 * decided to switch to the new document.
497497 */
498- onCommitted : onCommittedEvent ;
498+ onCommitted : OnCommittedEvent ;
499499
500500 /**
501501 * Fired when the page's DOM is fully constructed, but the referenced resources may not finish loading.
502502 */
503- onDOMContentLoaded : onDOMContentLoadedEvent ;
503+ onDOMContentLoaded : OnDOMContentLoadedEvent ;
504504
505505 /**
506506 * Fired when a document, including the resources it refers to, is completely loaded and initialized.
507507 */
508- onCompleted : onCompletedEvent ;
508+ onCompleted : OnCompletedEvent ;
509509
510510 /**
511511 * Fired when an error occurs and the navigation is aborted. This can happen if either a network error occurred,
512512 * or the user aborted the navigation.
513513 */
514- onErrorOccurred : onErrorOccurredEvent ;
514+ onErrorOccurred : OnErrorOccurredEvent ;
515515
516516 /**
517517 * Fired when a new window, or a new tab in an existing window, is created to host a navigation.
518518 */
519- onCreatedNavigationTarget : onCreatedNavigationTargetEvent ;
519+ onCreatedNavigationTarget : OnCreatedNavigationTargetEvent ;
520520
521521 /**
522522 * Fired when the reference fragment of a frame was updated. All future events for that frame will use the updated URL.
523523 */
524- onReferenceFragmentUpdated : onReferenceFragmentUpdatedEvent ;
524+ onReferenceFragmentUpdated : OnReferenceFragmentUpdatedEvent ;
525525
526526 /**
527527 * Fired when the contents of the tab is replaced by a different (usually previously pre-rendered) tab.
@@ -531,6 +531,6 @@ export namespace WebNavigation {
531531 /**
532532 * Fired when the frame's history was updated to a new URL. All future events for that frame will use the updated URL.
533533 */
534- onHistoryStateUpdated : onHistoryStateUpdatedEvent ;
534+ onHistoryStateUpdated : OnHistoryStateUpdatedEvent ;
535535 }
536536}
0 commit comments