4 EventUtils.synthesizeKey(
"d", { accelKey:
true });
8 EventUtils.synthesizeKey(
"VK_ESCAPE", {});
11 EventUtils.synthesizeKey(
"d", { accelKey:
true });
12 EventUtils.synthesizeKey(
"d", { accelKey:
true });
20 EventUtils.sendMouseEvent({ type:
"click" },
"star-button");
24 EventUtils.synthesizeKey(
"VK_ESCAPE", {});
27 EventUtils.synthesizeMouse(document.getElementById(
"star-button"),
28 1, 1, { clickCount: 2 });
39 gBrowser.selectedTab = gBrowser.addTab();
40 gBrowser.selectedBrowser.addEventListener(
"load",
initTest,
true);
59 let
titleElement = document.getElementById(
"editBookmarkPanelTitle");
60 let
removeElement = document.getElementById(
"editBookmarkPanelRemoveButton");
64 let onPopupShown =
function(aEvent) {
67 popupElement.removeEventListener(
"popupshown", onPopupShown,
false);
70 let onPopupHidden =
function(aEvent) {
79 gBrowser.removeCurrentTab();
83 popupElement.removeEventListener(
"popuphidden", onPopupHidden,
false);
90 popupElement.addEventListener(
"popupshown", onPopupShown,
false);
93 popupElement.addEventListener(
"popuphidden", onPopupHidden,
false);
98 popupElement.addEventListener(
"popuphidden", onPopupHidden,
false);
99 is(titleElement.value,
initialValue,
"The bookmark panel's title should be the same");
100 is(removeElement.hidden,
initialRemoveHidden,
"The bookmark panel's visibility should not change");
function checkBookmarksPanel(invoker, phase)
function makeURI(aURLSpec, aCharset)
function invokeUsingCtrlD(phase)
function invokeUsingStarButton(phase)