<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">forwarding this along to Firefox Dev for your amusement and delight.<br><div><br><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; color:rgba(0, 0, 0, 1.0);"><b>From: </b></span><span style="font-family:'Helvetica';">Bradford Lassey<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; color:rgba(0, 0, 0, 1.0);"><b>Subject: </b></span><span style="font-family:'Helvetica';"><b>network channel priorities</b><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; color:rgba(0, 0, 0, 1.0);"><b>Date: </b></span><span style="font-family:'Helvetica';">January 14, 2014 at 14:21:08 EST<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; color:rgba(0, 0, 0, 1.0);"><b>To: </b></span><span style="font-family:'Helvetica';"><a href="mailto:mobile-firefox-dev@mozilla.org">mobile-firefox-dev@mozilla.org</a><br></span></div><br><div>
  

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  
  <div bgcolor="#FFFFFF" text="#000000">
    Jason Duel called out in the platform engineering meeting that we
    have the ability (and should use it) to set priorities on channels.
    Specifically he called out bug 802573, where loading favicons was
    getting in the way of loading pages, but suggested it be used
    anywhere where we're loading something over the network that the
    user isn't specifically waiting for.<br>
    <br>
    Code for setting it looks like this:
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <pre>priorityChannel->AdjustPriority(nsISupportsPriority::PRIORITY_LOWEST);</pre>
    where <tt>priorityChannel</tt> is an instance of
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    nsISupportsPriority.<br>
    <br>
    -Brad<br>
  </div>

_______________________________________________<br>mobile-firefox-dev mailing list<br><a href="mailto:mobile-firefox-dev@mozilla.org">mobile-firefox-dev@mozilla.org</a><br>https://mail.mozilla.org/listinfo/mobile-firefox-dev<br></div></blockquote></div><br></body></html>