mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Renamed BrowsingContext to WindowProxy in script.
This commit is contained in:
parent
eeb1ee9723
commit
43ca260689
10 changed files with 150 additions and 157 deletions
|
@ -34,8 +34,7 @@ DOMInterfaces = {
|
|||
},
|
||||
|
||||
'WindowProxy' : {
|
||||
'nativeType': 'BrowsingContext',
|
||||
'path': 'dom::browsingcontext::BrowsingContext',
|
||||
'path': 'dom::windowproxy::WindowProxy',
|
||||
'register': False,
|
||||
}
|
||||
|
||||
|
|
|
@ -5638,7 +5638,7 @@ def generate_imports(config, cgthings, descriptors, callbacks=None, dictionaries
|
|||
'dom::bindings::weakref::DOM_WEAK_SLOT',
|
||||
'dom::bindings::weakref::WeakBox',
|
||||
'dom::bindings::weakref::WeakReferenceable',
|
||||
'dom::browsingcontext::BrowsingContext',
|
||||
'dom::windowproxy::WindowProxy',
|
||||
'dom::globalscope::GlobalScope',
|
||||
'mem::heap_size_of_raw_self_and_children',
|
||||
'libc',
|
||||
|
|
|
@ -12,7 +12,7 @@ use dom::bindings::error::throw_invalid_this;
|
|||
use dom::bindings::inheritance::TopTypeId;
|
||||
use dom::bindings::str::DOMString;
|
||||
use dom::bindings::trace::trace_object;
|
||||
use dom::browsingcontext;
|
||||
use dom::windowproxy;
|
||||
use heapsize::HeapSizeOf;
|
||||
use js;
|
||||
use js::JS_CALLEE;
|
||||
|
@ -58,7 +58,7 @@ impl GlobalStaticData {
|
|||
/// Creates a new GlobalStaticData.
|
||||
pub fn new() -> GlobalStaticData {
|
||||
GlobalStaticData {
|
||||
windowproxy_handler: browsingcontext::new_window_proxy_handler(),
|
||||
windowproxy_handler: windowproxy::new_window_proxy_handler(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue