|
1437 | 1437 | * @param {String} sample - A `virtual pressure state
|
1438 | 1438 | * <https://w3c.github.io/compute-pressure/#dom-pressurestate>`_
|
1439 | 1439 | * such as "critical".
|
1440 |
| - * @param {number} estimate - Optional, A `virtual own contribution estimate` |
| 1440 | + * @param {number} own_contribution_estimate - Optional, A `virtual own contribution estimate` |
1441 | 1441 | * <https://w3c.github.io/compute-pressure/?experimental=1#the-owncontributionestimate-attribute>`_
|
1442 | 1442 | * @param {WindowProxy} [context=null] - Browsing context in which to
|
1443 | 1443 | * run the call, or null for the
|
|
1449 | 1449 | * virtual pressure source of the given type does not
|
1450 | 1450 | * exist).
|
1451 | 1451 | */
|
1452 |
| - update_virtual_pressure_source: function(source_type, sample, estimate, context=null) { |
1453 |
| - return window.test_driver_internal.update_virtual_pressure_source(source_type, sample, estimate, context); |
| 1452 | + update_virtual_pressure_source: function(source_type, sample, own_contribution_estimate, context=null) { |
| 1453 | + return window.test_driver_internal.update_virtual_pressure_source(source_type, sample, own_contribution_estimate, context); |
1454 | 1454 | },
|
1455 | 1455 |
|
1456 | 1456 | /**
|
|
1748 | 1748 | throw new Error("create_virtual_pressure_source() is not implemented by testdriver-vendor.js");
|
1749 | 1749 | },
|
1750 | 1750 |
|
1751 |
| - async update_virtual_pressure_source(source_type, sample, estimate, context=null) { |
| 1751 | + async update_virtual_pressure_source(source_type, sample, own_contribution_estimate, context=null) { |
1752 | 1752 | throw new Error("update_virtual_pressure_source() is not implemented by testdriver-vendor.js");
|
1753 | 1753 | },
|
1754 | 1754 |
|
|
0 commit comments