bors-servo
07304235cc
Auto merge of #10502 - KiChjang:fix-open-url-base, r=Ms2ger
...
Add API base url method to global objects
This adds an `api_base_url` function to global objects, which fixes `open-url-base.htm` under XMLHttpRequest.
<!-- 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/10502 )
<!-- Reviewable:end -->
2016-04-11 17:57:02 +05:30
Keith Yeung
0541a01924
Rename get_radio_group_name to radio_group_name
2016-04-11 08:20:30 -04:00
Keith Yeung
e4cd8044a5
Remove unused fn get_indeterminate_state
2016-04-11 08:18:53 -04:00
Keith Yeung
311d2c65b6
Rename get_value_mode to value_mode
2016-04-11 08:07:32 -04:00
Keith Yeung
c75079eff3
Add API base url method to global objects
2016-04-11 07:49:31 -04:00
Ms2ger
3f95e4c8e1
Use upcast() in XMLDocument methods.
2016-04-11 10:30:08 +02:00
Ms2ger
0633ca4144
Remove unused import from xmldocument.
2016-04-11 10:29:51 +02:00
Ms2ger
71f56d6744
Simplify PrecedingNodeIterator::next().
2016-04-11 10:29:32 +02:00
Ms2ger
0d732ebb5f
Implement Clone for Root.
2016-04-11 10:29:13 +02:00
Corey Farwell
11a3ce1257
Remove get_*
on getters as per RFC 0344.
...
https://github.com/rust-lang/rfcs/blob/master/text/0344-conventions-galore.md#gettersetter-apis
https://github.com/servo/servo/issues/6224
2016-04-10 22:49:35 -04:00
Corey Farwell
3b376bb319
Remove superfluous end-of-file whitespace.
2016-04-10 22:03:27 -04:00
Corey Farwell
e397b30278
Remove dead link.
2016-04-10 22:03:03 -04:00
Nazım Can Altınova
d49a84c762
Replaced SendParam with BodyInit
2016-04-10 01:02:04 +03:00
shubham_jain
6626c5cfd4
issue #10141 : Document::location set null for documents without a browsing context. r=Ms2ger
2016-04-09 22:54:07 +05:30
bors-servo
32e53b80e2
Auto merge of #10086 - KiChjang:table-rows, r=Manishearth
...
Implement HTMLTableElement#rows
Fixes #8084 .
<!-- 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/10086 )
<!-- Reviewable:end -->
2016-04-09 16:36:40 +05:30
Shiroy
ee9bb1f3c6
Avoid script execution when not found
...
Fix #8391
2016-04-09 09:57:35 +02:00
Jack Moffitt
1bec193415
Use better JS engine defaults
...
This adds in preferences for all the SM 39 available options (as
retrieved from Gecko), and uses the same defaults as Gecko. A few
properties are not supported yet, and incremental GC is still always
disabled regardless of the preference setting.
This also adds back in the options that were accidentally deleted when
\#10342 was rebased, which moved things from script_thread.rs to
script_runtime.rs.
2016-04-08 08:46:22 -06:00
bors-servo
b6c4f51571
Auto merge of #10463 - amarant:10456-HTMLLegendElement-warnings, r=KiChjang
...
Issue #10456 Remove unused import warnings in HTMLLegendElement
Fixes #10456 .
<!-- 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/10463 )
<!-- Reviewable:end -->
2016-04-08 11:51:58 +05:30
bors-servo
bead958500
Auto merge of #10465 - stjepang:rescue-jit-prefs, r=KiChjang
...
Fix rebasing error
This PR mistakenly removed JIT enabling/disabling by preference:
https://github.com/servo/servo/pull/10342/files
Look for `get_pref`.
I'm putting the missing piece of code into the appropriate place in
script_runtime.rs
r? @KiChjang
<!-- 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/10465 )
<!-- Reviewable:end -->
2016-04-08 09:29:07 +05:30
bors-servo
c0aa049b0a
Auto merge of #9688 - KiChjang:worker-terminate, r=jdm
...
Implement Worker#terminate() (fixes #4427 ).
Adds support for terminating DOM workers. A closing flag was added to
WorkerGlobalScope per the spec.
Rebased #6652 , with some comments addressed.
Fixes #4427 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9688 )
<!-- Reviewable:end -->
2016-04-08 05:01:18 +05:30
Joe Wilm
229b176321
Implement Worker#terminate() ( fixes #4427 ).
...
Adds support for terminating DOM workers. A closing flag was added to
WorkerGlobalScope per the spec.
2016-04-07 18:54:32 -04:00
Keith Yeung
54f139c5cf
Implement HTMLTableElement#rows
2016-04-07 18:37:42 -04:00
Stjepan Glavina
4f34422474
Fix rebasing error
...
This PR mistakenly removed JIT enabling/disabling by preference:
https://github.com/servo/servo/pull/10342/files
Look for `get_pref`.
I'm putting the missing piece of code into the appropriate place in
script_runtime.rs
2016-04-07 22:49:13 +02:00
Arnaud Marant
4dedd46af7
Issue #10456 Remove unused import warnings in HTMLLegendElement
2016-04-07 21:24:20 +02:00
bors-servo
5cf89fea48
Auto merge of #10453 - Ms2ger:uuid, r=KiChjang
...
Update uuid.
<!-- 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/10453 )
<!-- Reviewable:end -->
2016-04-07 16:18:20 +05:30
bors-servo
51766d4804
Auto merge of #10430 - stjepang:remove-url-base, r=Ms2ger
...
Remove URL.base (it was removed from the spec)
Spec: https://url.spec.whatwg.org/#concept-url-url
Discussion on IRC: http://logs.glob.uno/?c=mozilla%23servo&s=1+Apr+2016&e=1+Apr+2016#c397947
r? @nox
<!-- 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/10430 )
<!-- Reviewable:end -->
2016-04-07 15:38:55 +05:30
Ms2ger
489d2e5e49
Update uuid.
2016-04-07 09:00:22 +02:00
bors-servo
4cc241c858
Auto merge of #10433 - saurvs:pr3, r=emilio
...
Implement WebGLRenderingContext.getActiveUniform()
Fixes https://github.com/servo/servo/issues/10397
<!-- 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/10433 )
<!-- Reviewable:end -->
2016-04-07 03:59:01 +05:30
bors-servo
a5bc74be2f
Auto merge of #10432 - autrilla:uniform, r=emilio
...
Added Uniform{1iv, 2f, 2fv}
The remaining ones need changes to webrender_traits, so I'll have to open a PR there too.
r? @emilio
<!-- 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/10432 )
<!-- Reviewable:end -->
2016-04-07 02:38:03 +05:30
bors-servo
c631fcf96f
Auto merge of #10388 - autrilla:dom-legend-form, r=emilio
...
Added .form property for legend tag
r? @emilio
<!-- 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/10388 )
<!-- Reviewable:end -->
2016-04-06 22:30:25 +05:30
Adrian Utrilla
a8f9887d86
Added .form property for legend tag
2016-04-06 17:42:24 +02:00
Saurav Sachidanand
56eef10718
Implement WebGLRenderingContext.getActiveUniform()
2016-04-06 20:02:45 +05:30
Stjepan Glavina
321cfcd16c
Remove URL.base (it was removed from the spec)
...
Spec: https://url.spec.whatwg.org/#concept-url-url
2016-04-06 14:18:24 +02:00
Adrian Utrilla
36522ba9c3
Added Uniform2fv
2016-04-06 13:12:44 +02:00
Adrian Utrilla
4ff131e14e
Added Uniform2f
2016-04-06 12:20:58 +02:00
Adrian Utrilla
b48e0f2ba9
Added Uniform1iv
2016-04-06 12:20:57 +02:00
bors-servo
e36e3be855
Auto merge of #10351 - stjepang:impl-url-searchparams, r=Manishearth
...
Implement URL.searchParams
Spec: https://url.spec.whatwg.org/#dom-url-searchparams
Closes #10335 .
<!-- 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/10351 )
<!-- Reviewable:end -->
2016-04-06 14:27:30 +05:30
bors-servo
883cde424b
Auto merge of #10342 - creativcoder:script-runtime-module, r=Ms2ger
...
Refactors some entities from script_thread into script_runtime
Fixes #10271 .
<!-- 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/10342 )
<!-- Reviewable:end -->
2016-04-06 13:21:21 +05:30
Rahul Sharma
2caa9a2a76
refactors entities from script_thread into script_runtime
2016-04-06 12:46:49 +05:30
bors-servo
6171188f59
Auto merge of #10319 - Mylainos:Issue-#10284, r=emilio
...
Issue #10284 Ignore alternate stylesheets
<!-- 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/10319 )
<!-- Reviewable:end -->
2016-04-06 12:21:27 +05:30
Hugo Thiessard
c39c7533ca
Issue #10284 Ignore alternate stylesheets
2016-04-05 23:57:39 +02:00
bors-servo
0ff8adb097
Auto merge of #9811 - paulrouget:forceTouch, r=mbrubeck
...
forcetouch events
https://developer.apple.com/library/mac/documentation/AppleApplications/Conceptual/SafariJSProgTopics/RespondingtoForceTouchEventsfromJavaScript.html
Not sure how we want to land that yet. Maybe reproduce the webkit events (as in this PR), or as touch/mousemouse events.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9811 )
<!-- Reviewable:end -->
2016-04-05 21:07:05 +05:30
Stjepan Glavina
7b38f289b0
Implement URL.searchParams
...
Spec: https://url.spec.whatwg.org/#dom-url-searchparams
2016-04-05 16:10:05 +02:00
bors-servo
d1e8b79583
Auto merge of #10399 - jdm:pb, r=jdm
...
Private browsing - Initial steps
Rebase of #10160 .
<!-- 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/10399 )
<!-- Reviewable:end -->
2016-04-05 17:41:11 +05:30
Paul Rouget
df6e7394d4
forcetouch events support
...
This enables Apple forcetouch DOM events. It requires the preference dom.forcetouch.enabled.
The DOM events are described here:
- https://developer.apple.com/library/mac/documentation/AppleApplications/Conceptual/SafariJSProgTopics/RespondingtoForceTouchEventsfromJavaScript.html
The Cocoa mechanism is documented here:
- https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSEvent_Class/#//apple_ref/doc/uid/20000016-SW274
2016-04-05 18:42:28 +08:00
bors-servo
17ffc6cf71
Auto merge of #10362 - amarant:10348-string-preferences, r=jdm
...
Issue #10348 Implement StringMozPreference, string preferences, WPT test
I'm not exactly sure of the wanted semantics with boolean values.
Fixes #10348 .
<!-- 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/10362 )
<!-- Reviewable:end -->
2016-04-05 16:06:26 +05:30
bors-servo
95c410830c
Auto merge of #10356 - Ar13mis:add_uniform2f, r=emilio
...
WebGL: add Uniform2f
Currently blocked on servo/webrender_traits#30
<!-- 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/10356 )
<!-- Reviewable:end -->
2016-04-05 07:30:42 +05:30
bors-servo
863c905025
Auto merge of #10325 - stjepang:pref-disable-jit, r=mbrubeck
...
Add preferences to enable/disable the JITs
When creating a runtime (script.rs), we check prefs and then enable or
disable the JITs (Baseline and Ion) accordingly.
Closes #10278 .
<!-- 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/10325 )
<!-- Reviewable:end -->
2016-04-05 05:50:13 +05:30
Ar13mis
86b1f4249a
Add Uniform2f
2016-04-04 16:00:22 -06:00
Stjepan Glavina
3ad7119b08
Add preferences to enable/disable the JITs
...
When creating a runtime (script.rs), we check prefs and then enable or
disable the JITs (Baseline and Ion).
2016-04-04 22:42:45 +02:00