Closed Bug 1468963 Opened Last year Closed Last year

Dialog prompt displayed if the Autoconfig file is not correctly written

Categories

(Core :: AutoConfig (Mission Control Desktop), defect)

62 Branch
defect
Not set

Tracking

()

RESOLVED INVALID
Tracking Status
firefox62 --- affected

People

(Reporter: roxana.leitan, Assigned: mkaply)

References

Details

Attachments

(1 file)

Attached image error dialog prompt.png
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0
Build ID: 20180615100050

[Affected versions]:
Nightly 62.0a1

[Affected Platforms]:
Windows 10 x64, Mac OS X 10.13, Windows 7 x64

[Preconditions]:
1.Create a file named autoconfig.js in the location: 
C:\Program Files\Mozilla Firefox\defaults\pref
and add the following text to it: 
"pref("general.config.filename", "firefox.cfg");
pref("general.config.obscure_value", 0);
pref("general.config.sandbox_enabled", true);"

2.reate a file named firefox.cfg in the location: 
C:\Program Files\Firefox Nightly
and add the following text in it:
"//
pref(prefName, value);
* choose for a preference type = boolean, integer value
e.g. (pref("autoadmin.failover_to_cached", 2);

[Steps to reproduce]:
1.Launch Firefox

[Expected result]:
Firefox should be correctly opened, without any error dialog prompt displayed
Javascript errors should be displayed in the browser console

[Actual result]:
Error dialog prompt displayed (please see the attached screenshot)
I'm going to mark this as working as designed.

So we got rid of the error dialog in cases where there could be legacy applications (CCK2) that could cause errors when parsing, but in this case, this is a genuine problem with the API call, so displaying the error dialog is the correct thing.
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.