File tree Expand file tree Collapse file tree 3 files changed +0
-50
lines changed
tools/wptrunner/wptrunner Expand file tree Collapse file tree 3 files changed +0
-50
lines changed Original file line number Diff line number Diff line change @@ -192,14 +192,6 @@ the global scope.
192
192
.. js:autofunction:: test_driver.clear_display_features
193
193
```
194
194
195
- ### Global Privacy Control ###
196
-
197
- ``` eval_rst
198
- .. js:autofunction:: test_driver.set_global_privacy_control
199
- .. js:autofunction:: test_driver.set_global_privacy_control
200
- ```
201
-
202
-
203
195
### Using test_driver in other browsing contexts ###
204
196
205
197
Testdriver can be used in browsing contexts (i.e. windows or frames)
Original file line number Diff line number Diff line change 2169
2169
*/
2170
2170
clear_display_features : function ( context = null ) {
2171
2171
return window . test_driver_internal . clear_display_features ( context ) ;
2172
- } ,
2173
-
2174
- /**
2175
- * Gets the current globally-applied privacy control status
2176
- *
2177
- * @returns {Promise } Fulfils with an object with boolean property `gpc`
2178
- * that encodes the current "do not sell or share"
2179
- * signal the browser is configured to convey.
2180
- */
2181
- get_global_privacy_control : function ( ) {
2182
- return window . test_driver_internal . get_global_privacy_control ( ) ;
2183
- } ,
2184
-
2185
- /**
2186
- * Gets the current globally-applied privacy control status
2187
- *
2188
- * @param {bool } newValue - The a boolean that is true if the browers
2189
- * should convey a "do not sell or share" signal
2190
- * and false otherwise
2191
- *
2192
- * @returns {Promise } Fulfils with an object with boolean property `gpc`
2193
- * that encodes the new "do not sell or share"
2194
- * after applying the new value.
2195
- */
2196
- set_global_privacy_control : function ( newValue ) {
2197
- return window . test_driver_internal . set_global_privacy_control ( newValue ) ;
2198
2172
}
2199
2173
} ;
2200
2174
2512
2486
2513
2487
async clear_display_features ( context = null ) {
2514
2488
throw new Error ( "clear_display_features() is not implemented by testdriver-vendor.js" ) ;
2515
- } ,
2516
-
2517
- async set_global_privacy_control ( newValue ) {
2518
- throw new Error ( "set_global_privacy_control() is not implemented by testdriver-vendor.js" ) ;
2519
- } ,
2520
-
2521
- async get_global_privacy_control ( ) {
2522
- throw new Error ( "get_global_privacy_control() is not implemented by testdriver-vendor.js" ) ;
2523
2489
}
2524
2490
} ;
2525
2491
} ) ( ) ;
Original file line number Diff line number Diff line change 657
657
window . test_driver_internal . clear_display_features = function ( context = null ) {
658
658
return create_context_action ( "clear_display_features" , context , { } ) ;
659
659
}
660
-
661
- window . test_driver_internal . get_global_privacy_control = function ( context = null ) {
662
- return create_action ( "get_global_privacy_control" , { } ) ;
663
- } ;
664
-
665
- window . test_driver_internal . set_global_privacy_control = function ( gpc , context = null ) {
666
- return create_action ( "set_global_privacy_control" , { gpc} ) ;
667
- } ;
668
660
} ) ( ) ;
You can’t perform that action at this time.
0 commit comments