Rebecca
526525b835
Add referrer policy pass-through and referrer header logic
...
add pass-through from doc to http-loader for referrer_policy, ref_URL
add logic for setting referer header
add script pass-through for referrer
add unit tests for setting referer header
2016-04-25 16:41:06 -04:00
Josh Matthews
047bb060c1
Improve documentation for new methods.
2016-02-10 09:20:06 -05:00
Josh Matthews
e9b98ad5fa
Make iframes block the enclosing document's load event. Fixes #6663 .
2016-02-10 09:20:00 -05:00
rohan.prinja
1f02c4ebbb
task -> thread
2016-01-10 17:58:13 +09:00
David Rajchenbach-Teller
1e81b8c133
Resolves #4183 - Implemementing context-based MIME type sniffing
...
The version of the standard is not finalized at the time of this writing.
Specifications may be found here: https://mimesniff.spec.whatwg.org/#context-specific-sniffing .
2015-12-31 07:45:03 -05:00
Ms2ger
0c61be7a57
Rustfmt some of script.
2015-11-18 11:14:05 +01:00
Abhishek Kumar
b7de946205
Check in for task 1,4 and 5
...
Adding pipelineID to httpresponse message, clearner code for task1
Commit for Refactored task
Unit tests
Removing extra whitespaces.
Removing extra whitespaces.
Removing tabs whitespaces
Making Code tidier.
Style issues Fix
Test-tidy Fixes
2015-11-05 00:17:24 -05:00
Eli Friedman
193d8f2dba
Remove dead load_sync function.
2015-11-03 12:01:09 -08:00
Till Schneidereit
a0c5d47910
Improve spec-compliance of script loading and execution during document startup
...
Including proper support for async and deferred scripts.
2015-10-26 21:35:09 +01:00
Ravi Shankar
889eec364b
sorted the extern crate, mod & use declarations
2015-09-24 02:12:45 +05:30
Brandon Fairchild
d61a6e2161
Fix reported test-tidy errors
...
This fixes lines that were reported to have missing
space after a comma.
2015-09-01 16:30:42 -04:00
Johann Tuffe
ec07178b6f
sort all uses
2015-08-20 20:47:12 +08:00
Ravi Shankar
89153116fb
Splitting ScriptMsg into various enums; r=jdm
2015-08-15 02:00:48 +05:30
Josh Matthews
8620fe5995
Start reporting memory usage for Window and all nodes in all DOM trees for frame treese in script tasks.
2015-08-03 23:05:00 -04:00
Patrick Walton
61e3a9545e
script: Fix test failures.
2015-07-31 15:03:39 -07:00
Patrick Walton
44d13f7fd4
net: Use a thread for each AsyncResponseTarget
to avoid having to send
...
trait objects across process boundaries.
2015-07-31 11:27:49 -07:00
David Winslow
4cf46bff2d
Refactor #[jstraceable] to #[derive(JSTraceable)]
...
fixes #6524
2015-07-01 18:27:06 -04:00
Josh Matthews
ef8a127156
Update test expectations. Mark script loads as complete when the response is complete.
2015-05-21 09:53:19 -04:00
Josh Matthews
8082df7d0d
Make external script sources load asynchronously, yet still block further parsing. Hook up document loading to async networking events.
2015-05-20 14:22:09 -04:00
Josh Matthews
a1ae53a230
Delay stylesheet load in test to increase confidence.
2015-05-11 15:35:10 -04:00
Josh Matthews
32a89c9455
Make stylesheets block page load.
2015-05-11 13:41:52 -04:00
Josh Matthews
7f0706ed42
Implement a DocumentLoader type that tracks pending loads and notifies the script task when the queue is empty. Dispatch the document load event based on the DocumentLoader's notification.
2015-05-11 13:41:51 -04:00