Commit Graph

7175 Commits

Author SHA1 Message Date
sgjesse@google.com 44e5bc9bf9 Update language status file
Add issue numbers.

Change a test to not rely on the toString() value if a TypeError.

R=kustermann@google.com
BUG=

Review URL: https://codereview.chromium.org//23599002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26764 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 06:48:31 +00:00
ngeoffray@google.com 867e9d8bb4 Getters and setters must also be added to the list of intercepted names, to make invocations through Function.apply and mirrors know the right calling convetion.
R=ahe@google.com

Review URL: https://codereview.chromium.org//23477003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26763 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 06:25:34 +00:00
blois@google.com 38047d896e Fixing custom/created_callback test for Safe HTML
TBR
BUG=

Review URL: https://codereview.chromium.org//23495005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26762 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 02:49:47 +00:00
blois@google.com 42b7e14b5e Further fixes from Safe HTML integration
The table construction tests are failing on IE9 because innerHTML isn't supported on IE9

The png_layout test (only run on Dartium) is failing because inline styles are not supported by default.

BUG=

Review URL: https://codereview.chromium.org//23475003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26761 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 02:12:06 +00:00
blois@google.com 93c361dd36 This is an updated version of https://codereview.chromium.org/16374007/
Original submission is the first patch, fixes are the second.

There were two issues with the original-
  - Issue with URI sanitization where relative URIs on IE were being dropped.
  - Analyzer issue on missing members for CustomElement.

BUG=
R=jmesserly@google.com

Review URL: https://codereview.chromium.org//23525003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26757 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 01:03:01 +00:00
regis@google.com d552df1cbf Add a new language test failing in dart2js and analyzer.
Update status files (issues have been filed).

R=hausner@google.com

Review URL: https://codereview.chromium.org//23609006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26756 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 00:54:52 +00:00
blois@google.com a85f2a8d4c Changing onCreated callback to created.
Brings it in-line with the browser's createdCallback and Polymer's created. Avoid conflict with event names.

Dartium changes are https://codereview.chromium.org/23494005

BUG=
R=jacobr@google.com

Review URL: https://codereview.chromium.org//23451006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26754 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 23:51:42 +00:00
blois@google.com 7c393eb095 Adding support for cross-origin requests on IE9.
BUG=12728
R=efortuna@google.com

Review URL: https://codereview.chromium.org//23640003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26752 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 23:27:59 +00:00
hausner@google.com 3e9467672f Require case expressions to be compile-time constants
Remove legacy semantics in switch statement compilation.

Still to be added: analysis that all case expressions are
of the same type.

R=regis@google.com

Review URL: https://codereview.chromium.org//23640004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26749 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 23:07:59 +00:00
blois@google.com d48e7a0ded Fixing datalistelement test on Safari.
It's not supported on Safari, but this test wasn't actually exercising it so no failures.

BUG=12797
R=efortuna@google.com

Review URL: https://codereview.chromium.org//23631002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26748 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 22:33:56 +00:00
zra@google.com f088d812b1 Enables isolate and utils tests for arm and mips.
R=regis@google.com

Review URL: https://codereview.chromium.org//23506006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26745 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 20:59:52 +00:00
regis@google.com c726663bba Fix bad language test (issue 12757, 12758).
Update status files accordingly (new VM issue was filed).

R=srdjan@google.com

Review URL: https://codereview.chromium.org//23582004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26742 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 20:37:21 +00:00
ahe@google.com dfe322f515 Mark test as flaky.
Review URL: https://codereview.chromium.org//23450006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26733 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 18:12:38 +00:00
iposva@google.com 86acdcd44b - Fix expectations of "broken tests" now that the test is fixed.
Review URL: https://codereview.chromium.org//23622002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26732 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 17:48:29 +00:00
ahe@google.com 49dc9c3330 Omission from https://codereview.chromium.org/23595002/.
Review URL: https://codereview.chromium.org//23566003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26731 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 17:44:09 +00:00
mlippautz@google.com 817a6fff3a Implement ParameterMirror.{isFinal,hasDefaultValue,defaultValue}.
Fixes issue 12196 and partially addresses issue 12430.

BUG=
R=ahe@google.com, asiva@google.com, gbracha@google.com

Review URL: https://codereview.chromium.org//23020025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26730 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 17:31:09 +00:00
iposva@google.com 2125bde307 - These tests do not rely on --compile_all any longer.
Review URL: https://codereview.chromium.org//23543003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26727 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 17:22:06 +00:00
ahe@google.com 37a5567eb8 Triage Safari bug 7414.
BUG=http://dartbug.com/7414
R=floitsch@google.com, kustermann@google.com, srdjan@google.com

Review URL: https://codereview.chromium.org//23595002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26726 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 17:17:35 +00:00
iposva@google.com 0c1248f731 - Tests should not rely on --compile_all.
Review URL: https://codereview.chromium.org//23578003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26723 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 17:09:22 +00:00
hausner@google.com d2d2c45a90 Fix analyzer status file
Review URL: https://codereview.chromium.org//23617002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26722 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 17:08:09 +00:00
hausner@google.com c2fa1cf490 Add compilation error on named parameters with private names
Remove bogus test cases.

Fixes issue 5743, 3502

R=srdjan@google.com

Review URL: https://codereview.chromium.org//23478005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26719 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 16:41:33 +00:00
iposva@google.com c8b5aa1ee3 - Mark bad test.
Review URL: https://codereview.chromium.org//23583003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26715 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 15:36:48 +00:00
floitsch@google.com 1887b5ca49 Some more removals of dart:utf.
R=jmesserly@google.com, lrn@google.com, nweiz@google.com

Review URL: https://codereview.chromium.org//22909059

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26712 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 13:18:34 +00:00
floitsch@google.com f705792799 Fix typo in status file.
Review URL: https://codereview.chromium.org//23587003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26710 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 12:50:38 +00:00
whesse@google.com fd1a8cf947 Make dart:io SecureSocket builtin root certificate test more robust, merge test files.
BUG=dartbug.com/12770
R=sgjesse@google.com

Review URL: https://codereview.chromium.org//23583002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26709 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 12:22:17 +00:00
ngeoffray@google.com ef47fe5e96 Fix a bug where we would emit a noSuchMethod handler in the Object class for Object methods because of a selector with an empty receiver type, or an exact type for an abstract class.
R=ahe@google.com

Review URL: https://codereview.chromium.org//23225004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26706 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 11:27:40 +00:00
kustermann@google.com 45c42e08f2 Update checked-in binary to 0.6.21.3_r26639 (M6)
R=ricow@google.com

Review URL: https://codereview.chromium.org//23568002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26704 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 11:16:37 +00:00
lrn@google.com 88b242b66a Mark some tests as failing instead of skipping.
R=floitsch@google.com

Review URL: https://codereview.chromium.org//23550002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26698 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 09:26:10 +00:00
sgjesse@google.com 2697f79f20 Update language status file
Add some more issue numbers, remove duplicate entry and enable a
skipped test which was passing.

R=kustermann@google.com
BUG=

Review URL: https://codereview.chromium.org//23480003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26696 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 09:12:28 +00:00
kustermann@google.com 013ac3b1d1 Reland "Enable running multitests in browsers""
R=ricow@google.com

Review URL: https://codereview.chromium.org//23545003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26695 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 09:12:05 +00:00
ngeoffray@google.com f4a8a19944 Change compile time error into a warning and update multitest.
R=karlklose@google.com

Review URL: https://codereview.chromium.org//23498006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26694 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 08:55:21 +00:00
lrn@google.com 0fa1bbdf15 Reapply "Make Map constructors return LinkedHashMap."
Updated tests assuming a specific ordering of an unlinked hash map
to not be daft.

R=floitsch@google.com, jmesserly@google.com

Review URL: https://codereview.chromium.org//22859069

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26693 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 08:43:46 +00:00
ngeoffray@google.com 316b03ff50 Fix crash in compiler in the presence of "new library_prefix()".
R=johnniwinther@google.com

Review URL: https://codereview.chromium.org//23541003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26692 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 08:26:24 +00:00
sgjesse@google.com 64d153493e Fix merge error in r26686
TBR=kustermann@google.com
BUG=

Review URL: https://codereview.chromium.org//23536003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26687 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 07:14:09 +00:00
sgjesse@google.com 90aaa28b99 Rewrite test language/constructor_negative_test to a multi-test
R=ahe@google.com
BUG=http://dartbug.org/11586

Review URL: https://codereview.chromium.org//23403007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26686 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 06:38:17 +00:00
ngeoffray@google.com c9894c0373 Optimizations on String.concat and String.toString need to make sure the receiver is not null.
R=ahe@google.com

Review URL: https://codereview.chromium.org//23453003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26685 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 06:24:59 +00:00
ngeoffray@google.com 8cc5f2d767 Bugfix in the inferrer for named optional parameter.
R=ahe@google.com

Review URL: https://codereview.chromium.org//23450002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26684 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 06:24:43 +00:00
blois@google.com 24e9f22c90 Revert "First rev of Safe DOM"
This reverts commit 26681.

Some IE issues with URL validation that I need to investigate further.

BUG=

Review URL: https://codereview.chromium.org//23523002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26682 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 02:18:48 +00:00
blois@google.com 63ecf1a3fd First rev of Safe DOM
BUG=
R=jacobr@google.com, jmesserly@google.com

Review URL: https://codereview.chromium.org//16374007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26681 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 01:48:13 +00:00
rmacnak@google.com 92f8786e99 Remember metadata positions for mixin and function typedefs.
BUG=http://dartbug.com/10906
R=asiva@google.com, hausner@google.com

Review URL: https://codereview.chromium.org//23437007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26680 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 00:47:42 +00:00
regis@google.com 81bcb1f18a Distinguish between malformed and malbounded types (fix issues 12552 and 12554).
Add test.
Update status files.

Explanation of change: A malbounded type argument should not be mapped to
dynamic, as is a malformed type argument.
This change also adds a bunch of TODOs related to the encounter of malbounded
types in unexpected places.
A follow-up change will address these TODOs, add more tests, and may simplify
code that is still handling malformed types where they cannot occur anymore
after the spec simplified their handling.

R=hausner@google.com, srdjan@google.com

Review URL: https://codereview.chromium.org//23190035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26665 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 17:56:02 +00:00
mlippautz@google.com f937465cd6 Fix method_mirror_source test for analyzer.
BUG=

Review URL: https://codereview.chromium.org//22824048

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26663 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 17:40:09 +00:00
floitsch@google.com 8798b8ccb0 Mark audiobuffersourcenode_test as flaky.
Review URL: https://codereview.chromium.org//23075030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26661 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 17:25:31 +00:00
mlippautz@google.com b708a455d1 Fix Function.end_token_pos() and implement MethodMirror.source getter.
Move .source getter from ClosureMirror to MethodMirror (as the TODO already suggested) and provide an implementation.

BUG=
R=asiva@google.com, hausner@google.com

Review URL: https://codereview.chromium.org//23038010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26659 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 17:14:07 +00:00
ricow@google.com 7fcb07b740 Update language status for language/licm2_test on IE, it occasionally passes
R=kustermann@google.com

Review URL: https://codereview.chromium.org//23315004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26653 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 16:09:14 +00:00
floitsch@google.com a9cefff022 elementAt throws a RangeError not StateError.
Review URL: https://codereview.chromium.org//23429002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26651 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 14:56:26 +00:00
sgjesse@google.com de9740cd5e Update status file æanguage_dart2js.status
Add more issue numbers.

R=kustermann@google.com
BUG=

Review URL: https://codereview.chromium.org//23125025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26650 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 14:31:21 +00:00
sgjesse@google.com cda03252f6 Change the type of the pathSegments argument to the Uri constructor from List to Iterable
R=lrn@google.com
BUG=http://dartbug/11342

Review URL: https://codereview.chromium.org//22918029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26649 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 14:25:25 +00:00
kustermann@google.com 807685dcaa Revert "Enable running multitests in browsers"
R=ricow@google.com

Review URL: https://codereview.chromium.org//23201019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26648 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 14:20:57 +00:00
ricow@google.com 160c745a18 Readd reflect_core_vm test suppression.
This was accidentially removed in the refactor in revision 26638

Review URL: https://codereview.chromium.org//23075027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26643 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 12:29:45 +00:00