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
Equivalent code in Firefox obtains the current context realm and the realm of the stack object and chooses the least privileged of the two (by checking if one subsumes the other). Another option would be to allow the caller to pass an explicit principal and delegate this choice to the embedder, which would (naively) require making this an unsafe method.
The text was updated successfully, but these errors were encountered:
We always pass a null pointer to BuildStackString right now:
mozjs/mozjs/src/rust.rs
Line 1016 in d6c3bd9
Equivalent code in Firefox obtains the current context realm and the realm of the stack object and chooses the least privileged of the two (by checking if one subsumes the other). Another option would be to allow the caller to pass an explicit principal and delegate this choice to the embedder, which would (naively) require making this an unsafe method.
The text was updated successfully, but these errors were encountered: