David Zbarsky
2f416baa11
Implement ReadPixels
2016-05-12 23:50:36 -07:00
bors-servo
42141870e7
Auto merge of #10714 - KiChjang:user-interaction-task, r=Ms2ger
...
Implement user interaction task source
Part of #7959 .
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10714 )
<!-- Reviewable:end -->
2016-05-12 09:00:14 -07:00
Keith Yeung
f60de52aae
Fire 'select' event in SetSelectionRange
2016-05-12 10:44:04 -04:00
bors-servo
bca625bd8e
Auto merge of #11006 - ConnorGBrewster:history_events, r=asajeffrey
...
Implement navigation events
fixes #11005
Events:
* `PopStateEvent`
* `HashChangeEvent`
* `PageTransitionEvent`
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11006 )
<!-- Reviewable:end -->
2016-05-12 07:27:12 -07:00
Connor Brewster
11dd0d7c46
add popstateevent, hashchangeevent, pagetransitionevent
2016-05-11 22:11:46 -06:00
bors-servo
685dc99e3e
Auto merge of #11044 - ConnorGBrewster:page_to_browsing_context, r=jdm
...
Combine Page into BrowsingContext
Fixes #11031 .
`Page` and `BrowsingContext` have similar use cases and we decided it would be best to join the two.
This is the ground work for actually using session history in the `BrowsingContext` to implement the History API.
r? @jdm
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11044 )
<!-- Reviewable:end -->
2016-05-11 20:53:02 -07:00
bors-servo
641b374f0b
Auto merge of #10953 - KiChjang:text-plain-encoding, r=jdm
...
Implement text/plain form encoding
Fixes #3649 .
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10953 )
<!-- Reviewable:end -->
2016-05-11 19:43:37 -07:00
Keith Yeung
d1c0af9ae7
Implement text/plain form encoding
2016-05-11 21:17:31 -04:00
Keith Yeung
0f172491d3
Add picking of encoding for url encoded data
2016-05-11 21:17:31 -04:00
Keith Yeung
9be649f8ed
Rename encode_form_data to encode_multipart_form_data
2016-05-11 21:17:31 -04:00
Martin Broesamle
751733ab8b
Avoid panics when using HTMLAnchorElement attribute setters
...
Fixes #10877 .
Includes new test for attribute getters and setters.
2016-05-11 23:13:31 +02:00
Connor Brewster
e50eb2a4d6
Addressed comment
2016-05-11 15:01:43 -06:00
Connor Brewster
cbc5ca65a8
remove page and move functionality to browing context
...
Allow for adding history items
Fixed nested iframe test failure
Cleanup and small refactors
fixup
2016-05-11 12:46:59 -06:00
bors-servo
392135bd0c
Auto merge of #11076 - izgzhen:fileapi, r=Ms2ger
...
Implement File DOM object interface
* Rewrite constructors of `Blob` and `File` with `DataSlice` as argument
* Update WebIDL of `Blob` and `File`
* Implement missing interfaces of `File` (However, due to lack of working `ArrayBuffer/ArrayBufferView` in `Blob`, so it still differs from spec)
* Update WPT test `File-constructor.html`
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11076 )
<!-- Reviewable:end -->
2016-05-11 10:28:05 -07:00
Zhen Zhang
87fec3e026
Implement missing interfaces of File DOM object
2016-05-11 22:35:21 +08:00
Keith Yeung
cc049515dc
Implement user interaction task source
2016-05-11 10:12:25 -04:00
Josh Matthews
a85e659b29
Ensure that the fields of BrowsingContext are traced and the Rust object is freed when the reflector is finalized.
2016-05-11 08:34:50 -04:00
Josh Matthews
293d465c59
Make debug logging for tracing JS objects more informative.
2016-05-11 08:34:48 -04:00
Zhen Zhang
f43009333f
Rewrite Blob constructor interface
2016-05-10 20:19:10 +08:00
bors-servo
f45a99c9fe
Auto merge of #11072 - DDEFISHER:master, r=emilio
...
Implement IsShader fn and IsTexture fn for WebGLRenderingContext
fixes #11064
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11072 )
<!-- Reviewable:end -->
2016-05-10 03:16:20 -07:00
Daniel
8a5b0b8972
Implement IsShader fn and IsTexture fn for WebGLRenderingContext
2016-05-09 20:54:57 -04:00
bors-servo
71eaba2c35
Auto merge of #11092 - Ms2ger:text_content, r=jdm
...
Move some code from ServoThreadSafeLayoutNode::text_content into script.
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11092 )
<!-- Reviewable:end -->
2016-05-09 08:57:05 -07:00
Ms2ger
a5be5a82c1
Move some code from ServoThreadSafeLayoutNode::text_content into script.
2016-05-09 14:26:30 +02:00
bors-servo
b054cb82a6
Auto merge of #9890 - AgostonSzepessy:update-webidl-tests, r=nox
...
update.sh downloads all *.py tests from mozilla central
components/script/dom/bindings/codegen/parser/update.sh downloads all *.py tests from https://dxr.mozilla.org/mozilla-central/source/dom/bindings/parser/tests
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9890 )
<!-- Reviewable:end -->
2016-05-09 05:04:57 -07:00
bors-servo
a76db9af54
Auto merge of #11051 - mrmiywj:closeevent-argument, r=Ms2ger
...
'closeevent' argument for Document::createEvent
Add "close event" argument for Document::createEvent
Fixes #10737
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11051 )
<!-- Reviewable:end -->
2016-05-09 00:48:41 -07:00
mrmiywj
dfaad2dab2
'closeevent' argument for Document::createEvent
...
fix alphabetical order
delete unused tests
2016-05-08 14:40:12 +08:00
bors-servo
a153e20c55
Auto merge of #11028 - szeged:webbluetooth, r=jdm
...
Remove BluetoothDevice members
Five of the BluetoothDevice members has been deleted in the spec:
8d148ba3c3
These were the vendorID, vendorIDSource, deviceClass, productID, productVersion.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11028 )
<!-- Reviewable:end -->
2016-05-06 17:07:55 -07:00
bors-servo
17ba9fb5da
Auto merge of #10821 - askeing:fix_10782, r=jdm
...
Checking the browsing_context before change title
fix #10782
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10821 )
<!-- Reviewable:end -->
2016-05-06 14:20:45 -07:00
Maciej Skrzypkowski
43b72537dc
Update cssparser to fix CSS.escape test failures
...
Fixed failing tests #10685
2016-05-06 13:54:26 +02:00
bors-servo
15c5c81b1f
Auto merge of #11020 - ConnorGBrewster:fix_button_formsubmitter_methods, r=KiChjang
...
Fix formsubmitter methods for buttons
Fixes #11015
Fixes #11014
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11020 )
<!-- Reviewable:end -->
2016-05-05 07:48:40 -07:00
zakorgy
ed92f31ebc
Remove BluetoothDevice members
2016-05-05 12:47:52 +02:00
askeing
3c56d41699
Checking the browsing_context before change title, and adding wpt test
2016-05-05 14:12:03 +08:00
Keith Yeung
ce302c78c1
Rename ToggleEventRunnable to DetailsNotificationRunnable
2016-05-04 21:01:26 -04:00
Connor Brewster
169af6f35e
fix formsubmitter methods for buttons
2016-05-04 16:39:41 -06:00
Patrick Walton
91907f563b
compositing: Send mouse events to the right pipeline when using
...
WebRender.
Fixes mouse events in browser.html.
Requires servo/webrender_traits#47 and servo/webrender#272 .
2016-05-04 11:40:15 -07:00
bors-servo
b4f573db1a
Auto merge of #10840 - ConnorGBrewster:window_alert, r=jdm
...
Implement alert dialogs
fix #10812
Implements alert dialogs using tinyfiledialogs
r? @jdm
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10840 )
<!-- Reviewable:end -->
2016-05-04 09:10:40 -07:00
bors-servo
944a8dc25a
Auto merge of #10632 - szeged:bluetooth-ipc, r=jdm
...
WebBluetooth impementation
Update the current WebBluetooth implementation.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10632 )
<!-- Reviewable:end -->
2016-05-04 08:06:06 -07:00
Connor Brewster
dc85be4be5
Implement alert dialogs
...
Fixed conflict
Fixed merge issue
Finished implementation
Disable tinyfiledialogs on Windows
addressed comments
Use ancestor's SubpageId
Move display alert from method to function
Add extra test for nested iframes
Addressed comments
Updated tinyfiledialogs
2016-05-03 22:09:35 -06:00
bors-servo
f9d9cd3aae
Auto merge of #8454 - jdm:media, r=KiChjang
...
Implement basic <media> infrastructure
This gets us to the point where we can start playing with actually integrating rust-media to process the data received by the network request, as currently it's just ignored.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8454 )
<!-- Reviewable:end -->
2016-05-03 16:42:46 -07:00
bors-servo
2c69278067
Auto merge of #10756 - servo:smup, r=Ms2ger
...
Update SpiderMonkey
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10756 )
<!-- Reviewable:end -->
2016-05-03 15:46:40 -07:00
Josh Matthews
f16c05423c
Add more specification step comments and update to the latest specification.
2016-05-03 18:05:28 -04:00
Josh Matthews
99f6fb34fc
Tidy fixes.
2016-05-03 18:05:27 -04:00
Josh Matthews
f78d88acbe
Implement partial spec-recommended preload=none support.
2016-05-03 18:05:26 -04:00
Josh Matthews
ef10393ba6
Execute the failure steps for an empty src attribute.
2016-05-03 18:05:25 -04:00
Josh Matthews
a80320e24e
Add event handlers for media-related events.
2016-05-03 18:05:22 -04:00
Josh Matthews
d718da1c6a
Pause media elements when they're removed from the document.
2016-05-03 18:05:21 -04:00
Josh Matthews
e3db11fd8b
Implement play, pause, paused, and autoplay APIs.
2016-05-03 18:05:20 -04:00
Josh Matthews
5960fbe604
Implement load, canPlayType, and error APIs for media elements.
2016-05-03 18:05:18 -04:00
Josh Matthews
eae27adc4a
Implement basic media resource selection and fetching.
2016-05-03 16:25:24 -04:00
Josh Matthews
53f9307fb7
Add stubs for src and currentSrc for HTMLMediaElement.
2016-05-03 16:25:21 -04:00