Bug 1996203 Comment 2 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Oh, `NimbusFeatures.urlbar.getAllVariables()` returns an object with `ampFeatureGate: false`! That's the problem. That's what urlbar uses to cache its Nimbus variables. `NimbusFeatures.urlbar.getVariable("ampFeatureGate")` returns true, `getAllVariables()` returns `{ ampFeatureGate: false }`.

I haven't ingestigated this any more than that, but I'll move this bug to Nimbus for now. Depending on the outcome, we may (also) want to modify urlbar to use `getVariable()`.
Oh, `NimbusFeatures.urlbar.getAllVariables()` returns an object with `ampFeatureGate: false`! That's the problem. That's what urlbar uses to cache its Nimbus variables. `NimbusFeatures.urlbar.getVariable("ampFeatureGate")` returns true, `getAllVariables()` returns `{ ampFeatureGate: false }`. The correct value is true -- at least it seems like it should be.

I haven't ingestigated this any more than that, but I'll move this bug to Nimbus for now. Depending on the outcome, we may (also) want to modify urlbar to use `getVariable()`.

Back to Bug 1996203 Comment 2