aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Auto merge of #20329 - gterzian:before_unload, r=cbrewsterbors-servo2018-05-0725-76/+48
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement beforeunload event and infrastructure <!-- Please describe your changes on the following line: --> Implementation of: 1. https://html.spec.whatwg.org/multipage/#prompt-to-unload-a-document, and 2. https://html.spec.whatwg.org/multipage/#unload-a-document --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #10787 and fix #20485 and fix #20588 and fix #20496 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- 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="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20329) <!-- Reviewable:end -->
| * implement "has event listener", plug into (before)unloadGregory Terzian2018-05-056-20/+6
| |
| * beforeunload and unload infrastructureGregory Terzian2018-05-0518-40/+45
| |
| * PutForward=href on window and document locationGregory Terzian2018-05-042-19/+0
| |
* | style: Remove a useless unit test that no longer compiles.Emilio Cobos Álvarez2018-05-051-28/+1
| |
* | Auto merge of #20738 - jdm:fix-manifest-update-again, r=noxbors-servo2018-05-041-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | Adjust WPT manifest update python path to unbreak automated sync. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20738) <!-- Reviewable:end -->
| * | Adjust WPT manifest update python path to unbreak automated sync.Josh Matthews2018-05-021-1/+1
| | |
* | | Correct edge case for background color clipPyfisch2018-05-033-0/+59
| | | | | | | | | | | | | | | | | | | | | | | | Use the color clip corresponding to the last background-image instead of the last background-clip. (There may be more clips than images and clips are repeated if there are less clips than images.) Add a test.
* | | Auto merge of #20739 - pyfisch:border-image-outset, r=mbrubeckbors-servo2018-05-026-4/+72
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement border-image-outset Add an automatic test for border-image-outset with a gradient. Convert two tests from UTF-8 LE with CRLF line endings to UTF-8 with LF endings as the old files could not be viewed with servo. Closes #16638 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20739) <!-- Reviewable:end -->
| * | | Implement border-image-outsetPyfisch2018-05-026-4/+72
| |/ / | | | | | | | | | | | | | | | | | | | | | Add an automatic test for border-image-outset with a gradient. Convert two tests from UTF-8 LE with CRLF line endings to UTF-8 with LF endings as the old files could not be viewed with servo. Closes #16638
* | | Auto merge of #20689 - fabricedesre:mutation-take-records, r=emiliobors-servo2018-05-023-81/+0
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MutationObserver api: Implement takeRecords() and characterData mutations <!-- Please describe your changes on the following line: --> I started by looking at adding support for `takeRecords()` to get fluent.js to work on Servo. To get the wpt tests to pass I ended up implementing character data mutations (most of the plumbing was already there) and this fixed a few more tests. We are still missing support for `disconnect()`, which I keep for a followup. --- <!-- 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 build-geckolib` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- 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="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20689) <!-- Reviewable:end -->
| * | MutationObserver api: Implement takeRecords() and characterData mutationsFabrice Desré2018-05-023-81/+0
| | |
* | | Auto merge of #20725 - servo-wpt-sync:wpt_update_30-04-2018, r=jdmbors-servo2018-05-01274-2845/+5754
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sync WPT with upstream (30-04-2018) Automated downstream sync of changes from upstream as of 30-04-2018. [no-wpt-sync] <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20725) <!-- Reviewable:end -->
| * | | Generalize mac-only failureJosh Matthews2018-05-011-2/+1
| | | |
| * | | Generalize mac-only failureJosh Matthews2018-05-011-2/+1
| | | |
| * | | Update web-platform-tests to revision ea14651f262003177d0ba5819bd2806a1327b12aWPT Sync Bot2018-04-30272-2841/+5752
| | |/ | |/|
* / | Update WPT syncing metadata.Josh Matthews2018-05-011-2/+2
|/ /
* | Auto merge of #20671 - cbrewster:history_url, r=asajeffreybors-servo2018-04-304-4/+36
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make session history aware of URLs <!-- 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 build-geckolib` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- 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="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20671) <!-- Reviewable:end -->
| * | Make session history aware of URLsConnor Brewster2018-04-244-4/+36
| |/
* | Auto merge of #20420 - pyfisch:corner-clipping, r=emiliobors-servo2018-04-296-14/+79
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move DL items from gfx to layout and implement corner clipping Implement corner clipping. Remove PixelFormat from WebrenderImageInfo. Use WebRender text shadow. Remove MallocSizeOf and Deserialize for DL items. Closes #19649, closes #19680, closes #19802 <!-- 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 #__ (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- 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="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20420) <!-- Reviewable:end -->
| * | Place item clipping_and_scrolling inside closurePyfisch2018-04-253-6/+6
| | | | | | | | | | | | | | | A utility function assures that if the clipping and scrolling are changed for a display item the old value is later restored.
| * | Move DL items from gfx to layoutPyfisch2018-04-226-14/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | Implement corner clipping. Remove PixelFormat from WebrenderImageInfo. Use WebRender text shadow. Remove MallocSizeOf and Deserialize for DL items. Closes #19649, #19680, #19802
* | | Update test expectations.Emilio Cobos Álvarez2018-04-291-3/+0
| | |
* | | style: Fix tidy issues and Servo build.Emilio Cobos Álvarez2018-04-292-40/+5
| | |
* | | Update test expectations.Emilio Cobos Álvarez2018-04-286-189/+3
| | |
* | | Update test expectations.Emilio Cobos Álvarez2018-04-284-134/+0
| | |
* | | style: Fixups for css-fonts-4 font-weight.Emilio Cobos Álvarez2018-04-282-18/+0
| | |
* | | Auto merge of #20533 - paulrouget:res, r=mbrubeckbors-servo2018-04-273-0/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Delegate resource reading to embedder Now the embedder provides the content of the files itself. Now, on Android, we can use regular assets instead of unzipping all the resources on the scared at startup. --- <!-- 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 build-geckolib` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #15635 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- 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="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20533) <!-- Reviewable:end -->
| * | | delegate resource reading to embedderPaul Rouget2018-04-273-0/+4
| | | |
* | | | Auto merge of #20702 - servo:window-mixins, r=SimonSapin,noxbors-servo2018-04-27186-1961/+4790
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement WindowOrWorkerGlobalScope.origin This is needed for the next WPT sync. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20702) <!-- Reviewable:end -->
| * | | Update web-platform-tests to revision 4f397167b4ed552a02201c92d363cfaecfe2c7f0WPT Sync Bot2018-04-27182-1943/+4785
| | | |
| * | | Implement WindowOrWorkerGlobalScope.originAnthony Ramine2018-04-274-18/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The test document_domain_setter.html now fails, but AFAIK the origin comparison can never be true (document.origin is the unprefixed domain, while the loaded iframe is from www1.…), and that test fails in all major browsers because of security exceptions anyway.
* | | | Update Webrender to last versionAnthony Ramine2018-04-266-19/+0
|/ / /
* | | Update web-platform-tests to revision 5084587f6b05bf99ad09e7844be66dcc61070cdfWPT Sync Bot2018-04-26408-2602/+8962
| | |
* | | Auto merge of #20690 - servo:wrup, r=glennwbors-servo2018-04-252-9/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update Webrender Fixes #20609 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20690) <!-- Reviewable:end -->
| * | | Update WebrenderBastien Orivel2018-04-252-9/+0
| | | | | | | | | | | | | | | | Fixes #20609
* | | | Auto merge of #20631 - ↵bors-servo2018-04-253-108/+125
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | brainlessdeveloper:add-webgl-get-renderbuffer-parameter, r=emilio Implement WebGL GetRenderbufferParameter This needed a bump of gleam to version 0.4.33 for this https://github.com/servo/gleam/pull/162 <!-- Please describe your changes on the following line: --> I think my changes in test expectations are pretty naive and I have to wait for the PR to run on CI to see what the actual impact is. I'd like some guidance on this, too. --- <!-- 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 build-geckolib` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #20514 (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- 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="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20631) <!-- Reviewable:end -->
| * | | Update test failure expectations for gl.getUniformFausto Núñez Alberro2018-04-241-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated by running /mach test-wpt --log-raw /tmp/servo.log ./**/*1.0.3*/conformance/state/gl-object-get-calls.html ...and then ./mach update-wpt /tmp/servo.log
| * | | Implement WebGL GetRenderbufferParameterFausto Núñez Alberro2018-04-243-127/+92
| | |/ | |/| | | | | | | This needed a bump of gleam to version 0.4.33
* | | Move shadow stuff to its own test in link-rel-attribute.htmlAnthony Ramine2018-04-243-7/+10
| | |
* | | Remove some const loops in /url/urlsearchparams-foreach.htmlAnthony Ramine2018-04-243-8/+4
| | |
* | | Update web-platform-tests to revision 4a5223502fa660ce03e470af6a61c8bc26c5a8eeWPT Sync Bot2018-04-231328-20598/+36642
|/ /
* | History: update document URL on pushState/replaceStateAndrew Shu2018-04-1810-71/+0
| | | | | | | | | | https://html.spec.whatwg.org/multipage/#dom-history-pushstate Steps 6, 7, 10
* | Implement gl.getParameter(gl.ALIASED_LINE_WIDTH_RANGE)Matt McCoy2018-04-171-5/+0
| |
* | Implement history stateConnor Brewster2018-04-1641-303/+1
| |
* | Auto merge of #20629 - cbrewster:session_history_fixup, r=asajeffreybors-servo2018-04-123-0/+43
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Session history fixup <!-- Please describe your changes on the following line: --> When a browsing context was removed, its entries were not removed from the joint session history. The embedder should be notified that the history changed after a navigation matures. --- <!-- 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 build-geckolib` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- 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="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20629) <!-- Reviewable:end -->
| * | Remove entries for removed iframesConnor Brewster2018-04-123-0/+43
| | | | | | | | | | | | | | | | | | Notify history changed after a navigation Add history drop test
* | | style: Let overflow parse two values.Emilio Cobos Álvarez2018-04-122-36/+0
|/ / | | | | | | | | | | | | | | Per https://github.com/w3c/csswg-drafts/issues/2484. Bug: 1453148 Reviewed-by: xidorn MozReview-Commit-ID: D7M3PhnTtD2
* | Replace initial about:blank loadsConnor Brewster2018-04-112-10/+0
| |
* | Fix /_mozilla/bluetooth/interfaces.htmlAnthony Ramine2018-04-093-40/+18
| |