@private
()
| 556 | |
| 557 | /** @private */ |
| 558 | recordGoogleFontExp_() { |
| 559 | if (!this.googleFontExpRecorded_) { |
| 560 | this.googleFontExpRecorded_ = true; |
| 561 | const {win} = this; |
| 562 | const googleFontExp = parseInt( |
| 563 | computedStyle(win, win.document.body).getPropertyValue( |
| 564 | '--google-font-exp' |
| 565 | ), |
| 566 | 10 |
| 567 | ); |
| 568 | if (googleFontExp >= 0) { |
| 569 | this.addEnabledExperiment(`google-font-exp=${googleFontExp}`); |
| 570 | } |
| 571 | } |
| 572 | } |
| 573 | |
| 574 | /** |
| 575 | * Tick the metrics whose values change over time. |
no test coverage detected