Security:Security Checks In Glue: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 15: Line 15:


The check could NOT be performed in nsNodeUtils::Clone, which is called by nsDocument::ImportNode to do the actual work of importing in this case.
The check could NOT be performed in nsNodeUtils::Clone, which is called by nsDocument::ImportNode to do the actual work of importing in this case.
In general, in this model there is a concept of "the function currently being called from JS".  This function is the only function that does security checks.


= Pros and cons =
= Pros and cons =


= Implementation notes =
= Implementation notes =
308

edits

Navigation menu