Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Chrome build likely broken #2220

Closed
semenko opened this issue Jul 14, 2015 · 1 comment
Closed

Chrome build likely broken #2220

semenko opened this issue Jul 14, 2015 · 1 comment
Assignees

Comments

@semenko
Copy link
Contributor

semenko commented Jul 14, 2015

FYI, @jsha -- it looks like 08a1f4a broke the Chrome build because of the unterminated:
<securecookie host="^\.paste2\.org$" name="^(?:__cfduid|__qca$" />

This throws:
Uncaught SyntaxError: Invalid regular expression: /^(?:__cfduid|__qca$/: Unterminated group

I'm guessing the version submitted to the Chrome store (and stuck) is broken (!)

  • We should fail more gracefully in Chrome if a rule is malformed.
  • We should expand tests to catch that.
@jsha jsha self-assigned this Jul 14, 2015
jsha added a commit that referenced this issue Jul 14, 2015
Also, expand trivial-validate to catch this case.
Fixes #2220
@jsha
Copy link
Member

jsha commented Jul 14, 2015

Good catch, thanks! Fixed and test added in #2222.

jcs added a commit to jcs/endless that referenced this issue Jul 15, 2015
jsha added a commit that referenced this issue Jul 15, 2015
Also, expand trivial-validate to catch this case.
Fixes #2220
jsha added a commit that referenced this issue Jul 15, 2015
This will help mitigate future bugs like
#2220, so an error processing a
single ruleset doesn't break the whole extension.
jcs added a commit to jcs/endless that referenced this issue Sep 12, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants