-
Notifications
You must be signed in to change notification settings - Fork 707
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
Fix/timeouts #1331
Fix/timeouts #1331
Conversation
@molant, I think you need to rebase this. |
Nope, I've removed the commit and adding them one by one. Travis is building them in my fork. |
but you have conflicts XD |
Disable `hint-apple-touch-icons` because it is not aware if the project is a PWA or not (needs to check for a manifest). Disable `webpack-config/module-esnext-typescript` because it requires loading both the webpack and typescript configs at the same time to work (which doesn't currently happen in VS Code). These can be re-enabled once the affected hints are updated. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Close #1329
The body of some responses returns as base64 by the Debugging Protocol even though they are text based. This happens a lot with the JavaScript of ads and causes the JavaScript parser to fail.
Depending on the package manager used for the installation, different versions of `parse5` with different APIs could be installed. Until #1274 is merged, this solves for that case.
Node supports both. Updated for consistency.
This should be ready. I've changed the history removing the previous CDP changes and @alrra's commit changing the parser tests. I've also split the commits in multiple to make it easier to see what is going on. Ideally this should be forced pushed into master. I don't think anything has been added since I branched. |
For the curious, this is the travis run in my branch: https://travis-ci.org/molant/hint/builds/431682392 |
Latest travis run https://travis-ci.org/molant/hint/builds/431748090 |
@alrra, I'm almost sure the timeouts we are having right now are because travis is using the latest npm version that still has the base64 error. Locally they are passing. |
Are you getting timeouts or something different locally?
|
timeouts |
To make sure the body is available, `getResponseBody` has to be called after the `loadingFinished` event is received for the `requestId`. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Fix #1325
Closing in favor of #1337 |
Pull request checklist
Make sure you:
For non-trivial changes, please make sure you also:
Added/Updated related documentation.Added/Updated related tests.Short description of the change(s)
I'm trying to figure out why Travis timesout after merging ea56a95.
For that I'll split all changes in different commits and see what is the culprit.