I believe a lot of additional work needs to be done for this proposal to make 
it works across realm. 
Consider the invocation chain:alpha, alpha0 (in realm A)beta, beta0 (in realm 
B)alpha -> alpha0 -> beta -> beta0 -> alpha ->alpha0 -> beta -> beta0 -> throws
Here comes the question. What should be included in the stack and what 
shouldn't?Same thing applies when calling native function. Such thing is 
severely lacking in current proposal.
From: [email protected]
Date: Tue, 12 Jan 2016 03:10:12 +0000
Subject: Error stack strawman
To: [email protected]

Hey all,
Does anyone know if there is an active interest in revisiting the Error.stack 
strawman proposal?
http://wiki.ecmascript.org/doku.php?id=strawman:error_stack

I ask because CSP wanted an algorithm for getting the non standard properties 
defined in Error objects: https://w3c.github.io/webappsec-csp/#issue-f447ede5

A simpler start may be possible in standardising just: lineNumber, columnNumber 
and fileName

Kind regardsJonathan

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss                                    
  
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to