Commit Graph

560874 Commits

Author SHA1 Message Date
Kartikaya Gupta
4ae61b45dc Bug 1403559 - Remove obsolete comments referencing closed webrender bugs. r=jrmuizel
MozReview-Commit-ID: IkbNOL9xWbh

--HG--
extra : rebase_source : e372f1ea3029a0666077443893962f8ba663ee57
2017-09-27 10:12:09 -04:00
Kartikaya Gupta
6039f99c16 Bug 1403559 - Remove unnecessary asserts-if clause because we only run webrender reftests with e10s. r=jrmuizel
MozReview-Commit-ID: ChEtYwbsFq5

--HG--
extra : rebase_source : 86dbb6fdb7d61d2dd612e7b27e1b1b696dc7772f
2017-09-27 10:12:09 -04:00
Sebastian Hengst
92393ec0c5 Backed out changeset db9c439a8298 (bug 1403559) for failing reftest layout/reftests/reftest-sanity/reftest-no-paint.html. r=backout 2017-09-27 20:20:00 +02:00
Sebastian Hengst
62e24caac1 Backed out changeset a785b7aea1e3 (bug 1403559) 2017-09-27 20:19:22 +02:00
Sebastian Hengst
f7e9e7500c Backed out changeset 0e37a70ad7ce (bug 1403559) 2017-09-27 20:19:16 +02:00
Sebastian Hengst
a0684d483d Backed out changeset 5572e837e2d0 (bug 1403559) 2017-09-27 20:19:11 +02:00
Emilio Cobos Álvarez
db0476916e Bug 1403615: Also follow the NODE_DESCENDANTS_NEED_FRAMES bit in ClearRestyleStateFromSubtree. r=bholley
We don't follow this bit intentionally because we know that even if it's set,
when none of the other two bits are set there are no other restyle / change
hints down the tree.

We rely on the frame constructor to clean the mess up, though, and it doesn't
really do a good work about it.

In particular, the case we're hitting on the test-case is:

<body descendant-need-frames change=reconstruct style="display: table-column-group">
  <div descendant-need-frames>
    <div descendant-need-frames>
      <span needs-frame></span>
    </div>
  </div>
</body>

When we see we need to reconstruct the body, we call
ClearRestyleStateFromSubtree, but that doesn't do much now, since we don't
follow the descendant-need-frames bits.

Then, when we reconstruct the content, we arrive at[1] when constructing the
first child <div>. The <div> flags have been cleared, but not the children's!

Then a text-node is inserted in a <div>, breaking all sorts of invariants.

This is the easiest fix. Other fixes include clearing the flags on
SetAsUndisplayedContent. But that implies not clearing them in
ShouldCreateItemsForChild, and doing that somewhere more sensible.

I suspect it's not too hard, but that's a slightly more risky change, will do it
if you prefer it.

[1]: http://searchfox.org/mozilla-central/rev/3dbb47302e114219c53e99ebaf50c5cb727358ab/layout/base/nsCSSFrameConstructor.cpp#6092

MozReview-Commit-ID: 7026wkQLQkz
2017-09-27 20:02:04 +02:00
Ryan VanderMeulen
8ec5b78126 Merge m-c to autoland. a=merge 2017-09-27 13:24:50 -04:00
Julian Descottes
0702847ccf Bug 1403489 - remove special loader rule for devtools/shared/platform;r=tromey
MozReview-Commit-ID: HwhAXHm8ipq

--HG--
rename : devtools/shared/platform/content/.eslintrc.js => devtools/client/shared/webpack/shims/.eslintrc.js
rename : devtools/shared/platform/content/moz.build => devtools/client/shared/webpack/shims/moz.build
rename : devtools/shared/platform/content/clipboard.js => devtools/client/shared/webpack/shims/platform-clipboard-stub.js
rename : devtools/shared/platform/content/stack.js => devtools/client/shared/webpack/shims/platform-stack-stub.js
rename : devtools/shared/platform/content/test/.eslintrc.js => devtools/client/shared/webpack/shims/test/.eslintrc.js
rename : devtools/shared/platform/content/test/mochitest.ini => devtools/client/shared/webpack/shims/test/mochitest.ini
rename : devtools/shared/platform/content/test/test_clipboard.html => devtools/client/shared/webpack/shims/test/test_clipboard.html
rename : devtools/shared/platform/content/test/test_stack.js => devtools/client/shared/webpack/shims/test/test_stack.js
rename : devtools/shared/platform/content/test/xpcshell.ini => devtools/client/shared/webpack/shims/test/xpcshell.ini
rename : devtools/shared/platform/chrome/clipboard.js => devtools/shared/platform/clipboard.js
rename : devtools/shared/platform/chrome/stack.js => devtools/shared/platform/stack.js
extra : rebase_source : d233c0d5b4691f595ec61cae52167921f57ee942
2017-09-27 12:38:23 +02:00
Edouard Oger
1df9d06245 Bug 1395427 p4 - Add form history items deletions to TPS tests. r=markh,tcsc
MozReview-Commit-ID: 3oUBqLuHpoG

