Closed
Bug 478927
Opened 16 years ago
Closed 13 years ago
Need a way from chrome to know when error pages load
Categories
(Core :: DOM: Navigation, defect)
Core
DOM: Navigation
Tracking
()
RESOLVED
FIXED
mozilla15
People
(Reporter: johnath, Assigned: torisugari)
References
Details
Attachments
(2 files, 1 obsolete file)
(deleted),
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Details | Diff | Splinter Review |
Whether this means firing DOMContentLoaded on error pages, or inventing some new event that is error-page-specific, it would be extremely helpful to be able to listen for error page loads.
It would help with bugs like bug 425001, but also with things like bug 428948
Updated•16 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Assignee | ||
Comment 1•13 years ago
|
||
I'm not yet sure this is the right fix for bug 623155, but, in general, it would be useful.
>+ * |aWebProgress| does NOT set this flag when it did not try to load a new
>+ * contents. In this case, it should set LOCATION_CHANGE_SAME_DOCUMENT.
If this behavior is not allowed, probably docshell needs another member variable to store this flag.
Assignee | ||
Updated•13 years ago
|
Attachment #618640 -
Flags: review?(bugs)
Comment 2•13 years ago
|
||
Comment on attachment 618640 [details] [diff] [review]
proposal v1
This needs tests.
Attachment #618640 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 3•13 years ago
|
||
Test, appending to bug 311007's.
BTW, during writing the test, I found that my comment for the idl
> Both |aURI| and |aRequest| may be null.
is a lie. Always aURI is not null. However it can be converted from null to <about:blank> in a very edge case, though I don't know how to reproduce.
Attachment #619197 -
Flags: review?(bugs)
Assignee | ||
Updated•13 years ago
|
Attachment #618640 -
Flags: superreview?(bzbarsky)
Comment 4•13 years ago
|
||
Comment on attachment 618640 [details] [diff] [review]
proposal v1
sr=me
Attachment #618640 -
Flags: superreview?(bzbarsky) → superreview+
Assignee | ||
Comment 5•13 years ago
|
||
Fixed IDL comments.
Attachment #618640 -
Attachment is obsolete: true
Updated•13 years ago
|
Attachment #619197 -
Flags: review?(bugs) → review+
Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Updated•13 years ago
|
Assignee: nobody → torisugari
Comment 6•13 years ago
|
||
Comment 7•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4f05a7ffcfb3
https://hg.mozilla.org/mozilla-central/rev/d8c356534c6a
\o/
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•