Open Bug 1324358 Opened 7 years ago Updated 2 years ago

Evaluate how we should match prerendering URLs and add some test cases.

Categories

(Core :: DOM: Navigation, defect, P3)

defect

Tracking

()

People

(Reporter: freesamael, Unassigned)

References

(Blocks 1 open bug)

Details

Based on the review comment in bug 1315105 comment 42:

> >+  shouldSwitchToPrerenderedDocument(aHref, aReferrer, aSuccess, aFailure) {
> >+    // Check if we think there is a prerendering document pending for the given
> >+    // href and referrer. If we think there is one, we will send a message to
> >+    // the parent process asking it to do a swap, and hook up the success and
> >+    // failure listeners.
> >+    for (let i = 0; i < this._pending.length; ++i) {
> >+      let p = this._pending[i];
> >+      if (p.href.equals(aHref) && p.referrer.equals(aReferrer))
> Something to test and possibly file a followup bug. How do other browser
> deal with url which just different from the #fragment part here.
> Please file a followup bug about this issue

We should check how other browsers match prerender URLs, consider how we should implement it, update our implementation and add some related test cases.
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.