Closed xfq closed 3 years ago
I wonder if we can use the error event on
Element
/Window
?
I think it's the most appropriate correspondence. A window error
is thrown when a user agent failed to load a resource or it cannot be interpreted (this includes script execution errors).
In the lifecycle explainer, the "Lifecycle States defined by existing W3C specs" is "N/A".
I wonder if we can use the error event on
Element
/Window
?
I edited the explainer and created a pull request. But I am wondering that since MiniApp's runtime is different with web runtime, is it necessary to use the error event on Element/Window?
I don't quite understand what "use the error event" means here. According to my understanding, we are looking for a mapping to existing Web specifications, rather than directly using this event.
Link to PR: https://github.com/w3c/miniapp-lifecycle/pull/6
I don't quite understand what "use the error event" means here. According to my understanding, we are looking for a mapping to existing Web specifications, rather than directly using this event.
Then I made a mistaken assumption. I think we can agree that the goal is to make the mapping happen. So, back to the explainer, can we agree on the PR: #6?
In the lifecycle explainer, the "Lifecycle States defined by existing W3C specs" is "N/A".
I wonder if we can use the error event on
Element
/Window
?