Commit graph

4808 commits

Author SHA1 Message Date
Matt Brubeck
266970e2b2 Disable XHTML tests 2014-11-06 09:43:57 -08:00
nkdalmia
bb76b0f3f2 Intial Commit for Storage.webidl, along with impl stub 2014-11-06 10:55:27 -05:00
Ms2ger
bb9cad938b Implement HTMLElement#lang. 2014-11-06 15:28:52 +01:00
bors-servo
45262ec9d2 auto merge of #3905 : Ms2ger/servo/prefix-create, r=jdm 2014-11-05 19:27:35 -07:00
Matt Brubeck
eee25d132c Disable flaky XHR test 2014-11-05 17:08:00 -08:00
Ms2ger
a5e9f97c8f Pass the prefix to Element::new in create_element. 2014-11-05 23:18:33 +01:00
bors-servo
c9857d49dd auto merge of #3901 : Ms2ger/servo/title, r=jdm 2014-11-05 14:33:36 -07:00
Ms2ger
45701002a3 Implement HTMLElement.title. 2014-11-05 22:08:36 +01:00
bors-servo
76cc006a40 auto merge of #3898 : Ms2ger/servo/prefix-clone, r=jdm
The current code calls as_slice() on the Option, yielding &[DOMString], and
then calls to_string, yielding "[prefix]".
2014-11-05 12:57:37 -07:00
Ms2ger
82ff32a710 Pass the correct argument to Element::create when cloning.
The current code calls as_slice() on the Option, yielding &[DOMString], and
then calls to_string, yielding "[prefix]".
2014-11-05 20:51:41 +01:00
bors-servo
fba6cb9c42 auto merge of #3897 : Ms2ger/servo/enable-reflection, r=Manishearth 2014-11-05 11:12:40 -07:00
Ms2ger
e1bb3c3b06 Parse the size attribute on input elements. 2014-11-05 19:07:01 +01:00
Ms2ger
f7407ee43d Re-enable reflection-forms.html. 2014-11-05 16:19:10 +01:00
Ms2ger
cdde96e989 Defer to GetAttribute in HasAttribute.
The semantics of has_attribute aren't anywhere close to the ones expected for
Element#hasAttribute, and it fails an assertion when passed non-lower-case
names.
2014-11-05 16:05:06 +01:00
Ms2ger
801c7a35be Update web-platform-tests. 2014-11-05 10:30:59 +01:00
Mukilan Thiyagarajan
9bafd5f28a Update expectations for wpt tests under /XMLHttpRequest
Following tests are re-enabled:
* /XMLHttpRequest/send-network-error-async-events.sub.htm
* /XMLHttpRequest/send-network-error-sync-events.sub.htm
* /XMLHttpRequest/xmlhttprequest-timeout-worker-aborted.html
* /XMLHttpRequest/xmlhttprequest-timeout-worker-overrides.html
* /XMLHttpRequest/xmlhttprequest-timeout-worker-simple.html
* /XMLHttpRequest/xmlhttprequest-timeout-worker-twice.html

Following tests are disabled:
* /XMLHttpRequest/xmlhttprequest-timeout-worker-overridesexpires.html

The following tests are expected to timeout since window.postMessage is
not implemented yet:

* /XMLHttpRequest/xmlhttprequest-timeout-abortedonmain.html
* /XMLHttpRequest/xmlhttprequest-timeout-overrides.html
* /XMLHttpRequest/xmlhttprequest-timeout-overridesexpires.html
2014-11-04 08:20:46 +05:30
Mitchell Van Der Hoeff
128f162b92 Remove ./dom/nodes/Document-createEvent.html.ini in tests/wpt/metadata because we expect all tests to pass now. Fixes #3855 2014-11-02 15:19:32 -05:00
Ms2ger
671a487145 Format Element#tagName correctly when there's a prefix.
format!("{}", atom) yields strings like "Atom('span' type=Inline)", which is
not intended here.
2014-10-30 11:51:27 +01:00
bors-servo
272ae0cc1b auto merge of #3721 : mbrubeck/servo/script-sync, r=Ms2ger
Fixes #3356.  This makes script elements fetch their source synchronously and execute immediately by default.  It also lays some groundwork for future deferred or async script loading.

