mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 04:13:11 +00:00
3935105d0a
This algorithm is the meat of firing the NavigateEvent at navigation. In order to implement it, we also need to add some getters/setters on NavigateEvent. The implemetentation deviates from the spec in when exactly the NavigateEvent is created. In following the pattern for other events. we construct the event from the NavigateEventInit structure from our native code. This makes the code a lot simpler than adding 10 getters to the NavigateEvent that are only ever used just after construction. I'm not 100% conviced the promise resolution code is correct, but we can add tests for that later :^). |
||
---|---|---|
.. | ||
Applets | ||
Applications | ||
BuggieBox | ||
Demos | ||
DevTools | ||
DynamicLoader | ||
Games | ||
Libraries | ||
Services | ||
Shell | ||
Utilities | ||
CMakeLists.txt |