mirror of
https://github.com/mozilla-firefox/firefox.git
synced 2026-06-14 02:14:57 -05:00
Added a tooltip to the Priority column to show final priority. Added getRequestPriorityAsNumber function to convert HAR priority string back into a value. Update representation of the priority value of a resource when it changes. Added field priority to HAR file export and importing. Linting wants double quotes. priority **needs** to be gathered first before assigning into resource. Check if the priority has changed to decide if Priority should re-render. Added test to check priority of images above and below the fold. Changed test HTML file into a hand written example with some explanation. Guard against null priority when updating it. Use isInteger to check priority is really a number. We do not want to overwrite priority with "undefined". Defer setting up the first test image a little bit, but do not check its priority. Test HTML needs to be large. Differential Revision: https://phabricator.services.mozilla.com/D287020