Commit Graph

519266 Commits

Author SHA1 Message Date
Shih-Chiang Chien
4b485ef935 Bug 1325915 - Part 2, update comment for reseting event target of event queue after the completion of ServiceWorker interception. r=mayhemer
MozReview-Commit-ID: Dc2TbCwQfpO

--HG--
extra : rebase_source : f1a882bac48f03b8fadda430f84027c4c3ace010
2017-02-07 16:56:06 +08:00
Shih-Chiang Chien
4d6af6c71e Bug 1325915 - Part 1, derive transportStatus in HttpChannelParent ODA and derive progress/progressMax in child side. r=mayhemer
MozReview-Commit-ID: 41qlyHKMSFm

--HG--
extra : rebase_source : da54f269b4b186ad784b2351f39829922f08db89
2017-02-02 15:20:04 +08:00
Masayuki Nakano
5442d350f3 Bug 1337739 Create an enum eKeyLocation* for avoiding to use nsIDOMKeyEvent::DOM_KEY_LOCATION_* r=smaug
Currently, we use alias NS_VK_* for WidgetKeyboardEvent::mKeyCode.  Similarly, we should create alias enum for nsIDOMKeyEvent::DOM_KEY_LOCATION_*.  Then, we can reduce the length and avoid to include nsIDOMKeyEvent in some cpp files.

MozReview-Commit-ID: 5cs4zQ061Lc

--HG--
extra : rebase_source : e6a6edd27718b9e3d4a40b07902d029791876999
2017-02-08 21:04:22 +09:00
Wes Kocher
30d9ef4d29 Merge m-c to autoland, a=merge
MozReview-Commit-ID: D76dMYwFRUQ
2017-02-09 17:06:59 -08:00
Wes Kocher
d3307f19d5 Merge inbound to central, a=merge
MozReview-Commit-ID: 9TTIrjfNKZm

