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

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

Issue 2731763002: Revert "Make document.rootScroller into an origin trial" (Closed)
Patch Set: 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/rootscroller-origin-trial-interfaces-script-added.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/rootscroller-origin-trial-interfaces-script-added.html b/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/rootscroller-origin-trial-interfaces-script-added.html
deleted file mode 100644
index 138fc11e75274c1489702b717b45996154fa2b1d..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/rootscroller-origin-trial-interfaces-script-added.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<!DOCTYPE html>
-<meta charset="utf-8">
-<title>RootScroller - origin trial is enabled by script-added meta tag</title>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-<script src="../../resources/origin-trials-helper.js"></script>
-<script>
-// Generate token with the command:
-// generate_token.py http://127.0.0.1:8000 RootScroller --expire-timestamp=2000000000
-var token = "AuKypT9HyT7fv0cU54WMd1bUmdBYTFED3hKRFWfvxauV8saEM1CoOFLXDd3ApWwJCvimlrGVcqj+0Z9rJL8uFgIAAABUeyJvcmlnaW4iOiAiaHR0cDovLzEyNy4wLjAuMTo4MDAwIiwgImZlYXR1cmUiOiAiUm9vdFNjcm9sbGVyIiwgImV4cGlyeSI6IDIwMDAwMDAwMDB9";
-
-test(t => {
- var interfaces =
- OriginTrialsHelper.get_interface_names(this, ['Document'],
- {'Document':'rootScroller'});
- console.log('Interfaces before adding trial token\n' + interfaces);
-}, "RootScroller related interfaces before adding trial token via script.");
-
-OriginTrialsHelper.add_token(token);
-
-test(t => {
- var interfaces =
- OriginTrialsHelper.get_interface_names(this, ['Document'],
- {'Document':'rootScroller'});
- console.log('Interfaces after adding trial token\n' + interfaces);
-}, "RootScroller related interfaces after adding trial token via script.");
-</script>

Powered by Google App Engine
This is Rietveld 408576698