Commit fe4ccecb authored by Matt Giuca's avatar Matt Giuca Committed by Commit Bot

Reland "Migrate Badging origin trial name to BadgingV2."

This is a reland of 825856a2

Original CL was reverted because the new API wasn't ready for M78. Now the API
is changing (https://crrev.com/1816002) so we re-land the new origin trial name.

Original change's description:
> Migrate Badging origin trial name to BadgingV2.
>
> This invalidates all existing Badging origin trial tokens, as we are
> moving to a new (slightly incompatible) Badging API. New origin trial
> tokens will become available.
>
> Bug: 1000960
> Change-Id: Ic9ca1b56a390a601b2591a27352d205650df2c33
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1787018
> Commit-Queue: Matt Giuca <mgiuca@chromium.org>
> Commit-Queue: Kinuko Yasuda <kinuko@chromium.org>
> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
> Auto-Submit: Matt Giuca <mgiuca@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#693555}

Bug: 1000960
Change-Id: Ic7a7e87f58ec4bc060a68f2adfcd7e5021b20909
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1855078
Auto-Submit: Matt Giuca <mgiuca@chromium.org>
Reviewed-by: default avatarKinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Kinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#705176}
parent f7430a74
...@@ -207,7 +207,7 @@ ...@@ -207,7 +207,7 @@
}, },
{ {
name: "Badging", name: "Badging",
origin_trial_feature_name: "Badging", origin_trial_feature_name: "BadgingV2",
status: "experimental", status: "experimental",
}, },
{ {
......
<!DOCTYPE html> <!DOCTYPE html>
<meta charset="utf-8"> <meta charset="utf-8">
<!-- Generate token with the command: <!-- Generate token with the command:
generate_token.py http://127.0.0.1:8000 Badging --expire-timestamp=2000000000 generate_token.py http://127.0.0.1:8000 BadgingV2 --expire-timestamp=2000000000
--> -->
<meta http-equiv="origin-trial" content="AjMyKQIep8aE/3H2rfLKB0UEt0aGtfdVGult8LN5tjpYZnkhbaGEm8KirzODRym/5KnVfv33DaXex0tUZoDQFQ0AAABPeyJvcmlnaW4iOiAiaHR0cDovLzEyNy4wLjAuMTo4MDAwIiwgImZlYXR1cmUiOiAiQmFkZ2luZyIsICJleHBpcnkiOiAyMDAwMDAwMDAwfQ==" /> <meta http-equiv="origin-trial" content="AqzH1yAjqt/6grJkR3r1584FLOYa+kkfoenZBdnmBOShEN/eGrOF7OoxdPXg5e2b+KeB+ysH8qp/F9eyimHZygIAAABReyJvcmlnaW4iOiAiaHR0cDovLzEyNy4wLjAuMTo4MDAwIiwgImZlYXR1cmUiOiAiQmFkZ2luZ1YyIiwgImV4cGlyeSI6IDIwMDAwMDAwMDB9" />
<title>Badging API - interfaces exposed by origin trial</title> <title>Badging API - interfaces exposed by origin trial</title>
<script src="/resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
...@@ -19,4 +19,4 @@ test(t => { ...@@ -19,4 +19,4 @@ test(t => {
assert_function_on(navigator, 'setExperimentalAppBadge', 'setExperimentalAppBadge is not defined on navigator'); assert_function_on(navigator, 'setExperimentalAppBadge', 'setExperimentalAppBadge is not defined on navigator');
assert_function_on(navigator, 'clearExperimentalAppBadge', 'clearExperimentalAppBadge is not defined on navigator'); assert_function_on(navigator, 'clearExperimentalAppBadge', 'clearExperimentalAppBadge is not defined on navigator');
}, 'Badge API interfaces and properties in Origin-Trial enabled document.'); }, 'Badge API interfaces and properties in Origin-Trial enabled document.');
</script> </script>
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment