New issue
Advanced search Search tips

Issue 891526 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Oct 12
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Blocking:
issue 644030



Sign in to add a comment

PAC script fails to be parsed when it starts with a BOM

Project Member Reported by eroman@chromium.org, Oct 2

Issue description

(This continues the problem reported in comments #9 and #11 of  Issue 886578 )

The user's PAC script failed to execute in Chrome with:

PAC_JAVASCRIPT_ERROR
--> line_number = 1
--> message = "Uncaught SyntaxError: Invalid or unexpected token"

The PAC file in question starts with a UTF-8 BOM (0xef, 0xbb, 0xbf).

The server in question sending this response is Microsoft-IIS/7.5, so this will be affecting other users. Chrome should be able to correctly detect the encoding.

This may be a regression, as the user notes this broke with Chrome 69.
 
Blocking: 644030
Labels: -Type-Bug-Regression Type-Bug
Status: Started (was: Assigned)
This doesn't appear to be a regression -- Chrome 68 doesn't support BOM in PAC file either.

(But is a bug nonetheless as the system resolver handles BOM)
Status: Fixed (was: Started)
Is there an update on this, as my company is asking users to change there shortcuts to add --winhttp-proxy-resolver on it.
The fix is in Chrome 72, which should reach stable channel in the of January.
Thank you for this information, will pass this on. As it is getting really hard to have to keep closing and reopen chrome and a page does not want to load, but will load just fine in IE.

Is there anything else you need to help further investigate this??
You could confirm whether Chrome 72 fixes the issue for you.
You can test Chrome 72 using the Dev channel:

https://www.google.com/chrome/dev/?platform=win64

Sign in to add a comment