mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 12:48:10 +00:00
e360f87504
When the receiver parameter is inserted at the front of the parameter list, some parameters may have already been inserted and others will be inserted later. If none have already been inserted, then the subsequent parameters were being inserted in front of the receiver parameter. This is fixed by marking the receiver as the lastAddedParameter if it is the only one. This did not seem to affect 'this', presumably because the position of 'this' is immaterial since it is always removed from the JS function parameters. R=sigmund@google.com Review URL: https://codereview.chromium.org//1066303002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45048 260f80e4-7a28-3924-810f-c04153c831b5
23 lines
730 B
HTML
23 lines
730 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="dart.unittest" content="full-stack-traces">
|
|
<title> custom_elements_23127_test </title>
|
|
<style>
|
|
.unittest-table { font-family:monospace; border:1px; }
|
|
.unittest-pass { background: #6b3;}
|
|
.unittest-fail { background: #d55;}
|
|
.unittest-error { background: #a11;}
|
|
</style>
|
|
<script src="/packages/web_components/webcomponents.js"></script>
|
|
<script src="/packages/web_components/dart_support.js"></script>
|
|
</head>
|
|
<body>
|
|
<h1> Running custom_elements_23127_test </h1>
|
|
<script type="text/javascript"
|
|
src="/root_dart/tools/testing/dart/test_controller.js"></script>
|
|
%TEST_SCRIPTS%
|
|
</body>
|
|
</html>
|