Commit graph

30538 commits

Author SHA1 Message Date
Sandeep Hegde
f6f454505e fixed tidy error 2017-11-08 13:00:14 -05:00
Sandeep Hegde
84f694dc93 Added more information in Mutation Test Readme 2017-11-08 12:58:46 -05:00
bors-servo
5b36b74c06 Auto merge of #19138 - asajeffrey:script-rename-js-dependency-to-mozjs, r=jdm
Rename js crate to mozjs

<!-- Please describe your changes on the following line: -->

This PR renames the `js` dependency to `mozjs', ready for when https://github.com/servo/rust-mozjs/pull/377 lands.

---
<!-- 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 refactoring

<!-- 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/19138)
<!-- Reviewable:end -->
2017-11-08 11:45:05 -06:00
Alan Jeffrey
8008ba5081 Renamed js crate to mozjs 2017-11-08 11:43:30 -06:00
bors-servo
294a24af48 Auto merge of #19153 - CYBAI:font-size-adjust-out-of-mako, r=emilio
style: Move font-size-adjust outside of mako

This is a sub-PR of #19015
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19151  (github issue number if applicable).
- [x] These changes do not require tests

<!-- 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/19153)
<!-- Reviewable:end -->
2017-11-08 09:52:37 -06:00
CYBAI
e73f2377cf style: Move font-size-adjust outside of mako 2017-11-08 23:40:23 +08:00
bors-servo
cbf2ac35f7 Auto merge of #19149 - emilio:random-cleanup, r=nox
style: minor cleanups

<!-- 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/19149)
<!-- Reviewable:end -->
2017-11-08 07:28:47 -06:00
Emilio Cobos Álvarez
5ecf1508ee
style: We never call accumulate_damage_for in a forgetful traversal.
We early-return instead before calling it.

MozReview-Commit-ID: JaRWPHCQAl9
2017-11-08 14:24:10 +01:00
Emilio Cobos Álvarez
92a69fbd9a
style: Tidy up PseudoElement::should_exist.
MozReview-Commit-ID: Enr1NHONmtp
2017-11-08 14:23:58 +01:00
bors-servo
a1f7337221 Auto merge of #19148 - KiChjang:import-sequence-inner-types, r=jdm
Import sequence inner types if it appears in dictionary members

Relands #19133, as it was backed out wrongly in #19143.

<!-- 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/19148)
<!-- Reviewable:end -->
2017-11-08 06:22:16 -06:00
Keith Yeung
ce8486ab9b Import sequence inner types if it appears in dictionary members 2017-11-08 04:20:30 -08:00
bors-servo
fd8b4b59c2 Auto merge of #19119 - CYBAI:font-size-out-of-mako, r=emilio
style: Move font-size outside of mako

This is a sub-PR of #19015
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19111  (github issue number if applicable).
- [x] These changes do not require tests

<!-- 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/19119)
<!-- Reviewable:end -->
2017-11-08 04:05:47 -06:00
bors-servo
b8fdb90b95 Auto merge of #19140 - glennw:update-wr-windows, r=mbrubeck
Update WR (Windows subpx rendering fix)

<!-- 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/19140)
<!-- Reviewable:end -->
2017-11-08 00:55:00 -06:00
CYBAI
0f57d250bb style: Move font-size outside of mako 2017-11-08 14:31:06 +08:00
bors-servo
4a2103b9e6 Auto merge of #19139 - emilio:bye-parse-specified, r=jdm
style: Get rid of parse_specified.

It has a single use, and I don't think we should use it in the future.

<!-- 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/19139)
<!-- Reviewable:end -->
2017-11-07 23:44:17 -06:00
bors-servo
d16902c080 Auto merge of #19143 - moz-servo-sync:gecko-backout, r=moz-servo-sync
Backed out changeset dd834d38eaab for Windows debug build bustage

Backed out changeset dd834d38eaab for Windows debug build bustage

Backs out https://github.com/servo/servo/pull/19133

<!-- 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/19143)
<!-- Reviewable:end -->
2017-11-07 19:42:12 -06:00
Gecko Backout
38b9a543a3 Backed out changeset dd834d38eaab for Windows debug build bustage
Backs out https://github.com/servo/servo/pull/19133
2017-11-08 01:21:17 +00:00
Emilio Cobos Álvarez
7adad61db8
style: Get rid of parse_specified.
It has a single use, and I don't think we should use it in the future.
2017-11-08 01:33:13 +01:00
Glenn Watson
b18ecfdadf Update WR (Windows subpx rendering fix) 2017-11-08 09:36:26 +10:00
bors-servo
7ae852b673 Auto merge of #19133 - KiChjang:import-sequence-inner-types, r=jdm
Import sequence inner types if it appears in dictionary members

Fixes #19107.

r? nox

<!-- 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/19133)
<!-- Reviewable:end -->
2017-11-07 17:07:03 -06:00
bors-servo
693c3dcfb2 Auto merge of #16946 - jdm:report, r=Manishearth
Add intermittent failure reporting to filter-intermittents

We need to address https://github.com/servo/saltfs/issues/671 before this can be enabled by default on the builders, but I got the pieces working locally. This collects relevant information about each recorded intermittent failure encountered during a test run and posts them to a webapp which stores them in a database for later investigation. This will allow us to track over time which intermittent test failures are the most frequent, as well as whether they only happen on a particular builder or operating system.

<!-- 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/16946)
<!-- Reviewable:end -->
2017-11-07 13:05:12 -06:00
Josh Matthews
86e3f0deef Use failure reporting API on CI. 2017-11-07 14:01:24 -05:00
Josh Matthews
c469cbbe72 Report instances of intermittent failures to a tracker. 2017-11-07 13:40:38 -05:00
Josh Matthews
c0f85579c5 Allow specifying alternative tracker endpoints. 2017-11-07 13:40:07 -05:00
bors-servo
9de76632f4 Auto merge of #19135 - paulrouget:resize, r=mbrubeck
do not pass new size to Resize event

It's not necessary to pass the new size to the resize event as it can be retrieved via `WindowMethods::framebuffer_size()`.

From the perspective of the embedder, that makes things a bit easier.

<!-- 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/19135)
<!-- Reviewable:end -->
2017-11-07 10:44:51 -06:00
bors-servo
70bbb9bf94 Auto merge of #19137 - ajmeese7:patch-1, r=jdm
Update README.md

<!-- Please describe your changes on the following line: -->

Corrected 64bit

---
<!-- 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 #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X ] These changes do not require tests because it is a README update

<!-- 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/19137)
<!-- Reviewable:end -->
2017-11-07 08:55:44 -06:00
Aaron Meese
8aed89a62d
Update README.md
Corrected 64bit
2017-11-07 08:23:37 -06:00
bors-servo
254c659250 Auto merge of #19136 - emilio:allow-quirks-box, r=SimonSapin
style: respect allow_quirks for boxed properties.

This will unblock #19119

<!-- 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/19136)
<!-- Reviewable:end -->
2017-11-07 07:29:15 -06:00
Emilio Cobos Álvarez
7f073456f9
style: respect allow_quirks for boxed properties.
This will unblock #19119
2017-11-07 14:25:51 +01:00
Paul Rouget
8a219e8a81 do not pass new size to Resize event 2017-11-07 10:27:24 +01:00
bors-servo
4a132437df Auto merge of #19132 - moz-servo-sync:gecko-backout, r=moz-servo-sync
Backed out changeset d77275db6419 (bug 1374178) for failure reftests/transform-3d/translatez-1a.html r=backout a=backout on a CLOSED TREE

Backed out changeset d77275db6419 (bug 1374178) for failure reftests/transform-3d/translatez-1a.html r=backout a=backout on a CLOSED TREE

Backs out https://github.com/servo/servo/pull/19106

<!-- 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/19132)
<!-- Reviewable:end -->
2017-11-07 01:05:07 -06:00
Keith Yeung
fe73122416 Import sequence inner types if it appears in dictionary members 2017-11-06 22:52:40 -08:00
Gecko Backout
2c1b041fc6 Backed out changeset d77275db6419 (bug 1374178) for failure reftests/transform-3d/translatez-1a.html r=backout a=backout on a CLOSED TREE
Backs out https://github.com/servo/servo/pull/19106
2017-11-07 06:49:27 +00:00
bors-servo
8b892ee0ee Auto merge of #19130 - glennw:update-wr-blur-subpx, r=KiChjang
Update WR (blur and subpixel text optimizations, recording fix)

<!-- 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/19130)
<!-- Reviewable:end -->
2017-11-06 23:04:20 -06:00
Glenn Watson
3007bfe815 Update WR (blur and subpixel text optimizations, recording fix) 2017-11-07 14:48:53 +10:00
bors-servo
4decea188f Auto merge of #19106 - upsuper:window-transform, r=emilio
Implement -moz-window-transform{,-origin} internal properties

This fixes [bug 1374178](https://bugzilla.mozilla.org/show_bug.cgi?id=1374178).

Note that the impl of `-moz-window-transform-origin` doesn't exactly match how it is implemented in Gecko. Specifically, that property doesn't accept depth value in Gecko, but it does in this impl. The depth value is simply dropped during conversion. This is because I don't think it's worth adding code for handling this internal property to make it as restrictive.

<!-- 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/19106)
<!-- Reviewable:end -->
2017-11-06 17:46:51 -06:00
bors-servo
5227df260c Auto merge of #19038 - CJ8664:master, r=jdm
Added implementation for itemprop and itemtype along with test files

<!-- 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 OR

<!-- 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/19038)
<!-- Reviewable:end -->
2017-11-06 14:17:11 -06:00
Vijay Hebbar
4a43dba8d7 Add implementation for itemprop and itemtype
Created test file

Added the stub methods for itemprop and itemscope

Resolved html5ever dependency, added ItemScope and ItemProp attr

Resolving dependency

Added pref override on metadata attributes

Resetting to original state due to change in requirement

Reverted adding attributes

1. add a customized implementation of parse_plain_attribute
2. add the following methods to HTMLElement.webidl

added itemprop and itemtype, enabled pref in test

Added initial implementation for getting itemprop property values

Adding the wireframe for testing

Implemented function to handle itemType

Corrected typo

Fixed typo bug in code

Handling duplicates for itemtype attribute values

Added the test suite structure

Added test for extra space

Added test for regular test values

Added test cases for Single property values

Test cases to check absence of itemtype and itemprop attributes

Added code to handle absence of itemtype or itemprop attributes

Added shell script to run all test cases

cleared up Cargo file

Tidying up

Removed the local test file

Removed new line for test-tidy

Ordered key in prefs.json

Fixes for test-tidy

Enabled test preferences

Created test using wpt

Creating WPT Tests for Regular and Single Prop Types

Fixed the Regular type test

Fixed tests

Removed old test case metadata

Incorporate review changes from PR

Updated MANIFEST to sync test cases

Making changed suggested in review

Removed editor folding

Removed unnecessary code

Resolving cargo conflicts

Updated PropertyNames and itemtypes implementation

Trying different data in test case

Updated manifest

Updated code based on reviews
2017-11-06 15:11:50 -05:00
Xidorn Quan
7dfcbb582a Add general impl in gecko_properties for TransformOrigin value and add -moz-window-transform-origin. 2017-11-06 11:49:53 -08:00
Xidorn Quan
9f5195eeec Add general impl in gecko_properties for Transform value and add -moz-window-transform. 2017-11-06 11:49:52 -08:00
Xidorn Quan
79fb584eac Use helpers.predefined_type for transform property. 2017-11-06 11:49:50 -08:00
Sandeep Hegde
d24d6ac8ef Skipping mutation test for file with local changes 2017-11-06 13:00:14 -05:00
Sandeep Hegde
ffbabf4a4c Added randomness to the mutation strategy
- now running only maximum one mutation per file.
- Beautified the output
2017-11-06 13:00:14 -05:00
Sandeep Hegde
5cc498dba2 Loging success message on mutation test success 2017-11-06 13:00:13 -05:00
panup21091993
5366264494 Added Readme.md file for mutation testing 2017-11-06 13:00:13 -05:00
Sandeep Hegde
2b8b98d3a6 Removed build and wpt-test output from mutation test log and refactored code. 2017-11-06 13:00:13 -05:00
Sandeep Hegde
6688b8a146 Changed method to mutate a line of code 2017-11-06 13:00:13 -05:00
Sandeep Hegde
c2d46c3b90 Fixed json tidy error 2017-11-06 13:00:13 -05:00
Sandeep Hegde
58ab11cf9b Fixed few tidy errors 2017-11-06 13:00:13 -05:00
Sandeep Hegde
445ab9ae8d Reverting wrong comment. 2017-11-06 13:00:12 -05:00