fix(WebWorker): Fix textarea value not being sent to the worker

Closes #7439
Closes #7828
This commit is contained in:
Jason Teplitz
2016-03-30 10:15:04 -07:00
committed by Robert Messerle
parent fc496813e2
commit a5d6b6db8b
13 changed files with 163 additions and 4 deletions
@@ -13,7 +13,8 @@ final Set<String> NODES_WITH_VALUE = new Set<String>.from([
"li",
"meter",
"progress",
"param"
"param",
"textarea"
]);
Map<String, dynamic> serializeGenericEvent(dynamic e) {
@@ -36,8 +36,8 @@ const TRANSITION_EVENT_PROPERTIES = ['propertyName', 'elapsedTime', 'pseudoEleme
const EVENT_PROPERTIES = ['type', 'bubbles', 'cancelable'];
const NODES_WITH_VALUE =
new Set(["input", "select", "option", "button", "li", "meter", "progress", "param"]);
const NODES_WITH_VALUE = new Set(
["input", "select", "option", "button", "li", "meter", "progress", "param", "textarea"]);
export function serializeGenericEvent(e: Event): {[key: string]: any} {
return serializeEvent(e, EVENT_PROPERTIES);