-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
misc: replace TODOs with github issue links #7049
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -221,7 +221,7 @@ class NetworkRecorder extends EventEmitter { | |
return; | ||
} | ||
|
||
// TODO(phulce): log these to sentry? | ||
// TODO: beacon to Sentry, https://github.com/GoogleChrome/lighthouse/issues/7041 | ||
if (!data.redirectResponse) { | ||
return; | ||
} | ||
|
@@ -231,7 +231,6 @@ class NetworkRecorder extends EventEmitter { | |
const modifiedData = { | ||
...data, | ||
// Copy over the initiator as well to match DevTools behavior | ||
// TODO(phulce): abandon this DT hack and update Lantern graph to handle it | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not convinced this is necessary anymore, it's probably easier to just stay in sync with wht devtools does |
||
initiator: originalRequest.initiator, | ||
requestId: `${originalRequest.requestId}:redirect`, | ||
}; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,6 @@ const RESOURCE_TYPES = { | |
module.exports = class NetworkRequest { | ||
constructor() { | ||
this.requestId = ''; | ||
// TODO(phulce): remove default DevTools connectionId | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not convinced this is necessary anymore |
||
this.connectionId = '0'; | ||
this.connectionReused = false; | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,6 @@ trap teardown EXIT | |
|
||
colorText "Generating a fresh LHR..." "$purple" | ||
set -x | ||
# TODO(phulce): add a lantern LHR-differ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not convinced this is necessary anymore |
||
node "$lhroot_path/lighthouse-cli" -A="$lhroot_path/lighthouse-core/test/results/artifacts" --throttling-method=devtools --quiet --output=json --output-path="$freshLHRPath" | ||
set +x | ||
|
||
|
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.
at this point, I'm not sure it makes sense. It's a solid fallback option for when the protocol fails.