mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 04:09:50 +00:00
Bug 1483828 - [Part 5] Add a dummy element to a few tests to ensure the focus is not unexpectedly moved to the Chrome UI. r=webdriver-reviewers,search-reviewers,mcheang,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D202873
This commit is contained in:
parent
48d9b4cab3
commit
3efbd66e3f
@ -13,6 +13,9 @@
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- Dummy Button is used to ensure pressing Shift+Tab on <input> will make the new focus
|
||||
- remains in the same document, rather than the Chrome UI. -->
|
||||
<button>Dummy Button</button>
|
||||
<div id="container"><input type="text" value=""/></div>
|
||||
|
||||
<script src="chrome://mochitests/content/browser/browser/components/search/test/browser/contentSearchUI.js">
|
||||
|
@ -133,6 +133,9 @@
|
||||
<div id="trackPointer" class="block"></div>
|
||||
<div>
|
||||
<h2>KeyReporter</h2>
|
||||
<!-- Dummy Button is used to ensure pressing Shift+Tab on <input> will make the new focus
|
||||
- remains in the same document, rather than the Chrome UI. -->
|
||||
<button>Dummy Button</button>
|
||||
<input type="text" id="keys" size="80">
|
||||
</div>
|
||||
<div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user