Bug 1527934 Comment 1 Edit History

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

Note: when we fix this, we should enable `assertOneOffButtonsVisible` in `browser_urlbarSearchFunction.js` for QuantumBar. I was planning on something like:

```
  if (UrlbarPrefs.get("quantumbar")) {
    Assert.equal(UrlbarTestUtils.getOneOffSearchButtons(window).style.display,
    visible ? "" : "none", "Should have the correct visible state");
  } else {
    Assert.equal(
      window.getComputedStyle(UrlbarTestUtils.getOneOffSearchButtons(window).container).display,
      visible ? "-moz-box" : "none"
    );
  }
```
Note: when we fix this, we should enable `assertOneOffButtonsVisible` in `browser_urlbarSearchFunction.js` for QuantumBar and `hiddenWhenUsingSearchAlias` in `browser_urlbarOneOffs.js`.

Back to Bug 1527934 Comment 1