bors-servo
a938bdf971
auto merge of #4848 : jdm/servo/devtoolsoops, r=Manishearth
2015-02-05 08:27:50 -07:00
Josh Matthews
b2b7baf914
Fix devtools implementation of downcastable actors. Fixes #4844 .
2015-02-05 14:29:09 +00:00
Ms2ger
e596afe22d
Document the DOM.
...
This is by no means complete, but it is a good place to start.
2015-02-05 14:41:12 +01:00
Ms2ger
8e9939d01f
Fix a typo in the refcounted documentation.
2015-02-05 14:41:12 +01:00
bors-servo
40c59724b2
auto merge of #4838 : psdh/servo/local, r=jdm
...
#4601
2015-02-04 16:06:46 -07:00
Glenn Watson
0873e5c8ca
Implement window.parent for iframes.
2015-02-05 07:04:04 +10:00
Prabhjyot Singh Sodhi
81dbcf505f
Parsing sandbox attribute on iframe elements
2015-02-05 00:43:25 +05:30
bors-servo
7e3f504d94
auto merge of #4519 : jdm/servo/cookies, r=Ms2ger
...
As specified in http://tools.ietf.org/html/rfc6265 . Requires https://github.com/servo/cookie-rs/pull/1 . Tested against http://www.joshmatthews.net/cookie.php , http://www.html-kit.com/tools/cookietester/ , https://github.com/login , and https://mobile.twitter.com/session/new .
2015-02-04 11:57:54 -07:00
Josh Matthews
a814ba4449
Use an option for the parser input.
2015-02-04 17:56:31 +00:00
bors-servo
58a3cdcbef
auto merge of #4822 : KiChjang/servo/constellation-frame-handling, r=jdm
...
Attempt at fixing #4795 . Code has been written to check for the existence for the current frame, but it seems to pass the condition every time.
2015-02-04 10:06:56 -07:00
Josh Matthews
03ec5a394c
Add a spec link.
2015-02-04 13:37:01 +00:00
Josh Matthews
fb217ab24b
Make XMLHttpRequest user-set headers be preserved across redirects.
2015-02-04 13:37:01 +00:00
Josh Matthews
542e8d52d5
Reorganize document creation so it occurs after we have a final URL.
2015-02-04 13:37:01 +00:00
Josh Matthews
94de93b3a3
Rename some variables for clarity.
2015-02-04 13:35:05 +00:00
Josh Matthews
1dbbc1b72d
Use servo forks of hyper and cookie-rs for more lenient cookie parsing behaviour.
2015-02-04 13:35:05 +00:00
Josh Matthews
0c51a192d7
Address review comments.
2015-02-04 13:35:05 +00:00
Josh Matthews
d2444dd370
Implement document.cookies.
2015-02-04 13:35:05 +00:00
Josh Matthews
824709f178
Unify the get/set scookie APIs to make them both deal with raw strings.
2015-02-04 13:35:05 +00:00
Josh Matthews
504094aa84
Set cookie headers on the request, rather than the load data, to ensure they are used after redirects occur.
2015-02-04 13:35:05 +00:00
Josh Matthews
14df9f8a70
Differentiate between HTTP and non-HTTP APIs for cookie operations. Fix some incorrect cookie removal operation logic. Order the returned cookies according to the spec. Make cookie unit tests pass.
2015-02-04 13:35:05 +00:00
Josh Matthews
24c8896f88
Improve redirect behaviour to clear headers and reevaluate sent cookies. Implement storage-related cookie behaviour such as domain and path matching that cookie-rs doesn't require. Remove stored cookies when an empty value is stored. Document cookie code.
2015-02-04 13:35:05 +00:00
Josh Matthews
ae2b74c783
Make Document::url return the page's URL to avoid stale URLs after redirects.
2015-02-04 13:34:06 +00:00
Josh Matthews
19fbb9e568
Set the Content-Type header when submitting a urlencoded form.
2015-02-04 13:34:06 +00:00
Shamir Khodzha
3239aeacdc
cookies and cookies storage implementation
2015-02-04 13:34:06 +00:00
bors-servo
e14c569ed0
auto merge of #4832 : Adenilson/servo/transparentBlack01, r=jdm
...
This patch set will implement a new helper function for transparent black, while changing the behavior of helper black() function returning opaque black by default.
It will also use the new Color equality operator to streamline the code in some points.
2015-02-04 04:21:49 -07:00
bors-servo
e0d4fd3594
auto merge of #4706 : gilles-leblanc/servo/issue-3740, r=jdm
...
Fixes #3740
2015-02-04 03:39:49 -07:00
Adenilson Cavalcanti
7a36634963
Using the equality operator in PaintContext. Pay attention this
...
is a change on behavior as we previously didn't test for alpha
channel.
2015-02-03 18:51:50 -08:00
Gilles Leblanc
a1804effaf
Initialize trusted-ness of DOM events properly
...
Fixes #3740
2015-02-03 21:40:07 -05:00
Keith Yeung
37cb876f4e
Changed Msg::KeyEvent to take in KeyState and moved the checks in CompositorTask::send_key_event to Compositor::handle_browser_message
2015-02-04 10:30:23 +08:00
Adenilson Cavalcanti
3088b8fc30
Using the new equality operator in LayoutTask.
2015-02-03 18:14:42 -08:00
Adenilson Cavalcanti
ffa23088ff
Using the new transparent_black() in the proper places.
2015-02-03 18:08:30 -08:00
Adenilson Cavalcanti
e1db06475c
There are cases where we need opaque black (e.g. border color) and
...
other cases where we need transparent black (e.g. clearing, root layers).
2015-02-03 17:40:50 -08:00
bors-servo
1e72608f5c
auto merge of #4823 : Ms2ger/servo/warnings, r=jdm
2015-02-03 17:57:51 -07:00
bors-servo
902c16497c
auto merge of #4815 : Swatinem/servo/lowercasegetters, r=Manishearth
...
The implementation was copied directly from
https://github.com/rust-lang/rust/pull/16636
and updated for rust changes, so the credit goes to @Manishearth
2015-02-03 17:09:53 -07:00
Martin Robinson
8855a25780
Revert "Using Color equality operators to streamline code"
2015-02-03 15:07:30 -08:00
Martin Robinson
728f723753
Merge pull request #4825 from Adenilson/usingColorOperators01
...
Using Color equality operators to streamline code
2015-02-03 11:12:44 -08:00
Adenilson Cavalcanti
cc404aba1a
Using Color equality operators to streamline code in
...
PaintContext and LayoutTask.
2015-02-03 11:03:09 -08:00
Arpad Borsos
02d750adba
Lowercase DOM getters at compile time, fixes #4728
...
The implementation was copied directly from
https://github.com/rust-lang/rust/pull/16636
and updated for rust changes, so the credit goes to @Manishearth
2015-02-03 19:58:47 +01:00
bors-servo
8e6dcc7c26
auto merge of #4820 : servo/servo/send-recv, r=Ms2ger
2015-02-03 11:24:53 -07:00
bors-servo
2bfe5cfecd
auto merge of #4729 : yodalee/servo/issue4534-form-submission-for-button-elements, r=jdm
...
Sorry for the late PR for the issue #4534 .
This issue is more complicated than I thought, I have to un-comment the Form-related attribute in Button element.
In the beginning, I modify the files in `bindings` directory, and it's ... generated files.
Hope I don't make something wrong.
2015-02-03 10:40:01 -07:00
Ms2ger
e2408355a7
Fix build warnings.
2015-02-03 18:22:27 +01:00
bors-servo
45ebcf1df7
auto merge of #4818 : Ms2ger/servo/tna-parser, r=jdm
2015-02-03 09:39:53 -07:00
Keith Yeung
b262fc16e0
Modified constellation key event handler to deal with missing frames
2015-02-04 00:04:12 +08:00
bors-servo
bc448f158b
auto merge of #4817 : Ms2ger/servo/to_js, r=jdm
...
They are unused.
2015-02-03 08:18:52 -07:00
Alexandru Cojocaru
685fee02a0
add unwrap
to send/recv
calls
2015-02-03 16:05:13 +01:00
Ms2ger
eb5759774c
Remove JS::from_trusted_node_address.
2015-02-03 16:04:47 +01:00
Ms2ger
12be33efc9
Use JS<Node> rather than TrustedNodeAddress in the HTML parser.
2015-02-03 16:03:23 +01:00
Ms2ger
444e76c397
Remove the to_js methods.
...
They are unused.
2015-02-03 15:12:01 +01:00
yodalee
7f64c27a8f
remove type match in is_instance_activatable
2015-02-03 21:39:24 +08:00
Ms2ger
32341069a8
Correct the documentation comment syntax in layout_interface.rs.
2015-02-03 14:10:25 +01:00