Commit graph

7649 commits

Author SHA1 Message Date
Manish Goregaokar
7d51a543d8 Implement form control mutability, rename FormOwner -> FormControl 2014-12-05 18:32:11 -08:00
Manish Goregaokar
2c2d741b1f Split up the InputButton variant 2014-12-05 18:32:11 -08:00
Med0paW
dacd21ac52 Issue 4253 - Setting timeout on a sync XHR should throw InvalidAccessErr 2014-12-05 18:29:39 -08:00
bors-servo
bc7b5b35b4 auto merge of #4234 : tterribe/servo/issue4158, r=metajack
This makes these parameters self-documenting.
This patch does not attempt to push those enums into the data
structures that feed calls to this function.

Fixes #4158.
2014-12-05 17:34:03 -07:00
bors-servo
d5c62ac2c4 auto merge of #4256 : ema-fox/servo/password_input, r=jdm 2014-12-05 17:13:05 -07:00
bors-servo
a369dcfa01 auto merge of #4152 : mttr/servo/textview, r=jdm
Fixes #3918 

Can be tested in `tests/html/textarea.html`. Also implemented some content reflecting IDL attributes for HTMLTextAreaElement while I was in there.

There are some major problems with TextInput when Multiple is enabled that I haven't addressed here, but I'm prepared to open up a follow-up issue.
2014-12-05 16:25:07 -07:00
Timothy B. Terriberry
65575bf8a7 Change time::profile's meta booleans to enums.
This makes these parameters self-documenting.
This patch does not attempt to push those enums into the data
structures that feed calls to this function.

Fixes #4158.
2014-12-05 14:23:27 -08:00
Jonathan Hao
ccb4e8b273 Implement the "messageevent" argument to Document#createEvent. #4008 2014-12-05 13:54:07 -08:00
Emanuel Rylke
1ecbe021ff Make the password input element show the correct number of dots for multibyte chars. 2014-12-05 22:03:02 +01:00
ProgramFOX
2bd1269b02 Update content tests for Document#characterSet 2014-12-05 21:51:59 +01:00
Matthew Rasmus
c97a4d999e Handle default uint attributes properly
...and passing a whole bunch of new tests.
2014-12-05 12:31:32 -08:00
Matthew Rasmus
f5bd8f830a HTMLTextArea: Implements a dirty value flag 2014-12-05 12:31:31 -08:00
Matthew Rasmus
ed37b53a62 Updates WPT to expect newly passing tests
Addresses reviews

More review addressing
2014-12-05 12:31:31 -08:00
Matthew Rasmus
29241699fd Implements multi line text input for TextArea 2014-12-05 12:21:31 -08:00
Matthew Rasmus
fd65b5f438 Implements some HTMLTextAreaElement attributes
These attributes all reflect their own related content values, with the
exception of defaultValue, which acts as an alias for its IDL
textContent attribute.

Many of these do have default values and constraints which are currently unimplemented.
2014-12-05 12:21:31 -08:00
bors-servo
58f9b4ad96 auto merge of #4255 : ema-fox/servo/textinput, r=jdm 2014-12-05 13:16:12 -07:00
ProgramFOX
e2e5536315 Use .clone() instead of.as_slice().to_string() 2014-12-05 21:12:20 +01:00
Emanuel Rylke
0316100785 Make TextInput correctly handle multibyte chars. 2014-12-05 21:02:15 +01:00
ProgramFOX
86282022bd Corrected case of Document#characterSet
Resolves #4251
2014-12-05 20:52:39 +01:00
bors-servo
c6aadc5bcc auto merge of #4247 : wenderen/servo/delete-one-char, r=jdm
fix #4243
2014-12-05 08:43:12 -07:00
Rohan Prinja
9c26cf7ea9 allow deleting last char 2014-12-05 17:06:34 +05:30
bors-servo
6bd9bf979b auto merge of #4198 : Manishearth/servo/hyper-droid, r=Manishearth
This is the Hyper pull request, plus the set up for OpenSSL on Android to make it merge.

