Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Issue 2699213002: Adding MHTML support into Page Load Metrics (Closed)

Created:
3 years, 10 months ago by RyanSturm
Modified:
3 years, 10 months ago
CC:
chromium-reviews, csharrison+watch_chromium.org, loading-reviews+metrics_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding MHTML support into Page Load Metrics Offline Previews metrics will not be reported currently because the MIME-type sniffing only allows text/html or application/xhtml+xml. MHTML, entires pages saved as one file are mime-type multipart/related (https://en.wikipedia.org/wiki/MIME#Multipart_subtypes). Offline previews are treated as HTTP/HTTPS MHTML pages from the perspective of the chrome page load metrics harness, and treated as HTML documents in blink. This should mean that offline pages are the only class of MHTML pages that will be tracked in the harness. BUG=693776 Review-Url: https://codereview.chromium.org/2699213002 Cr-Commit-Position: refs/heads/master@{#451906} Committed: https://chromium.googlesource.com/chromium/src/+/07205c9be7b8fa35aa6079b6027f6261761b62c3

Patch Set 1 #

Patch Set 2 : Only observe MHTML for previews observer #

Total comments: 2

Patch Set 3 : bmcquade comment #

Messages

Total messages: 39 (22 generated)
RyanSturm
bmcquade, csharrison: PTAL
3 years, 10 months ago (2017-02-17 23:23:48 UTC) #4
Bryan McQuade
Thanks for working on this! I wonder, should we track mhtml pages for other observers, ...
3 years, 10 months ago (2017-02-18 00:50:03 UTC) #5
RyanSturm
On 2017/02/18 00:50:03, Bryan McQuade wrote: > Thanks for working on this! > > I ...
3 years, 10 months ago (2017-02-18 00:52:37 UTC) #6
Charlie Harrison
I don't mind one way or the other either *shrug*. If counts for offline pages ...
3 years, 10 months ago (2017-02-18 04:45:27 UTC) #9
RyanSturm
I'm not sure which is cleaner, adding a something like SupportsMHTML() method to the page ...
3 years, 10 months ago (2017-02-18 19:43:31 UTC) #10
Charlie Harrison
If you want to measure offline pages in M57 shouldn't we have an observer that ...
3 years, 10 months ago (2017-02-18 20:39:15 UTC) #11
RyanSturm
On 2017/02/18 20:39:15, Charlie Harrison wrote: > If you want to measure offline pages in ...
3 years, 10 months ago (2017-02-18 20:46:28 UTC) #12
Charlie Harrison
Ah okay great, just making sure. LGTM from me to land this and merge to ...
3 years, 10 months ago (2017-02-18 21:28:22 UTC) #13
Bryan McQuade
On 2017/02/18 at 21:28:22, csharrison wrote: > Ah okay great, just making sure. > > ...
3 years, 10 months ago (2017-02-21 13:45:58 UTC) #14
RyanSturm
bmcquade: PTAL csharrison@ and I briefly talked about this approach. It brings up the question ...
3 years, 10 months ago (2017-02-21 17:24:27 UTC) #17
Bryan McQuade
nice, LGTM, thanks for this! one request to reduce logic duplication slightly by chaining to ...
3 years, 10 months ago (2017-02-21 18:50:15 UTC) #20
Charlie Harrison
still lgtm assuming a follow up test
3 years, 10 months ago (2017-02-21 19:07:10 UTC) #21
RyanSturm
On 2017/02/21 19:07:10, Charlie Harrison wrote: > still lgtm assuming a follow up test Thanks. ...
3 years, 10 months ago (2017-02-21 19:26:47 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2699213002/40001
3 years, 10 months ago (2017-02-21 23:25:34 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
3 years, 10 months ago (2017-02-22 01:08:25 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2699213002/40001
3 years, 10 months ago (2017-02-22 01:35:17 UTC) #36
commit-bot: I haz the power
3 years, 10 months ago (2017-02-22 07:09:12 UTC) #39
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/07205c9be7b8fa35aa6079b6027f...

Powered by Google App Engine
This is Rietveld 408576698