Commit Graph

17607 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
sra@google.com bed52fac0d More efficient Int64 parsing and printing.
This replaces code that generates lots of temporary Int64 objects with
code that works almost entirely usings SMI values in local variables.
Printing generates numbers several digits at a time.

Speedup is 10x for parsing and 100x for printing on dart2js and a little over 5x each on the VM.

Printing produces hex digits in the same case as int.toString.

R=cbracken@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26760 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 01:34:06 +00:00
blois@google.com b576296c39 Fix for IE9 html/htmlcollection test with Safe HTML
Issue is that IE9 uses uppercase attribute name when it's a boolean attribute, so was getting stripped.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26759 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 01:33:57 +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 2cb45c9124 Suppressing exceptions in Dartium's dart:js usage
Trying to get code to start up clean with first-chance exceptions.

BUG=12548
R=jacobr@google.com, terry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26753 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 23:46:14 +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
nweiz@google.com 9300846114 Use filtered stacks in pub, barback, and watcher tests.
This also exposes more unittest stuff to users of scheduled_test.

R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26751 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 23:13:30 +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
pquitslund@google.com 2a88e8858b Improved comment handling (and misc. formatter fixes).
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26746 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 21:55:58 +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
alanknight@google.com 5a965b5a45 Resume testing message extraction on Windows after dart:io fix
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26744 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 20:50:55 +00:00
iposva@google.com d7aa93e0b3 - Remove support for the old "get foo()" - style syntax.
R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26743 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 20:47:14 +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 4a906ed952 Use quotes that Emacs can deal with.
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26738 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 19:16:20 +00:00
alanknight@google.com 4c5223f7a6 Switched Serialization identityMap to use a wrapper, not linear search.
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26737 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 19:08:00 +00:00
blois@google.com 43b08221c4 Fixing stack traces on IE10.
BUG=
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26735 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 18:35:08 +00:00
nweiz@google.com bec9ac685d Add an AssetStream class to Barback.
This makes it easier to create an asset from a stream of bytes.

R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26734 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 18:29:31 +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
sigmund@google.com a841cc9224 readd accidentally removed import.
Review URL: https://codereview.chromium.org//23619002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26729 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 17:25:10 +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
sigmund@google.com 6559184105 Fix read/write of binary assets in deploy
R=terry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26725 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 17:16:27 +00:00
terry@google.com d2bf47bef9 Moved test changes to dart-lang
BUG=
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26724 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 17:14:20 +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
alanknight@google.com 8da15c52f0 Remove hack for finding package-root in tests, now available in Platform
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26721 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 16:55:31 +00:00
alanknight@google.com 578d4c24e4 Change reflective serialization rules to be able to take type literals
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26720 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 16:53:42 +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 bd5851422f - Avoid doubly implementing Function.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26716 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 16:15:42 +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
kathyw@google.com 160c6b4621 mime library description
R=mcampione@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26713 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 14:27:46 +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 8921f4bbf9 Add utf package.
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26711 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 13:13:21 +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
floitsch@google.com 03dc7cd423 Create json package.
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26708 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 11:52:45 +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
johnmccutchan@google.com 794936d02e Remove LoadFieldInstr with no uses
R=fschneider@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26705 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 11:22:17 +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
fschneider@google.com d3b5da1335 Always generate full unoptimized code for intrinsified methods.
Until now, we skipped regular code generation for some intrinsics
because the body was unreachable (no slow case).

With inlining and optimizing those methods, we may need the 
unoptimized code for deoptimization support. Instead of deciding
case-by-case which of these methods may potentially deoptimize,
we always generate the full unoptimized code now, together
with the corresponding deoptimization info.

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26703 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 11:11:48 +00:00
lrn@google.com f02f2c0a6b Mark CustomIsolates test as potentially crashing.
Review URL: https://codereview.chromium.org//23572002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26702 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 10:41:25 +00:00