aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/permissions.rs
Commit message (Collapse)AuthorAgeFilesLines
* Remove some usage of unsafe code in Permissionsmarmeladema2019-08-091-23/+20
|
* Convert CGTraitInterface to use safe JSContext instead of raw JSContextmarmeladema2019-07-241-9/+6
|
* Convert internal methods to handle safe JSContext instead of raw JSContextmarmeladema2019-07-241-1/+2
|
* Propagate JSFailed error & conditionally execute initial assertion when ↵Julien Tregoat2019-07-031-3/+1
| | | | converting error to JS value.
* Script: removed a few opts::get()oneturkmen2019-06-261-15/+15
|
* Pass InCompartment by valueAron Zwaan2019-04-251-1/+1
|
* Add proof parameter to Promise::new_in_current_compartmentAron Zwaan2019-04-241-2/+8
|
* Rename Promise::new to Promise::new_in_current_compartmentAron Zwaan2019-04-031-1/+2
|
* #8539 Config preferences backend restructurePeter Hall2019-03-201-6/+2
|
* Update bool pattern matching into if-elsePiotr Szpetkowski2019-01-301-16/+16
|
* Remove now-unnecessary must_root and allow(unrooted_must_root) annotationsManish Goregaokar2019-01-041-4/+0
|
* Update MPL license to https (part 3)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Reorder importsPyfisch2018-11-061-2/+4
|
* Sort `use` statementsSimon Sapin2018-11-061-1/+2
|
* `cargo fix --edition`Simon Sapin2018-11-061-11/+11
|
* Format script componentchansuke2018-09-191-71/+113
|
* Remove use of unstable box syntax.Simon Sapin2017-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | http://www.robohornet.org gives a score of 101.36 on master, and 102.68 with this PR. The latter is slightly better, but probably within noise level. So it looks like this PR does not affect DOM performance. This is expected since `Box::new` is defined as: ```rust impl<T> Box<T> { #[inline(always)] pub fn new(x: T) -> Box<T> { box x } } ``` With inlining, it should compile to the same as box syntax.
* Rename Root<T> to DomRoot<T>Anthony Ramine2017-09-261-3/+3
| | | | | | | In a later PR, DomRoot<T> will become a type alias of Root<Dom<T>>, where Root<T> will be able to handle all the things that need to be rooted that have a stable traceable address that doesn't move for the whole lifetime of the root. Stay tuned.
* Rename dom::bindings::js to dom::bindings::rootAnthony Ramine2017-09-261-1/+1
|
* Make Promise::reject_error soundAnthony Ramine2017-09-221-2/+2
|
* Make Promise::resolve_native actually soundAnthony Ramine2017-09-211-2/+2
| | | | | We shouldn't have to pass a raw JSContext pointer, and to enter the promise's context's compartment by hand.
* return Option from GlobalScope::currentJyotsna Prakash2017-06-221-2/+2
| | | | | handles the case where GlobalScope::current calls CurrentGlobalOrNull and the result is null
* Use servo_config::opts only on linux target.Lucjan Suski2017-03-211-0/+1
| | | | It's not used for other architectures and triggers warnings.
* Disabled tinyfiledialogs when running headless.Alan Jeffrey2017-03-161-0/+4
|
* Make #[dom_struct] a proc_macro attributeAnthony Ramine2017-02-241-0/+1
|
* previous invocation resultsZakor Gyula2017-02-141-27/+86
|
* Add pref to ignore popup in testingAttila Dusnoki2017-02-131-1/+6
|
* Fix comments, and lesser modificationsZakor Gyula2017-02-131-3/+3
|
* Refactor permission operations into one functionAttila Dusnoki2017-02-131-96/+71
|
* Fix popup build errorAttila Dusnoki2017-02-131-11/+18
|
* Bluetooth Permission API integrationZakor Gyula2017-02-131-0/+43
|
* Permission APIAttila Dusnoki2017-02-131-0/+262