Alan Jeffrey
00a8efe9fd
When webdriver is getting a pipeline id, it should wait for the pipeline document to be ready.
2016-05-11 15:27:25 -05: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
fokinv
9825ea41b4
Add Bluetooth IPC support
2016-05-03 10:17:41 +02:00
Keith Yeung
c76d0006ee
Re-add TODO comment for adding referer info to LoadData
2016-05-02 21:07:54 -04:00
Ms2ger
db6543e502
Simplify load_data handling in handle_script_loaded_url_in_iframe_msg.
2016-05-02 16:36:57 +02:00
Ms2ger
eba74554f3
Add and update some FIXME comments about origin handling with iframes.
2016-05-02 12:34:08 +02:00
Keith Yeung
3110647852
Make IFrameLoadInfo take an Option<LoadData> instead of Option<Url>
2016-04-30 21:43:01 -04:00
bors-servo
d9dc6dd03c
Auto merge of #10931 - asajeffrey:send-panic-backtrace-to-mozbrowser, r=jdm
...
Send the panic reason and backtrace in mozbrowsererror.
Closes #10334 . Glues together PRs #10837 and #10824 .
<!-- 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/10931 )
<!-- Reviewable:end -->
2016-04-30 07:30:38 -07:00
bors-servo
f75fa5283e
Auto merge of #10902 - asajeffrey:remove-explicit-panic-from-compositor, r=aneeshusa
...
Remove panic! from the compositor
Fixes #10864 , and adds a check to `/etc/ci/check_no_unwrap.sh`.
r? @aneeshusa
<!-- 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/10902 )
<!-- Reviewable:end -->
2016-04-29 17:25:17 -07:00
Alan Jeffrey
bd09f3148e
Send the panic reason and backtrace in mozbrowsererror.
2016-04-29 13:22:48 -05:00
bors-servo
990dd72da7
Auto merge of #10837 - asajeffrey:add-mozbrowsererror-details, r=Manishearth
...
Add detail to mozbrowsererror events.
Part of #10334 . Once #10824 lands, we can include the panic reason and backtrace in the error report.
<!-- 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/10837 )
<!-- Reviewable:end -->
2016-04-29 09:18:39 -07:00
Alan Jeffrey
5db92870ff
Remove panic! from the compositor
2016-04-29 11:10:33 -05:00
Patrick Walton
7bd257089c
script: Make iframes know their pipeline IDs at all times, even after
...
navigation.
Since WebRender uses the pipeline ID stored in the iframe element to
determine which pipeline to display, it had better be kept up to date!
Closes #9919 .
2016-04-28 10:53:13 -07:00
bors-servo
959dbac0e7
Auto merge of #10862 - asajeffrey:only-the-chrome-survives, r=SimonSapin
...
Don't kill the root pipeline when randomly killing pipelines.
Useful for stress-testing the browser chrome, e.g. testing #10334 .
<!-- 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/10862 )
<!-- Reviewable:end -->
2016-04-26 18:40:21 -07:00
Alan Jeffrey
2a52351de0
Don't kill the root pipeline when randomly killing pipelines.
2016-04-26 14:32:11 -05:00
Alan Jeffrey
9153333f62
Communicate a backtrace to the constellation when panicking.
2016-04-26 11:31:36 -05:00
Rebecca
526525b835
Add referrer policy pass-through and referrer header logic
...
add pass-through from doc to http-loader for referrer_policy, ref_URL
add logic for setting referer header
add script pass-through for referrer
add unit tests for setting referer header
2016-04-25 16:41:06 -04:00
Alan Jeffrey
d65cf8e833
Add detail to mozbrowsererror events.
2016-04-25 12:18:28 -05:00
Simon Sapin
7932ab6ac2
Upgrade to rust-url 1.0 and hyper 0.9
2016-04-23 20:27:58 +02:00
Michael Howell
7940b22158
compositing/script: Do not dispatch the resize event when initially loading.
...
No bug report corresponds to this, but I noticed it while trying to
reduce #10593
2016-04-22 13:36:43 -07:00
Alan Jeffrey
cfb066ef20
Added a dedicated panic channel.
2016-04-19 09:08:44 -05:00
Alan Jeffrey
59824ccb92
Trigger mozbrowsererror event when a pipeline fails.
2016-04-18 16:03:48 -05:00
bors-servo
6c5cfb738a
Auto merge of #10345 - asajeffrey:make-nox-happy, r=nox
...
Replace side-effecting unwrap_or_else by if let in constellation.
This addresses @nox's comments in #10295 .
<!-- 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/10345 )
<!-- Reviewable:end -->
2016-04-15 17:35:45 +05:30
Alan Jeffrey
0cca4a9d53
Replace side-effecting unwrap_or_else by if let in constellation.
...
This addresses nox's comments in #10295 .
2016-04-14 10:58:22 -05:00
Josh Matthews
cacbf95de8
Replace instances of infallible unwrap with expect.
2016-04-14 11:30:30 -04:00
bors-servo
2b910678db
Auto merge of #10587 - asajeffrey:add-failure-panic-message, r=Manishearth
...
Added panic message to failures.
Added the panic message to failures. This is a step towards #10334 , since it gives us access to the panic error message when we fire a `mozbrowsererror` event. The remaining steps are also to record the backtrace, and to report the failure in the event.
<!-- 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/10587 )
<!-- Reviewable:end -->
2016-04-14 19:55:17 +05:30
Simon Sapin
6889f37d9e
Remove the url! plugin.
...
In rust-url 1.0 the `Url` struct is going to have private fields, and there
is no way to to create an aribitrary one without going through the parser.
The plugin never had a clear demonstrated performance benefit,
it was made mostly because it was possible and relatively easy at the time.
2016-04-14 15:35:28 +02:00
Alan Jeffrey
8c0fa01884
Added panic message to failures.
2016-04-13 16:09:48 -05:00
bors-servo
628c54948a
Auto merge of #10489 - timvandermeij:constellation-debug-warn, r=jdm
...
Replace use of `debug!` by `warn!` in `constellation.rs`
Fixes #10483 .
<!-- 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/10489 )
<!-- Reviewable:end -->
2016-04-14 00:50:05 +05:30
Tim van der Meij
29e564b1f7
Replace use of debug!
by warn!
in constellation.rs
...
Fixes #10483 .
2016-04-13 20:31:59 +02:00
Ms2ger
b032a7894a
Remove a pointless Url clone.
2016-04-13 12:45:21 +02:00
bors-servo
aec297565b
Auto merge of #10554 - asajeffrey:fast-fail-handle-script-loaded-url-in-iframe, r=Ms2ger
...
Fast fail_handle_script_loaded_url_in_iframe_msg
<!-- 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/10554 )
<!-- Reviewable:end -->
2016-04-13 15:23:51 +05:30
Alan Jeffrey
6c5b2167f5
Fast-fail handle_script_loaded_url_in_iframe_msg ( fixes #10416 )
2016-04-12 16:43:28 -05:00
Ulf Nilsson
c8f206d0f3
Propagate RUST_BACKTRACE to content processes
2016-04-12 09:28:08 +02:00
bors-servo
a61fc5285f
Auto merge of #10534 - asajeffrey:reenable-check-no-unwrap, r=Manishearth
...
Re-enabled etc/ci/check_no_unwrap
Got `etc/ci/check_no_unwrap.sh` to pass, and re-enabled it.
<!-- 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/10534 )
<!-- Reviewable:end -->
2016-04-12 09:57:34 +05:30
bors-servo
f0014bd9cd
Auto merge of #10224 - emilio:shader-type-validations, r=jdm
...
webgl: Add attribute validations and other nits
Fixes https://github.com/servo/servo/issues/9958
Depends on a bunch of prs, and needs a test.
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/10224 )
<!-- Reviewable:end -->
2016-04-12 05:18:49 +05:30
Alan Jeffrey
d01c312278
Re-enabled /etc/ci/check_no_unwrap.
2016-04-11 17:28:19 -05: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
dhaval0603
af64a888e6
Private browsing - Initial steps
2016-04-04 15:22:38 -04:00
Emilio Cobos Álvarez
6fcc03c965
webgl: Make the api return the context limits and use them for validations
...
This allows keeping the VertexAttrib* calls asynchronous.
Another option would be to do the validation in the apply() function,
but that'd require us passing an unnecessary channel around and add
extra synchronization.
The counterpart of this is that it has to be updated when the context
changes, but that's less problem.
2016-04-03 01:21:56 +02:00
bors-servo
85f9f9626e
Auto merge of #10343 - asajeffrey:document-constellation-recv-panic, r=jdm
...
Comment explaining constellation panic for recv
A retry of #10294 , which was closed due to homu issues.
<!-- 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/10343 )
<!-- Reviewable:end -->
2016-04-02 23:08:45 +05:30
bors-servo
7f06b467a4
Auto merge of #10295 - asajeffrey:remove-constellation-misc-panic, r=nox
...
Miscellaneous fixes to harden the constellation.
<!-- 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/10295 )
<!-- Reviewable:end -->
2016-04-01 19:14:48 +05:30
Alan Jeffrey
df82a5b24f
Removed panicking when frame or pipeline lookup fails.
2016-03-31 16:18:36 -05:00
Alan Jeffrey
f9f15876cd
Miscellaneous fixes to harden the constellation.
2016-03-30 18:01:28 -05:00
Alan Jeffrey
6dab59f8ce
Added comment explaining why the constellation still panics in the case of recv failure.
2016-03-30 16:10:09 -05:00
Alan Jeffrey
620ba84fdc
Replace any uses of .send(...).unwrap() by .send(...).unwrap_or_else(...).
2016-03-29 10:31:35 -05:00
bors-servo
aac2da75f4
Auto merge of #8641 - notriddle:no_headless, r=glennw
...
No more headless compositor. Just the normal one.
Fixes #8573
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641 )
<!-- Reviewable:end -->
2016-03-29 12:42:01 +05:30
Alan Jeffrey
32c72f0925
Added ability to randomly kill pipelines to the constellation.
2016-03-26 09:11:28 -05:00