--HG--
rename : dom/base/test/test_bug1263696.html => testing/web-platform/tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback-2.html
rename : dom/base/test/test_bug1263696.html => testing/web-platform/tests/html/semantics/embedded-content/the-object-element/object-in-object-fallback-2.html
2017-02-09 17:01:39 -08:00
Wes Kocher
e27ab18a24 Merge autoland to central, a=merge
MozReview-Commit-ID: Cu9iXbDAS7t
2017-02-09 16:36:11 -08:00
Mats Palmgren
a06eb5c98d Bug 605985 part 3 - The expected result for all checkboxes and radios with -moz-appearance:none is about:blank now (except on Android).
--HG--
rename : layout/reftests/forms/input/checkbox/checked.html => layout/reftests/forms/input/checkbox/checked-appearance-none.html
rename : layout/reftests/forms/input/checkbox/checked-notref.html => layout/reftests/forms/input/checkbox/unchecked-appearance-none.html
rename : layout/reftests/forms/input/radio/checked.html => layout/reftests/forms/input/radio/checked-appearance-none.html
rename : layout/reftests/forms/input/radio/checked-notref.html => layout/reftests/forms/input/radio/unchecked-appearance-none.html
2017-02-09 21:22:40 +01:00
L. David Baron
53a46a6356 Bug 605985 part 2 - Make -moz-appearance:none on radio and checkbox inputs make them non-replaced elements. r=dholbert 2017-02-09 21:22:40 +01:00
Mats Palmgren
e84ea3a684 Bug 605985 part 1 - Remove most default styling for checkbox and radio buttons and make the instrinsic size be zero for -moz-appearance:none checkbox/radios. r=dholbert 2017-02-09 21:22:40 +01:00
Sebastian Hengst
64e3711920 Backed out changeset a3faba8c3991 (bug 1337805) for frequently failing test_conformance__textures__video__tex-2d-rgba-rgba-unsigned_byte.html. r=backout 2017-02-09 21:21:51 +01:00
Jan de Mooij
692e7261b9 Bug 1337871 - Clean up and optimize code for entering/leaving Baseline stub frames. r=evilpie 2017-02-09 19:25:43 +01:00
ffxbld
28a131c59f No bug, Automated blocklist update from host bld-linux64-spot-387 - a=blocklist-update 2017-02-09 07:37:11 -08:00
ffxbld
7d72c6ef47 No bug, Automated HPKP preload list update from host bld-linux64-spot-387 - a=hpkp-update 2017-02-09 07:37:08 -08:00
ffxbld
7efff53231 No bug, Automated HSTS preload list update from host bld-linux64-spot-387 - a=hsts-update 2017-02-09 07:37:04 -08:00
Carsten "Tomcat" Book
e2a2f8d124 merge mozilla-inbound to mozilla-central a=merge 2017-02-09 16:04:14 +01:00
Carsten "Tomcat" Book
3110753c17 merge autoland to mozilla-central a=merge 2017-02-09 16:02:58 +01:00
Carsten "Tomcat" Book
f0343913a8 Backed out changeset f4c6758e15f9 (bug 1307708) on developers request 2017-02-09 11:49:38 +01:00
Carsten "Tomcat" Book
ffe70d35b2 Merge mozilla-central to mozilla-inbound 2017-02-09 11:38:08 +01:00
Carsten "Tomcat" Book
8d609a0382 Backed out changeset 116291cf00b5 (bug 1332956) for causing merge conflicts with mozilla-central
--HG--
rename : testing/web-platform/tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback-2.html => dom/base/test/test_bug1263696.html
extra : rebase_source : febe534a5dc591efb6ac3fdd1fc7a0bb5e082b4f
2017-02-09 11:33:37 +01:00
Carsten "Tomcat" Book
09c7ea3a23 Backed out changeset 9cb85309542e (bug 1332956)
--HG--
extra : rebase_source : 30e02ae40a5eba7713ed8aaeee8e3b593335c728
2017-02-09 11:33:16 +01:00
Carsten "Tomcat" Book
ad42fa5bcb Backed out changeset bdea29a8b0f3 (bug 1332956)
--HG--
extra : rebase_source : 6f70d61486f1d583ab0632476b552ef002ad1b89
2017-02-09 11:33:14 +01:00
Hannes Verschore
050810a922 Bug 1338071: IonMonkey - Enable spewing graph mid-compilation, r=jandem 2017-02-09 11:33:05 +01:00
Hannes Verschore
f717145420 Bug 1330532: Don't enable optimization tracking by default, r=shu 2017-02-09 11:33:05 +01:00
Hannes Verschore
09b0858370 Bug 1334219: Fix typo in IonTrackedOptimizationsTypeInfo, r=shu 2017-02-09 11:33:05 +01:00
Hannes Verschore
58b3c3d75f Bug 1334194: Follow-up fixes to tracelogger thread safety, r=bhackett 2017-02-09 11:33:05 +01:00
Andrea Marchesini
b9332b43d8 Bug 1337722 - Use BufferSource in webIDL - part 2, r=me CLOSED TREE 2017-02-09 10:57:15 +01:00
Andrea Marchesini
6bce17f8b4 Bug 1337746 - XHR should cancel the nsIChannel with an error code and not with NS_OK, r=smaug 2017-02-09 10:47:43 +01:00
Andrea Marchesini
5333794e03 Bug 1337787 - Get rid of old code in XHRWorker, r=qdot 2017-02-09 10:41:39 +01:00
Andrea Marchesini
3fdb9b2063 Bug 1337765 - Fix a compilation issue in FileCreatorHelper, r=qdot, f=jbeich 2017-02-09 10:40:46 +01:00
Andrea Marchesini
4434f5a668 Bug 1337722 - Use BufferSource in webIDL, r=qdot 2017-02-09 10:37:54 +01:00
Ethan Lin
a1f4b8b3cd Bug 1337681 - Part1. Support border radius for BorderLayer. r=mattwoodrow 2017-02-09 17:22:17 +08:00
Ms2ger
ab55eb3915 Bug 1338068 - Correct the metadata handling for .any.js tests in workers; r=jgraham
The previous code would try to read a virtual file from the file system, which
would result in an exception in the handler and a 500 Internal Server Error
sent to the client.

This change is part of the code that landed upstream in
<https://github.com/w3c/wpt-tools/pull/156>.
2017-02-09 09:54:53 +01:00
Randell Jesup
6e0c53ec9f Bug 1311380: make shutdown ordering for sctp deregister_address consistent r=tuexen 2017-02-09 02:55:20 -05:00
Aman Dwivedi
8596d20f5f Bug 876002 - Remove nsIFormHistory2 so no synchronous form history code remains, r=markh.
MozReview-Commit-ID: 4hNAqttRddP

--HG--
extra : rebase_source : a206e30f11e8a625c29898f04498e2da628c2b91
2017-02-08 22:50:00 +01:00
Stanford Lockhart
4068213baf Bug 1332091 - Part 1: Add colour value editors for Hex, RGBA, HSLA, and a selection box to go between them. r=gl 2017-02-09 01:35:52 -05:00
Mark Banner
c636a713e8 Bug 1337480 - Remove undefined variables in test_417228-other-roots.js as they aren't needed. r=mak
MozReview-Commit-ID: 6h6dAGRxsJm

