capability.policy.localfilelinks crashes tab on internals site
Categories
(Firefox :: Enterprise Policies, defect, P3)
Tracking
()
People
(Reporter: marcodifeo, Unassigned)
Details
Attachments
(1 file)
|
186.71 KB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0
Steps to reproduce:
I opened Firefox, and entered the complete url for an internal https://marktplatz.<xyz-internal>.de website. Then I pressed enter for load the website.
This happens on different computer, on different Firefox Browser (e.g. ESR 115.x)
It doesn't happen on Firefox ESR 91 and less.
We use Firefox with policies. When I remove the <xyz-internal>.de domain from the policy settings list of capability.policy.localfilelinks, the website shows up correctly
Actual results:
Firefox opens the website and immediately crashes. I can read "Der Tab ist gerade abgestürzt" (Gah. Your tab just crashed).
Expected results:
The Website should load correctly
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::Enterprise Policies' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•1 year ago
|
||
Marco, if possible can you please add the errors from Browser console. Thank you.
(In reply to Monica Chiorean from comment #2)
Marco, if possible can you please add the errors from Browser console. Thank you.
I don't know what I have to send, because the tab crashes immediately. I uploaded a crash report, is this enough?
https://crash-stats.mozilla.org/report/index/e3276d53-1338-4e74-84e1-ccfa00240216#tab-annotations
Comment 4•1 year ago
|
||
That does help.
We have a tool that helps us track down regressions. Is there any way you could see if it could be used to find when this broke?
Comment 5•1 year ago
|
||
Forgot the link:
https://mozilla.github.io/mozregression/
Unfortunately I can't recreate. Do you know if that website accesses a local file immediately on loading?
Comment 6•1 year ago
|
||
Looking at the crash report, we have bug 1834864 on file for this signature.
The problem started with Firefox Version 105 (105.0b1 is broken as well). Hopefully you have all the information you need for your investigation.
Kind Regards
Marco
Comment 9•1 year ago
|
||
I'm trying to reproduce and I'm trying to figure out why it happens when the page is loaded.
Do you have any insight into what this page is doing? Is it possible it's embedding a local PDF or something like that?
Comment 10•1 year ago
|
||
(Things I've tried are embedding a local PDF as an object as well as just linking to a local file)
| Reporter | ||
Comment 11•1 year ago
|
||
As I can see there is no PDF Download or anything like that. The website is more like a internal website for selling furniture. It is based on bootstrap and isn't that complex.
Comment 12•1 year ago
|
||
I'm at a loss as to what could be causing this.
Does that page maybe have an embedded PDF?
Can you try going to about:config
Setting:
pdfjs.disabled
to true and seeing if it stops the crash as well?
Updated•1 year ago
|
| Reporter | ||
Comment 13•1 year ago
|
||
Sorry for my delayed posting.
There is no PDF, it's just a simple site, that looks like an onlineshop for furniture in simple bootstrap back in 2015.
I found this at the end, that seems to initiate some kind of input fields.
$(document).ready(function() {
bsCustomFileInput.init();
});
Here is an overview of the linked JS files, maybe there is something special?
/lib/bootstrap/dist/css/bootstrap.min.css
/lib/font-awesome/css/all.min.css
/lib/bootstrap-select/dist/css/bootstrap-select.min.css
/lib/datatables.net-bs4/dataTables.bootstrap4.min.css
/lib/datatables-fixedheader/fixedHeader.dataTables.min.css
/lib/datatables.net-rowgroup/dataTables.rowGroup.css
/lib/lightbox2/css/lightbox.min.css
/lib/datatables-searchhighlight/dataTables.searchHighlight.css
/lib/jquery/jquery.min.js
/lib/bootstrap/dist/js/bootstrap.bundle.min.js
/lib/bootstrap-select/dist/js/bootstrap-select.min.js
/lib/font-awesome/js/all.min.js
/lib/datatables.net/jquery.dataTables.min.js
/lib/datatables.net-bs4/dataTables.bootstrap4.min.js
/lib/datatables-fixedheader/dataTables.fixedHeader.min.js
/lib/moment.js/moment-with-locales.min.js
/lib/datatables.net-moment/datetime-moment.js
/lib/datatables.net-rowGroup/dataTables.rowGroup.min.js
/lib/underscore.js/underscore-min.js
/lib/barcoder/barcoder.js
/lib/jquery-highlight/jquery.highlight.js
/lib/datatables-searchhighlight/dataTables.searchHighlight.min.js
/lib/bs-custom-file-input/bs-custom-file-input.min.js
/lib/lightbox2/js/lightbox.min.js
/lib/jsbarcode/JsBarcode.itf.min.js
/lib/jquery-validation/dist/jquery.validate.min.js
/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js
/lib/jquery-validation/localization/messages_de.js
/bundles/all.min.js
<script defer type="text/javascript">
$(document).ready(function() {
bsCustomFileInput.init();
});
</script>
$(document).ready(function() {
Registration.setupIndexRegistration();
});
Updated•1 year ago
|
| Reporter | ||
Comment 14•1 year ago
|
||
Do you have any further information or is there anything I can provide to dig deeper where the problem comes from?
Comment 15•1 year ago
|
||
Can you check if this happens with the Firefox that is being released today (128)
| Reporter | ||
Comment 16•1 year ago
|
||
Yes, I was on the way to try it, before you wrote.
The tab crashes even with 128.0 ESR. Same here, when I remove domain from LocalFileLinks everything works just fine
Comment 17•1 year ago
|
||
I just realized I didn't properly look at that mozregression log.
It has
Narrowed nightly regression window from [2022-08-01, 2022-08-05] (4 days) to [2022-08-03, 2022-08-05] (2 days) (~1 steps left)
Which is the best we'll be able to do. I'm going to start looking at those patches manually.
If you don't mind, If you could rerun mozregression, you can set the dates as August 1, 2022 and August 6, 2022 and it should go fast.
There will be a URL in the upper right box for hg.mozilla.org that has a from= and to= in the URL.
that will allow me to look a little quicker.
Comment 18•1 year ago
|
||
| Reporter | ||
Comment 19•1 year ago
|
||
Is it possible to get closer to the commit with mozregression anyhow?
I don't mind if it takes longer, when it helps to enclose the bug.
| Reporter | ||
Comment 20•1 year ago
|
||
That pushlog url was from the last (good) entry.
The same url from the bad version with the date 2022-08-04 is https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=cfd741e376c8b1044961dc605fb594edc28e798c&tochange=306869bdfd8ec55b1698459b6ab3dddf212b1906
| Reporter | ||
Comment 21•1 year ago
|
||
(In reply to Marco from comment #20)
That pushlog url was from the last (good) entry.
The same url from the bad version with the date 2022-08-04 is https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=cfd741e376c8b1044961dc605fb594edc28e798c&tochange=306869bdfd8ec55b1698459b6ab3dddf212b1906
After confusing myself... Here the correct order (sry).
Bisecting on Mozilla central (2022-08-01 - 2022-08-06)
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=cfd741e376c8b1044961dc605fb594edc28e798c&tochange=a0bd6ca359cec17e67e2d2671376b9c86d990c06
Tested mozilla-central Build: 2022-08-04 (verdict.b)
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=cfd741e376c8b1044961dc605fb594edc28e798c&tochange=306869bdfd8ec55b1698459b6ab3dddf212b1906
Tested mozilla-central Build: 2022-08-03 (verdict.g)
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=ae4cb105d717e490f8a2d71c996a05c76dba63bc&tochange=306869bdfd8ec55b1698459b6ab3dddf212b1906
Comment 22•1 year ago
|
||
This has been helpful. I've posted come comments in bug 1834864 that hopefully will point to a cause.
| Reporter | ||
Comment 23•1 year ago
|
||
Thank you, so we'll see if someone finds this bug. I try to find a way to reproduce this bug on a public Server somehow.
Comment 24•1 year ago
|
||
Can you check a current nightly build and see if you can still recreate?
| Reporter | ||
Comment 25•1 year ago
|
||
Hey Mike,
I check the current nightly build and it is resolved. Thank you and your team so much for your great work.
Is this change commited to the ESR Version as well, like 128.1 oder 128.2?
Kind Regards
Marco
Comment 26•1 year ago
|
||
I'm going to get it uplifted. Probably 128.2
Updated•1 year ago
|
Description
•