servo/components/script
bors-servo 4e24e4d8e9 auto merge of #3732 : mukilan/servo/xhr-issue-3630, r=jdm
This fixes issue #3630
A short summary of the changes:
* Use atomic generation id to cancel inflight requests
* Handles nested calls to abort, open, send inside handlers
* Adds XHRReleaseMsg to delay freeing XHR object till all
  inflight events are processed
* Handles both timeout, errors and abort/open in a symmetric fashion
  i.e All inflight events will be cancelled for timeouts, aborts,
    errors and on calling open.
* Change the ErroredMsg enum to be more symmetric with the returned
  Error enum

I noticed a few possible changes that could make the code for fetch task simpler:
* We can remove the additional timer task and let the fetch task manage 
  its own timer (or maybe the resource loader can do this.)
* The CORS related steps could also be moved into the resource loader.
* Right now upload events are not support. This requires some support 
  from resource loader.
2014-11-04 05:06:34 -07:00
..
dom auto merge of #3732 : mukilan/servo/xhr-issue-3630, r=jdm 2014-11-04 05:06:34 -07:00
parse Move build_element_from_tag out of the HTML parser. 2014-10-30 18:03:19 +01:00
Cargo.toml Add an optional --debug-mozjs argument to mach build that enables a non-optimized, debug build of mozjs and rust-mozjs. Update the Cargo snapshot to enable new feature support. 2014-10-24 16:18:25 -04:00
cors.rs Avoid an unnecessary string allocation in allow_cross_origin_request. 2014-09-23 21:33:38 +02:00
layout_interface.rs Have ContentBox(es)Queries consult the flow tree 2014-11-03 10:30:28 -08:00
lib.rs auto merge of #3835 : pcwalton/servo/script-microoptzns, r=Ms2ger 2014-11-03 15:48:34 -07:00
makefile.cargo Cargoify servo 2014-09-08 20:21:42 -06:00
page.rs Have ContentBox(es)Queries consult the flow tree 2014-11-03 10:30:28 -08:00
script_task.rs auto merge of #3732 : mukilan/servo/xhr-issue-3630, r=jdm 2014-11-04 05:06:34 -07:00
timers.rs Use DOMRefCell for TimerManager. 2014-10-22 10:01:01 +09:00