Med0paW
dacd21ac52
Issue 4253 - Setting timeout on a sync XHR should throw InvalidAccessErr
2014-12-05 18:29:39 -08: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
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
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
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
bors-servo
66d4acef8d
auto merge of #4245 : Ms2ger/servo/lazy-getters, r=Manishearth
2014-12-05 03:46:07 -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
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
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
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
Ms2ger
41395412eb
Cleanup Document::GetDoctype.
2014-12-04 09:43:40 +01:00
Shanil Puri
72a5ae7210
Implemeneted ModifyAttribute handler to update DOM elements.
2014-12-03 18:58:44 -08:00
nkdalmia
f6fb9f862d
Implement Window.sessionStorage: Storage Task, Storage Methods (excluding Storage event, QuotaExceededError)
2014-12-03 18:31:50 -05:00
Clark Gaebel
d3e4d29368
Fixed #4170 - Incremental reflow wasn't being aggressive enough when nodes get reparented.
...
When inserting a node that was already dirtied, the dirtying logic
would short circuit: "This node is already dirty? Great! Then its
parents must be HAS_DIRTY_DESCENDANTS, too! Let's skip that step."
This isn't appropriate when nodes move around the tree. In that case,
the node may be marked HAS_CHANGED, but ancestors may not yet have
the HAS_DIRTY_DESCENDANTS flag set.
This patch adds a `content_and_heritage_changed` hook in the document,
to deal with these cases appropriately.
2014-12-03 11:17:38 -08:00
Michael Booth
2cbf5a3671
Updated reflect_dom_object to be passed by value
2014-11-30 19:47:52 +00:00
aakashjain
fab09a5137
Fixes #4123
2014-11-29 15:06:17 +05:30
bors-servo
1ac79c64da
auto merge of #4000 : t29/servo/mime-sniffing, r=jdm
...
Issue: #3144
This PR addresses the second step of the ticket. i.e. move from a 1:1 sniffer:request task model to a shared sniffer task.
2014-11-28 10:51:44 -07:00
Kshitij Parajuli
f5e9ae17cf
Shared Sniffer Task
...
- Added TargetedLoadResponse and ResponseSenders
- LoadData constructor contains the next consumer which means
SnifferManager doesn't need the next consumer to start
- New SnifferTask is created at new resource_task creation
- Update Unit Tests
2014-11-28 12:35:49 -05:00
bors-servo
2d904f7080
auto merge of #4132 : jtuchsen/servo/issue-4131, r=jdm
...
A slight refactor.
2014-11-28 10:27:43 -07:00
bors-servo
82050d1e53
auto merge of #4130 : saneyuki/servo/cast, r=Manishearth
...
Fix #4124
This also introduce `BarCast::from_actual()` which is used for up-cast for dom's actual data types (non JS pointer values).
2014-11-28 09:24:44 -07:00
bors-servo
12ae541302
auto merge of #4129 : aakashjain/servo/HTMLElement#hidden, r=Manishearth
2014-11-28 05:33:48 -07:00
aakashjain
5a30bd00cb
Implemented hidden, removed corresponding passed tests
2014-11-28 17:39:30 +05:30
Jesse Tuchsen
db885f04ee
Fixes #4131
...
A slight refactor.
2014-11-27 15:16:09 -08:00
Tetsuharu OHZEKI
1305ac4dd0
Remove Element.node().
2014-11-28 06:05:45 +09:00
Tetsuharu OHZEKI
d53ce7f8d2
Remove Node.eventtarget().
2014-11-28 06:02:21 +09:00
Tetsuharu OHZEKI
106b7a3924
Remove HTMLElement.element().
2014-11-28 06:02:03 +09:00
Tetsuharu OHZEKI
2502c692f3
Remove UIEvent.event().
2014-11-28 06:01:43 +09:00
Tetsuharu OHZEKI
3681628936
Make callers of ${Derived}::${base}()
use casts instead.
2014-11-28 06:00:23 +09:00
Jesse Tuchsen
b664ee88e7
Fixes #3962
...
Bad HTTP responses now have a 0 status code instead of 200 OK.
2014-11-27 11:55:31 -08:00
bors-servo
184a3346ab
auto merge of #4113 : payload/servo/issue-4110, r=jdm
...
The attribute `value` and the underlying model `TextInput` are not connected to each other, so I just pulled the value out of `TextInput`.
2014-11-26 16:15:38 -07:00
Gilbert Röhrbein
b3f9c8667c
fixes #4110 , can input text without 'value' attribute present
2014-11-26 23:39:10 +01:00
Hinali Marfatia
b1d6041420
Implement a basic WebSocket interface.
2014-11-25 15:43:22 +01:00