Sean's commits have been reviewed in #4065 (My Android changes were reviewed by Glenn)
2014-12-05 04:16:11 -07:00
Manish Goregaokar
642e766688 Temporarily change expectations for some wpt tests till hyper gets support for status codes >599 2014-12-05 02:53:40 -08:00
bors-servo
66d4acef8d auto merge of #4245 : Ms2ger/servo/lazy-getters, r=Manishearth 2014-12-05 03:46:07 -07:00
bors-servo
1046839e8c auto merge of #4231 : mttr/servo/mach_test_fix, r=jdm
Somehow didn't catch this when renaming a variable.
2014-12-05 03:13:09 -07:00
bors-servo
0065c230da auto merge of #4230 : jdm/servo/errorreporter, r=jdm
Rebased from #3822.
2014-12-05 02:28:09 -07:00
Manish Goregaokar
00a0f1527c Set up openssl on Android 2014-12-05 01:03:43 -08:00
bors-servo
a451a3bdb5 auto merge of #4240 : Manishearth/servo/tidy, r=SimonSapin 2014-12-05 00:49:10 -07:00
bors-servo
590c6e841b auto merge of #4238 : froydnj/servo/remove-cpp-files-from-gitignore, r=Manishearth
These files don't exist in the tree, and the codegen doesn't create them, so we shouldn't have them sitting around in .gitignore.

There are h/cpp files sitting around in the bindings codegen directory; I suppose one could make the argument that they're useful for examples, so we should keep them around, too?
2014-12-05 00:16:11 -07:00
Manish Goregaokar
f6b6687e53 Make tidy ingore new target dir 2014-12-04 22:21:42 -08:00
bors-servo
9050a15161 auto merge of #4227 : mbrubeck/servo/script-src, r=jdm
Fixes #1113.  r? @Ms2ger
2014-12-04 22:37:05 -07:00
Matt Brubeck
cddc6923d4 Implement the HTMLScriptElement.src setter
Fixes #1113.
2014-12-04 21:27:34 -08:00
Ronak Nisher
cbed366bea added ErrorEvent WebIDL and errorevent.rs 2014-12-04 21:22:15 -08:00
bors-servo
b8444f96f8 auto merge of #4220 : eddyb/servo/devtools-panic, r=jdm
r? @jdm
2014-12-04 18:04:06 -07:00
Eduard Burtescu
b328c57caa devtools: handle script task panics gracefully in ConsoleActor. 2014-12-05 02:57:32 +02:00
Matthew Rasmus
fd5d4fffd7 Mach test inference fix 2014-12-04 16:55:01 -08:00
Matthew Rasmus
19d119785c Last second bug catch 2014-12-04 16:19:56 -08:00
Matthew Rasmus
0aa6d9c28e Adds a --component (or -c) argument to test-unit
Example usage:

`./mach test-unit -c style`
2014-12-04 16:16:15 -08:00
Matthew Rasmus
3d5fa7b6e2 PEP8 line length fixes in testing_commands.py
...so that PyLint stops yelling at me
2014-12-04 16:12:22 -08:00
Sean McArthur
b7de46970f adjust WPT since hyper fixed some 2014-12-04 10:12:04 -08:00
Sean McArthur
4ee8c3a60b convert script crate to use hyper 2014-12-04 10:06:41 -08:00
Sean McArthur
1dc67f0c76 convert msg crate to use hyper 2014-12-04 10:06:41 -08:00
Sean McArthur
12727d4dd0 convert net crate to use hyper 2014-12-04 10:06:39 -08:00
bors-servo
92a8c7a80c auto merge of #4219 : Ms2ger/servo/cleanup-document, r=jdm 2014-12-04 08:46:02 -07:00
Ms2ger
d9993ebcc3 Use MutNullableJS::or_init in Window. 2014-12-04 15:57:05 +01:00
Ms2ger
c66cefa313 Use MutNullableJS::or_init in Document. 2014-12-04 15:50:13 +01:00
Ms2ger
d26283c065 Implement MutNullableJS::or_init.
This will make it easier to implement lazy getters.
2014-12-04 15:49:29 +01:00
Ms2ger
9416e9b11a Cleanup Document::GetElementsByName. 2014-12-04 11:40:44 +01:00
Ms2ger
d22964792a Cleanup Document::SetBody. 2014-12-04 11:38:54 +01:00
Ms2ger
2ce4c6c529 Cleanup Document::GetDocumentElement. 2014-12-04 09:44:01 +01:00