Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Unified Diff: lib/runtime/dart_sdk.js

Side-by-side diff isn't available for this file because of its large size.
Issue 2214263005: Mark recursive_inheritance_test as passing (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Bumped pubspec Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « no previous file | pubspec.lock » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart_sdk.js
diff --git a/lib/runtime/dart_sdk.js b/lib/runtime/dart_sdk.js
index ba8b6dae427b9655c6726b3172e9b463a8ae3426..24ffb6c6e2b11a3700f63ad0c9968a7e39aa6d9c 100644
--- a/lib/runtime/dart_sdk.js
+++ b/lib/runtime/dart_sdk.js
@@ -8834,7 +8834,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
static _startWorker(functionName, uri, args, message, isSpawnUri, startPaused, replyPort, onError) {
if (args != null) args = ListOfString().from(args);
if (dart.test(_isolate_helper._globalState.isWorker)) {
- _isolate_helper._globalState.mainManager.postMessage(_isolate_helper._serializeMessage(dart.map({command: 'spawn-worker', functionName: functionName, args: args, msg: message, uri: uri, isSpawnUri: isSpawnUri, startPaused: startPaused, replyPort: replyPort}, core.String, dart.dynamic)));
+ _isolate_helper._globalState.mainManager.postMessage(_isolate_helper._serializeMessage(dart.map({command: 'spawn-worker', functionName: functionName, args: args, msg: message, uri: uri, isSpawnUri: isSpawnUri, startPaused: startPaused, replyPort: replyPort}, core.String, core.Object)));
} else {
_isolate_helper.IsolateNatives._spawnWorker(functionName, uri, args, message, isSpawnUri, startPaused, replyPort, onError);
}
@@ -8899,7 +8899,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
o.nextManagerId = dart.notNull(workerId) + 1;
_isolate_helper.IsolateNatives.workerIds.set(worker, workerId);
_isolate_helper._globalState.managers[dartx.set](workerId, worker);
- worker.postMessage(_isolate_helper._serializeMessage(dart.map({command: 'start', id: workerId, replyTo: _isolate_helper._serializeMessage(replyPort), args: args, msg: _isolate_helper._serializeMessage(message), isSpawnUri: isSpawnUri, startPaused: startPaused, functionName: functionName}, core.String, dart.dynamic)));
+ worker.postMessage(_isolate_helper._serializeMessage(dart.map({command: 'start', id: workerId, replyTo: _isolate_helper._serializeMessage(replyPort), args: args, msg: _isolate_helper._serializeMessage(message), isSpawnUri: isSpawnUri, startPaused: startPaused, functionName: functionName}, core.String, core.Object)));
}
static workerOnError(event, uri, onError) {
event.preventDefault();
@@ -9009,7 +9009,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
super.new(isolateId);
}
send(message) {
- let workerMessage = _isolate_helper._serializeMessage(dart.map({command: 'message', port: this, msg: message}, core.String, dart.dynamic));
+ let workerMessage = _isolate_helper._serializeMessage(dart.map({command: 'message', port: this, msg: message}, core.String, core.Object));
if (dart.test(_isolate_helper._globalState.isWorker)) {
_isolate_helper._globalState.mainManager.postMessage(workerMessage);
} else {
@@ -34903,7 +34903,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
}
return false;
}
- dart.fn(containsDate, dynamicTodynamic$());
+ dart.fn(containsDate, dynamicTobool$());
if (dart.test(containsDate(nativeKey))) {
dart.throw(new core.UnimplementedError('Key containing DateTime'));
}
« no previous file with comments | « no previous file | pubspec.lock » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698