--HG--
extra : rebase_source : 303c40b6fc5a41a7b2f2e9edc9f275228ccbbe47
2017-09-22 15:19:44 -04:00
Edouard Oger
60aea23a2c Bug 1395427 p3 - Allow form history items to be created with a specific guid. r=markh
This allows us to have the same form history GUIDs across devices, which is mandatory
if we want tombstones to actually do something.

MozReview-Commit-ID: Hw6ahbVA5lB

--HG--
extra : rebase_source : 5289322dea430f364790026470ff844f754dd570
2017-09-22 15:08:48 -04:00
Edouard Oger
8cb437aed8 Bug 1395427 p2 - Include guid in formhistory-remove notifications. r=markh
MozReview-Commit-ID: Je0rV277d7

--HG--
extra : rebase_source : 0557db8a84c98b0fa55b6a4f23fa8001876d559b
2017-09-22 15:19:56 -04:00
Tom Ritter
095b4bfda8 Bug 1330608 Add the MinGW32 toolchain build to Taskcluster r=glandium
MozReview-Commit-ID: JHS6y8kqr4T

--HG--
extra : rebase_source : e04692af64312db7028d4123075e02d8b9127ef2
2017-09-22 00:24:58 -05:00
Mike Hommey
77ff4db6d7 Bug 1402647 - Add a memalign implementation on platforms that don't have one. r=njn
--HG--
extra : rebase_source : bf1ff9da4c4647f5e930194d0d008466f0b2b593
2017-09-26 06:59:03 +09:00
Mike Hommey
d7703e388f Bug 1402647 - Add missing stdlib.h header for system allocator. r=njn
--HG--
extra : rebase_source : caa72506b79e02f953911ab859244d9f9909f389
2017-09-26 06:58:05 +09:00
Ray Lin
bbb6d46766 Bug 1393374 - Part 2. Add a credit card basic autofill mochitest. r=lchang
MozReview-Commit-ID: 4MW8vvmVZ23

--HG--
extra : rebase_source : 1b626f72f89961e0dee8a49426f2cf3ff50a7f47
2017-09-25 11:42:39 +08:00
Ray Lin
04584d40d1 Bug 1393374 - Part 1. Introduce credit card helper functions in formautofill mochitest. r=lchang
MozReview-Commit-ID: Ir1usKRqx4R

--HG--
extra : rebase_source : 310c78382507e74498a84edd473eb69716f78822
2017-09-25 11:41:32 +08:00
Mehdi Soleimannejad
e72a4fece2 Bug 802749 - Make background sync over metered connections optional. r=Grisha Kruglov
MozReview-Commit-ID: 4UhQqyxT90N

--HG--
extra : rebase_source : 937a8f6b9515678811b5d03e1a7514ef32b98af1
2017-09-22 10:25:26 +03:30
Glenn Watson
2da58727b1 servo: Merge #18636 - Update WR (handle translucent brightness, invert filters. Hit test API) (from glennw:update-wr-filter-hit); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 92533ac2232e3511f4a4f742098765ce26ef5f95

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 455d8efbd1cba8b501fc837fb9b64042dc18b18f
2017-09-25 20:56:33 -05:00
Ed Lee
0636aa85d3 Bug 1402502 - Additionally disable browser_aboutHome_search_suggestion.js for linux 64 opt. r=ursula
MozReview-Commit-ID: 4ZTuRKAsS2u

--HG--
extra : rebase_source : 39e770bad21a34e9e106a46bc99598e0fca5bc4e
2017-09-22 15:04:04 -07:00
Edouard Oger
56ecdf96b5 Bug 1395427 p1 - Ignore tps logs/reports. r=tcsc
MozReview-Commit-ID: H69TLLMuCwH

--HG--
extra : rebase_source : 280d3f6c73117065c05a46d24e3a5a10408e0e22
2017-09-21 15:44:13 -04:00
Kartikaya Gupta
ecd18443a0 Bug 1403559 - Remove random-if(webrender) annotations for layers-specific reftests and instead skip the layers checks in the reftest harness. r=mstange
MozReview-Commit-ID: 8Xtx3aGIx8

--HG--
extra : rebase_source : 3d4a95e85ef6dc361f832ad0fc2160e5dcce5f55
2017-09-27 10:12:10 -04:00
Kartikaya Gupta
84950d9cba Bug 1403559 - Remove random-if webrender annotation from test that's consistently passing now. r=jrmuizel
MozReview-Commit-ID: 8SMnWmWwf3h

