vsm@google.com
8480c79e54
Remove spawnDomIsolate code
...
This is more or less a straight remove of code. By disabling print and timers on background isolates in Dartium, we can get rid of the last vestiges of spawnDom*.
R=asiva@google.com
Review URL: https://codereview.chromium.org//25536007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28191 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 03:20:00 +00:00
efortuna@google.com
0b53b15b7d
"Reverting 28184"
...
TBR=blois
BUG=
Review URL: https://codereview.chromium.org//25785003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28186 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-02 22:13:16 +00:00
efortuna@google.com
837c6b6ee3
Move Point and Rect over to dart:math, to be re-exported by dart:html.
...
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org//25623002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28184 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-02 21:54:02 +00:00
blois@google.com
c801e99a65
Adding custom element lifecycle processing to all attribute modifiers.
...
This is needed for the custom element attributeChanged lifecycle event. It appears to be the same thing that V8 is currently doing.
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//25666008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28179 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-02 19:48:10 +00:00
blois@google.com
05bb03642d
Implementing CustomElement's attributeChanged callback in dart2js.
...
BUG=
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//25325004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28168 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-02 15:57:56 +00:00
kustermann@google.com
924c46f9ae
co19-roll to r607
...
R=kasperl@google.com
Review URL: https://codereview.chromium.org//25710002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28150 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-02 11:18:31 +00:00
kustermann@google.com
2deffe6dba
Annotated steps script support for none-dartium builder
...
R=kasperl@google.com
Review URL: https://codereview.chromium.org//25696002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28142 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-02 09:05:18 +00:00
kustermann@google.com
22d20313b4
Implement testing support for "--compiler=none --runtime=dartium"
...
This is implemented without the broken unittest-based wrapping of tests.
R=kasperl@google.com
Review URL: https://codereview.chromium.org//25514002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28141 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-02 07:37:50 +00:00
blois@google.com
1aa8a7be0e
Adding Element.created constructor and .created constructors to all subclasses. Also ensuring generative constructor for all superclasses.
...
This is for post-construction custom element creation.
Element.created is public, then the base classes of that get private ._created constructors.
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//24653006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28120 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-01 21:26:06 +00:00
blois@google.com
1cd1624b46
Fixing File API test.
...
This started failing from a chrome roll, and is now half-failing on the bots as the Chrome version upgrades. Appears that the EntryArray type was removed, so this adds it back.
BUG=
R=sra@google.com
Review URL: https://codereview.chromium.org//25603002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28118 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-01 21:09:57 +00:00
rmacnak@google.com
5f8eca4fc3
Remove NPObject from generated dart:html for Dartium.
...
R=asiva@google.com , vsm@google.com
Review URL: https://codereview.chromium.org//25405002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28117 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-01 20:51:31 +00:00
efortuna@google.com
d5212a6ac0
Make OptionElement construtor arguments named optional parameters.
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//25585002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28115 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-01 20:33:49 +00:00
kustermann@google.com
b470d2572a
Report MissingCompileTime errors on the VM, status file updates for the remaining issues
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//25229002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28043 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-30 08:37:59 +00:00
mlippautz@google.com
1941e151ea
Improve code coverage generation.
...
- Remove function name from output.
- Remove column from output (side effect: We can use fast version of
GetTokenLocation())
- Insert HANDLESCOPES
- Fold source file entries where easily possible, i.e., fold consecutive entries
created by functions in the same source file.
- Change format to
[{
"source": "...",
"hits": [<line>,<hitcount>, ...]
}, ... ]
BUG=
R=iposva@google.com
Review URL: https://codereview.chromium.org//24654003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28030 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 23:22:49 +00:00
efortuna@google.com
d06cbc3f28
Adjust HTTP Request docs.
...
BUG=
Review URL: https://codereview.chromium.org//25027005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28025 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 20:49:33 +00:00
ajohnsen@google.com
7cfda3591f
Let test-runner wait for stdout & stderr when running tests.
...
BUG=
R=kustermann@google.com
Review URL: https://codereview.chromium.org//24989004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28009 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 13:19:12 +00:00
danrubel@google.com
03461fba17
update build to modify 64 bit DartEditor.ini
...
This modifies the 64 bit DartEditor.ini files to increase the starting and maximum memory
BUG=dartbug.com/13580
R=devoncarew@google.com , ricow@google.com
Review URL: https://codereview.chromium.org//24596007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27967 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 18:31:07 +00:00
floitsch@google.com
2b550970e6
Run DOM callbacks in the zone they are coming from.
...
This CL is an adapted version of: https://chromiumcodereview.appspot.com/23054006/
R=blois@google.com
Review URL: https://codereview.chromium.org//24509004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27961 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 16:50:25 +00:00
kustermann@google.com
55e9dc75b4
test.py: Parse unittest-suite-{wait-for-done,success} messages in output of d8/jsshell/vm
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//24573003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27953 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 14:06:01 +00:00
floitsch@google.com
a24014ab08
Automatically append ".js" on spawnUri if we are running in JavaScript.
...
BUG= http://dartbug.com/9422
R=kasperl@google.com , kustermann@google.com
Review URL: https://codereview.chromium.org//24730002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27941 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 11:32:11 +00:00
blois@google.com
b73395196c
Fixing docs generation
...
From dartium revision, inlined createElement, so it's no longer getting this doc comment.
Also, this was recently made public as there are valid use cases for it, so the comment was misleading.
TBR
BUG=
Review URL: https://codereview.chromium.org//24571003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27923 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 23:29:15 +00:00
blois@google.com
354c4dd5ad
Revert "Revert "Start of dartium custom element lifecycle event support.""
...
Primary changes are that a fast-path has been added for the single-argument Document.createElement and the systemnative.py changes were split out to CL https://codereview.chromium.org/24661002/ .
This is dependent on https://codereview.chromium.org/24677002/
First patch is the original, second is the updates.
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//24491003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27921 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 23:15:09 +00:00
efortuna@google.com
c8fde9aa01
Fixed more HttpRequest documentation.
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//24670002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27912 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 21:03:00 +00:00
blois@google.com
f4734449cd
Emitting CustomElementCallbackDispatcher for all APIs impacting custom element lifecycle
...
This is part of getting custom element lifecycles working in Dart and follows the same model that V8 is using. Basically it ensures that the lifecycle events are processed after any operations which may have custom element side-effects.
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//24661002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27910 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 20:34:33 +00:00
efortuna@google.com
63f0ac715d
Adjust _chrome library name to point to correct file (_chrome.dart instead of chrome.dart).
...
BUG=
R=dgrove@google.com
Review URL: https://codereview.chromium.org//24438009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27909 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 20:31:46 +00:00
efortuna@google.com
f45e68f435
Adjusted HttpRequest documentation to discourage using open and send in simple cases.
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//24428003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27901 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 18:20:25 +00:00
efortuna@google.com
3854434797
Removed position and totalSize because HttpRequestProgressEvent has other fields that do the same thing.
...
Turns out position and totalSize were on Firefox 3 and earlier, but we don't
have to worry about backwards compatibility that far.
https://developer.mozilla.org/es/docs/XMLHttpRequest/Usar_XMLHttpRequest
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//24427003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27900 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 18:03:20 +00:00
blois@google.com
3fd115d5e3
Revert "Start of dartium custom element lifecycle event support."
...
This reverts commit 27718 to see if it gets performance back down.
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//24479002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27897 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 17:56:53 +00:00
jwren@google.com
7710f874e8
Add a flag to disable the reporting and generation of hints in the analyzer.
...
I have a pending cl (24454002) which would break the analyzer bot since hints will be generated on langage and co19 where the output is asserted to be clean.
R=ricow@google.com
Review URL: https://codereview.chromium.org//24449004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27891 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 16:37:37 +00:00
kustermann@google.com
766d8c6eea
test.py: Use *.precompiled.js in csp mode for customHtml tests as well
...
R=ahe@google.com
Review URL: https://codereview.chromium.org//24427005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27872 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 10:00:40 +00:00
dgrove@google.com
dcd741bd99
Move dart:chrome to dart:_chrome.
...
Turn off doc generation for dart:_chrome.
R=efortuna@google.com
Review URL: https://codereview.chromium.org//23654055
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27861 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 23:52:16 +00:00
efortuna@google.com
9c59a54913
"Reverting 27844"
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//24408004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27848 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 20:25:16 +00:00
blois@google.com
b5bc0e1367
- Fixing analyzer error on legacy custom element polyfill
...
- Adjsuting IE status (filed bug to investigate)
- Fixing polymer tests on Dartium
BUG=
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//24168006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27846 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 20:11:36 +00:00
efortuna@google.com
b7c5067cbc
Try caching attribute map to try to improve performance.
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//24267028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27844 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 19:52:06 +00:00
blois@google.com
209e413a5c
Retry of custom element lifecycle events.
...
First patch is the original, changes were:
- Shadow DOM upgrade landed as separate CL
- CustomElement polyfill wasn't always firing WebComponentsLoaded event (causing timeouts on FF and IE), fixed polyfill.
- Dartium test exclusions were not working
BUG=
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//23498053
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27841 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 19:14:16 +00:00
ahe@google.com
2fa6b681cf
Address comments from CL 23721012.
...
R=kustermann@google.com
Review URL: https://codereview.chromium.org//23726054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27816 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 13:07:02 +00:00
ahe@google.com
ab78c663ad
Generate out.precompiled.js, not precompiled.js.
...
BUG=http://dartbug.com/6880
R=kasperl@google.com , kustermann@google.com
Review URL: https://codereview.chromium.org//23721012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27813 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 12:04:49 +00:00
kustermann@google.com
ed3fe0161c
test.py: Support for CompileTimeError,RuntimeError,MissingRuntimeError,MissingCompiletimeError markers in status files
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//23702055
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27804 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 10:21:15 +00:00
asiva@google.com
928894a58c
- Added Dart_GetNativeIsolateData so that the bindings code can access the IsolateCurrentData
...
where possible without having to invoke Isolate::Current()
- Modified lookupWrapper to accept DartDOMData as a parameter so that the return to Dart functions
won't invoke Isolate::Current()
Some Dromaeo numbers before this change:
CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-attr getAttribute runs-per-second 1162.2
CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-attr element_property_access runs-per-second 1255.6
after this change:
CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-attr getAttribute runs-per-second 1237.6
CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-attr element_property_access runs-per-second 1385.4
R=rmacnak@google.com , vsm@google.com
Review URL: https://codereview.chromium.org//24376005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27789 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-23 23:53:39 +00:00
kevmoo@j832.com
784099d155
fix for XCode 5
...
also fixes 'Unknown Xcode Version' code path
BUG= https://code.google.com/p/dart/issues/detail?id=13492
R=kustermann@google.com
Review URL: https://codereview.chromium.org//23757062
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27752 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-23 11:08:12 +00:00
ahe@google.com
05a9a7834e
Emit CSP code in separate file.
...
R=kasperl@google.com
Review URL: https://codereview.chromium.org//24267004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27745 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-23 09:06:14 +00:00
blois@google.com
6def065afd
Revert "Dart2js support for custom element lifecycle events"
...
This reverts commit 27729. Shadow DOM polyfill appears to have regressed some tests and some issues are coming up with the browser controller.
BUG=
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//24251016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27730 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-21 00:46:48 +00:00
blois@google.com
fb8f32bcc4
Dart2js support for custom element lifecycle events
...
BUG=
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//24096027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27729 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-20 23:49:12 +00:00
blois@google.com
34f58a8209
Start of dartium custom element lifecycle event support.
...
These are the Dart repo changes paired with https://codereview.chromium.org/24294002/
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//23817006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27718 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-20 18:40:11 +00:00
asiva@google.com
ca128dea70
- Modify toDart to first do a simple lookup in the appropriate table before going down the templatized
...
morass of switch statements
- Add a returnToDart function so that the WeakPersistent Handle returned from a lookup/create of the wrapper
could be returned as is without the need to call Dart_handleFromWeakPersistentHandle
- Use Dart_SetDoubleReturnValue for doubles
some DromaeoDartium numbers before this change:
CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-query getElementsByTagName(div) runs-per-second 84240.6
CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-traverse nextSibling runs-per-second 207.91683326669332
CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-query getElementsByTagName(*) runs-per-second 69599.2
some DromaeoDartium numbers after this change:
CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-query getElementsByTagName(div) runs-per-second 104252.4
CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-traverse nextSibling runs-per-second 366.8
CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-query getElementsByTagName(*) runs-per-second 94922.6
R=rmacnak@google.com , vsm@google.com
Review URL: https://codereview.chromium.org//23681014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27710 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-20 16:25:12 +00:00
whesse@google.com
c41a588dc0
Disable 20s unittest timeout for docs_test and dartdoc_test.
...
Thes tests have started occationally timing out on the pub_linux buildbot.
BUG=
R=kustermann@google.com
Review URL: https://codereview.chromium.org//23465028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27658 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-19 13:25:36 +00:00
kustermann@google.com
be1fc8ad2d
co19-roll to r587
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//23437044
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27657 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-19 11:50:48 +00:00
ricow@google.com
8fb583f473
Archive cross compiled arm binaries to a revision specific file name
...
Also fetch that from the arm board.
I make another cl for pruning old builds
R=kustermann@google.com
Review URL: https://codereview.chromium.org//23702054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27649 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-19 09:18:20 +00:00
ricow@google.com
04e6c00f9b
Fix chrome bots to fetch the right dartium to run off.
...
Filed issue 13399
R=kustermann@google.com
Review URL: https://codereview.chromium.org//24084008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27597 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-18 09:23:10 +00:00
jacobr@google.com
cac607707a
Make Dart_ScriptGetTokenInfo account for line_offset() and col_offset()
...
Cleanup bugs in wrapExpressionAsClosure Fix bug in how setters were handled and filter out 'this' from local variables list.
BUG=
R=hausner@google.com
Review URL: https://codereview.chromium.org//23526056
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27581 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-17 20:52:22 +00:00