This section here:
// 7. If browsingContext's active document's is initial about:blank is true,
// and browsingContext's active document's origin is same origin-domain with navigationParams's origin,
// then set window to browsingContext's active window.
if (browsing_context->still_on_its_initial_about_blank_document()
&& (browsing_context->active_document() && browsing_context->active_document()->origin().is_same_origin(navigation_params.origin))) {
window = browsing_context->active_window();
}
Instead of browsing_context->still_on_its_initial_about_blank_document()
, we should be checking browsing_context->active_document()->is_initial_about_blank()
.
Also, instead of is_same_origin
on the next line, we should be using is_same_origin_domain
.
These two fixes would bring us in line with the spec (you can even see that the code doesn't match the spec comment right now.)
However, if I make these tweaks, the Speedometer benchmark no longer starts at all. So some further investigation is needed to figure out what's wrong.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too