Skip to content

Commit

Permalink
sample json
Browse files Browse the repository at this point in the history
  • Loading branch information
brendankenny committed Nov 20, 2018
1 parent 06059c7 commit aa06403
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions lighthouse-core/test/audits/service-worker-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ describe('Offline: service worker audit', () => {
const swOpts = [{
status: 'activated',
scriptURL: 'https://example.com/serviceworker/sw.js',
// can happen when 'Service-Worker-Allowed' header widens max scope.
scopeURL: 'https://example.com/',
}];

Expand Down
5 changes: 2 additions & 3 deletions lighthouse-core/test/results/sample_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -467,13 +467,12 @@
"score": 0,
"scoreDisplayMode": "binary",
"rawValue": false,
"explanation": "Failures: No manifest was fetched,\nSite does not register a service worker.",
"explanation": "Failures: No manifest was fetched.",
"details": {
"items": [
{
"failures": [
"No manifest was fetched",
"Site does not register a service worker"
"No manifest was fetched"
],
"isParseFailure": true,
"parseFailureReason": "No manifest was fetched"
Expand Down
5 changes: 2 additions & 3 deletions proto/sample_v2_round_trip.json
Original file line number Diff line number Diff line change
Expand Up @@ -2548,15 +2548,14 @@
"items": [
{
"failures": [
"No manifest was fetched",
"Site does not register a service worker"
"No manifest was fetched"
],
"isParseFailure": true,
"parseFailureReason": "No manifest was fetched"
}
]
},
"explanation": "Failures: No manifest was fetched,\nSite does not register a service worker.",
"explanation": "Failures: No manifest was fetched.",
"id": "webapp-install-banner",
"score": 0.0,
"scoreDisplayMode": "binary",
Expand Down

0 comments on commit aa06403

Please sign in to comment.