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

Unified Diff: test/codegen_expected/lib/html/event_customevent_test.js

Issue 2211293002: Reify type params on map literals (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Remove unnecessary null check 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:
View side-by-side diff with in-line comments
Download patch
Index: test/codegen_expected/lib/html/event_customevent_test.js
diff --git a/test/codegen_expected/lib/html/event_customevent_test.js b/test/codegen_expected/lib/html/event_customevent_test.js
index e74f0d739cc0e2265f84bea11c89c0de658fbc2d..37c9666d3c4caa7ad35152cc760c7e1a5c5d2fc6 100644
--- a/test/codegen_expected/lib/html/event_customevent_test.js
+++ b/test/codegen_expected/lib/html/event_customevent_test.js
@@ -36,9 +36,9 @@ dart_library.library('lib/html/event_customevent_test', null, /* Imports */[
let fired = false;
provider.forTarget(el).listen(dart.fn(ev => {
fired = true;
- src__matcher__expect.expect(ev[dartx.detail], dart.map({type: 'detail'}));
+ src__matcher__expect.expect(ev[dartx.detail], dart.map({type: 'detail'}, core.String, core.String));
}, CustomEventTovoid()));
- let ev = html.CustomEvent.new('foo', {canBubble: false, cancelable: false, detail: dart.map({type: 'detail'})});
+ let ev = html.CustomEvent.new('foo', {canBubble: false, cancelable: false, detail: dart.map({type: 'detail'}, core.String, core.String)});
el[dartx.dispatchEvent](ev);
src__matcher__expect.expect(fired, src__matcher__core_matchers.isTrue);
}, VoidTodynamic()));
@@ -47,7 +47,7 @@ dart_library.library('lib/html/event_customevent_test', null, /* Imports */[
let fired = false;
html.window[dartx.on].get('js_custom_event').listen(dart.fn(ev => {
fired = true;
- src__matcher__expect.expect(dart.dload(ev, 'detail'), dart.map({type: 'detail'}));
+ src__matcher__expect.expect(dart.dload(ev, 'detail'), dart.map({type: 'detail'}, core.String, core.String));
}, dynamicTovoid()));
let script = html.ScriptElement.new();
script[dartx.text] = scriptContents;
« no previous file with comments | « test/codegen_expected/lib/html/element_animate_test.js ('k') | test/codegen_expected/lib/html/fontface_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698