Shared browser JS runtime contract and DOM serializer for crater
Dependencies
mizchi/crater-browser-runtime does not have a README file
pub suberror JsError {
NotSupported
ExecutionError(String)
SyntaxError(String)
ReferenceError(String)
}pub struct JsContext {
context_id : Int
async_mode : AsyncExecutionMode
dom : DomTree
logs : Array[String]
runtime : &JsRuntime
}fn JsContext::new_with_runtime_and_mode(dom : DomTree, runtime : &JsRuntime, async_mode : AsyncExecutionMode) -> JsContextShared browser JS runtime contract and DOM serializer for crater
Dependencies