| Index: test/webkit/fast/js/regexp-bol-expected.txt
|
| diff --git a/test/webkit/function-prototype-descriptor-expected.txt b/test/webkit/fast/js/regexp-bol-expected.txt
|
| similarity index 60%
|
| copy from test/webkit/function-prototype-descriptor-expected.txt
|
| copy to test/webkit/fast/js/regexp-bol-expected.txt
|
| index c9a1090fd651d8d859f5ce501b734b036a5eaf96..8d045ea30e642b32ba58844322ca92f3690f803c 100644
|
| --- a/test/webkit/function-prototype-descriptor-expected.txt
|
| +++ b/test/webkit/fast/js/regexp-bol-expected.txt
|
| @@ -21,21 +21,32 @@
|
| # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
| # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| -Test for function.prototype's property descriptor.
|
| +Test for beginning of line (BOL or ^) matching
|
|
|
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
| -PASS descriptor['writable'] is true
|
| -PASS descriptor['enumerable'] is false
|
| -PASS descriptor['configurable'] is false
|
| -PASS descriptor['writable'] is true
|
| -PASS descriptor['enumerable'] is false
|
| -PASS descriptor['configurable'] is false
|
| -PASS Object.defineProperty(c, 'prototype', { get: function(){} }) threw exception TypeError: Cannot redefine property: prototype.
|
| -PASS descriptor['writable'] is true
|
| -PASS descriptor['enumerable'] is false
|
| -PASS descriptor['configurable'] is false
|
| +PASS s.match(/^notHere/) is null
|
| +PASS s.match(/^abc/) is ["abc"]
|
| +PASS s.match(/(^|X)abc/) is ["abc",""]
|
| +PASS s.match(/^longer|123/) is ["123"]
|
| +PASS s.match(/(^abc|c)123/) is ["abc123","abc"]
|
| +PASS s.match(/(c|^abc)123/) is ["abc123","abc"]
|
| +PASS s.match(/(^ab|abc)123/) is ["abc123","abc"]
|
| +PASS s.match(/(bc|^abc)([0-9]*)a/) is ["bc789a","bc","789"]
|
| +PASS /(?:(Y)X)|(X)/.exec("abc") is null
|
| +PASS /(?:(?:^|Y)X)|(X)/.exec("abc") is null
|
| +PASS /(?:(?:^|Y)X)|(X)/.exec("abcd") is null
|
| +PASS /(?:(?:^|Y)X)|(X)/.exec("Xabcd") is ["X",undefined]
|
| +PASS /(?:(?:^|Y)X)|(X)/.exec("aXbcd") is ["X","X"]
|
| +PASS /(?:(?:^|Y)X)|(X)/.exec("abXcd") is ["X","X"]
|
| +PASS /(?:(?:^|Y)X)|(X)/.exec("abcXd") is ["X","X"]
|
| +PASS /(?:(?:^|Y)X)|(X)/.exec("abcdX") is ["X","X"]
|
| +PASS /(?:(?:^|Y)X)|(X)/.exec("YXabcd") is ["YX",undefined]
|
| +PASS /(?:(?:^|Y)X)|(X)/.exec("aYXbcd") is ["YX",undefined]
|
| +PASS /(?:(?:^|Y)X)|(X)/.exec("abYXcd") is ["YX",undefined]
|
| +PASS /(?:(?:^|Y)X)|(X)/.exec("abcYXd") is ["YX",undefined]
|
| +PASS /(?:(?:^|Y)X)|(X)/.exec("abcdYX") is ["YX",undefined]
|
| PASS successfullyParsed is true
|
|
|
| TEST COMPLETE
|
|
|