aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/browsercontext.rs
Commit message (Collapse)AuthorAgeFilesLines
* Replace unsafe_blocks by unsafe_code.Manish Goregaokar2015-03-211-3/+8
|
* Fix #2108 by renaming unwrap functions to native_from_reflectorChris Double2015-03-121-2/+2
| | | | | | | | | | As noted by @bholley. "unwrap" is confusing because we are both stripping off wrappers *and* getting a native from a reflector. Changing the "unwrap" usage to "native_from_reflector" for clarity. This renames 'unwrap' to 'native_from_reflector' and 'unwrap_jsmanaged' to 'native_from_reflector_jsmanaged'.
* Move everything unrelated to the frame tree out of Page and into Document or ↵Josh Matthews2015-03-031-4/+2
| | | | Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal.
* Implement window.frameElement, change window.parent to make use of it.Glenn Watson2015-02-071-9/+8
|
* Replace Root::deref by a custom get_unsound_ref_forever method.Ms2ger2015-02-051-1/+1
| | | | | This will hopefully make it clearer that this is not the correct function to call.
* Implement window.parent for iframes.Glenn Watson2015-02-051-1/+9
|
* Rename GetArrayIndexFromId to get_array_index_from_id.Ms2ger2015-01-291-4/+4
|
* Rename FillPropertyDescriptor to fill_property_descriptor.Ms2ger2015-01-291-2/+2
|
* Rename getPropertyDescriptor to get_property_descriptor.Ms2ger2015-01-291-2/+3
|
* raw_pointer_deriving -> raw_pointer_deriveManish Goregaokar2015-01-281-1/+1
|
* Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev.Josh Matthews2015-01-281-6/+9
|
* Implement most of the important WindowProxy trapsTom Schuster2015-01-121-9/+116
|
* Deny unsafe blocks in script.Ms2ger2015-01-091-0/+2
| | | | As a first start, this allows them indiscriminately where used.
* auto merge of #4526 : servo/servo/deref-1, r=Manishearthbors-servo2015-01-021-1/+2
|\ | | | | | | This is a start towards fixing #3868. Not all callers have been fixed yet, so the `Deref` implementation remains for now.
| * Remove unsound Root::deref() call in BrowserContext::create_window_proxy.Ms2ger2015-01-011-1/+2
| |
| * Replace Root::deref() calls by Root::r() calls where possible.Ms2ger2015-01-011-2/+2
| | | | | | | | This changes those calls that were already sound.
* | Stop using ptr.is_not_null() in script.Ms2ger2015-01-011-3/+3
|/ | | | | This method is deprecated in rust master; removing its users in advance will make a future rust upgrade smoother.
* Fix warnings post-upgradeManish Goregaokar2014-12-271-0/+2
|
* Add inheritance-checking lintManish Goregaokar2014-12-271-1/+3
|
* Implement dummy getOwnPropertyNames and enumerate traps.Ms2ger2014-12-241-3/+3
|
* Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8aJack Moffitt2014-11-131-2/+2
|
* Move the methods on bare Document onto DocumentHelpers.Ms2ger2014-10-231-1/+1
|
* Make DOM getters that return &JS<T> return Temporary<T> instead #3707Edit Balint2014-10-221-1/+1
|
* Use #[dom_struct] everywhereManish Goregaokar2014-10-161-3/+1
|
* Privatize DocumentTim Taubert2014-10-131-1/+1
|
* Simple privatizationsTim Taubert2014-10-131-0/+2
|
* Remove unnecessary `deref()`s (fixes #3586)Tim Taubert2014-10-091-4/+4
|
* Remove Traceable/Untraceable entirelyManish Goregaokar2014-10-051-5/+4
|
* Remove Untraceable from utils.rsManish Goregaokar2014-10-051-2/+2
|
* Remove Traceable/Untraceable from page.rsManish Goregaokar2014-10-051-1/+1
|
* Remove Traceable from browsercontext.rsManish Goregaokar2014-10-051-6/+5
|
* Use JSTraceable everywhereManish Goregaokar2014-09-241-2/+2
|
* Eliminate warningsKeegan McAllister2014-09-201-2/+2
|
* Upgrade to rustc 0.12.0-pre (4d2af3861 2014-09-17 15:51:11 +0000)Keegan McAllister2014-09-201-1/+1
|
* First steps of &JSRef -> JSRef conversionCameron Zwarich2014-09-191-2/+2
| | | | | | | | | Replace &JSRef with JSRef in the bulk of the generated code. This will remove a level of indirection throughout all DOM code. This patch doesn't change methods implemented on JSRef<T> to take `self` rather than `&self`, and it leaves a few other uses of &JSRef, but those changes can be made incrementally.
* Add unrooted_must_root lint for enums and structs containing JS<T>, as well ↵Manish Goregaokar2014-09-161-0/+1
| | | | | | | as functions with JS<T> in their parameter list For safe wrappers over JS<T> (eg Temporary<T>) use #[allow(unrooted_must_root)]. For all other types containing a #[must_root] value, annotate the type with #[must_root] to ensure that it is never used unrooted
* Cargoify servoJack Moffitt2014-09-081-0/+120