--HG--
extra : rebase_source : b33d87393bbc235af3e1b8dc5f99823327fa0ef3
2017-09-27 10:12:09 -04:00
Kartikaya Gupta
fed74b36de Bug 1403559 - Remove obsolete comments referencing closed webrender bugs. r=jrmuizel
MozReview-Commit-ID: IkbNOL9xWbh

--HG--
extra : rebase_source : 050b362e82464358a6f806038b699aead5b2a8d9
2017-09-27 10:12:09 -04:00
Kartikaya Gupta
1bb174e043 Bug 1403559 - Remove unnecessary asserts-if clause because we only run webrender reftests with e10s. r=jrmuizel
MozReview-Commit-ID: ChEtYwbsFq5

--HG--
extra : rebase_source : e587f16f68b760633dea9541958d5409cf9eb3b6
2017-09-27 10:12:09 -04:00
Ionut Goldan
6924258e95 Bug 1383896 - reduce noise in tests r=jmaher
MozReview-Commit-ID: Jwh9lwJ1TBc

--HG--
extra : rebase_source : 3e40366b1a19fb846b7a09986b17f0cbdf291889
2017-09-27 14:18:10 +03:00
Jonathan Kingston
9f55478dda Bug 1330745 - Add 'No Container' when longPressBehaviour is 1 for containers new tab context menu. r=baku,Gijs
MozReview-Commit-ID: I2ptF9Dh7yL

--HG--
extra : rebase_source : ff586de60c0a172d766259c10fe136242b75d647
2017-09-25 14:34:13 +01:00
steveck-chung
23296a78c9 Bug 1399065 - [Form Autofill] - Hide autofill doorhanger close button. r=lchang
MozReview-Commit-ID: 59UUfnkfRO

--HG--
extra : rebase_source : e877337b6635642e627578a2d99fec25d813c11f
2017-09-22 17:45:42 +08:00
Thomas Wisniewski
9c0a07404c Bug 1388428 - Extend browsingData to restrict removing localStorage to a given list of hostnames; r=asuth,bsilverberg
MozReview-Commit-ID: ELgjLHsVLkv

--HG--
extra : rebase_source : 8df793d8484762670e42fff4c3708df2b3ea1ebe
2017-09-25 16:47:38 -04:00
Mehdi Soleimannejad
ea42a7f87b Bug 802749 - Make background sync over metered connections optional. r=Grisha Kruglov
MozReview-Commit-ID: 4UhQqyxT90N

--HG--
extra : rebase_source : 0f0d213e325be3b6f9a7bb2b427fd4f30dc618e2
2017-09-22 10:25:26 +03:30
Kaku Kuo
73b1807eda Bug 1401909 - turn on preference of ShutdownDecoder feature on desktop version release and beta channel; r=bwu
MozReview-Commit-ID: JB3RmyjhvK9

--HG--
extra : rebase_source : 96e93ab111799910f03d9cac3bd3ac5084e40f07
2017-09-21 17:47:45 +08:00
Cameron McCormack
75329a655b Bug 1403030 - stylo: One more followup to fix a build error. r=me 2017-09-26 10:31:10 +08:00
Cameron McCormack
ec4e0786a0 Bug 1403030 - stylo: Followup for another missing const. r=me
--HG--
extra : amend_source : 1db1fe5adf61b5cebd653bf0a0a740a7bfc7d2db
2017-09-26 10:21:37 +08:00
Daniel Kolsoi
174f01216c servo: Merge #18617 - Removed integrity check and test for no-cors requests (from TheDan64:master); r=KiChjang
Removed Step 30.2 which raised a JS TypeError if the integrity metadata was not empty. I manually ran `new Request("", {"mode" : "no-cors", "integrity" : "not an empty string"});` in servo to validate that the exception no longer arose.

---
<!-- 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 #18345
- [x] These changes do not require tests because according to the ticket "Unfortunately, there's no automated test available for this yet because we are having trouble updating our copy of the upstream tests. "

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f28fc96a6fda0faca8cc43833f9b50058c2c9f6f
2017-09-25 19:15:26 -05:00
Cameron McCormack
d3e557a199 Bug 1403030 - stylo: Fix some mismatching FFI declarations. r=xidorn
MozReview-Commit-ID: C5iBTR0OZKy

--HG--
extra : rebase_source : fa8c99f64dc8a78954cee21747a8915a7c04e7bb
2017-09-26 09:13:36 +08:00
Grigory Kruglov
2398e54654 Bug 1373254 - Ensure onStoreFailed won't be called twice r=rnewman
MozReview-Commit-ID: 5IE7t5qs6VU

