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
You have your choice of ancestors for a 'monetization' EventTarget: document and/or window
But for errors?
error event target
Note that window already emits an 'error' event. The WM 'error' event is currently simply Event('error') with no "distinguishing marks". But the window event has marks (message, filename, etc) that make it distinct from a humble Event('error') ? Yeah, but existing code?
Some solution options
Forget headers, they aren't all that!
Just don't worry about errors when a link is specified via headers!
'error' -> 'monetizationerror' ?
'monetization' "bag of fields" event with error on it ?
Link: <https://ilp.uphold.com/gRa4mXFEMYrL>; rel="monetization"
Where to emit the events from when link is specified as a header
monetization event target
You have your choice of ancestors for a 'monetization' EventTarget: document and/or window
But for errors?
error event target
Note that window already emits an 'error' event. The WM 'error' event is currently simply Event('error') with no "distinguishing marks". But the window event has marks (message, filename, etc) that make it distinct from a humble Event('error') ? Yeah, but existing code?
Some solution options
Originally from 1 / 2 / 3 / 4 / 5
The text was updated successfully, but these errors were encountered: