From 47f237f4ad85b8fa621c08ef4f8a80d988d5d970 Mon Sep 17 00:00:00 2001 From: Michael Blasingame Date: Mon, 26 Oct 2020 17:49:31 -0700 Subject: [PATCH] Fix dev tools test --- .../lighthouse/lighthouse-clear-data-warning-expected.txt | 3 +-- .../devtools/lighthouse/lighthouse-export-run-expected.txt | 6 +++--- .../lighthouse/lighthouse-successful-run-expected.txt | 4 +--- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/third-party/chromium-webtests/webtests/http/tests/devtools/lighthouse/lighthouse-clear-data-warning-expected.txt b/third-party/chromium-webtests/webtests/http/tests/devtools/lighthouse/lighthouse-clear-data-warning-expected.txt index 0a2ff82f5b82..9104b3dbb12c 100644 --- a/third-party/chromium-webtests/webtests/http/tests/devtools/lighthouse/lighthouse-clear-data-warning-expected.txt +++ b/third-party/chromium-webtests/webtests/http/tests/devtools/lighthouse/lighthouse-clear-data-warning-expected.txt @@ -11,6 +11,5 @@ Tests that Lighthouse panel displays a warning when important data may affect pe [x] Clear storage [x] Simulated throttling Generate report: enabled visible -PROMISE FAILURE: TypeError: Lighthouse.LighthousePanel.getEvents is not a function - at http://127.0.0.1:8000/devtools/lighthouse/lighthouse-clear-data-warning.js:26:45 +Warning Text: There may be stored data affecting loading performance in these locations: Web SQL, IndexedDB. Audit this page in an incognito window to prevent those resources from affecting your scores. diff --git a/third-party/chromium-webtests/webtests/http/tests/devtools/lighthouse/lighthouse-export-run-expected.txt b/third-party/chromium-webtests/webtests/http/tests/devtools/lighthouse/lighthouse-export-run-expected.txt index 57304d5d24dc..30b8393bfba4 100644 --- a/third-party/chromium-webtests/webtests/http/tests/devtools/lighthouse/lighthouse-export-run-expected.txt +++ b/third-party/chromium-webtests/webtests/http/tests/devtools/lighthouse/lighthouse-export-run-expected.txt @@ -2,11 +2,11 @@ Tests that exporting works. ++++++++ testExportHtml -# of .lh-audit divs (original): 136 +# of .lh-audit divs (original): 135 -# of .lh-audit divs (exported html): 136 +# of .lh-audit divs (exported html): 135 ++++++++ testExportJson -# of audits (json): 152 +# of audits (json): 151 diff --git a/third-party/chromium-webtests/webtests/http/tests/devtools/lighthouse/lighthouse-successful-run-expected.txt b/third-party/chromium-webtests/webtests/http/tests/devtools/lighthouse/lighthouse-successful-run-expected.txt index ab129df9602b..1206b14b6bd9 100644 --- a/third-party/chromium-webtests/webtests/http/tests/devtools/lighthouse/lighthouse-successful-run-expected.txt +++ b/third-party/chromium-webtests/webtests/http/tests/devtools/lighthouse/lighthouse-successful-run-expected.txt @@ -329,7 +329,6 @@ Auditing: Properly defines charset Auditing: Avoids an excessive DOM size Auditing: Links to cross-origin destinations are safe Auditing: Avoids requesting the geolocation permission on page load -Auditing: No issues in the `Issues` panel in Chrome Devtools Auditing: Avoids `document.write()` Auditing: Avoids front-end JavaScript libraries with known security vulnerabilities Auditing: Detected JavaScript libraries @@ -458,7 +457,6 @@ form-field-multiple-labels: notApplicable frame-title: notApplicable geolocation-on-start: pass gpt-bids-parallel: notApplicable -has-inspector-issues: pass heading-order: notApplicable hreflang: pass html-has-lang: fail @@ -566,5 +564,5 @@ visual-order-follows-dom: manual without-javascript: pass works-offline: fail -# of .lh-audit divs: 156 +# of .lh-audit divs: 155