forked from ampproject/amphtml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
experiments-config.js
318 lines (317 loc) · 11 KB
/
experiments-config.js
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
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
/**
* 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-mega-menu',
name: 'AMP extension for a mega menu with expandable items',
spec: 'https://github.com/ampproject/amphtml/issues/24814',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/24898',
},
{
id: 'amp-sidebar-v2',
name: 'Updated sidebar component with nested menu and animations',
},
{
id: 'ampdoc-fie',
name: 'Install AmpDoc on FIE level',
spec: 'https://github.com/ampproject/amphtml/issues/22734',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/22733',
},
{
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-share-tracking',
name: 'AMP Share Tracking',
spec: 'https://github.com/ampproject/amphtml/issues/3135',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/5167',
},
{
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: 'ios-scrollable-iframe',
name: 'iOS 13 enables iframe scrolling per spec',
spec: 'https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/23379',
},
{
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: 'version-locking',
name:
'Force all extensions to have the same release ' +
'as the main JS binary',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/8236',
},
{
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: 'as-use-attr-for-format',
name: 'Use slot width/height attribute for AdSense size format',
},
{
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: 'blurry-placeholder',
name: 'Enables a blurred image placeholder as an amp-img loads',
spec: 'https://github.com/ampproject/amphtml/issues/15146',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/17107',
},
{
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: 'amp-consent-v2',
name: 'Enables CMP support to amp-consent component',
spec: 'https://github.com/ampproject/amphtml/issues/17742',
},
{
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-list-load-more',
name: 'Enables load-more related functionality in amp-list',
spec: 'https://github.com/ampproject/amphtml/issues/13575',
},
{
id: 'hidden-mutation-observer',
name: "Enables FixedLayer's hidden-attribute mutation observer",
spec: 'https://github.com/ampproject/amphtml/issues/17475',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/18897',
},
{
id: 'inabox-viewport-friendly',
name:
'Inabox viewport measures the host window directly if ' +
'within friendly iframe',
spec: 'https://github.com/ampproject/amphtml/issues/19869',
cleanupIssue: 'TODO',
},
{
id: 'fie-css-cleanup',
name:
'Experiment to prevent regression after a major CSS clean up' +
' for AMPHTML Ads in FIE rendering mode',
spec: 'https://github.com/ampproject/amphtml/issues/22418',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/22418',
},
{
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: 'macro-after-long-task',
name:
'If applicable, convert remaining micro tasks to the next macro ' +
' tasks if a previous micro task execution took too long',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/23464',
},
{
id: 'pausable-iframe',
name: 'Use iframe freezing instead of recreating iframes.',
spec: 'https://github.com/ampproject/amphtml/issues/24110',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/24113',
},
{
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: 'use-responsive-ads-for-responsive-sizing-in-auto-ads',
name: 'Use amp-ad responsive to make amp auto ads responsive.',
spec: 'https://github.com/ampproject/amphtml/issues/24168',
cleanupIssue: 'https://github.com/ampproject/amphtml/issues/24169',
},
];