--HG--
extra : rebase_source : 81b797f526532e10e06fbe6225c29fc56e34db5c
2017-09-25 20:01:14 -04:00
Wes Kocher
81ac2a24f1 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 479h8T5RxkK
2017-09-25 16:45:14 -07:00
Wes Kocher
7bf1b49628 Merge inbound to central, a=merge
MozReview-Commit-ID: 7EzhCCVVn7n
2017-09-25 16:41:34 -07:00
Wes Kocher
3a1e5b73d3 Merge autoland to central, a=merge
MozReview-Commit-ID: 9UQPQrkhjsZ
2017-09-25 16:25:22 -07:00
Wes Kocher
3042f50d29 Bug 1400425 - Add a mach try empty command to push to try with no prompts r=ahal
MozReview-Commit-ID: 6F5vEpTTDS

--HG--
extra : histedit_source : be02948a579b5dfc274f96a0d9ea07a80bc150a7%2C9e820e3058b87aea959a2fa764e3ef0789dc0652
2017-09-25 16:06:50 -07:00
Wes Kocher
31bba17090 Backed out changeset 7fc37806848f (bug 1400425) for flake8 issues a=backout
MozReview-Commit-ID: 7EI7PgX4YoS
2017-09-25 16:06:09 -07:00
Wes Kocher
b4daee707a Bug 1400425 - Add a mach try empty command to push to try with no prompts r=ahal
MozReview-Commit-ID: 6F5vEpTTDS

--HG--
extra : rebase_source : b173ca390dad7bbdc9a4c0516ed06331f4b1367a
2017-09-25 15:17:50 -07:00
Josh Matthews
a21f1c19d8 servo: Merge #17056 - Make dictionaries and unions containing GC values safer (from jdm:heapdict); r=emilio
Problems:
* the Heap::new constructor is memory-unsafe with any value other than Undefined/Null
* this means that moving dictionaries containing Heap values (ie. any/object) is memory-unsafe
* unions containing GC pointers are similarly unsafe

Solutions:
- dictionaries containing GC pointers are now wrapped in RootedTraceableBox (even inside other dictionaries)
- instead of using Heap::new, dictionaries containing GC pointers are now initialized to a default value (by deriving Default) and mutated one field at a time
- dictionaries containing GC pointers are marked #[must_root]
- FromJSVal for dictionaries containing GC pointers now returns RootedTraceableBox<Dictionary>
- unions wrap their variants that require rooting in RootedTraceableBox

Rather than attempting to derive Default for all dictionaries, we only do so for the dictionaries that require it. Because some dictionaries that require it inherit from dictionaries that do not, we need to write manual implementations for those parent dictionaries. This is a better option than having to figure out a default value for types like `Root<T>`, which would be required for deriving Default for all dictionaries.

I would still like to come up with an automated test for this, but I figured I would get eyes on this first.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #16952
- [ ] There are tests for these changes

Source-Repo: https://github.com/servo/servo
Source-Revision: 532dee36c10b7dd5d33e560b55cf65c7243ef1d3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : cb755f811ab9619a5711a1df38ddb440f2ce6a06
2017-09-25 16:07:47 -05:00
Kyle Machulis
e21decdbab servo: Merge #18629 - Update link to Windows Python Version in README (from qdot:update-windows-readme-python-version); r=jdm
<!-- Please describe your changes on the following line: -->

The README currently points to a 2 year old version python for windows (2.7.11). While this version works for servo development, builds also work with the current version (2.7.14), so the link can be updated.

---
<!-- 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 change is documentation 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. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 86b926b4cf78ae3436b946e42caad8362b4841d1

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 437c95e2c38630fba6b765bec9c19cdd74ea5c40
2017-09-25 15:01:35 -05:00
Gabriel Luong
29bb494af7 Bug 1402343 - Update Codemirror to 5.30.0. r=bgrins 2017-09-25 14:36:54 -04:00
Ben Kelly
211be553a3 Bug 1402586 Hold the worker alive while Cache API completes a lazy body open IPC operation. r=asuth 2017-09-25 10:45:58 -07:00
ffxbld
cf9c6529ef No bug, Automated HPKP preload list update from host bld-linux64-spot-307 - a=hpkp-update 2017-09-25 10:41:00 -07:00
ffxbld
13d0d05c38 No bug, Automated HSTS preload list update from host bld-linux64-spot-307 - a=hsts-update 2017-09-25 10:40:56 -07:00
Ethan Lin
9486c23d02 Bug 1296410 - Add crashtest for the bug about NULL pointer read when opening a canvas html. r=mstange
MozReview-Commit-ID: I1kqQcYFxtU

--HG--
extra : rebase_source : c0b508a7504aaeb8095db5471b8c2b7fbd6bdd53
2017-09-26 01:16:27 +08:00
Sebastian Hengst
700161cb87 Backed out changeset a50a428b23fc (bug 1377914) for frequent leaks during a11y run on Linux x64 asan. r=backout 2017-09-25 19:08:56 +02:00