Created attachment 8877530 [details] fftest-master.zip User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0 Build ID: 20170608105825 Steps to reproduce: 1. Download extension from attach and extract this 2. In about:addons choose extension debuggind and then select load temporary extension 3. Goto https://bugzilla.mozilla.org/ and open console Actual results: In the console, we see that the order of loading scripts that is specified in the content_scripts is violated: 1.js 2.js 4.js 5.js 3.js 6.js 7.js ----------------- Expected results: Expected Result: 1.js 2.js 3.js 4.js 5.js 6.js 7.js -----------------
I see this situation in 54.0, but it works in 55b1 and 56.0a1 (2017-06-14).
The only guarantee is that content scripts in each declaration will load in the order that they're listed. Unrelated content scripts are free to be interleaved.