mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
Bug 1420129 - Clicking the 'Settings page' link on about:searchreset should go directly to the Search pref pane, r=nhnt11.
This commit is contained in:
parent
732db044c5
commit
58490ac997
@ -41,7 +41,7 @@
|
||||
<p>&searchreset.pageInfo1;</p>
|
||||
<p>&searchreset.selector.label;<span id="defaultEngine"/></p>
|
||||
|
||||
<p>&searchreset.beforelink.pageInfo2;<a id="linkSettingsPage" href="about:preferences">&searchreset.link.pageInfo2;</a>&searchreset.afterlink.pageInfo2;</p>
|
||||
<p>&searchreset.beforelink.pageInfo2;<a id="linkSettingsPage" href="about:preferences#search">&searchreset.link.pageInfo2;</a>&searchreset.afterlink.pageInfo2;</p>
|
||||
</div>
|
||||
|
||||
<div class="button-container">
|
||||
|
@ -115,7 +115,7 @@ var gTests = [
|
||||
Services.prefs.setCharPref(kStatusPref, "pending");
|
||||
let loadPromise = BrowserTestUtils.browserLoaded(gBrowser.selectedBrowser,
|
||||
false,
|
||||
"about:preferences");
|
||||
"about:preferences#search");
|
||||
// eslint-disable-next-line mozilla/no-cpows-in-tests
|
||||
gBrowser.contentDocument.getElementById("linkSettingsPage").click();
|
||||
await loadPromise;
|
||||
|
Loading…
Reference in New Issue
Block a user