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

Issue 2861673007: Add Origin Trial layout tests for IDL bindings (Closed)

Created:
3 years, 7 months ago by chasej
Modified:
3 years, 7 months ago
Reviewers:
jbroman, iclelland
CC:
blink-reviews, chasej+watch_chromium.org, chromium-reviews, iclelland+watch_chromuim.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Origin Trial layout tests for IDL bindings The existing layout tests for Origin Trials cover both various enabling scenarios, as well as bindings for [OriginTrialEnabled]. As shown by bug 695123, there isn't comprehensive coverage for all the bindings possibilities. This CL adds a separate set of layout tests explicitly for bindings, in preparation for fixing bug 695123. BUG=695123 Review-Url: https://codereview.chromium.org/2861673007 Cr-Commit-Position: refs/heads/master@{#469862} Committed: https://chromium.googlesource.com/chromium/src/+/fbd04b8d08a73374d9720de6c01ff36dd13428a1

Patch Set 1 #

Total comments: 9

Patch Set 2 : Address comments #

Patch Set 3 : Fix compile errors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+398 lines, -35 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/origin_trials/resources/origintrials.js View 1 6 chunks +309 lines, -8 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/origin_trials/sample-api-disabled.html View 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/origin_trials/sample-api-disabled-insecure-context.html View 1 chunk +17 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/origin_trials/sample-api-enabled.html View 1 chunk +1 line, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/http/tests/origin_trials/sample-api-enabled-insecure-context.html View 2 chunks +9 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/origin_trials/sample-api-script-added.html View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/testing/OriginTrialsTest.h View 1 2 1 chunk +20 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/testing/OriginTrialsTest.cpp View 2 chunks +0 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/core/testing/OriginTrialsTest.idl View 1 chunk +25 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/testing/OriginTrialsTestPartial.h View 1 chunk +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/testing/OriginTrialsTestPartial.idl View 1 chunk +9 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (15 generated)
chasej
iclelland, please take a look.
3 years, 7 months ago (2017-05-04 20:04:28 UTC) #7
iclelland
This looks great, very comprehensive. Just a couple of nits around making sure the tests ...
3 years, 7 months ago (2017-05-05 14:11:34 UTC) #8
chasej
iclelland, please take another look. https://codereview.chromium.org/2861673007/diff/1/third_party/WebKit/LayoutTests/http/tests/origin_trials/resources/origintrials.js File third_party/WebKit/LayoutTests/http/tests/origin_trials/resources/origintrials.js (right): https://codereview.chromium.org/2861673007/diff/1/third_party/WebKit/LayoutTests/http/tests/origin_trials/resources/origintrials.js#newcode6 third_party/WebKit/LayoutTests/http/tests/origin_trials/resources/origintrials.js:6: expect_member = (name, get_value_func) ...
3 years, 7 months ago (2017-05-05 15:29:29 UTC) #9
iclelland
Thanks, this lgtm -- once the compile failures are fixed, obviously :) https://codereview.chromium.org/2861673007/diff/1/third_party/WebKit/LayoutTests/http/tests/origin_trials/resources/origintrials.js File third_party/WebKit/LayoutTests/http/tests/origin_trials/resources/origintrials.js ...
3 years, 7 months ago (2017-05-05 15:37:27 UTC) #10
chasej
jbroman, please take a look at third_party/WebKit/Source/core/testing/
3 years, 7 months ago (2017-05-06 00:01:12 UTC) #16
jbroman
rs lgtm
3 years, 7 months ago (2017-05-06 00:22:16 UTC) #17
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/2861673007/40001
3 years, 7 months ago (2017-05-06 01:04:39 UTC) #20
commit-bot: I haz the power
3 years, 7 months ago (2017-05-06 19:04:11 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/fbd04b8d08a73374d9720de6c01f...

Powered by Google App Engine
This is Rietveld 408576698