Commit graph

742 commits

Author SHA1 Message Date
bors-servo
a6410e86b3 auto merge of #1810 : Ms2ger/servo/test-binding, r=jdm 2014-03-04 12:05:57 -05:00
Ms2ger
4166ff4794 Introduce a test IDL file. 2014-03-04 16:28:34 +01:00
Ms2ger
99574f14d9 Return a JS<Window> from global_object_for_{dom,js}_object. 2014-03-04 11:41:46 +01:00
Ms2ger
c8bd9615f4 When calling constructors, retrieve the global object from the callee rather than the JSContext. 2014-03-04 10:46:49 +01:00
lpy
b13a7c73c5 Remove next_subpage_id argument from parse_html.(fixes #1801) 2014-03-04 08:40:48 +08:00
Keegan McAllister
6ad5597edd Fix a dynamic borrow failure with iframes 2014-03-03 15:02:33 -08:00
Ms2ger
3530f1e107 Remove support for external (i.e. XPIDL) interfaces. 2014-03-03 19:49:08 +01:00
bors-servo
b8de1b3ca7 auto merge of #1791 : Ms2ger/servo/conversions, r=jdm 2014-03-03 13:13:35 -05:00
Ms2ger
ec935eca0f Remove unused argument to CreateInterfaceObject and now unused code. 2014-03-03 16:10:43 +01:00
Ms2ger
bec0dcd023 Remove unused argument to CreateInterfaceObjects2. 2014-03-03 16:00:49 +01:00
Ms2ger
87715c14e1 Reimplement conversion to primitive types for correctness in the face of non-primitive arguments. 2014-03-02 22:56:07 +01:00
Ms2ger
6bc2c79f92 Pass a JSContext to JSValConvertible::from_jsval. 2014-03-02 22:30:54 +01:00
bors-servo
478c9bfc57 auto merge of #1789 : lpy/servo/issue1761, r=jdm
see #1761
2014-03-01 09:37:34 -05:00
Saurabh Anand
a790a566df DOMParser should pass the correct contentType (fixes #1741) 2014-03-01 19:35:52 +05:30
lpy
77938bf6f6 Implement document_from_node and window_from_node helpers.(fixes #1761) 2014-03-01 21:57:37 +08:00
Josh Matthews
fa542e5de7 De-@mut the script crate. 2014-02-28 13:42:03 -05:00
bors-servo
021d32368d auto merge of #1781 : hgentry/servo/mozilla-servo, r=metajack
Simple change. I hope I'm using github correctly; I'm not too familiar with the PR system. Fixes #1777.
2014-02-28 11:37:40 -05:00
Tetsuharu OHZEKI
b3536d1d97 Implement "resize" DOM Event.
* We cannot automate this feature.
* So this testcase is a manual test.
2014-03-01 01:02:09 +09:00
Saurabh Anand
5c5cb3e9a7 Move Error, Fallible, ErrorResult out of utils.rs (fixes #1749) 2014-02-28 13:32:00 +05:30
bors-servo
82b74a373a auto merge of #1776 : lpy/servo/issue1762, r=jdm
see #1762
2014-02-28 02:04:49 -05:00
lpy
8fc5ba5dc6 Add url getter to Page and fix users of Page url with it.(fixes #1762) 2014-02-28 14:13:08 +08:00
hgentry
39e571ae4e Renamed HTMLIframeElementTypeId to HTMLIFrameElementTypeId 2014-02-27 15:35:27 -05:00
bors-servo
b7fb97cf5a auto merge of #1772 : pcwalton/servo/borrow-flags-race, r=jdm
r? @jdm
2014-02-27 14:31:53 -05:00
Patrick Walton
3c288a5b80 layout: Stop racing on the JSManaged borrow flags 2014-02-27 11:23:06 -08:00
Ms2ger
59416c9431 Remove no-op implementations from Element and add some spec links. 2014-02-27 12:33:32 +01:00
bors-servo
1a171129dc auto merge of #1771 : lpy/servo/issue1742, r=Ms2ger
see #1742
2014-02-27 05:55:47 -05:00
lpy
f9f82ff4e6 Add check for non-Text children for document.title.(fixes #1742) 2014-02-27 14:40:35 +08:00
bors-servo
421ba1a856 auto merge of #1736 : sankha93/servo/issue1733, r=jdm 2014-02-26 17:52:36 -05:00
Sankha Narayan Guria
1e9fec9172 Merge master into this branch 2014-02-27 03:31:05 +05:30
Ms2ger
25ee5270d1 Only register the new ID from after_set_attr, and remove update_idmap. 2014-02-26 14:50:57 +01:00
Ms2ger
86899b6aaf Call unregister_named_element rather update_idmap from before_remove_attr. 2014-02-26 14:50:57 +01:00
Ms2ger
432e9cb3a7 Call after_remove_attr before removing the attribute, and rename it before_remove_attr. 2014-02-26 14:50:57 +01:00
Ms2ger
fdd17b4139 Pass a non-Option DOMString to after_remove_attr. 2014-02-26 14:50:57 +01:00
Ms2ger
58b317837b Cleanup Element::set_attribute. 2014-02-26 14:50:57 +01:00
Ms2ger
33792db657 Move ID management on binding to and unbinding from tree into Element. 2014-02-26 14:50:57 +01:00
bors-servo
7ff35c0abe auto merge of #1759 : lpy/servo/issue1743, r=Ms2ger
see #1743
2014-02-26 08:01:42 -05:00
lpy
f706123208 Move Traceable, trace_reflector from utils.rs to trace.rs.(fixes #1748) 2014-02-26 19:33:21 +08:00
lpy
b73eb563b0 Add empty text check for first child of pre in innerHTML.(fixes #1743) 2014-02-26 14:30:13 +08:00
Ms2ger
938f6baf9e Handle removing the src attribute from an img element (fixes #1469). 2014-02-25 19:33:49 +01:00
Ms2ger
9faf2c89e4 Pass the attribute value to the update_image function. 2014-02-25 19:17:58 +01:00
Ms2ger
e834e532c5 Fetch the image cache inside the update_image function. 2014-02-25 19:12:34 +01:00
Ms2ger
2639e36c78 Remove the image loading workaround from the parser. 2014-02-25 19:04:47 +01:00
bors-servo
3b9ff728fe auto merge of #1750 : Ms2ger/servo/cleanup-Bindings.conf, r=jdm 2014-02-25 09:52:33 -05:00
bors-servo
ee19709bf9 auto merge of #1746 : Ms2ger/servo/IDL-debris, r=jdm 2014-02-25 08:55:41 -05:00
Ms2ger
1c49319173 Remove support for some more obsolete configurations. 2014-02-25 14:41:17 +01:00
Ms2ger
3c7f9832f0 Remove support for workers-specific codegen. 2014-02-25 14:28:27 +01:00
Ms2ger
c96c7bab12 Remove support for some more obsolete configurations. 2014-02-25 13:45:58 +01:00
Ms2ger
8360aa24d6 Remove support for some obsolete configurations. 2014-02-25 13:30:36 +01:00
Ms2ger
8429df46cc Remove dead code from Bindings.conf. 2014-02-25 13:19:28 +01:00
Ms2ger
546a506149 Remove Gecko-specific and other commented-out code in IDL. 2014-02-25 12:41:11 +01:00