Ms2ger
d7c4f2ba93
Stop pretending that CreateInterfaceObjects2 can return the interface object.
...
We do not currently support the case of a non-callback interface that doesn't
have an interface prototype object. (This case is not allowed by the WebIDL
specification; it was added to Gecko to allow feature-detecting the URL
interface. See <https://bugzilla.mozilla.org/show_bug.cgi?id=1026720 >.)
It follows that, if we call CreateInterfaceObjects2 at all, we will call it
with a protoClass argument, so there is no reason to use a nullable pointer
type for that argument.
Moreover, if we had actually supported that case, the returned interface
object would have been stored in the interface prototype object cache, to ill
effect.
2014-06-20 10:33:47 +02:00
Josh Matthews
9eff8b458f
Merge pull request #2668 from Ms2ger/CreateInterfaceObjects-failures
...
Handle JSAPI OOM failures by task failure as soon as possible.
2014-06-20 09:28:59 +01:00
Ms2ger
5a1ed6396e
Handle JSAPI OOM failures by task failure as soon as possible.
...
We already ensure to fail the task if GetProtoObject returns null, as we don't
have a useful way to handle OOM, and we don't wish to thread the failure
through to some place where we could handle it in a useful way.
Unfortunately, we cannot ensure through the type system that none of those
functions returns null, so we use assertions to check it dynamically.
2014-06-20 09:46:12 +02:00
Josh Matthews
32025fd2e5
Merge pull request #2656 from Manishearth/xhr-terminate
...
Request termination for XHR
2014-06-20 08:27:00 +01:00
Manish Goregaokar
f558f9aad0
Request termination for XHR
2014-06-19 22:37:33 +05:30
Jack Moffitt
54f01aa4f4
Merge pull request #2671 from larsbergstrom/new_snapshots
...
Update to use snapshot builds
2014-06-19 09:43:48 -06:00
Lars Bergstrom
94415ce996
Update snapshots to also build/test on OSX
2014-06-19 07:56:17 -05:00
Brendan Zabarauskas
6d3687a613
Divide check-ref targets into check-ref-cpu and check-ref-gpu
...
This allows us to run the CPU and GPU tests individually
2014-06-18 20:45:37 -05:00
bors-servo
bace9fb485
auto merge of #2660 : glennw/servo/mako-warnings, r=jdm
2014-06-18 12:26:18 -04:00
bors-servo
2c7af54952
auto merge of #2657 : Ms2ger/servo/geckoisms, r=jdm
2014-06-18 11:11:25 -04:00
Glenn Watson
c14eede06b
Remove compiler warnings from generated mako templates.
2014-06-16 09:12:24 +10:00
Ms2ger
90b6c77666
Remove unused code to support preffed-off and chrome-only APIs.
2014-06-14 13:14:34 +02:00
bors-servo
dae6ad409d
auto merge of #2655 : Ms2ger/servo/warnings, r=jdm
2014-06-13 18:49:47 -04:00
Ms2ger
bb0efdd5a2
Make some locals immutable.
2014-06-13 21:41:28 +02:00
bors-servo
239fa77dd5
auto merge of #2653 : Ms2ger/servo/docs, r=Ms2ger,metajack
2014-06-13 15:01:54 -04:00
bors-servo
7ed5041891
auto merge of #2649 : ebalint/servo/2580_JS_T_unrooted_replace, r=jdm
...
removed .clone() calls
modified from_rooted method parameter: T to &T
2014-06-13 14:33:03 -04:00
bors-servo
c0576108c5
auto merge of #2585 : ebalint/servo/2530, r=jdm
2014-06-13 14:04:45 -04:00
Ms2ger
d2707d3344
Correct formatting in documentation in js.rs.
2014-06-13 19:34:18 +02:00
Ms2ger
db5badd36f
Add some blank lines to ensure rustdoc picks up the lists.
2014-06-13 19:33:19 +02:00
Ms2ger
7b35e11626
Use '//!' rather than '///' for the overview comment in js.rs.
2014-06-13 19:33:19 +02:00
bors-servo
65e5896894
auto merge of #2654 : Ms2ger/servo/reflector-cell, r=jdm
2014-06-13 13:29:39 -04:00
Edit Balint
94ec3cde8a
Split Page code out of script_task.rs #2530
2014-06-13 19:28:57 +02:00
Ms2ger
e09ed14362
Remove Reflectable::mut_reflector.
2014-06-13 19:19:58 +02:00
Ms2ger
c331b200b1
Use Cell for Reflector::object.
2014-06-13 19:19:56 +02:00
Edit Balint
bda29ade09
Replace uses of JS<T>.unrooted() with JS::from_rooted #2580
2014-06-13 19:06:28 +02:00
bors-servo
4c5437c58b
auto merge of #2652 : saneyuki/servo/root, r=jdm
...
fix #2650
2014-06-13 12:49:52 -04:00
Tetsuharu OHZEKI
e5a708f727
Make the conservertive stack scanner calculates Temporary<T>
as root instead of calling root methods.
...
See: https://github.com/mozilla/servo/issues/2650
2014-06-14 01:32:18 +09:00
bors-servo
da668f53d9
auto merge of #2616 : Ms2ger/servo/attrvalue, r=jdm
...
Obsoletes #2073 .
2014-06-13 11:41:13 -04:00
Manish Goregaokar
746ae7625b
Use downloaded snapshots instead of in-tree rust. Also a working linux travis conf
2014-06-13 21:00:39 +05:30
Ms2ger
b012c99e05
Implement parsed 'unsigned long' attributes.
...
This commit is partially based on earlier work by Bruno Abinader in #2073 .
2014-06-13 14:13:29 +02:00
Ms2ger
972c69883e
Implement Element.classList (partially fixes #1717 ).
2014-06-13 14:13:00 +02:00
bors-servo
58b776e0b5
auto merge of #2646 : Manishearth/servo/cleartimeout-opt, r=jdm
2014-06-13 08:10:57 -04:00
Ms2ger
0803e5d0ac
Implement support for parsed attributes.
...
This commit is heavily based on earlier work by Bruno Abinader in #2073 .
2014-06-13 14:07:49 +02:00
bors-servo
5378871e67
auto merge of #2634 : saneyuki/servo/fix, r=Ms2ger
...
Fix : #2630
2014-06-13 07:46:47 -04:00
Tetsuharu OHZEKI
28f8d16c87
Fix the assertion failure with inserting node contains child which has id into the document
...
https://github.com/mozilla/servo/issues/2630
2014-06-13 20:36:27 +09:00
Manish Goregaokar
e21faaaba7
Don't fail on clearing nonexistant timeouts
2014-06-13 16:54:24 +05:30
bors-servo
56e1e80c97
auto merge of #2644 : glennw/servo/add-phf, r=metajack
2014-06-13 07:22:51 -04:00
bors-servo
584676648a
auto merge of #2648 : Manishearth/servo/makefile.backup, r=jdm
2014-06-13 06:34:56 -04:00
Manish Goregaokar
3b17c8c6ac
Prepare makefile.backup for snashot changes
2014-06-13 15:58:29 +05:30
bors-servo
99bc1a85da
auto merge of #2647 : glennw/servo/issue-2462, r=metajack
2014-06-12 21:26:06 -04:00
Glenn Watson
787679a35d
Add rust-phf to servo build.
2014-06-13 11:19:10 +10:00
Glenn Watson
1502f00b1f
Update layers submodule for AMD GPU fix.
2014-06-13 11:06:56 +10:00
bors-servo
0055f11fa8
auto merge of #2628 : luqmana/servo/up, r=mbrubeck
2014-06-12 20:08:14 -04:00
bors-servo
897e39dcf3
auto merge of #2640 : Ms2ger/servo/derefmut, r=jdm
2014-06-11 17:19:51 -04:00
Ms2ger
fa148e5ff4
Pass immutable self to HTMLBodyElement::SetOnunload.
2014-06-11 23:06:27 +02:00
Ms2ger
d6eae6ae8b
Cleanup a mutable variable in dispatch_event.
2014-06-11 23:01:15 +02:00
Ms2ger
ed333ad8c3
Pass immutable document to parse_html.
2014-06-11 22:57:54 +02:00
Ms2ger
687722da2d
Pass immutable self to Node::{SetNodeValue, SetTextContent}.
2014-06-11 22:53:53 +02:00
Ms2ger
34c42f6acb
Use internal mutability for Document::idmap.
2014-06-11 22:39:52 +02:00
bors-servo
baa97fe6e5
auto merge of #2632 : brunoabinader/servo/document-queryselectorall, r=Ms2ger
...
Spec:
http://dom.spec.whatwg.org/#dom-parentnode-queryselectorall
Closes #851 .
2014-06-11 16:05:04 -04:00