forked from ampproject/amphtml
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexperiments-config.js
More file actions
283 lines (282 loc) · 9.81 KB
/
experiments-config.js
File metadata and controls
283 lines (282 loc) · 9.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
/**
* Copyright 2019 The AMP HTML Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS-IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @fileoverview This file contains experiment configurations that are
* used in experiment.js. If you are launching a new feature, you should
* add an experiment block below including a descriptive id string, a
* description of the experiment, a link to the issue referencing the bug
* fixed or feature implemented by your experiment, as well as a cleanup
* issue to remove your experiment once completed.
*/
/** @const {!Array<!ExperimentDef>} */
export const EXPERIMENTS = [
{
id: 'alp',
name: 'Activates support for measuring incoming clicks.',
spec: 'https://github.com/ampproject/amphtml/issues/2934',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/4005',
},
{
id: 'amp-access-iframe',
name: 'AMP Access iframe prototype (launched)',
spec: 'https://github.com/ampproject/amphtml/issues/13287',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/13287',
},
{
id: 'amp-access-server',
name: 'AMP Access server side prototype',
spec: '',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/4000',
},
{
id: 'amp-access-jwt',
name: 'AMP Access JWT prototype',
spec: '',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/4000',
},
{
id: 'amp-base-carousel',
name: 'AMP extension for a basic, flexible, carousel',
spec: 'https://github.com/ampproject/amphtml/issues/20595',
},
{
id: 'amp-google-vrview-image',
name: 'AMP VR Viewer for images via Google VRView',
spec:
'https://github.com/ampproject/amphtml/blob/master/extensions/' +
'amp-google-vrview-image/amp-google-vrview-image.md',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/3996',
},
{
id: 'amp-sidebar-v2',
name: 'Updated sidebar component with nested menu and animations',
spec: 'https://github.com/ampproject/amphtml/issues/25049',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/25022',
},
{
id: 'no-auth-in-prerender',
name: 'Delay amp-access auth request until doc becomes visible.',
spec: '',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/3824',
},
{
id: 'amp-viz-vega',
name: 'AMP Visualization using Vega grammar',
spec: 'https://github.com/ampproject/amphtml/issues/3991',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/4171',
},
{
id: 'cache-service-worker',
name: 'AMP Cache Service Worker',
spec: 'https://github.com/ampproject/amphtml/issues/1199',
},
{
id: 'amp-lightbox-a4a-proto',
name: 'Allows the new lightbox experience to be used in A4A (prototype).',
spec: 'https://github.com/ampproject/amphtml/issues/7743',
},
{
id: 'amp-playbuzz',
name: 'AMP extension for playbuzz items (launched)',
spec: 'https://github.com/ampproject/amphtml/issues/6106',
cleanupIssue: 'https://github.com/ampproject/amphtml/pull/6351',
},
{
id: 'amp-action-macro',
name: 'AMP extension for defining action macros',
spec: 'https://github.com/ampproject/amphtml/issues/19494',
cleanupIssue: 'https://github.com/ampproject/amphtml/pull/19495',
},
{
id: 'ios-fixed-no-transfer',
name: 'Remove fixed transfer from iOS 12.2 and up',
spec: 'https://github.com/ampproject/amphtml/issues/22220',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/22220',
},
{
id: 'chunked-amp',
name: "Split AMP's loading phase into chunks",
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/5535',
},
{
id: 'pump-early-frame',
name:
'If applicable, let the browser paint the current frame before ' +
'executing the callback.',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/8237',
},
{
id: 'web-worker',
name: 'Web worker for background processing',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/7156',
},
{
id: 'jank-meter',
name: 'Display jank meter',
},
{
id: 'input-debounced',
name: 'A debounced input event for AMP actions',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/9413',
spec: 'https://github.com/ampproject/amphtml/issues/9277',
},
{
id: 'disable-rtc',
name: 'Disable AMP RTC',
spec: 'https://github.com/ampproject/amphtml/issues/8551',
},
{
id: 'inabox-position-api',
name: 'Position API for foreign iframe',
spec: 'https://github.com/ampproject/amphtml/issues/10995',
},
{
id: 'amp-story',
name: 'Visual storytelling in AMP (v0.1)',
spec: 'https://github.com/ampproject/amphtml/issues/11329',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/14357',
},
{
id: 'disable-amp-story-default-media',
name: 'Removes default media for amp-story',
spec: 'https://github.com/ampproject/amphtml/issues/14535',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/14535',
},
{
id: 'amp-story-responsive-units',
name: 'Scale pages in amp-story by rewriting responsive units',
spec: 'https://github.com/ampproject/amphtml/issues/15955',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/15960',
},
{
id: 'amp-next-page',
name: 'Document level next page recommendations and infinite scroll',
spec: 'https://github.com/ampproject/amphtml/issues/12945',
},
{
id: 'amp-story-branching',
name: 'Allow for the go to action, advance to, and fragment parameter URLs',
spec: 'https://github.com/ampproject/amphtml/issues/20083',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/20128',
},
{
id: 'iframe-messaging',
name: 'Enables "postMessage" action on amp-iframe.',
spec: 'https://github.com/ampproject/amphtml/issues/9074',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/14263',
},
{
id: 'amp-carousel-chrome-scroll-snap',
name: 'Enables scroll snap on carousel on Chrome browsers',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/16508',
},
{
id: 'chrome-animation-worklet',
name: 'Opts-in users into using AnimationWorklet',
cleanupIssue: 'X',
},
{
id: 'video-dock',
name: 'Enables <amp-video dock>',
spec: 'https://github.com/ampproject/amphtml/issues/14061',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/17161',
},
{
id: 'amp-user-location',
name:
'Expose the browser geolocation API for latitude and longitude ' +
'access after user interaction and approval',
spec: 'https://github.com/ampproject/amphtml/issues/8929',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/22177',
},
{
id: 'untrusted-xhr-interception',
name:
'Enable "xhrInterceptor" capability for untrusted viewers. ' +
'For development use only',
spec: 'N/A',
cleanupIssue: 'N/A',
},
{
id: 'adsense-ad-size-optimization',
name:
'Per publisher server side settings for changing the ad size ' +
'to responsive.',
spec: 'https://github.com/ampproject/amphtml/issues/23568',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/24165',
},
{
id: 'fix-inconsistent-responsive-height-selection',
name: 'Fix inconsistent responsive height selection.',
spec: 'https://github.com/ampproject/amphtml/issues/24166',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/24167',
},
{
id: 'intersect-resources',
name: 'Use IntersectionObserver for resource scheduling.',
spec: 'https://github.com/ampproject/amphtml/issues/25428',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/26233',
},
{
id: 'amp-stream-gallery',
name: 'Enables component',
spec: 'https://github.com/ampproject/amphtml/issues/20595',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/26709',
},
{
id: 'visibility-trigger-improvements',
name: 'AMP Analytics Visibility Trigger Improvements',
spec: 'https://github.com/ampproject/amphtml/issues/26823',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/26823',
},
{
id: 'analytics-chunks-inabox',
name: 'AMP Analytics Break long tasks to chunks (AMP Ads only)',
spec: 'https://github.com/ampproject/amphtml/issues/28435',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/28435',
},
{
id: 'a4a-no-signing',
name: 'Remove signing requirement for AMPHTML ads',
spec: 'https://github.com/ampproject/amphtml/issues/27189',
},
{
id: 'expand-json-targeting',
name: 'Allow CLIENT_ID in doubleclick json targeting feature',
spec: 'https://github.com/ampproject/amphtml/issues/25190',
},
{
id: 'auto-ads-layout-callback',
name: 'Move ads placement into layoutCallback',
spec: 'https://github.com/ampproject/amphtml/issues/27068',
},
{
id: 'amp-cid-backup',
name: 'Backup AMP-generated CIDs to Storage.',
spec: 'https://github.com/ampproject/amphtml/issues/29484',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/29484',
},
{
id: 'layout-aspect-ratio-css',
name: 'Responsive layouts implemented via aspect-ratio CSS',
spec: 'https://github.com/ampproject/amphtml/issues/30291',
},
{
id: 'same-origin-iframe',
name: 'Allow same-origin iframes with disallowDocumentAccess',
spec: 'https://github.com/ampproject/amphtml/issues/30824',
},
];