mirror of
https://github.com/google/pebble.git
synced 2025-06-03 08:43:12 +00:00
Import of the watch repository from Pebble
This commit is contained in:
commit
3b92768480
10334 changed files with 2564465 additions and 0 deletions
17
third_party/jerryscript/tests/jerry/fail/1/arguments-assignment-strict.js
vendored
Normal file
17
third_party/jerryscript/tests/jerry/fail/1/arguments-assignment-strict.js
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
// Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
"use strict"
|
||||
|
||||
arguments = 1;
|
17
third_party/jerryscript/tests/jerry/fail/1/arguments-catch-strict.js
vendored
Normal file
17
third_party/jerryscript/tests/jerry/fail/1/arguments-catch-strict.js
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
// Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
"use strict"
|
||||
|
||||
try{}catch(arguments){};
|
17
third_party/jerryscript/tests/jerry/fail/1/arguments-in-prop-set-param-list-strict.js
vendored
Normal file
17
third_party/jerryscript/tests/jerry/fail/1/arguments-in-prop-set-param-list-strict.js
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
// Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
"use strict"
|
||||
|
||||
var a = { set a(arguments) {} };
|
17
third_party/jerryscript/tests/jerry/fail/1/arguments-in-var-decl-strict.js
vendored
Normal file
17
third_party/jerryscript/tests/jerry/fail/1/arguments-in-var-decl-strict.js
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
// Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
"use strict"
|
||||
|
||||
var arguments;
|
17
third_party/jerryscript/tests/jerry/fail/1/arguments-param-strict.js
vendored
Normal file
17
third_party/jerryscript/tests/jerry/fail/1/arguments-param-strict.js
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
// Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
"use strict"
|
||||
|
||||
function f(arguments) {}
|
17
third_party/jerryscript/tests/jerry/fail/1/arguments-postfix-strict.js
vendored
Normal file
17
third_party/jerryscript/tests/jerry/fail/1/arguments-postfix-strict.js
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
// Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
"use strict"
|
||||
|
||||
arguments++;
|
17
third_party/jerryscript/tests/jerry/fail/1/arguments-prefix-strict.js
vendored
Normal file
17
third_party/jerryscript/tests/jerry/fail/1/arguments-prefix-strict.js
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
// Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
"use strict"
|
||||
|
||||
++arguments;
|
17
third_party/jerryscript/tests/jerry/fail/1/delete-strict.js
vendored
Normal file
17
third_party/jerryscript/tests/jerry/fail/1/delete-strict.js
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
// Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
"use strict"
|
||||
|
||||
delete a;
|
15
third_party/jerryscript/tests/jerry/fail/1/escape-sequences-invalid-hex.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry/fail/1/escape-sequences-invalid-hex.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
var str = '\x5t';
|
15
third_party/jerryscript/tests/jerry/fail/1/escape-sequences-invalid-unicode.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry/fail/1/escape-sequences-invalid-unicode.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
var str = '\u004t';
|
15
third_party/jerryscript/tests/jerry/fail/1/escape-sequences-invalid-variable.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry/fail/1/escape-sequences-invalid-variable.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
var a\u0028bcd;
|
17
third_party/jerryscript/tests/jerry/fail/1/eval-assignment-strict.js
vendored
Normal file
17
third_party/jerryscript/tests/jerry/fail/1/eval-assignment-strict.js
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
// Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
"use strict"
|
||||
|
||||
eval = 1;
|
17
third_party/jerryscript/tests/jerry/fail/1/eval-catch-strict.js
vendored
Normal file
17
third_party/jerryscript/tests/jerry/fail/1/eval-catch-strict.js
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
// Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
"use strict"
|
||||
|
||||
try{}catch(eval){};
|
17
third_party/jerryscript/tests/jerry/fail/1/eval-in-prop-set-param-list-strict.js
vendored
Normal file
17
third_party/jerryscript/tests/jerry/fail/1/eval-in-prop-set-param-list-strict.js
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
// Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
"use strict"
|
||||
|
||||
var a = { set a(eval) {} };
|
17
third_party/jerryscript/tests/jerry/fail/1/eval-in-var-decl-strict.js
vendored
Normal file
17
third_party/jerryscript/tests/jerry/fail/1/eval-in-var-decl-strict.js
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
// Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
"use strict"
|
||||
|
||||
var eval;
|
17
third_party/jerryscript/tests/jerry/fail/1/eval-param-strict.js
vendored
Normal file
17
third_party/jerryscript/tests/jerry/fail/1/eval-param-strict.js
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
// Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
"use strict"
|
||||
|
||||
function f(eval) {}
|
17
third_party/jerryscript/tests/jerry/fail/1/eval-postfix-strict.js
vendored
Normal file
17
third_party/jerryscript/tests/jerry/fail/1/eval-postfix-strict.js
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
// Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
"use strict"
|
||||
|
||||
eval++;
|
17
third_party/jerryscript/tests/jerry/fail/1/eval-prefix-strict.js
vendored
Normal file
17
third_party/jerryscript/tests/jerry/fail/1/eval-prefix-strict.js
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
// Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
"use strict"
|
||||
|
||||
++eval;
|
19
third_party/jerryscript/tests/jerry/fail/1/func-expr-strict.js
vendored
Normal file
19
third_party/jerryscript/tests/jerry/fail/1/func-expr-strict.js
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
"use strict";
|
||||
|
||||
(function () {
|
||||
var let = 1;
|
||||
})();
|
26
third_party/jerryscript/tests/jerry/fail/1/labelled-statements-break-across-function.js
vendored
Normal file
26
third_party/jerryscript/tests/jerry/fail/1/labelled-statements-break-across-function.js
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
// Copyright 2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
a: for (var i = 0; i < 10; i++)
|
||||
{
|
||||
function f ()
|
||||
{
|
||||
for (var j = 0; n < 10; j++)
|
||||
{
|
||||
break a;
|
||||
}
|
||||
}
|
||||
|
||||
f ();
|
||||
}
|
18
third_party/jerryscript/tests/jerry/fail/1/labelled-statements-duplicate-label.js
vendored
Normal file
18
third_party/jerryscript/tests/jerry/fail/1/labelled-statements-duplicate-label.js
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
// Copyright 2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
a: a: for (var i = 0; i < 10; i++)
|
||||
{
|
||||
break a;
|
||||
}
|
18
third_party/jerryscript/tests/jerry/fail/1/labelled-statements-no-label.js
vendored
Normal file
18
third_party/jerryscript/tests/jerry/fail/1/labelled-statements-no-label.js
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
// Copyright 2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
for (var i = 0; i < 10; i++)
|
||||
{
|
||||
break a;
|
||||
}
|
17
third_party/jerryscript/tests/jerry/fail/1/let-strict.js
vendored
Normal file
17
third_party/jerryscript/tests/jerry/fail/1/let-strict.js
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
// Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
"use strict"
|
||||
|
||||
var let = 1;
|
15
third_party/jerryscript/tests/jerry/fail/1/object-get-data.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry/fail/1/object-get-data.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
var a = {a:1, get a() {return 1}}
|
15
third_party/jerryscript/tests/jerry/fail/1/object-get-get.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry/fail/1/object-get-get.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
var a = {get a() {return undefined}, get a() {return undefined}}
|
17
third_party/jerryscript/tests/jerry/fail/1/object-several-prop-names-strict.js
vendored
Normal file
17
third_party/jerryscript/tests/jerry/fail/1/object-several-prop-names-strict.js
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
// Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
"use strict"
|
||||
|
||||
var a = {a:1, a:2};
|
17
third_party/jerryscript/tests/jerry/fail/1/octal-strict.js
vendored
Normal file
17
third_party/jerryscript/tests/jerry/fail/1/octal-strict.js
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
// Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
"use strict"
|
||||
|
||||
var a = 07;
|
17
third_party/jerryscript/tests/jerry/fail/1/param-duplication-strict.js
vendored
Normal file
17
third_party/jerryscript/tests/jerry/fail/1/param-duplication-strict.js
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
// Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
"use strict"
|
||||
|
||||
function f(a, a) {}
|
20
third_party/jerryscript/tests/jerry/fail/1/regression-test-issue-358.js
vendored
Normal file
20
third_party/jerryscript/tests/jerry/fail/1/regression-test-issue-358.js
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
// Copyright 2016 Samsung Electronics Co., Ltd.
|
||||
// Copyright 2016 University of Szeged.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
label_0:
|
||||
if (false)
|
||||
do {
|
||||
continue label_0;
|
||||
} while (false);
|
29
third_party/jerryscript/tests/jerry/fail/1/regression-test-issue-384.js
vendored
Normal file
29
third_party/jerryscript/tests/jerry/fail/1/regression-test-issue-384.js
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
// Copyright 2016 Samsung Electronics Co., Ltd.
|
||||
// Copyright 2016 University of Szeged.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// Copyrnse.
|
||||
|
||||
'use stricto
|
||||
// C_pyrnsq.
|
||||
|
||||
'use strictI
|
||||
// Copyrnse. Functionn f_0(){
|
||||
'use strictT
|
||||
// Copyrnse.
|
||||
|
||||
'use strict)
|
||||
// Copyrnse.
|
||||
|
||||
'use strict;
|
16
third_party/jerryscript/tests/jerry/fail/1/throw-error-object.js
vendored
Normal file
16
third_party/jerryscript/tests/jerry/fail/1/throw-error-object.js
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
// Copyright 2016 Samsung Electronics Co., Ltd.
|
||||
// Copyright 2016 University of Szeged
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
throw new SyntaxError("error");
|
16
third_party/jerryscript/tests/jerry/fail/1/throw-number.js
vendored
Normal file
16
third_party/jerryscript/tests/jerry/fail/1/throw-number.js
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
// Copyright 2016 Samsung Electronics Co., Ltd.
|
||||
// Copyright 2016 University of Szeged
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
throw 0.1234;
|
16
third_party/jerryscript/tests/jerry/fail/1/throw-string.js
vendored
Normal file
16
third_party/jerryscript/tests/jerry/fail/1/throw-string.js
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
// Copyright 2016 Samsung Electronics Co., Ltd.
|
||||
// Copyright 2016 University of Szeged
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
throw "SyntaxError"
|
17
third_party/jerryscript/tests/jerry/fail/1/with-strict.js
vendored
Normal file
17
third_party/jerryscript/tests/jerry/fail/1/with-strict.js
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
// Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
"use strict"
|
||||
|
||||
with (Array) {}
|
Loading…
Add table
Add a link
Reference in a new issue