aboutsummaryrefslogtreecommitdiffstats
path: root/components
Commit message (Collapse)AuthorAgeFilesLines
* Auto merge of #11720 - canaltinova:sandbox, r=noxbors-servo2016-06-112-13/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the type of HTMLIFrameElement.sandbox <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #11598 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/11720) <!-- Reviewable:end -->
| * Add Sandbox field to HTMLIFrameElementNazım Can Altınova2016-06-112-9/+8
| |
| * Change sandbox to sandbox_allowance in HTMLIFrameElementNazım Can Altınova2016-06-111-4/+4
| |
* | Auto merge of #11556 - Manishearth:make-fetch-happen, r=jdmbors-servo2016-06-1117-904/+743
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make fetch happen <!-- Please describe your changes on the following line: --> Moves XHR over to the fetch backend. Previous PR: https://github.com/servo/servo/pull/114 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors (Will fix later) <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/11556) <!-- Reviewable:end -->
| * | Review fixesManish Goregaokar2016-06-119-512/+26
| | |
| * | Test fixes; update for changes in specManish Goregaokar2016-06-108-149/+266
| | |
| * | Re-support gzipManish Goregaokar2016-06-102-29/+40
| | |
| * | Modify request headers for fetchManish Goregaokar2016-06-102-24/+34
| | |
| * | Re-add support for fetching chunks (and thus xhr download progress)Manish Goregaokar2016-06-104-86/+95
| | |
| * | Test fixes:Manish Goregaokar2016-06-107-93/+171
| | | | | | | | | | | | | | | | | | | | | | | | - Hack to stop hitting unreachable on referer - add fetch_done to make sync work - Make datauris work by setting the response URI, spec bug - Allow for empty bodies - Make request bodies work (pass to http, fix fencepost in iter count)
| * | Use RequestInit instead of LoadData. Make code look like the spec.Manish Goregaokar2016-06-104-69/+94
| | |
| * | Hook XHR up to fetchManish Goregaokar2016-06-102-148/+51
| | |
| * | Abstractify the Listener abstractions furtherManish Goregaokar2016-06-107-17/+47
| | |
| * | Net side of XHR fetch integrationManish Goregaokar2016-06-105-6/+107
| | |
| * | Revamp Fetch async handling to use a fetch target and done channelsManish Goregaokar2016-06-104-84/+125
| | |
* | | Auto merge of #11700 - Ms2ger:assert, r=jdmbors-servo2016-06-111-1/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove an invalid assertion in fire_timer. It's not clear to me if this is something we should expect to happen, but it does indeed happen, so we should disable the assertion while we investigate. Fixes #9984. <!-- 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/11700) <!-- Reviewable:end -->
| * | | Remove an invalid assertion in fire_timer.Ms2ger2016-06-101-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It's not clear to me if this is something we should expect to happen, but it does indeed happen, so we should disable the assertion while we investigate. Fixes #9984.
* | | | script: When using WebRender, keep the DOM-side scroll positions forPatrick Walton2016-06-1013-47/+252
| | | | | | | | | | | | | | | | | | | | | | | | | | | | elements with `overflow: scroll` up to date, and take them into account when doing hit testing. Closes #11648.
* | | | Auto merge of #11702 - nox:fonts, r=metajackbors-servo2016-06-103-109/+119
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't load all font faces sources We stop at the first one we manage to load. <!-- 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/11702) <!-- Reviewable:end -->
| * | | | Don't load all font faces sourcesAnthony Ramine2016-06-103-109/+119
| | | | | | | | | | | | | | | | | | | | We stop at the first one we manage to load.
* | | | | Auto merge of #11214 - farodin91:windowproxy, r=jdmbors-servo2016-06-109-48/+69
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support WindowProxy return values in bindings Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy --faster` does not report any errors - [x] These changes fix #10965 (github issue number if applicable). Either: - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. <!-- 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/11214) <!-- Reviewable:end -->
| * | | | Support WindowProxy return values in bindingsJansen Jan2016-06-099-48/+69
| | | | | | | | | | | | | | | | | | | | unscopable
* | | | | Auto merge of #11707 - jdm:resize_warn, r=Ms2gerbors-servo2016-06-101-1/+1
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid frequent intermittent failure in tests. - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #11613 (github issue number if applicable). - [X] These changes do not require tests because they address a frequent nondeterministic panic that occurs in other tests. <!-- 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/11707) <!-- Reviewable:end -->
| * | | | Avoid frequent intermittent failure in tests.Josh Matthews2016-06-101-1/+1
| | | | |
* | | | | Auto merge of #10382 - bobthekingofegypt:fix-websocket-close, r=metajackbors-servo2016-06-101-6/+14
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stop client websocket close echoing server close Client initiated close requests should send a close message to the server that the server will echo back to complete the process. Servo should not then echo the servers close request back again to the server, this guard stops servo from echoing a server close request if the process was initiated by the client. Tracked in https://github.com/servo/servo/issues/9803#issuecomment-196424406 <!-- 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/10382) <!-- Reviewable:end -->
| * | | | | check close on both incoming/outgoing websocketBob2016-06-101-6/+14
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | Need to make sure close is only sent to the server once, either from a client initiation or from a server echo. This adds the sent check to both incoming and outgoing threads.
* | | | | Auto merge of #11692 - jdm:language, r=Manishearthbors-servo2016-06-101-1/+19
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a default Accept-Language header to HTTP requests. - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #11008 - [X] There are tests for these changes <!-- 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/11692) <!-- Reviewable:end -->
| * | | | Add a default Accept-Language header to HTTP requests.Josh Matthews2016-06-101-1/+19
| |/ / /
* | | | Auto merge of #11168 - daoshengmu:texSubImage2D, r=emiliobors-servo2016-06-093-109/+315
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement WebGL TexSubImage2D Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). Either: - [ ] There are tests for these changes OR - [X] These changes do not require tests because I have run the wpt test of texSubImage2D.html, and it works. Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. I have implemented ```TexSubImage2D``` follow [the spec](https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.14.8). This is my first version of implementation, and I notice I can reuse the code from ```TexImage2D```. Therefore, I would like to discuss make ```validate_tex_image2D_from_buffer``` and ```validate_tex_image2D_from_source``` to remove duplicate code. Part of #10209 <!-- 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/11168) <!-- Reviewable:end -->
| * | | | Implement texSubImage2D APIDaosheng Mu2016-06-102-104/+310
| | | | |
| * | | | Enable texSubImage2D APIDaosheng Mu2016-06-021-5/+5
| | | | |
* | | | | Auto merge of #11552 - izgzhen:add-testing-fix-filemanager, r=Manishearthbors-servo2016-06-095-63/+50
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve implementation and add testing regarding file manager thread First there is a more completed unit test. And in the test running, I found a runtime error `Serde(Custom("bincode does not support Deserializer::deserialize))` when reading response from file manage thread. I analyzed a bit and found that it is probably caused by the `Uuid` field. I temporarily work around it by making the `Id` essentially a string wrapped inside `SelectedFileId`. Related to PR #11131. <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors <!-- Either: --> - [x] There are tests for these changes <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/11552) <!-- Reviewable:end -->
| * | | | | Add unit testing to file manager; Replace uuid by stringified version in ↵Zhen Zhang2016-06-105-63/+50
| | | | | | | | | | | | | | | | | | | | | | | | FileManagerThreadMsg
* | | | | | Auto merge of #11687 - larsbergstrom:android_basedir, r=mbrubeckbors-servo2016-06-094-8/+23
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android basedir <!-- Please describe your changes on the following line: --> This fixes #11633, as when the new basedir stuff that uses xdg was added, it did not preserve the previous Android behavior, which used `/sdcard/servo`. Obviously, long-term we should be calling into the Android runtime to determine the per-run installation path and be both unpacking and loading resources from there, but this restores the previous behavior. r? @mbrubeck --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ x] `./mach build -d` does not report any errors - [x ] `./mach test-tidy` does not report any errors - [x] These changes fix #11633 (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ x] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/11687) <!-- Reviewable:end -->
| * | | | | Pick up libz update to fix android buildLars Bergstrom2016-06-092-3/+3
| | | | | |
| * | | | | Restore Android to using /sdcard/servo for data, cache, and config pathsLars Bergstrom2016-06-092-5/+20
| | | | | |
* | | | | | Auto merge of #11513 - fduraffourg:pr11216, r=jdmbors-servo2016-06-092-5960/+76
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add mach command to update public domain list and use a HashSet for matching <!-- Please describe your changes on the following line: --> Add a `mach update-pub-domains` command that update the public domain list used by servo. Replace the Vec matching with a HashSet which is way quicker. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #11216 <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/11513) <!-- Reviewable:end -->
| * | | | | | Add mach command to update public domain list and use a HashSet instead of a ↵Florian Duraffourg2016-06-092-5960/+76
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | Vec to lookup public domains
* | | | | | Avoid an index-out-of-bounds error in ScriptMemoryFailsafe.Ms2ger2016-06-092-2/+10
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #11059. Fixes #11400. Fixes #11481. Fixes #11671. Fixes #11682.
* | | | | Auto merge of #11548 - kevgs:default_view2, r=Ms2gerbors-servo2016-06-093-8/+27
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make Document::DefaultView return a null value when there's no browsing context Fixes #11469. <!-- 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/11548) <!-- Reviewable:end -->
| * | | | Make Document::DefaultView return a null value when there's no browsing contextKosov Eugene2016-06-083-8/+27
| | | | |
* | | | | Auto merge of #11646 - pcwalton:real-info-plist, r=metajackbors-servo2016-06-084-10/+63
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | servo: Add an `Info.plist` on the Mac and opt into integrated graphics. Discrete GPUs cause power use problems and tend to perform badly with WebRender. See: * https://developer.apple.com/library/mac/qa/qa1734/_index.html * https://reverse.put.as/2013/05/28/gimmedebugah-how-to-embedded-a-info-plist-into-arbitrary-binaries/ r? @metajack <!-- 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/11646) <!-- Reviewable:end -->
| * | | | | servo: Add an `Info.plist` on the Mac and opt into integrated graphics.Patrick Walton2016-06-083-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Discrete GPUs cause power use problems and tend to perform badly with WebRender. See: * https://developer.apple.com/library/mac/qa/qa1734/_index.html * https://reverse.put.as/2013/05/28/gimmedebugah-how-to-embedded-a-info-plist-into-arbitrary-binaries/
| * | | | | servo: Update `cocoa-rs` to pick up servo/cocoa-rs#131.Patrick Walton2016-06-081-10/+10
| | | | | |
* | | | | | Auto merge of #11652 - szeged:blacklistfix, r=jdmbors-servo2016-06-081-1/+9
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add blacklist check to GetIncludedService(s) functions Somehow we missed it from our previous blacklist PR, to add blacklist check for the GetIncludedService() and GetIncludedServices() functions. Link for the spec: https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetoothremotegattservice-getincludedservice <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes do not require tests because there are no webbluetooth test api implementation yet. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/11652) <!-- Reviewable:end -->
| * | | | | Add blacklist check to GetIncludedSevice(s) functionszakorgyula2016-06-071-1/+9
| | | | | |
* | | | | | Auto merge of #11676 - Ms2ger:constellation-channels, r=asajeffreybors-servo2016-06-081-8/+8
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create some channels on the constellation thread. <!-- 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/11676) <!-- Reviewable:end -->
| * | | | | | Create some channels on the constellation thread.Ms2ger2016-06-081-8/+8
| | | | | | |
* | | | | | | Auto merge of #11636 - szeged:optservicesfix, r=jdmbors-servo2016-06-081-3/+2
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix an incorect behavior, when converting optional services. As specified in https://webbluetoothcg.github.io/web-bluetooth/#ref-for-blacklisted-2 if any service in the optionalServices are blacklisted, there is no need to throw an error (just remove the service). In this case we don't add the service to the result of conversion. <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because there are no webbluetooth test api implementation yet. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/11636) <!-- Reviewable:end -->
| * | | | | | Fix an incorect behavior, when converting optional services.zakorgyula2016-06-061-3/+2
| | | | | | |