Bug 1593553 - Use null (document) triggering pricipal when refreshing URI. r=IanN DONTBUILD
authorFrank-Rainer Grahl <frgrahl@gmx.net>
Mon, 11 Nov 2019 20:44:15 +0100
changeset 36604 83fafd4f19ebd0ad7a7db636271740f6dd26cf22
parent 36603 9d0d0a1290f02ff85990105d2df8028a51857630
child 36605 6eef2c8c1a3ac49a9ea1306672d92dfed10e60c1
push id2534
push userclokep@gmail.com
push dateMon, 02 Dec 2019 19:52:51 +0000
treeherdercomm-beta@055c50840778 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersIanN
bugs1593553, 1414425
Bug 1593553 - Use null (document) triggering pricipal when refreshing URI. r=IanN DONTBUILD Port relevant part of Bug 1414425.
suite/components/bindings/notification.xml
--- a/suite/components/bindings/notification.xml
+++ b/suite/components/bindings/notification.xml
@@ -279,17 +279,17 @@
                 notification.label = message;
               } else {
                 let buttons = [{
                   label: refreshButtonText,
                   accessKey: refreshButtonAccesskey,
                   callback: function (aNotification, aButton) {
                     var refreshURI = aNotification.webProgress
                                                   .QueryInterface(Ci.nsIRefreshURI);
-                    refreshURI.forceRefreshURI(aNotification.uri,
+                    refreshURI.forceRefreshURI(aNotification.uri, null,
                                                aNotification.delay, true);
                   }
                 }];
                 notification =
                   this.appendNotification(message, "refresh-blocked", null,
                                           this.PRIORITY_INFO_MEDIUM, buttons);
               }
               // In the case of a meta refresh, the location has already