Closed Bug 1531128 Opened 10 months ago Closed 10 months ago

Add a docshell API for determining whether a navigation is in progress

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

Attachments

(2 files)

I need this for bug 1489308, because document.open needs to cancel the loadgroup only if a navigation is in progress.

Assignee: nobody → bzbarsky

This is needed by the document.open spec, which cancels loads for the document
only if a navigation is pending.

Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/21c7deb32a77
part 1.  Add an nsIScriptChannel API to ask whether the channel is a document load.  r=mccr8
https://hg.mozilla.org/integration/autoland/rev/170b333092c8
part 2.  Add a docshell API for determining whether a navigation is in progress.  r=mccr8
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.