diff options
author | ggaren@apple.com <ggaren@apple.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2009-03-20 00:52:04 +0000 |
---|---|---|
committer | ggaren@apple.com <ggaren@apple.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2009-03-20 00:52:04 +0000 |
commit | 18dade120af29bb5090e5e3421a4af85d9ed6ab6 (patch) | |
tree | 216c674e0112cefc03f510e934bfbcbe62f398f2 /third_party/WebKit/LayoutTests/fast/js/regexp-overflow-expected.txt | |
parent | 6d17746f3aa29660fbecb27a26fc313d9ff2ec25 (diff) | |
download | chromium_src-18dade120af29bb5090e5e3421a4af85d9ed6ab6.zip chromium_src-18dade120af29bb5090e5e3421a4af85d9ed6ab6.tar.gz chromium_src-18dade120af29bb5090e5e3421a4af85d9ed6ab6.tar.bz2 |
JavaScriptCore:
2009-03-19 Cameron Zwarich <cwzwarich@uwaterloo.ca>
Reviewed by Geoff Garen.
Bug 23771: REGRESSION (r36016): JSObjectHasProperty freezes on global class without kJSClassAttributeNoAutomaticPrototype
<https://bugs.webkit.org/show_bug.cgi?id=23771>
<rdar://problem/6561016>
* API/tests/testapi.c:
(main): Add a test for this bug.
* runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::resetPrototype): Don't set the prototype of the
last object in the prototype chain to the object prototype when the
object prototype is already the last object in the prototype chain.
LayoutTests:
2009-03-19 Geoffrey Garen <ggaren@apple.com>
Reviewed by Oliver Hunt.
Fixed <rdar://problem/6279213> Regular expression run-time complexity
limit too low for long inputs (21485)
Added a test for a complex regexp match that should succeed, and one
that should fail.
* fast/js/regexp-overflow-expected.txt:
* fast/js/resources/regexp-overflow.js:
git-svn-id: svn://svn.chromium.org/blink/trunk@41849 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/js/regexp-overflow-expected.txt')
-rw-r--r-- | third_party/WebKit/LayoutTests/fast/js/regexp-overflow-expected.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/js/regexp-overflow-expected.txt b/third_party/WebKit/LayoutTests/fast/js/regexp-overflow-expected.txt index b680b49..620acda 100644 --- a/third_party/WebKit/LayoutTests/fast/js/regexp-overflow-expected.txt +++ b/third_party/WebKit/LayoutTests/fast/js/regexp-overflow-expected.txt @@ -12,6 +12,8 @@ PASS /[¡]{4,6}/.exec("¡¡¡¡").toString() is "¡¡¡¡" PASS /[¡]{1,100}[¡]{1,100}[¡]{1,100}[¡]{1,100}[¡]{1,100}[¡]{1,100}[¡]{1,100}[¡]{1,100}/.exec("¡¡¡¡¡¡¡¡").toString() is "¡¡¡¡¡¡¡¡" PASS /{([\D-\ca]]„£µ+?)}|[[\B-\u00d4]√π- ]]]{0,3}/i.exec("B√π- ]]").toString() is "B√π- ]]," PASS /|[x\B-\u00b5]/i.exec("").toString() is "" +PASS new RegExp(complexPattern).exec(complexInput)[0] is complexInput +PASS new RegExp(complexPattern + complexPattern).exec(complexInput + complexInput) is null PASS new RegExp(s); threw exception SyntaxError: Invalid regular expression: regular expression too large. PASS /(([ab]){30}){3360}/ threw exception SyntaxError: Invalid regular expression: regular expression too large. PASS /(([ab]){30}){0,3360}/ threw exception SyntaxError: Invalid regular expression: regular expression too large. |