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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/imagecapture-origin-trial-interfaces.html

Issue 2712843005: Use asserts in origin trials layout tests (Closed)
Patch Set: Address more comments Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/imagecapture-origin-trial-interfaces.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/imagecapture-origin-trial-interfaces.html b/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/imagecapture-origin-trial-interfaces.html
index 4f8206f65f30511854b51ed7e9785dbed30d9f58..dad2b4d88df55c204ce44aeb5629c15db23f20d9 100644
--- a/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/imagecapture-origin-trial-interfaces.html
+++ b/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/imagecapture-origin-trial-interfaces.html
@@ -10,10 +10,9 @@ generate_token.py http://127.0.0.1:8000 ImageCapture --expire-timestamp=2000000
<script src="../../resources/origin-trials-helper.js"></script>
<script>
test(t => {
- var interfaces =
- OriginTrialsHelper.get_interface_names(this, ['ImageCapture',
- 'MediaSettingsRange',
- 'PhotoCapabilities']);
- console.log('Interfaces in document\n' + interfaces);
+ OriginTrialsHelper.check_interfaces(this,
+ ['ImageCapture',
+ 'MediaSettingsRange',
+ 'PhotoCapabilities']);
}, "ImageCapture related interfaces in Origin-Trial enabled document.");
</script>

Powered by Google App Engine
This is Rietveld 408576698