Bug 1199296 - Fix up mochitest(cl) failures r=mconley
authorEric Faust <efaustbmo@gmail.com>
Thu, 04 Aug 2016 11:22:39 -0700
changeset 308294 28ff935d4af97b11020e3a16ce8d89c07d3d5043
parent 308293 f9fd24893d4597fce12b2384491abbc0a3ca0cdd
child 308295 8258601086d11cf52c20c35c992b19ed55d81f5b
push id31092
push usercbook@mozilla.com
push dateFri, 05 Aug 2016 10:16:59 +0000
treeherderautoland@b97dd7dd3cb9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley
bugs1199296
milestone51.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1199296 - Fix up mochitest(cl) failures r=mconley
browser/base/content/test/general/browser_contextmenu.js
--- a/browser/base/content/test/general/browser_contextmenu.js
+++ b/browser/base/content/test/general/browser_contextmenu.js
@@ -877,17 +877,17 @@ add_task(function* test_plaintext_sendpa
                     "---",                  null,
                     "context-viewbgimage",  false,
                     "context-selectall",    true,
                     "---",                  null,
                     "context-viewsource",   true,
                     "context-viewinfo",     true
                    ];
   yield test_contextmenu("#test-text", plainTextItems, {
-      onContextMenuShown() {
+      *onContextMenuShown() {
         yield openMenuItemSubmenu("context-sendpagetodevice");
       }
     });
 
   restoreRemoteClients(oldGetter);
 });
 
 add_task(function* test_link_sendlinktodevice() {
@@ -913,17 +913,17 @@ add_task(function* test_link_sendlinktod
      "---",                  null,
      "context-sendlinktodevice", true,
       ["*Foo", true,
        "*Bar", true,
        "---", null,
        "*All Devices", true], null,
     ],
     {
-      onContextMenuShown() {
+      *onContextMenuShown() {
         yield openMenuItemSubmenu("context-sendlinktodevice");
       }
     });
 
   restoreRemoteClients(oldGetter);
 });
 
 add_task(function* test_cleanup() {