Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Issue 2713523004: service worker: Add console.warn output to enable -expected.txt files (Closed)

Created:
3 years, 10 months ago by falken
Modified:
3 years, 10 months ago
Reviewers:
horo, Dan Elphick
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, kenjibaheux+watch_chromium.org, shimazu+serviceworker_chromium.org, serviceworker-reviews, nhiroki, kinuko+serviceworker, blink-reviews, horo+watch_chromium.org, falken+watch_chromium.org, tzik
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

service worker: Add console.warn output to enable -expected.txt files These tests dump output via console.log in order to have different -expected.txt files for different virtual tests, but the presubmit wants to remove -expected.txt files with no assertions. According to the thread "[blink-dev] PSA/Proposal: Changing the definition of "passing" for layout tests that use testharness.js"[1] we can add console.warn to get around this. Long-term we should migrate the tests to use assertions or not use testharness.js. [1] https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/3Ob2lq14KEs BUG=649558 Review-Url: https://codereview.chromium.org/2713523004 Cr-Commit-Position: refs/heads/master@{#451897} Committed: https://chromium.googlesource.com/chromium/src/+/a994e58847b6e37d0e1a3067509653ec314d137a

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -15 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/navigation-preload-origin-trial-interfaces.html View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/navigation-preload-origin-trial-interfaces-expected.txt View 3 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/navigation-preload-origin-trial-methods.html View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/navigation-preload-origin-trial-methods-expected.txt View 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/http/tests/serviceworker/chromium/navigation-preload-origin-trial-interfaces-expected.txt View 3 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/http/tests/serviceworker/chromium/navigation-preload-origin-trial-methods-expected.txt View 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload/http/tests/serviceworker/chromium/navigation-preload-origin-trial-interfaces-expected.txt View 3 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload/http/tests/serviceworker/chromium/navigation-preload-origin-trial-methods-expected.txt View 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
falken
3 years, 10 months ago (2017-02-22 01:57:56 UTC) #3
horo
lgtm Please write this link in the CL description. https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/3Ob2lq14KEs
3 years, 10 months ago (2017-02-22 04:59:12 UTC) #6
falken
Thanks, done.
3 years, 10 months ago (2017-02-22 05:04:23 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2713523004/1
3 years, 10 months ago (2017-02-22 05:05:22 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/a994e58847b6e37d0e1a3067509653ec314d137a
3 years, 10 months ago (2017-02-22 06:19:41 UTC) #14
Dan Elphick
3 years, 10 months ago (2017-02-22 10:02:12 UTC) #15
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698