[webkit-changes] [WebKit/WebKit] cf053c: Remove non-standard `HashChangeEvent.initHashChang...

Commit Queue noreply at github.com
Sat Mar 16 00:11:53 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cf053c07242eafb5f2f371db03ce47ac0e261e9d
      https://github.com/WebKit/WebKit/commit/cf053c07242eafb5f2f371db03ce47ac0e261e9d
  Author: Ahmad Saleem <ahmad.saleem792 at gmail.com>
  Date:   2024-03-16 (Sat, 16 Mar 2024)

  Changed paths:
    M LayoutTests/fast/events/initEvent-after-dispatching-expected.txt
    M LayoutTests/fast/events/initEvent-after-dispatching.html
    M Source/WebCore/dom/HashChangeEvent.h
    M Source/WebCore/dom/HashChangeEvent.idl

  Log Message:
  -----------
  Remove non-standard `HashChangeEvent.initHashChangeEvent`

https://bugs.webkit.org/show_bug.cgi?id=271094

Reviewed by Ryosuke Niwa.

This patch aligns WebKit with Blink / Chrome and Web Specification [1]:

[1] https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-hashchangeevent-interface

By removing `initHashChangeEvent`, WebKit aligns with Web Specification
and Blink also removed it in 2015 via below commit:

Reference: https://src.chromium.org/viewvc/blink?view=revision&revision=202347

* Source/WebCore/dom/HashChangeEvent.idl:
* Source/WebCore/dom/HashChangeEvent.h:
(initHashChangeEvent): Removed
* LayoutTests/fast/events/initEvent-after-dispatching.html: Rebaselined
* LayoutTests/fast/events/initEvent-after-dispatching-expected.txt: Rebaselined

Canonical link: https://commits.webkit.org/276232@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list