Bug 1207499 - Part 3: Remove use of expression closure from docshell/. r=bz
authorTooru Fujisawa <arai_a@mac.com>
Mon, 21 Sep 2015 02:36:39 +0900
changeset 300536 4c0f8e4b15c88dd05931efefe58c644e58eeb814
parent 300535 4cd9898b3410492f4f815faedfd64f322dd43ffb
child 300537 48898d8384d87658a5f7661fc007d32ed637a19d
push id1001
push userraliiev@mozilla.com
push dateMon, 18 Jan 2016 19:06:03 +0000
treeherdermozilla-release@8b89261f3ac4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz
bugs1207499
milestone44.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 1207499 - Part 3: Remove use of expression closure from docshell/. r=bz
docshell/test/chrome/bug293235_window.xul
--- a/docshell/test/chrome/bug293235_window.xul
+++ b/docshell/test/chrome/bug293235_window.xul
@@ -59,17 +59,19 @@
           is(aTopic, URI_VISITED_RESOLUTION_TOPIC, "Unexpected topic");
           this.notified = true;
 
           // Cleanup after ourselves...
           os.removeObserver(this, URI_VISITED_RESOLUTION_TOPIC);
         },
       };
       os.addObserver(observer, URI_VISITED_RESOLUTION_TOPIC, false);
-      function notified() observer.notified;
+      function notified() {
+        return observer.notified;
+      }
 
       // Load a test page containing a link that should be initially
       // blue, per the :link style.
       doPageNavigation({
         uri: getHttpUrl("bug293235.html"),
         onNavComplete: nextTest
       });
       yield undefined;