Commit graph

6076 commits

Author SHA1 Message Date
Ms2ger
664b1a7d1f Merge pull request #3124 from brunoabinader/attr-changes
Attr, AttrValue changes; r=Ms2ger
2014-08-22 14:11:29 +02:00
Bruno de Oliveira Abinader
9061942664 Make AttrValue::as_slice impl from Str 2014-08-22 08:09:49 -04:00
Bruno de Oliveira Abinader
608389132a Use Attr::value() whenever possible 2014-08-22 08:09:49 -04:00
Ms2ger
e6baef29d3 Remove content tests that duplicate wpt tests.
In particular, the test coverage is provided by:

dom/nodes/Node-childNodes.html
dom/nodes/Document-createElementNS.html
dom/historical.html
dom/nodes/Document-createProcessingInstruction.html
dom/nodes/Document-doctype.html
dom/nodes/Document-importNode.html
dom/nodes/Document-createElement.html
dom/nodes/Document-getElementsByTagName.html
2014-08-22 12:44:25 +02:00
Simon Sapin
f87b7f4967 Merge pull request #3130 from SimonSapin/remove-rust-submodule
Remove rust submodule
2014-08-22 11:28:02 +01:00
Ms2ger
efc221d10e Merge pull request #3132 from Ms2ger/update-wpt
Update web-platform-tests; r=jgraham
2014-08-22 12:17:49 +02:00
Ms2ger
4cc08bde00 Merge pull request #3095 from ChrisParis/HTMLScriptElement.text
Implement HTMLScriptElement.text; r=Ms2ger
2014-08-22 12:10:12 +02:00
Simon Sapin
c836784d53 Move rust-snapshot-hash to the root. 2014-08-22 09:49:45 +01:00
Ms2ger
5abf7bab2e Update web-platform-tests. 2014-08-22 10:06:19 +02:00
Ms2ger
1bbd5c8c7d Merge pull request #3125 from seanmonstar/script-type
Check the type/language of script elements (fixes #2828); r=SimonSapin+Ms2ger
2014-08-22 09:06:08 +02:00
Simon Sapin
e1c55c162d Merge pull request #2741 from SimonSapin/acid2-reftest
Add a (broken) Acid2 reftest. Fix #1993
2014-08-21 23:53:27 +01:00
Martin Robinson
091962e923 Merge pull request #3129 from mrobinson/layer-edges
Update to latest rust-layers
2014-08-21 14:53:13 -07:00
Simon Sapin
4d4c034600 Add a (broken) Acid2 reftest. Fix #1993
The rendering is incorrect
and the test is marked as flaky on Linux or on GPU rendering,
but this should help catch further regressions.

The test is modified to add the following CSS:

    .intro { display: none }
    html #top { margin-top: 0 }

To disable the "scrolling" part of the test.

The reference is modified to match the current rendering of the test:

* Rows 4 and 5 (eyes) have a red background.
* The nose is not quite where it should be.
* Row 12’s height is 3px more than it should be.

(See http://www.webstandards.org/action/acid2/guide/ for row numbers.)

The nose issue seems be related to rounding vs truncating
when pixel-snapping borders, but this is only a guess.
2014-08-21 22:01:37 +01:00
Simon Sapin
c497fe6b2c Allow marking tests as flaky by target OS. 2014-08-21 22:01:32 +01:00
Sean McArthur
bc129fee34 check the type/language of script elements 2014-08-21 10:34:12 -07:00
Simon Sapin
04c5080892 Merge pull request #3123 from SimonSapin/redundant-submodule-commands
Remove redundant git-submodule commands in configure.
2014-08-21 15:54:56 +01:00
Simon Sapin
c20e63c116 Move most of Makefile.in to mk/main.mk
This allows modifying it without re-running configure.
2014-08-21 15:49:48 +01:00
Simon Sapin
34bff1110c Remove the Rust submodule. 2014-08-21 15:48:26 +01:00
Ms2ger
dab0374d3e Merge pull request #3086 from ChrisParis/HTMLAnchorElement.text
Implement HTMLAnchorElement.text; r=Manishearth
2014-08-21 11:48:40 +02:00
Glenn Watson
39611bd2bb Fix naming of diff png files when multiple reftest lists in use. Import a few css21 reftests. 2014-08-21 12:44:23 +10:00
Martin Robinson
8bb090c7ce Update to latest rust-layers
This should reduce memory usage along layer boundaries.
2014-08-20 19:24:43 -07:00
glennw
2ce5b46bba Merge pull request #3118 from glennw/reftest-scan
Reftest harness walks directory and appends tests for all manifest files
2014-08-21 07:01:56 +10:00
Martin Robinson
5d11be3110 Merge pull request #3117 from mrobinson/simplify-find_layer_with_pipeline_and_layer_id
Simplify use of CompositorData::find_layer_with_pipeline_and_layer_id
2014-08-20 11:32:03 -07:00
Ms2ger
ca33790357 Merge pull request #3121 from Ms2ger/sorted-dictionaries
Stop resorting dictionaries; r=abinader
2014-08-20 18:33:09 +02:00
Manish Goregaokar
69d5c26fa2 Merge pull request #3073 from Manishearth/macro-getters
Create and use attribute getter macros; r=Ms2ger
2014-08-20 20:58:46 +05:30
Ms2ger
859e929a33 Merge pull request #3122 from Ms2ger/globals
Use extended attributes to define which interfaces are globals (fixes #1053); r=Manishearth
2014-08-20 15:28:53 +02:00
Simon Sapin
ce70a4afa1 Remove redundant git-submodule commands in configure. 2014-08-20 12:18:46 +01:00
Manish Goregaokar
0c743483ea Split up macro invocation 2014-08-20 15:26:56 +05:30
Ms2ger
44bba09035 Use extended attributes to define which interfaces are globals (fixes #1053).
This makes our approach consistent with Gecko's.
2014-08-20 11:55:13 +02:00
Ms2ger
863e46dabe Stop resorting dictionaries.
Rust is more forgiving about the order of definitions than C++, so there is no
need to try to sort them. Worse, the "sorting" actually causes the order in
the generated file to be non-deterministic.
2014-08-20 11:48:57 +02:00
Ms2ger
75bb92f384 Merge pull request #3103 from bfrohs/3025TitleText
Implement HTMLTitleElement.text (closes #3025); r=Ms2ger
2014-08-20 11:10:40 +02:00
Glenn Watson
ea3219e5d7 Reftest harness walks directory and appends tests for all manifest files
it finds. This is a first step towards importing some of the css-wg reftests.
2014-08-20 11:28:33 +10:00
Martin Robinson
7a6f19cc23 Simplify use of CompositorData::find_layer_with_pipeline_and_layer_id
Instead of always matching on the root layer first, have a Compositor
method which abstracts this away, simplifying all the call sites of this
CompositorData helper.
2014-08-19 18:03:29 -07:00
Manish Goregaokar
80c001b2f0 Merge pull request #3082 from ChrisParis/atob
Implement window.atob/btoa; r=Manishearth
2014-08-20 01:56:02 +05:30
Ms2ger
024ae42dad Merge pull request #3116 from Ms2ger/format-reftests
Cleanup formatting in reftest.rs; r=jack
2014-08-19 21:06:35 +02:00
Manish Goregaokar
738ee342b3 Use getter macros in HTMLImageElement 2014-08-19 23:14:12 +05:30
Manish Goregaokar
32fb907384 Create macros for simplifying element attribute getters (fixes #1931) 2014-08-19 23:13:33 +05:30
Ms2ger
b40e723a0d Merge pull request #3115 from Ms2ger/CGWrapMethod-doc
Add a documentation comment for CGWrapMethod; r=Manishearth
2014-08-19 19:42:57 +02:00
Ms2ger
1478fab5a5 Merge pull request #3114 from Ms2ger/gc-max-bytes
Stop artificially constraining the size of the GC heap; r=larsberg
2014-08-19 17:11:45 +02:00
Ms2ger
1c1216de5c Merge pull request #3099 from Ms2ger/attr-local_name-atom
Make Attr::local_name an Atom; r=abinader
2014-08-19 17:04:39 +02:00
Ms2ger
2123fb4238 Cleanup formatting in reftest.rs. 2014-08-19 16:43:33 +02:00
Ms2ger
5c3b8f99d1 Cleanup the File::open_mode call. 2014-08-19 16:42:03 +02:00
Ms2ger
ef357bbbb0 Add a documentation comment for CGWrapMethod. 2014-08-19 16:10:47 +02:00
Manish Goregaokar
30c66debb0 Merge pull request #3112 from Ms2ger/hasInterfacePrototypeObject
Replace hasInterfacePrototypeObject checks by isCallback checks in codegen.
2014-08-19 19:38:09 +05:30
Manish Goregaokar
bbcd62397e Merge pull request #3113 from Ms2ger/update-webidl
Update WebIDL.py; r=Manishearth
2014-08-19 18:43:32 +05:30
Ms2ger
6dc9f52633 Stop artificially constraining the size of the GC heap. 2014-08-19 15:02:01 +02:00
Ms2ger
0bb0951265 Update WebIDL.py. 2014-08-19 11:01:05 +02:00
Ms2ger
eb6eee513f Add a script to update the WebIDL parser. 2014-08-19 11:00:16 +02:00
Ms2ger
ea3c2c243c Replace hasInterfacePrototypeObject checks by isCallback checks in codegen.
Checking for callbacks directly makes it a lot clearer what's going on, and we
don't intend to take hasConcreteDescendant into consideration.

See also <https://bugzilla.mozilla.org/show_bug.cgi?id=1026720>.
2014-08-19 10:38:34 +02:00
Lars Bergstrom
3f17a49564 Merge pull request #3109 from larsbergstrom/doge_files
Add doge Servo files for testing and demos
2014-08-18 18:51:35 -05:00