--HG--
extra : rebase_source : 724f7a2c106769d5e993d871088a25a55a9f3a42
2017-02-08 21:43:22 +00:00
Makoto Kato
894130bddc Bug 1337698 - Part 3. TypeInState should use UniquePtr. r=masayuki
MozReview-Commit-ID: K9UY83Nx1v3

--HG--
extra : rebase_source : e9177c1c31805288e04270b589300c8e49d59940
extra : amend_source : 91bea4e023031b1c1594799b8dbe70dc3fb5b6ed
extra : histedit_source : 2ee5b839c0f8019d18586a1b07e06e122e7780ee
2017-02-08 18:14:53 +09:00
Makoto Kato
d84f1fef72 Bug 1337698 - Part 2. HTMLEditor should use UniquePtr. r=masayuki
MozReview-Commit-ID: 2O9f0K1RSU4

--HG--
extra : rebase_source : 966ffcf877756a876d72a0e09659dbeee406cddd
extra : histedit_source : 6eac1458a8f3826e73238cfbdbd03c1426a390be
2017-02-08 18:14:24 +09:00
Makoto Kato
b8d5c8b156 Bug 1337698 - Part 1. PlaceholderTransaction should use UniquePtr. r=masayuki
MozReview-Commit-ID: 8xqAKRcKCLb

--HG--
extra : rebase_source : d0a8d202e973d06c823cd5351d9561b9b5919f43
extra : histedit_source : 696ac1246fbb3691b2f042a0d16e438f37dcf64d%2C446038a833523fed82771c3c177811971679c269
2017-02-09 14:26:10 +09:00
Andrzej Hunt
e2ad67f9df Bug 1337419 - Post: don't set bookmark ID for suggested site r=Grisha
Suggested sites don't have a bookmark ID, there's little value in setting one here since
that's confusing for anyone handling the cursor. (This is probably an oversight from
when the single-cursor topsites query was first implemented.)

MozReview-Commit-ID: 77Cw37za6cD

--HG--
extra : rebase_source : 4e654b64d76423133bcfe4c90dab13891dcc4f09
2017-02-07 14:12:16 -08:00
Andrzej Hunt
44230afeaf Bug 1337419 - Bookmark state of suggested sites is also unknown r=Grisha
Suggested sites aren't joined against the bookmarks table before returning
them as part of getTopSites(), so their bookmark state is unknown.

MozReview-Commit-ID: C5BhUcoSsll

--HG--
extra : rebase_source : 4509eb9980970de703e7f32ca371c76ec78b2673
2017-02-09 09:47:35 -08:00
Grigory Kruglov
f753528969 Bug 1330836 - Only send 'network config/status changed' events to Gecko if something actually changed r=jchen
MozReview-Commit-ID: CrlRDu8MbhY

--HG--
extra : rebase_source : 99a830d7deeaa2f8de2692578590d1da8a4241ff
2017-02-09 10:48:16 -08:00
Javier Rueda
9ad91e86cd servo: Merge #15475 - Only expose Storage/StorageEvent in Window (from kekkyojin:bb15436); r=jdm
<!-- Please describe your changes on the following line: -->
This patch removes Worker scope from Storage and StorageEvent WebIDL definition. This way it is possible to construct the objects passing Window instead of GlobalScope. It also removes some tests as they would run out of the scope.

It removes Worker from the WebIDL files defining the Storage and StorageEvent interfaces, as they should not be exposed in that scope.

In Rust source code, this patch replaces "GlobalScope" with "Window" on the contructors. It also modifies constructor calling code in order to pass Window instead of the previously used GlobalScope.

There has been removed these interfaces from the Worker tests.

(This time I did a real build and real tests. Sorry about previous pull requests, I am used to the Mozilla flow, which doesn't uses GitHub)

---
<!-- 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 #15436 (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. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 3d0fe9a0dd12650efc754f85287d2426c7463535

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c7bb052d4be36590cd3584cb34a815207f8f86a4
2017-02-09 08:17:53 -08:00
Pu Xingyu
7581ec57ae servo: Merge #15469 - layout: Fix integer overflow when computing size of replace elements (from stshine:no-integer-overflow); r=emilio
<!-- Please describe your changes on the following line: -->

When calculating size of replaced element that has intrinsic aspect ratio, we need to multiply the ratio if one of the dimensions has definite size. And we can not precompute the ratio and store it as a float, because doing so may result one pixel difference in calculation for certain images, thus make some tests fail. So it may overflow when the dimension lengths are large, and this pull request convert them to `i64` before multiplication.

---
<!-- 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 #15249 (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. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 384391da680de3f73557dc721774326bbbf8ade7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 78bdb0081279c77725ca9870e929463be38b642e
2017-02-09 06:21:29 -08:00
Emilio Cobos Álvarez
db2a064cb8 servo: Merge #15459 - style: Ensure that precomputed pseudo-element declarations are correctly sorted (from emilio:ua-rules); r=SimonSapin
Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1337657

r? @SimonSapin

Source-Repo: https://github.com/servo/servo
Source-Revision: 6d1836e32bfd1337a3acdf91abb409a399c9f5e3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8cb45c25319dd34e9175931ceab60b33b5685499
2017-02-09 04:20:34 -08:00
Nazım Can Altınova
1020720464 servo: Merge #15411 - Box larger specified values to avoid memmove impact (from canaltinova:property-declaration); r=SimonSapin
<!-- Please describe your changes on the following line: -->
Box larger specified values to avoid memmove impact.

---
<!-- 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 #15322 (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. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 5c609213d68a17f65ae4e64c34d8dc6b66d35784

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b4776afd52e97b8493ef9093c229845c9b8821e5
2017-02-09 02:21:36 -08:00
Manish Goregaokar
259dd1c3e6 servo: Merge #14853 - Make tidy work on stylo trees (from Manishearth:stylo-tidy); r=Wafflespeanut
This adds `./mach test-tidy --stylo`, which turns off the usage of git to search for files to check (fixes #14855), and also turns off the wpt lint, making it possible to run tidy in a stylo tree.

r? @jdm @wafflespeanut

cc @bzbarsky

Source-Repo: https://github.com/servo/servo
Source-Revision: 9eaf96b73716450caba5e85b9c5d3622242f2608

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 658439d5cc20927788ca419d42a82153d81d6a7e
2017-02-08 22:21:08 -08:00
Alberto Leal
ac749c5123 servo: Merge #15357 - Refactor outline-style to accept "auto" value in addition to border-style values (from dashed:gh-15207); r=Wafflespeanut,emilio
Fixes https://github.com/servo/servo/issues/15207

Refactored as per https://github.com/servo/servo/issues/15207#issuecomment-275171590 .

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

- [x] Correct refactor? I'd appreciate any feedback on this.
- [x] ~~~proper borderstyle value for `outline-style: auto;`?~~~ ~~~(EDIT: deferred to a `FIXME`)~~~ (EDIT2: it is now solid for behaviour parity with firefox)
- [x] squash pending PR review
- [x] mako code review

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

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

Source-Repo: https://github.com/servo/servo
Source-Revision: 368af6f8619804244a7d8ba4614f0b4950cfd9f1

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e2c20e25b0f8fea6d8da236085f918c1efd8b8ad
2017-02-08 21:10:57 -08:00
Bobby Holley
a9e7b86e87 servo: Merge #15462 - Accumulate parent elements that need selector bits set on the ThreadLocalStyleContext (from bholley:accumulate_selector_flags); r=emilio
Discussion and review in https://bugzilla.mozilla.org/show_bug.cgi?id=1336646

Source-Repo: https://github.com/servo/servo
Source-Revision: cbfd4464270f8690b90b9b96c395523a3a39e2de

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c3bfb03915e31cb95db1b247edb24872eb1cfcf5
2017-02-08 19:33:27 -08:00
Boris Chiou
fbcc925a32 servo: Merge #15442 - Retrieve the opacity and the transform list from RawServoAnimationValue (from BorisChiou:animation/opacity_transform); r=Manishearth
These are the servo-side changes for [bug 1335942](https://bugzilla.mozilla.org/show_bug.cgi?id=1335942). @Manishearth had already reviewed them there. Please merge these patches until the gecko-side changes for [bug 1335942](https://bugzilla.mozilla.org/show_bug.cgi?id=1335942) is landed.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [bug 1335942](https://bugzilla.mozilla.org/show_bug.cgi?id=1335942).
- [X] These changes do not require tests because there are existing tests for this in mozilla-central

Source-Repo: https://github.com/servo/servo
Source-Revision: 11c86b82f6598e63ebbc610e86352e75a948d878

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 86e7044e1aaa1b5bd86341ea61fc52551f565a99
2017-02-08 18:39:45 -08:00