| Index: LayoutTests/fast/forms/resources/picker-common.js
|
| diff --git a/LayoutTests/fast/forms/resources/picker-common.js b/LayoutTests/fast/forms/resources/picker-common.js
|
| index 4956b74947dd718e40b97778fd10fd28473985fb..b541fd2391a4d3c1dd1b9f6befca192b3db27f30 100644
|
| --- a/LayoutTests/fast/forms/resources/picker-common.js
|
| +++ b/LayoutTests/fast/forms/resources/picker-common.js
|
| @@ -3,7 +3,8 @@ window.jsTestIsAsync = true;
|
| var popupWindow = null;
|
|
|
| var popupOpenCallback = null;
|
| -function openPicker(input, callback) {
|
| +
|
| +function openPickerWithMock(input, callback) {
|
| if (window.internals)
|
| internals.setEnableMockPagePopup(true);
|
| input.offsetTop; // Force to lay out
|
| @@ -35,7 +36,7 @@ function sendKey(input, keyName, ctrlKey, altKey) {
|
| input.dispatchEvent(event);
|
| }
|
|
|
| -function openPickerWithoutMock(input, callback) {
|
| +function openPicker(input, callback) {
|
| window.moveTo();
|
| input.offsetTop; // Force to lay out
|
| if (input.type === "color") {
|
|
|