Re: Should / Can an EventHandler throw a stack overflow exception?

2014-07-02 Thread Yutaka Hirano
Thank you very much for the information.



On Tue, Jul 1, 2014 at 9:27 AM, Mark S. Miller  wrote:

> I would like to see us take a principled stance on resource exhaustion
> errors in ES7. This includes both stack and heap, and both space and time.
> For example, the browser behavior on terminating a turn that takes too long
> and proceeding silently to the next turn leaves arbitrary invariants
> broken. Other resource exhaustion conditions cause the same problems.
>
> See 
>
>
>
> On Mon, Jun 30, 2014 at 1:59 PM, Anne van Kesteren 
> wrote:
>
>> On Mon, Jun 30, 2014 at 6:01 PM, Boris Zbarsky  wrote:
>> > On 6/30/14, 4:40 AM, Anne van Kesteren wrote:
>> >> Are stack overflow exceptions even a thing per standards?
>> >
>> > No.
>> >
>> > However, they come up pretty regularly in practice.  In fact, some sites
>> > depend on them for proper functioning.  :(
>>
>> Paging Allen. If defining this needs to start anywhere, it would
>> probably be ECMAScript.
>>
>>
>> --
>> http://annevankesteren.nl/
>> ___
>> es-discuss mailing list
>> es-disc...@mozilla.org
>> https://mail.mozilla.org/listinfo/es-discuss
>>
>
>
>
> --
> Cheers,
> --MarkM
>
> ___
> es-discuss mailing list
> es-disc...@mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
>


Re: Should / Can an EventHandler throw a stack overflow exception?

2014-06-30 Thread Mark S. Miller
I would like to see us take a principled stance on resource exhaustion
errors in ES7. This includes both stack and heap, and both space and time.
For example, the browser behavior on terminating a turn that takes too long
and proceeding silently to the next turn leaves arbitrary invariants
broken. Other resource exhaustion conditions cause the same problems.

See 



On Mon, Jun 30, 2014 at 1:59 PM, Anne van Kesteren  wrote:

> On Mon, Jun 30, 2014 at 6:01 PM, Boris Zbarsky  wrote:
> > On 6/30/14, 4:40 AM, Anne van Kesteren wrote:
> >> Are stack overflow exceptions even a thing per standards?
> >
> > No.
> >
> > However, they come up pretty regularly in practice.  In fact, some sites
> > depend on them for proper functioning.  :(
>
> Paging Allen. If defining this needs to start anywhere, it would
> probably be ECMAScript.
>
>
> --
> http://annevankesteren.nl/
> ___
> es-discuss mailing list
> es-disc...@mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>



-- 
Cheers,
--MarkM


Re: Should / Can an EventHandler throw a stack overflow exception?

2014-06-30 Thread Anne van Kesteren
On Mon, Jun 30, 2014 at 6:01 PM, Boris Zbarsky  wrote:
> On 6/30/14, 4:40 AM, Anne van Kesteren wrote:
>> Are stack overflow exceptions even a thing per standards?
>
> No.
>
> However, they come up pretty regularly in practice.  In fact, some sites
> depend on them for proper functioning.  :(

Paging Allen. If defining this needs to start anywhere, it would
probably be ECMAScript.


-- 
http://annevankesteren.nl/



Re: Should / Can an EventHandler throw a stack overflow exception?

2014-06-30 Thread Boris Zbarsky

On 6/30/14, 4:40 AM, Anne van Kesteren wrote:

Are stack overflow exceptions even a thing per standards?


No.

However, they come up pretty regularly in practice.  In fact, some sites 
depend on them for proper functioning.  :(


-Boris



Re: Should / Can an EventHandler throw a stack overflow exception?

2014-06-30 Thread Anne van Kesteren
On Mon, Jun 30, 2014 at 10:27 AM, Yutaka Hirano  wrote:
> But it is unclear to me whether a stack overflow exception is counted
> as an exception thrown inside an event listener.

Are stack overflow exceptions even a thing per standards?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17713 is the issue on
clarifying exception behavior around events. (Please don't use DOM
Level 3 Events as a reference for implementing the event model.)


-- 
http://annevankesteren.nl/