summaryrefslogtreecommitdiffstats
path: root/third_party/npapi/bindings
diff options
context:
space:
mode:
authorericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-04 00:05:20 +0000
committerericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-04 00:05:20 +0000
commitc6ba2ce4faac672e685ee3ac3765c818cbe4dc90 (patch)
treeec9e7809c1816d0d558df905edd617a9b0887b94 /third_party/npapi/bindings
parenteed9b070b545c0ae905cc8e5d32ff7c3a58b477c (diff)
downloadchromium_src-c6ba2ce4faac672e685ee3ac3765c818cbe4dc90.zip
chromium_src-c6ba2ce4faac672e685ee3ac3765c818cbe4dc90.tar.gz
chromium_src-c6ba2ce4faac672e685ee3ac3765c818cbe4dc90.tar.bz2
Fix error being thrown in isInNet() PAC js.
Mozilla is using notation which treats regexp like a function: var regex = /foo/; var result = regex("str"); However v8 does not allow this (nor does IE), so we rewrite it in standard form: var regex = /foo/; var result = regex.exec("str") Also finishes off the tests in pac_library_unittest.js. I didn't test every single permutation of dateRange() and timeRange() as there are way too many; but did hit most common flavors. BUG=2764 Review URL: http://codereview.chromium.org/40006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10843 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/npapi/bindings')
0 files changed, 0 insertions, 0 deletions