diff options
author | Alan Jeffrey <ajeffrey@mozilla.com> | 2017-06-09 12:47:39 -0500 |
---|---|---|
committer | Alan Jeffrey <ajeffrey@mozilla.com> | 2017-06-30 16:41:08 -0500 |
commit | 328fb25a65b94a91005aa47dca5aa7013779c4ae (patch) | |
tree | d1bdd63117aa652db82053a30c42e79473805010 /components/script/dom/bindings/refcounted.rs | |
parent | d47de6ccfc0f8e2d796769dd66becfe5bfa55a9d (diff) | |
download | servo-328fb25a65b94a91005aa47dca5aa7013779c4ae.tar.gz servo-328fb25a65b94a91005aa47dca5aa7013779c4ae.zip |
Implemented paint worklet rendering context.
Diffstat (limited to 'components/script/dom/bindings/refcounted.rs')
-rw-r--r-- | components/script/dom/bindings/refcounted.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/bindings/refcounted.rs b/components/script/dom/bindings/refcounted.rs index f22074d5fef..db3215fbdd1 100644 --- a/components/script/dom/bindings/refcounted.rs +++ b/components/script/dom/bindings/refcounted.rs @@ -127,6 +127,7 @@ impl TrustedPromise { struct RejectPromise(TrustedPromise, Error); impl Runnable for RejectPromise { fn main_thread_handler(self: Box<Self>, script_thread: &ScriptThread) { + debug!("Rejecting promise."); let this = *self; let cx = script_thread.get_cx(); let promise = this.0.root(); @@ -145,6 +146,7 @@ impl TrustedPromise { struct ResolvePromise<T>(TrustedPromise, T); impl<T: ToJSValConvertible> Runnable for ResolvePromise<T> { fn main_thread_handler(self: Box<Self>, script_thread: &ScriptThread) { + debug!("Resolving promise."); let this = *self; let cx = script_thread.get_cx(); let promise = this.0.root(); |