Closed nicksay closed 7 years ago
Update app-indexeddb-mirror implementation to quote the property names of all MessageEvent.data objects and all postMessage arguments.
app-indexeddb-mirror
MessageEvent.data
postMessage
This prevents errors likes the following in Closure Compiler with type-checking enabled:
ERROR - Property session never defined on MessageEvent.prototype.data this.validateSession(event.data.session).then(function() { ^^^^^^^
This also prevents Closure Compiler renaming those properties with advanced optimizations, ensuring access by both client and worker.
ignore failing tests they don't work on master
Thanks @e111077
Update
app-indexeddb-mirror
implementation to quote the property names of allMessageEvent.data
objects and allpostMessage
arguments.This prevents errors likes the following in Closure Compiler with type-checking enabled:
This also prevents Closure Compiler renaming those properties with advanced optimizations, ensuring access by both client and worker.