servo/resources
Sam Gibson 732ae5714f Fix the parsing of the chromium HSTS preload list
Urg! The Chromium HSTS preload JSON file contains single line comments. Previously these were filtered out with a very simple regex that just looked for '//' and removed the line. Now the file has added a couple fields that have URLs in them that were erroneously removed and caused the JSON parsing to fail. This commit slightly complicates the regex to fix this specific problem.

If this happens again, it's likely worth it to figure out how to use a real parser to remove the comments.

servo/servo#8760
2015-12-02 15:36:38 +11:00
..
ahem
user-agent-js
ahem.css
android_params
badcert.html
badcert.jpg
cert-google-only
certs
failure.html
hsts_preload.json Fix the parsing of the chromium HSTS preload list 2015-12-02 15:36:38 +11:00
iso-8859-8.css
itried.jpg Moving Servo's cry message! 2015-11-23 02:52:38 +05:30
not-found.html Redirect to an error page when file's not found 2015-11-26 11:20:42 +05:30
prefs.json Change default homepage to servo.org 2015-11-18 12:57:06 +00:00
presentational-hints.css
quirks-mode.css
quotes.css
rippy.png Use the correct .png extension for the image placeholder. 2015-11-13 11:45:09 -08:00
servo.css
tumbeast.png Redirect to an error page when file's not found 2015-11-26 11:20:42 +05:30
user-agent.css