-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump catapult/traceviewer to latest #723
Conversation
commit 4959b8b832af4f0d91cf1b2bc9bed10fbcccad2e Author: sullivan <[email protected]> Date: Fri Sep 30 11:08:20 2016 -0700
ceb56c6
to
e688ba6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(github really needs a per-file PR viewer)
needs LICENSE but otherwise LGTM.
@@ -1,27 +0,0 @@ | |||
Copyright 2015 The Chromium Authors. All rights reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this file needs to be kept
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually, looks like theres some node v4 and v5 issues with lack of strict mode and class/let/const declarations. Maybe we can insert 'use strict';
lines in the converter scripts?
use strict injected. license restored. |
Failures in node 4 and 5: /home/travis/build/GoogleChrome/lighthouse/lighthouse-core/third_party/traceviewer-js/value/histogram.js:493
for (var [stat, option] of this.summaryOptions) {
^
SyntaxError: Unexpected token [ ugh. :/ |
yeah, hmm, even with |
we could also compile our code and deliver a bundle before npm publish and test runs. I can open a CL for this if you find this acceptable |
we're already running a conversion script for traceviewer. I'd rather just keep whatever we have to do in there |
Is more about converting a browser running system to work in node, and less about "compiling" javascript though. |
All good here. @brendankenny PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great detective work. LGTM 💯
For future reference, this PR updated catapult to 4959b8b832af4f0d91cf1b2bc9bed10fbcccad2e |
This'll allow us to migrate to the shared FMP and TTI calculations
edit: Babel transpiling added to the build script, in order to address rampant use of destructuring. :)