You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scala.scalajs.runtime.UndefinedBehaviorError: An undefined behavior was detected: [object Object] is not an instance of java.lang.String
...
Caused by: java.lang.ClassCastException: [object Object] is not an instance of java.lang.String
The text was updated successfully, but these errors were encountered:
FabioPinheiro
changed the title
PushSubscription.toJSON was the return type wrong
PushSubscription.toJSON was the wrong return type
Feb 14, 2019
The method toJSON on PushSubscription return a Object not a String
https://developer.mozilla.org/en-US/docs/Web/API/PushSubscription/toJSON
https://github.com/scala-js/scala-js-dom/blob/master/src/main/scala/org/scalajs/dom/experimental/push/PushManager.scala#L101
The error:
The text was updated successfully, but these errors were encountered: