aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_task.rs
Commit message (Collapse)AuthorAgeFilesLines
* Implement Element.innerHTML setterChris Paris2015-03-181-1/+1
|
* Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev.Ms2ger2015-03-181-1/+1
|
* auto merge of #5219 : doublec/servo/view_source_protocol_and_plain_text, r=jdmbors-servo2015-03-171-1/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | Implements view-source protocol by having a view-source handler, and modifying the content type to be text/plain if that is used. Implements text/plain handling. This allows view-source content to display as plain text. Example usage: ./mach run http://cd.pn/x.txt ./mach run view-source:http://tinyvid.tv/ This fixes issue #4181. Issue #3649 includes "support text/plain" so this possibly fixes some of that issue as well.
| * Implement displaying of text/plain documentsChris Double2015-03-171-1/+10
| | | | | | | | | | | | This is done by detecting the content type as text/plain and following the requirements from: https://html.spec.whatwg.org/multipage/browsers.html#read-text
* | Ensure that clicking a link in an iframe gets the existing iframe rect.Glenn Watson2015-03-171-1/+3
| | | | | | | | | | Otherwise, the new iframe may not get a valid window size until the parent frame does another reflow.
* | auto merge of #5244 : mattnenterprise/servo/page_load_thread_name, r=jdmbors-servo2015-03-161-1/+1
|\ \
| * | Fixes #5215 Serializing the thread name for the page load task to make it a ↵Matt McCoy2015-03-161-1/+1
| |/ | | | | | | simple url
* / First part of refactoring constellation to support iframe navigation.Glenn Watson2015-03-171-27/+39
|/ | | | | | | | | The history is now recorded per frame, but needs to be exposed in a followup PR. Also fixes a race condition that occurs loading iframes under heavy CPU load. This ensures that iframes never do a reflow / layout until they have a valid window size set from their parent frame.
* Refactored optional argument "last_modified" for DocumentMartin Schröder2015-03-161-9/+10
| | | | Fixes #4981
* make MouseEvent::new() and UIEvent::new() take enums for the bubbles and ↵Rohan Prinja2015-03-151-3/+3
| | | | cancelable arguments
* Remove unused subpage field from pageGlenn Watson2015-03-111-2/+1
|
* Subsume ScriptMsg::WorkerDispatchErrorEvent into ScriptMsg::RunnableMsg via ↵Avi Weinstock2015-03-091-6/+0
| | | | introduction of Worker::WorkerErrorHandler (Closes #5171).
* auto merge of #5150 : Adenilson/servo/reflowNotifications03, r=jdmbors-servo2015-03-061-9/+9
|\
| * Implements reflow events debugging.Adenilson Cavalcanti2015-03-061-9/+9
| | | | | | | | | | Start servo with -Z relayout-event and you should have reflow events printed to the terminal.
* | ScriptTask::mouse_over_targets is not traced #4985Guro Bokum2015-03-061-3/+29
|/
* Due to changes on Page/Window interfaces, we no longer have useAdenilson Cavalcanti2015-03-041-1/+1
| | | | for flush_layout().
* Remove the newly-created Page from the tree if loading fails.Josh Matthews2015-03-031-0/+45
|
* Separate disposing of layout data from the GCing of the DOM object ↵Josh Matthews2015-03-031-11/+8
| | | | reflectors. Change the order of operations when shutting down the script task to ensure that Window globals aren't used after they've been GCed.
* Documentation and cleanup.Josh Matthews2015-03-031-10/+48
|
* Move everything unrelated to the frame tree out of Page and into Document or ↵Josh Matthews2015-03-031-133/+96
| | | | Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal.
* Split page load into separate network and parsing stages. Delay Page ↵Josh Matthews2015-03-031-173/+249
| | | | creation until the load is finished. Make session history traversal simply activate existing pipelines, rather than potentially loading them from the network.
* Remove unused import from script_task.Ms2ger2015-02-281-1/+0
|
* Move body of ScriptTask::handle_mouse_move_event into a method on #5073Guro Bokum2015-02-281-73/+8
|
* Moved dispatch_key_event method from script_task.rs to document.rs, fixes #4982Keith Yeung2015-02-261-90/+7
|
* If root html element contains "reftest-wait" class, don't mark document as ↵Glenn Watson2015-02-261-2/+9
| | | | | | ready until it's removed. This allows reftests to perform tests for incremental layout and other bugs that require rendering multiple frames.
* Remove ScriptMsg::Navigate (fixes #4948).Dae-seon Moon2015-02-251-13/+1
|
* auto merge of #4960 : ↵bors-servo2015-02-231-0/+24
|\ | | | | | | | | | | pkondzior/servo/add-script-timers-suspend-resume-functionality, r=jdm Adds free/thaw methods to script_task that let you send suspend/resume messages to web content timers. Fixes #4907
| * Add thaw/freeze messages that can suspend/resume webcontent timers #4907Pawel Kondzior2015-02-241-0/+24
| |
* | auto merge of #4959 : glennw/servo/fix-hover, r=jdmbors-servo2015-02-231-79/+64
|\ \ | | | | | | | | | | | | | | | | | | | | | Specifically: - Use inclusive_ancestors instead of ancestors, to detect hover on elements like divs. - Send the mousemove event after all the hover states have been set correctly. - Correctly handle removing hover state from elements when mouse is not over any elements. - Correctly detect when a reflow is required (previous code failed in several edge cases).
| * | Fixes a number of issues with setting hover state, and simplifies the code.Glenn Watson2015-02-191-79/+64
| |/ | | | | | | | | | | | | | | Specifically: - Use inclusive_ancestors instead of ancestors, to detect hover on elements like divs. - Send the mousemove event after all the hover states have been set correctly. - Correctly handle removing hover state from elements when mouse is not over any elements. - Correctly detect when a reflow is required (previous code failed in several edge cases).
* | script_task.rs now utilizes hyper's LastModified header, removed old ↵Keith Yeung2015-02-231-39/+2
| | | | | | | | implementation (fixes #4986)
* | auto merge of #4956 : psdh/servo/interfail, r=jdmbors-servo2015-02-211-5/+6
|\ \ | | | | | | | | | Fixes #4923
| * | Fixing Intermittent failure in pages with timersPrabhjyot Singh Sodhi2015-02-221-7/+7
| | | | | | | | | | | | Fixes #4923
* | | auto merge of #5007 : Ms2ger/servo/warnings, r=saneyukibors-servo2015-02-211-2/+1
|\ \ \
| * | | Remove unused imports.Ms2ger2015-02-211-2/+1
| |/ /
* / / Cleanup ScriptTask::load.Ms2ger2015-02-211-22/+18
|/ /
* | Move DocumentProgressHandler to document.rs.Tetsuharu OHZEKI2015-02-221-80/+7
| |
* | Changed js_runtime to be of type *mut JSRuntimeKeith Yeung2015-02-211-1/+1
| |
* | Removed unused cratesKeith Yeung2015-02-211-3/+2
| |
* | Moved handle_click_event from script_task.rs to document.rsKeith Yeung2015-02-211-72/+4
|/
* Do not glob-export DevtoolScriptControlMsg variants.Ruud van Asseldonk2015-02-131-10/+9
|
* Do not glob-export DevtoolsControlMsg variants.Ruud van Asseldonk2015-02-131-4/+5
|
* auto merge of #4866 : KiChjang/servo/trigger-fragment-string, r=jdmbors-servo2015-02-121-5/+5
|\ | | | | | | Fixes #4863
| * Updated trigger_fragment to take a string instead of URL and updated callersKeith Yeung2015-02-071-5/+5
| |
* | Upgrade to rustc ba2f13ef0 2015-02-04Simon Sapin2015-02-111-6/+6
| |
* | auto merge of #4884 : glennw/servo/iframe-load, r=jdmbors-servo2015-02-111-1/+15
|\ \
| * | Dispatch a load event at iframes. Fixes #4350.Glenn Watson2015-02-111-1/+15
| | |
* | | Import net as net rather than servo_net.Ms2ger2015-02-101-4/+4
| | |
* | | Import msg as msg rather than servo_msg.Ms2ger2015-02-101-8/+8
|/ /
* | auto merge of #4859 : glennw/servo/fix-3986, r=larsbergstrombors-servo2015-02-081-4/+6
|\ \