Bug 223190 - Ignore the “title” argument to history.pushState()/history.replaceState()
Summary: Ignore the “title” argument to history.pushState()/history.replaceState()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: History (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: sideshowbarker
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-03-15 10:02 PDT by Domenic Denicola
Modified: 2024-01-29 05:03 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Domenic Denicola 2021-03-15 10:02:49 PDT
Only Safari (maybe other WebKit browsers?) uses this for its UI. Since it only impacts UI, and only in one browser, it was removed from the spec in https://github.com/whatwg/html/pull/6482.

Continuing to support title for these functions is not a spec violation, since browser UI is outside the scope of specs (i.e. web pages cannot observe Safari's use of the title argument). But, you might want to clean it up regardless. Especially if web developers only test in other browsers, and so pass strange values (e.g. "null" or similar) which Safari ends up displaying to users.
Comment 1 Radar WebKit Bug Importer 2021-03-22 10:03:13 PDT
<rdar://problem/75695791>
Comment 3 sideshowbarker 2023-11-13 00:24:49 PST
Pull request: https://github.com/WebKit/WebKit/pull/20404
Comment 4 EWS 2024-01-29 05:03:45 PST
Committed 273650@main (4ef4b65d33f4): <https://commits.webkit.org/273650@main>

Reviewed commits have been landed. Closing PR #20404 and removing active labels.