Implement #navigate-event-firing
Categories
(Core :: DOM: Navigation, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox138 | --- | fixed |
People
(Reporter: farre, Assigned: farre)
References
(Blocks 2 open bugs)
Details
Attachments
(4 files)
Implement #navigate-event-firing
| Assignee | ||
Updated•9 months ago
|
| Assignee | ||
Comment 1•9 months ago
|
||
Add an alternative for Promise::All that doesn't create a final promise,
and that restricts the amount of microtasks further. This algorithm is
defined in the WebIDL spec, and is used by #navigate-event-firing from
the Navigation API.
Also add ImplCycleCollectionTrace to make it possible to configure the
NS_IMPL_CYCLE_COLLECTION_TRACE_JS_MEMBER_CALLBACK step and trace
containers of traceable objects, much like ImplCycleCollectionTraverse.
| Assignee | ||
Comment 2•9 months ago
|
||
This includes:
- #fire-a-traverse-navigate-event
- #fire-a-push/replace/reload-navigate-event
- #fire-a-download-request-navigate-event
which are all implemented in terms of #inner-navigate-event-firing-algorithm.
Actually calling any of the above is only added for History.pushState and
History.replaceState using #fire-a-push/replace/reload-navigate-event.
Updated•9 months ago
|
| Assignee | ||
Updated•9 months ago
|
| Assignee | ||
Comment 5•9 months ago
|
||
This makes UniquePtr<T> and nsTHashtable<T> use
ImplCycleCollectionContainer which removes the need of writing dedicated
specializations for the combination of these types.
This also fixes an issue with ImplCycleCollectionContainer for const
fields.
Updated•9 months ago
|
| Assignee | ||
Comment 6•9 months ago
|
||
Also fix getters protocol usage and add asserts when null returning
getters actually have been checked implicitly.
Also add spec links and shorten multipage to single page links.
Updated•9 months ago
|
Backed out for causing build bustages @ NavigateEvent.h
| Assignee | ||
Updated•8 months ago
|
Comment 10•8 months ago
|
||
Comment 11•8 months ago
|
||
Comment 12•8 months ago
|
||
Backed out for causing wpt & hazard failures @ Navigation.cpp / NavigateEvent
Backout link: https://hg.mozilla.org/integration/autoland/rev/c5aa316c6d0b05272e31372a8109b11d56e5a4b6
| Assignee | ||
Updated•8 months ago
|
Comment 13•8 months ago
|
||
Comment 14•8 months ago
|
||
Backed out for causing hazard bustage @ Navigation.cpp
Comment 15•8 months ago
|
||
Comment 16•8 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/6be8bbf1c192
https://hg.mozilla.org/mozilla-central/rev/aa744a2148b8
https://hg.mozilla.org/mozilla-central/rev/5ef6c80fec67
https://hg.mozilla.org/mozilla-central/rev/9e352a9fb997
| Assignee | ||
Updated•8 months ago
|
Description
•