title: chrome.runtime.sendMessage is showing error "Message length exceeded maximum allowed length"
body: <p>When i am sending big size of json object from content.js to background.js usingchrome.runtime.sendMessage then showing error like :</p>
  
  <p><a href="https://i.stack.imgur.com/OHglN.png" rel="nofollow noreferrer">refer error image to see actual error message</a></p>
  
  <p>Error is : Uncaught Error: Message length exceeded maximum allowed length.</p>
  
  <p>if anybody know about how to increase sendmessage parameter maxsize in manifest.json file.</p>
  
  <p>Content.js</p>
  
  <pre><code>var ServerPath = "http://localhost:62513/api/account";
      chrome.runtime.sendMessage({
          method: 'POST',
          action: 'xhttp',
          url: ServerPath + "/rapdata",
          data: JSON.stringify({ data: data, fileName: fileName })
      }, function (responseText) {
          //alert(responseText);
          console.log("response of call saverapdata method");
          /*Callback function to deal with the response*/
      });
  </code></pre>
  
  <p>Background.js</p>
  
  <pre><code>chrome.runtime.onMessage.addListener(function (request, sender, callback) {
      console.log("background js onMessage call.");
      var resp = "done";
      if (request.action == "xhttp") {
          debugger;
          //alert(request.data);url: ServerPath + "/rapdata",
          var ServerPath = "http://localhost:62513/api/account";
          $.ajax({
              type: "POST",
              url: request.url,
              data: request.data,
              contentType: "application/json; charset=utf-8",
              dataType: "json",
              success: function (data) {
                  debugger;
                  console.log(data);
                  //alert("Data: " + data);
              },
              failure: function (response) {
                  debugger;
                  console.log(response);
                  ///alert(response.d);
              }
          });
          return true; // prevents the callback from being called too early on return
      }
  });
  </code></pre>