Commit graph

5838 commits

Author SHA1 Message Date
Patrick Walton
d6c86c44d6 Merge pull request #2953 from glennw/inline-whitespace
Change layout to handle whitespace between inline elements in HTML file.
2014-07-30 21:27:45 -07:00
Patrick Walton
b13fc34bfd Merge pull request #2966 from glennw/perf-rainbow
Make perf_rainbow.html load ~20x faster by making the file loader read i...
2014-07-30 20:42:20 -07:00
Glenn Watson
7bafd8a065 Make perf_rainbow.html load ~20x faster by making the file loader read in 8 kB blocks.
This also makes the tests run significantly quicker.
2014-07-31 11:46:31 +10:00
Patrick Walton
32b442b026 Merge pull request #2965 from zwarich/render-state-less
Move RenderState manipulation out of a loop so that we thrash it less
2014-07-30 18:37:26 -07:00
Jack Moffitt
c3d8e9b06c Merge pull request #2963 from mbrubeck/surface-upload-mut
Call NativeSurface::upload through a mut reference.
2014-07-30 18:01:56 -06:00
Cameron Zwarich
74e9807e7d Move RenderState manipulation out of a loop so that we thrash it less
It doesn't really make sense to say that we're idle when we're
potentially still rendering.
2014-07-30 15:38:34 -07:00
Glenn Watson
e4a5dfb411 Bump submodule ptr to allow ndk-gdb debugging. 2014-07-31 07:27:19 +10:00
Glenn Watson
76349374bb Change layout to handle whitespace between inline elements in HTML file.
This matches the behaviour of other browsers.
2014-07-31 07:16:41 +10:00
Matt Brubeck
3e18e99575 Update to latest rust-layers 2014-07-30 13:37:58 -07:00
Ms2ger
83cc23089a Throw a TypeError when a non-object is passed where one is expected. 2014-07-30 21:45:55 +02:00
Matt Brubeck
2ede648d5a Call NativeSurface::upload through a mut reference.
Required for servo/rust-layers#95.
2014-07-30 12:38:37 -07:00
Manish Goregaokar
e678943939 Definition of Response and related enums/concepts 2014-07-30 23:28:49 +05:30
Manish Goregaokar
56e735ee79 Definition of Request and related enums 2014-07-30 20:31:30 +05:30
Ms2ger
ea621676f2 Merge pull request #2956 from Ms2ger/iframe-src
Reload iframes when the src attribute is set; r=jdm
2014-07-30 15:37:51 +02:00
Guro Bokum
b01a4d7a69 Implement src setter for HTMLIFrameElement #2529 2014-07-30 15:37:01 +02:00
Manish Goregaokar
c80b8af8cc Stubs for fetch module 2014-07-30 18:46:25 +05:30
Manish Goregaokar
78991c896e Merge pull request #2957 from Ms2ger/is-is_not
Use === for is() and is_not() in contenttests.
2014-07-30 16:55:34 +05:30
Ms2ger
9ad878e877 Use === for is() and is_not() in contenttests.
The notion of equality used by == in JavaScript is not useful for testing.
2014-07-30 12:16:19 +02:00
Josh Matthews
43d176f653 Merge pull request #2927 from saneyuki/id_atom
Port `id` attribute to use atom.
2014-07-29 21:02:29 -04:00
glennw
731e0b4df6 Merge pull request #2952 from mbrubeck/fragment-comment
Update fragment.rs doc comment with new type name (Box -> Fragment)
2014-07-30 10:54:23 +10:00
Tetsuharu OHZEKI
794ce9cd4d Use atom to match id selector. 2014-07-30 06:22:09 +09:00
Matt Brubeck
2d7246996b Change Box to Fragment in fragment.rs doc comment 2014-07-29 11:23:08 -07:00
Cameron Zwarich
3c89e7a8e7 Merge pull request #2946 from glennw/update-layers
Bump submodule ptr to get texture filter fixes in rust-layers.
2014-07-29 10:19:39 -07:00
Ms2ger
4da88f0ecc Merge pull request #2947 from Ms2ger/delete-trap
Implement the delete proxy trap (fixes #2213); r=jdm
2014-07-29 17:22:06 +02:00
James Graham
881e4fcd6e Support window.parent in the one-window case. 2014-07-29 15:42:25 +01:00
Sankha Narayan Guria
6b44f92c4f Implement the delete proxy trap (fixes #2213). 2014-07-29 13:26:02 +02:00
Glenn Watson
dcc1d706ec Bump submodule ptr to get texture filter fixes in rust-layers. 2014-07-29 15:22:48 +10:00
Cameron Zwarich
1f04ce807d Merge pull request #2945 from mrobinson/disentangle-scale
Untangle contents scale from rust-layers
2014-07-28 20:51:39 -07:00
Martin Robinson
2a612fd9c5 Layer bounds and buffer requests should use layer coordinates
Instead of passing a scaling factor down to rust-layers and keeping all
layers in page coordinates, work in layer coordinates. This is much more
natural, as the compositor and rust-layer should really need to care
about any potential contents zoom. It will also allow us to move more
code into rust-layers in a later commit.
2014-07-28 20:04:30 -07:00
Martin Robinson
fb51bc79ad Move BufferRequest request code from CompositorData into Compositor
Once we remove the integration with Servo's layer scaling, this will
make it easier pull requesting buffers into rust-layers.
2014-07-28 17:47:44 -07:00
Ms2ger
32740b3012 Merge pull request #2942 from Ms2ger/run-wpt-2
Run web-platform-tests on Travis; r=jgraham+larsberg
2014-07-28 23:22:42 +02:00
Ms2ger
94d85c3edd Pin wptrunner to version 1.0. 2014-07-28 22:24:16 +02:00
Ms2ger
4b85164a1a Remove assignments to args.metadata_root and args.tests_root in run.py. 2014-07-28 22:24:16 +02:00
Ms2ger
6d120d6961 Cleanup run.py and config.ini. 2014-07-28 22:24:16 +02:00
Ms2ger
925f83d4c6 Expect an unexpected timeout in responsetext-decoding.htm. 2014-07-28 22:24:16 +02:00
Ms2ger
7e1215be3c Remove the expected timeout for EventTarget-dispatchEvent.html.
The test only times out in debug builds, and our continuous integration runs
non-debug builds.
2014-07-28 22:24:16 +02:00
Ms2ger
e74c584861 Run wpt on Travis. 2014-07-28 22:24:15 +02:00
Ms2ger
130f56027e Make wpt run as part of make check. 2014-07-28 22:24:15 +02:00
Ms2ger
593b538817 Don't ignore errors in wpt/run.sh. 2014-07-28 22:24:15 +02:00
Ms2ger
5d85510d95 Make wpt use mach-style logging by default. 2014-07-28 22:24:15 +02:00
Ms2ger
326671577c Update run.sh and run.py for changes to wptrunner. 2014-07-28 22:24:15 +02:00
Ms2ger
e2ccda060b Update expectations. 2014-07-28 22:24:15 +02:00
Ms2ger
e0ea494b9c Disable Range tests. 2014-07-28 22:24:15 +02:00
Patrick Walton
50a5008b85 Merge pull request #2941 from bjwbell/change-255-to-1-for-rgba
255 -> 1.0 for color::rgba + remove dead code lint
2014-07-28 13:19:40 -07:00
Tetsuharu OHZEKI
f2db7faf19 Port id attribute to use atom. 2014-07-29 00:43:44 +09:00
Ms2ger
63b0e1568f Merge pull request #2937 from Ms2ger/2936-CGInterfaceTrait
Generate FooMethods traits automatically; r=jdm
2014-07-28 10:22:44 +02:00
Bryan Bell
32545116a7 255 -> 1.0 for color::rgba + remove dead code lint
In build_display_list_abs (block.rs) and handle_reflow (layout_task.rs)
255 is incorrectly used instead of 1.0 for color::rgba (255 is correct
with color::rgb but *not* color::rgba).

In cors.rs remove the dead code warning for fn clear.
The function shouldn't be removed since it'll be used in the future
(fn clear is an implementation of http://fetch.spec.whatwg.org/#concept-cache-clear).
2014-07-28 01:20:01 -07:00
Glenn Watson
84358e7baf Add support for marking a ref test as flaky on cpu and/or gpu. 2014-07-28 12:43:35 +10:00
Manish Goregaokar
c2a8baff46 Merge pull request #2939 from glennw/reftest-mode
Reftest harness explicitly knows whether to run servo in cpu or gpu mode.
2014-07-28 07:56:18 +05:30
Glenn Watson
a37b5cb326 Fix parsing invalid url, clean up font template matching. 2014-07-28 11:41:16 +10:00