-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove the FIREFOX
build flag, since it's completely unused and simplify a couple of PDFJSDev
checks
#11489
Remove the FIREFOX
build flag, since it's completely unused and simplify a couple of PDFJSDev
checks
#11489
Conversation
/botio-linux test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.67.70.0:8877/5f06766655d1407/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.67.70.0:8877/5f06766655d1407/output.txt Total script time: 19.20 mins
Image differences available at: http://54.67.70.0:8877/5f06766655d1407/reftest-analyzer.html#web=eq.log |
2a7cc8e
to
558b520
Compare
/botio-windows test |
From: Bot.io (Windows)ReceivedCommand cmd_test from @timvandermeij received. Current queue size: 1 Live output at: http://54.215.176.217:8877/79117f5d7c2a4db/output.txt |
From: Bot.io (Windows)FailedFull output at http://54.215.176.217:8877/79117f5d7c2a4db/output.txt Total script time: 2.13 mins
Image differences available at: http://54.215.176.217:8877/79117f5d7c2a4db/reftest-analyzer.html#web=eq.log |
1767785
to
ff4a3c2
Compare
I should probably split out the third commit into a separate PR, since it's not directly relevant to the other changes.
However, I'm still on the fence about the above since running the telemetry code in other builds shouldn't break anything now. Obviously it's not necessary in e.g. |
If the pre-processor checks don't do anything because the telemetry reporting in |
I see. That sounds reasonable so we at least cover that code. |
ff4a3c2
to
c153428
Compare
After PR 9566, which removed all of the old Firefox extension code, the `FIREFOX` build flag is no longer used for anything. It thus seems to me that it should be removed, for a couple of reasons: - It's simply dead code now, which only serves to add confusion when looking at the `PDFJSDev` calls. - It used to be that `MOZCENTRAL` and `FIREFOX` was *almost* always used together. However, ever since PR 9566 there's obviously been no effort put into keeping the `FIREFOX` build flags up to date. - In the event that a new, Webextension based, Firefox addon is created in the future you'd still need to audit all `MOZCENTRAL` (and possibly `CHROME`) build flags to see what'd make sense for the addon.
This removes a couple of, thanks to preceeding code, unnecessary `typeof PDFJSDev` checks, and also fixes a couple of incorrectly implemented (my fault) checks intended for `TESTING` builds.
c153428
to
a399435
Compare
/botio-linux preview |
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.67.70.0:8877/ced65788429f9e8/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/ced65788429f9e8/output.txt Total script time: 1.75 mins Published |
/botio test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @timvandermeij received. Current queue size: 0 Live output at: http://54.67.70.0:8877/fd65f259152967c/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @timvandermeij received. Current queue size: 1 Live output at: http://54.215.176.217:8877/026689fcf5053e5/output.txt |
From: Bot.io (Windows)FailedFull output at http://54.215.176.217:8877/026689fcf5053e5/output.txt Total script time: 25.93 mins
Image differences available at: http://54.215.176.217:8877/026689fcf5053e5/reftest-analyzer.html#web=eq.log |
From: Bot.io (Linux m4)FailedFull output at http://54.67.70.0:8877/fd65f259152967c/output.txt Total script time: 60.00 mins |
/botio-linux test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.67.70.0:8877/8b3dea5a1e9e926/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.67.70.0:8877/8b3dea5a1e9e926/output.txt Total script time: 19.39 mins
Image differences available at: http://54.67.70.0:8877/8b3dea5a1e9e926/reftest-analyzer.html#web=eq.log |
Good clean-up! |
Remove the
FIREFOX
build flag, since it's completely unusedAfter PR 9566, which removed all of the old Firefox extension code, the
FIREFOX
build flag is no longer used for anything.It thus seems to me that it should be removed, for a couple of reasons:
PDFJSDev
calls.MOZCENTRAL
andFIREFOX
was almost always used together. However, ever since PR 9566 there's obviously been no effort put into keeping theFIREFOX
build flags up to date.MOZCENTRAL
(and possiblyCHROME
) build flags to see what'd make sense for the addon.Simplify, and tweak, a couple of
PDFJSDev
checksThis removes a couple of, thanks to preceeding code, unnecessary
typeof PDFJSDev
checks, and also fixes a couple of incorrectly implemented (my fault) checks intended forTESTING
builds.