Skip to content

Commit

Permalink
Reveting accidental mutant commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dsandeephegde committed Nov 16, 2017
1 parent a9493d0 commit b8c6d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/script/dom/xmlhttprequest.rs
Expand Up @@ -213,7 +213,7 @@ impl XMLHttpRequest {
}

fn sync_in_window(&self) -> bool {
self.sync.get() || self.global().is::<Window>()
self.sync.get() && self.global().is::<Window>()
}

fn initiate_async_xhr(context: Arc<Mutex<XHRContext>>,
Expand Down

0 comments on commit b8c6d14

Please sign in to comment.