(Depends on #3716 to fix a content test failure caused by running script during parsing.)
2014-10-29 15:51:41 -06:00
Matt Brubeck
fe123ad07c Switch to synchronous script loading
This removes the old code for asyncronously loading scripts during HTML
parsing and then executing them afterward.

Fixes #3356.
2014-10-29 14:31:47 -07:00
Ms2ger
8eeca573f7 Disable indexed-browsing-contexts-01.html for flakiness. 2014-10-29 21:43:44 +01:00
Mukilan Thiyagarajan
75d41c2146 Disable Document interface attribute onreadystatechange test
idlharness.js does not understand [LenientThis] yet
2014-10-25 23:01:59 +05:30
Josh Matthews
225ec3ed4e Really fix #3738 by only processing iframe src attributes during parsing. 2014-10-23 18:58:34 -04:00
Josh Matthews
539c21f380 Implement Document.readyState. Prevent iframes from notifying the compositor after the initial parse. Fixes #1720. Fixes #3738. 2014-10-23 10:55:59 -04:00
Ms2ger
7cc8ff93ec Enable Opera's script scheduling tests. 2014-10-21 14:08:19 +02:00
Ms2ger
b9d8533760 Don't crash on invalid utf-8 in the HTML parser.
This was regressed by the html5ever landing.
2014-10-19 13:18:25 +02:00
Ms2ger
da50824655 Update wptrunner to pick up crash-detection fixes. 2014-10-17 13:37:23 +02:00
Keegan McAllister
3fbb25cc43 Update test expectations
The hubbub bindings set document.characterSet but we don't use it for anything.
html5ever doesn't parse charsets from <meta> tags yet, and I'd rather add that
as part of adding actual support for other encodings (which Servo never had
with hubbub).

Switching to html5ever also changes attribute parsing slightly (bringing it in
line with the current spec) and this breaks some of the <img srcset> tests.  We
don't support this feature at all.

Some other things change due to bugs in hubbub not present in html5ever.
2014-10-16 13:06:04 -07:00
bors-servo
a6001329b8 auto merge of #3693 : ehsan/servo/3248, r=jdm
This fixes #3248.

r? @jdm.  Please review for mistakes mercilessly!  Also, I got a host of test failures when running the worker tests, not sure if these tests are expected to pass locally or not.
2014-10-15 22:06:19 -06:00
bors-servo
f94228d9f9 auto merge of #3662 : mukilan/servo/worker_timer, r=jdm
Closes issue #3236
2014-10-15 20:48:22 -06:00
Ehsan Akhgari
840d949d97 Throw DataCloneError from worker postMessage if structured clone fails
This fixes #3248.
2014-10-15 21:57:40 -04:00
Mukilan Thiyagarajan
0d7e13f646 Issue #3236 - Implement timers (setTimeout/setInterval) for workers 2014-10-16 05:59:44 +05:30
Manish Goregaokar
79cb1af12a Address review comments 2014-10-14 21:24:36 +05:30
Manish Goregaokar
941bd2dad6 Update wpt expectations 2014-10-14 21:24:36 +05:30
Glenn Watson
eb5532c781 Expose user agent option to DOM navigator interface. 2014-10-13 19:53:41 +10:00
Manish Goregaokar
80efe37316 Disable html/semantics/forms/the-input-element/type-change-state.html.ini 2014-10-12 08:34:36 +05:30
Manish Goregaokar
ca2d5d328d Update wpt expectations 2014-10-11 16:10:02 +05:30
Ms2ger
d06c95ee48 Update web-platform-tests. 2014-10-10 23:39:44 +02:00
Manish Goregaokar
332c94b730 Implement most of HTMLFormElement's webidl 2014-10-07 21:12:55 +05:30
bors-servo
b69187685d auto merge of #3589 : Ms2ger/servo/wpt_20141006, r=jdm 2014-10-07 02:03:29 -06:00
Ms2ger
5e59a27dd4 Update web-platform-tests. 2014-10-07 09:38:57 +02:00
Gilles Leblanc
3a5a66d54e Take the prefix from createElementNS into account for HTML elements
Fixes #3139
2014-10-06 22:49:49 -04:00
Ms2ger
ff42493d87 Update to wptrunner 1.3, which actually runs. 2014-10-06 22:42:49 +02:00
bors-servo
a58324f25b auto merge of #3522 : Ms2ger/servo/xhr-send-uaf, r=SimonSapin
The data is used later to set the Content-Type header. Current rustc
(4d2af3861) does not detect this use-after-move, but treats the later use as
if the data was None. It will, however, detect the bug in d2b30f7d3, which we
are upgrading to.
2014-09-29 09:57:27 -06:00
Ms2ger
e72b5613ee Don't move the data when extracting the bytes in XMLHttpRequest::Send.
The data is used later to set the Content-Type header. Current rustc
(4d2af3861) does not detect this use-after-move, but treats the later use as
if the data was None. It will, however, detect the bug in d2b30f7d3, which we
are upgrading to.
2014-09-29 17:52:44 +02:00
Ms2ger
8dbe2b352b Update wptrunner to version 1.2. 2014-09-29 08:55:09 +02:00
Ms2ger
e8da983aeb Remove temporary wptrunner hotfix.
This was added in anticipation of a wptrunner release that includes the change.
2014-09-25 22:41:25 +02:00
Lars Bergstrom
726cd91fd9 Disable travis 2014-09-24 18:29:37 -06:00
Ms2ger
e3496be9dd Update web-platform-tests. 2014-09-22 12:13:52 +02:00
Jeongeun Kim
dad77f0d25 Implement HTMLOptionElement.text#3023
Signed-off-by: Jeongeun Kim <je00julie.kim@gmail.com>

Implement HTMLOptionElement.text#3023 (2nd trial)

Implement HTMLOptionElement.text#3023 (3rd trial)

delete metadata for skipping option tests

fix conflict
2014-09-20 23:49:20 +09:00