API SecureHandlerUnwrapScript

Strips the outermost wrapper from a widget script. header, preBody, postBody = SecureHandlerUnwrapScript(frame, script) header, preBody, postBody = SecureHandlerBaseTemplate:UnwrapScript(script)

Arguments

 * frame : - Protected frame to remove the wrapper from.
 * script : - One of the eligible widget script handlers (see ).

Returns

 * header : - The protected frame whose secure handle was to be passed to the code snippets as 'self'.
 * preBody : - A code snippet limited to the RestrictedEnvironment, that was to fire before the frame's normal widget script.
 * postBody : - A second code snippet that was to fire afterwards.