Closed
Bug 718737
Opened 13 years ago
Closed 13 years ago
Add a startup timeline event on nsDocShell::LoadURI
Categories
(Core :: DOM: Navigation, defect)
Core
DOM: Navigation
Tracking
()
RESOLVED
FIXED
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(1 file)
3.68 KB,
patch
|
bzbarsky
:
review+
taras.mozilla
:
review+
|
Details | Diff | Splinter Review |
We want to report, like we currently do for timestamps like main, sessionRestore, firstPaint, etc., the timestamp at which the first non about:blank uri is loaded.
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → mh+mozilla
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #589432 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 2•13 years ago
|
||
Comment on attachment 589432 [details] [diff] [review]
Add a startup timeline event on the first nsDocShell::LoadURI for non about:blank content
Asking taras review for StartupTimeline changes (it appears gcc is stupid and doesn't realize it doesn't need to call PR_Now when the condition is not fulfilled).
Attachment #589432 -
Flags: review?(taras.mozilla)
Assignee | ||
Updated•13 years ago
|
Summary: Add a timestamp probe on nsDocShell::LoadURI → Add a startup timeline event on nsDocShell::LoadURI
Assignee | ||
Comment 3•13 years ago
|
||
There's a glitch, though: we're going to have noise in our telemetry data on android, because fennec doesn't load any non about:blank content when starting without an url (that is, when showing the non-content/native-android-ui about:home).
Assignee | ||
Comment 4•13 years ago
|
||
Interestingly, the startup timeline event is triggered at what seems a "normal" time when starting fennec without an url, so forget comment 3.
Comment 5•13 years ago
|
||
Comment on attachment 589432 [details] [diff] [review]
Add a startup timeline event on the first nsDocShell::LoadURI for non about:blank content
I think this should work
Attachment #589432 -
Flags: review?(taras.mozilla) → review+
Comment 6•13 years ago
|
||
Comment on attachment 589432 [details] [diff] [review]
Add a startup timeline event on the first nsDocShell::LoadURI for non about:blank content
"mItemType == typeContent" has extra parens around it, and you're reinventing NS_IsAboutBlank.
r=me with those bits fixed.
Attachment #589432 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 7•13 years ago
|
||
Whiteboard: [inbound]
Comment 8•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Will this cause slightly bogus values for people who have about:blank as their homepage? It's going to be a small number of people, but I'm sure they exist (there used to be a button in preferences for it a few years ago).
Comment 10•13 years ago
|
||
Probably. I'm one of those people, certainly. And there's still a preference for it.
Assignee | ||
Comment 11•13 years ago
|
||
Most definitely yes.
You need to log in
before you can comment on or make changes to this bug.
Description
•