mirror of
https://github.com/servo/servo.git
synced 2025-06-13 02:44:29 +00:00
Pass real values to the proxy handler setup.
This commit is contained in:
parent
3c4a08c016
commit
2ad293ca64
5 changed files with 24 additions and 15 deletions
|
@ -59,7 +59,6 @@ use hyper_serde::Serde;
|
|||
use ipc_channel::ipc::{self, IpcSender};
|
||||
use ipc_channel::router::ROUTER;
|
||||
use js::glue::GetWindowProxyClass;
|
||||
use js::jsapi::{DOMProxyShadowsResult, HandleId, HandleObject};
|
||||
use js::jsapi::{JSAutoCompartment, JSContext, JS_SetWrapObjectCallbacks};
|
||||
use js::jsapi::{JSTracer, SetWindowProxyClass};
|
||||
use js::jsval::UndefinedValue;
|
||||
|
@ -484,12 +483,6 @@ impl ScriptThreadFactory for ScriptThread {
|
|||
}
|
||||
}
|
||||
|
||||
pub unsafe extern "C" fn shadow_check_callback(_cx: *mut JSContext,
|
||||
_object: HandleObject, _id: HandleId) -> DOMProxyShadowsResult {
|
||||
// XXX implement me
|
||||
DOMProxyShadowsResult::ShadowCheckFailed
|
||||
}
|
||||
|
||||
impl ScriptThread {
|
||||
pub fn page_headers_available(id: &PipelineId, subpage: Option<&SubpageId>, metadata: Option<Metadata>)
|
||||
-> Option<ParserRoot> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue