Bug 1351702 - Correct shouldLoadURI in tab-content.js to add aHasPostData argument. r=mystor, a=lizzard
authorBob Owen <bobowencode@gmail.com>
Wed, 29 Mar 2017 17:19:36 +0100
changeset 379376 b84d600235f33f2091625058a718ea819c35619d
parent 379375 f32cb099303d0fda48caa1f50237ca6de0f2acc9
child 379377 0362a10123ca2d81713ecef22da21511f635a80b
push id1419
push userjlund@mozilla.com
push dateMon, 10 Apr 2017 20:44:07 +0000
treeherdermozilla-release@5e6801b73ef6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmystor, lizzard
bugs1351702
milestone53.0
Bug 1351702 - Correct shouldLoadURI in tab-content.js to add aHasPostData argument. r=mystor, a=lizzard
browser/base/content/tab-content.js
--- a/browser/base/content/tab-content.js
+++ b/browser/base/content/tab-content.js
@@ -704,18 +704,18 @@ if (Services.appinfo.processType == Serv
 }
 
 var WebBrowserChrome = {
   onBeforeLinkTraversal(originalTarget, linkURI, linkNode, isAppTab) {
     return BrowserUtils.onBeforeLinkTraversal(originalTarget, linkURI, linkNode, isAppTab);
   },
 
   // Check whether this URI should load in the current process
-  shouldLoadURI(aDocShell, aURI, aReferrer, aTriggeringPrincipal) {
-    if (!E10SUtils.shouldLoadURI(aDocShell, aURI, aReferrer)) {
+  shouldLoadURI(aDocShell, aURI, aReferrer, aHasPostData, aTriggeringPrincipal) {
+    if (!E10SUtils.shouldLoadURI(aDocShell, aURI, aReferrer, aHasPostData)) {
       E10SUtils.redirectLoad(aDocShell, aURI, aReferrer, aTriggeringPrincipal, false);
       return false;
     }
 
     return true;
   },
 
   shouldLoadURIInThisProcess(aURI) {