Commit Graph

565027 Commits

Author SHA1 Message Date
Brendan Dahl
42bc28d260 Bug 1399956 - Disable some mochitests in headless. r=jrmuizel
These tests will need more work and are low priority.

MozReview-Commit-ID: H0J16E8FqNr
2017-10-16 16:15:45 -07:00
Brendan Dahl
95fd4f75d9 Bug 1399956 - Add headless flag for mochitests. r=jmaher
MozReview-Commit-ID: Kqk0sw4ykEm
2017-10-16 16:15:45 -07:00
Brendan Dahl
affa6b60d0 Bug 1399956 - Support synthesized touch events. r=jrmuizel
Fixes test_group_pointerevents.html

MozReview-Commit-ID: 7RPkiHtx0rj
2017-10-16 16:15:45 -07:00
Brendan Dahl
357f877106 Bug 1399956 - Support synthesized scroll events. r=jrmuizel
Fixes test_bug1151667.html

MozReview-Commit-ID: 8lCHNTA8zIL
2017-10-16 16:15:45 -07:00
Brendan Dahl
45352c7de8 Bug 1399956 - Default to san-serif for headless font. r=jrmuizel
Fixes problem with the initial computed value of font-family
being empty and not matching the later value in
test_value_storage.html.

MozReview-Commit-ID: HOHvMZPP1GD
2017-10-16 16:15:45 -07:00
Brendan Dahl
18db282eaa Bug 1399956 - Add logging to headless widget. r=jrmuizel
Use similar logging to the various nsWindows to make
debugging easier.

MozReview-Commit-ID: 5AsaehQsOtA
2017-10-16 16:15:45 -07:00
Brendan Dahl
72ed58e8b8 Bug 1399956 - Add basic hard coded GTK theme in headless. r=jrmuizel
Many tests rely on the minimum size of widgets to
be set. Also, the precise size seems to matter for some
tests that have hard coded offsets.

MozReview-Commit-ID: BglZD1cKdY9
2017-10-16 16:15:45 -07:00
Brendan Dahl
d9e05f42d9 Bug 1399956 - Support synthesized mouse events. r=jrmuizel
Fixes:
 - test_pointerlock-api.html
 - test_group_mouseevents.html

MozReview-Commit-ID: 82RKzjJv9X1
2017-10-16 16:15:45 -07:00
Brendan Dahl
f2ed681b19 Bug 1399956 - Track top level windows in headless mode for window ordering. r=jrmuizel
This better emulates a window manager and triggers the
required activated/deactivated events on the proper windows as
they are closed or hidden.

MozReview-Commit-ID: 1A2JTp8i4VE
2017-10-16 16:15:45 -07:00
Aaron Klotz
8f79c15fdb Bug 1409545: Add the ability to query a handler provider for the expected interface for an IUnknown outparam; r=jimm
MozReview-Commit-ID: 7eZ2giTfVG1

--HG--
extra : rebase_source : cc36fbd875ef798c41f20951b8354880138c0037
2017-10-16 16:15:02 -06:00
Andrea Marchesini
efc8abf253 Bug 1407936 - Fixing eslint failure, r=me 2017-10-19 19:06:18 +02:00
Eugen Sawin
43db053ac5 Bug 1375141 - [1.0] Check for null-URI when sending view intent from Open-in menu item. r=snorp 2017-10-19 18:56:55 +02:00
Nathan Froyd
5d16b194a3 Bug 1407750 - use mozilla::KnownNotNull to improve placement new in ExclusiveData; r=fitzgen
Using KnownNotNull here avoids the necessary null checks that come along
with placement new.
2017-10-19 12:35:03 -04:00
Andrea Marchesini
44453a7efd Bug 1407936 - Cleaning up QuotaManagar data only when ServiceWorkers are correctly unregistered, r=bkelly 2017-10-19 18:17:40 +02:00
Joshua Longhi
38e1b71b49 Bug 1408428 - Remove toolkit.telemetry.enabled preference element. r=chutten
--HG--
extra : rebase_source : 410aab40c6e9aedf6581ac588ae2e9d6761c01ad
2017-10-16 17:57:55 -04:00
Bob Clary
c0eb52d90b Bug 1409203 - disable dom/media/tests/mochitest/test_peerConnection_videoCodecs.html on Android, r=gbrown 2017-10-17 07:20:40 -07:00
Ryan VanderMeulen
1e72d17cb8 Merge m-c to inbound. a=merge 2017-10-17 10:08:56 -04:00
Luke Wagner
70c9a6e4aa Bug 1406421 - Baldr: allow parallel compilation to proceed until finish() (r=bbouvier)
MozReview-Commit-ID: 4qjAeC668Mp

--HG--
extra : rebase_source : 4b1b238f0732cda0abd33c08ac676c495d9347f1
2017-10-17 08:55:36 -05:00
Luke Wagner
584ea5e01a Bug 1406421 - Remove invalid assert from ~BufferStreamState() (r=till)
MozReview-Commit-ID: 6f1xRdHoLWL

--HG--
extra : rebase_source : 21aa5213b3f0fdab67f43c18d2b6fb6cfa2ca8b8
2017-10-17 08:54:17 -05:00
Luke Wagner
8425b460cd Bug 1406421 - Fix js::Thread race on windows (r=till)
MozReview-Commit-ID: 32MrHVeATH5

--HG--
extra : rebase_source : 2306fd91f8ebee0d2d23d0ce93f8e1af3c4865eb
2017-10-17 08:52:40 -05:00
Geoff Brown
3f04ade908 Bug 1409062 - Update mochitest and reftest harnesses for --verify on Android; r=jmaher 2017-10-17 08:00:52 -06:00
Geoff Brown
f4608a4143 Bug 1409057 - Use new tooltool download for android sdk in emulator unit tests; r=jmaher
This version of the sdk download is based on the previous one but includes
a new version - 1.0.39 - of adb and eliminates some files not used by the
emulator (smaller, faster download). By including adb in the sdk download used
for the emulator, the tools sdk download can be eliminated.
2017-10-17 08:00:49 -06:00
Dragana Damjanovic
ea3c619848 Bug 1384679 - Fix timing for TFO. r=mcmanus r=honza 2017-10-17 15:28:33 +02:00
Masayuki Nakano
eb5a65e869 Bug 1407966 - part 2: EditorBase::InsertTextImpl() shouldn't assume that aInOutChildAtOffset is never nullptr r=m_kato
Since if the container is not a container node like a text node or the offset
is same as the length, child at the offset can be nullptr.

MozReview-Commit-ID: DCnFwUjNgk7

--HG--
extra : rebase_source : 48823390645d79db391dcaf64dab59e754b680a5
2017-10-17 01:59:28 +09:00
Masayuki Nakano
33a8e2ee5e Bug 1407966 - part 1: Update |selChild| when HTMLEditRules::WillInsertText() updates |curNode| and |curOffset| r=m_kato
|selChild| should be a node which is at |curOffset| in |curNode|, however,
it's not updated when |curOffset| is updated by a call of CreateBRImpl().  So,
it should be next sibling of the created br node.

MozReview-Commit-ID: IVfTjVMp3lB

--HG--
extra : rebase_source : fbc355e3c0425a495c78c3c028308dac26617283
2017-10-17 01:17:07 +09:00
Nevin Chen
c9b8b04a51 Bug 1409261 - Update string and add translation note for pwa badge and onboarding. r=flod
Please see attachments in the bug for details where the strings are.

MozReview-Commit-ID: KUv79x7O0UW

--HG--
extra : rebase_source : 75be4f9f9dd61845f5e6b23a532e4417ca962494
2017-10-17 13:53:55 +08:00
Martin Robinson
87539b2edc servo: Merge #18921 - Fix duplicate stacking context creation for anonymous Flows (from mrobinson:incremental-stacking-context-ids); r=emilio
Anonymous nodes were previously creating duplicate stacking contexts,
one for each node in the anonymous node chain. This change eliminates
that for tables.

Additionally the use of stacking context ids based on node addresses is
no longer necessary since stacking contexts no longer control scrolling.
This is the first step in eliminating the dependency between node
addresses and ClipScrollNodes which causes issues like #16425.

<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they are covered by existing tests.

<!-- 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: 865b9aea357d4b51696d4a0343521a0f2a20bcf1

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f732d8c55cc80ae35de430a34fb51e9856e34839
2017-10-18 21:34:23 -05:00
Jeremy Chen
0f51b3f159 Bug 1409958 - reset stylo blocklist to empty string on Nightly for testing. r=heycam
The layout.css.stylo-blocklist.blocked_domains pref is set to "arewestyloyet.rs"
on Nightly, but empty string on Beta. Since we're going to QA the styloblocklist
add-on in Bug 1407911, we make the prefs aligned in both Beta and Nightly in this
patch.

MozReview-Commit-ID: HoleJvVYm7o

--HG--
extra : rebase_source : cb8104f3d7fdb99fe0ea6ee84781c4b421a8f421
2017-10-19 11:50:53 +08:00
Dan Minor
5168e78250 Bug 1402334 - Fix static analysis warning in CSFLog.cpp; r=drno
MozReview-Commit-ID: 2m1nKxCsxwg

--HG--
extra : rebase_source : 88b50248bf4b065af5bd893c660bf27ab40dc6dd
2017-10-16 09:03:04 -04:00
Sebastian Hengst
a984558fa2 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: K49FVRdOww8
2017-10-16 10:55:46 +02:00
Sebastian Hengst
72da7d04f9 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 3oPupIUQHga
2017-10-16 10:54:00 +02:00
ffxbld
e5bbda30b9 No bug, Automated HPKP preload list update from host bld-linux64-spot-307 - a=hpkp-update 2017-10-15 22:50:12 -07:00
ffxbld
28ef948b68 No bug, Automated HSTS preload list update from host bld-linux64-spot-307 - a=hsts-update 2017-10-15 22:50:09 -07:00
Sebastian Hengst
c429719e2a merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: TaCJmNGpct
2017-10-15 23:43:07 +02:00
Sebastian Hengst
17905cf3cc merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: KmQKTMlI0Lt
2017-10-15 23:40:03 +02:00
ffxbld
40b456626e No bug, Automated HPKP preload list update from host bld-linux64-spot-301 - a=hpkp-update 2017-10-15 10:33:36 -07:00
ffxbld
93cacab1f5 No bug, Automated HSTS preload list update from host bld-linux64-spot-301 - a=hsts-update 2017-10-15 10:33:33 -07:00
Joel Maher
0e715e3cda Bug 1408730 - skip browser_ebay.js on artifact builds. r=mkaply 2017-10-15 10:24:45 -04:00
Randell Jesup
336209d98d Bug 1408716: Remove unneeded dynamic_cast r=drno 2017-10-15 07:47:14 -04:00
Joel Maher
2120bf7a70 Bug 1404836 - Disable gfx/layers/apz/test/mochitest/test_group_pointerevents.html on windows 10 for frequent failures. r=me, a=test-only 2017-10-15 05:55:43 -04:00
Joel Maher
8eed010557 Bug 1403428 - Disable /html/browsers/windows/browsing-context-names/choose-_parent-001.html on !win for frequent failures. r=me, a=test-only 2017-10-15 05:55:21 -04:00
Joel Maher
9be0d7276b Bug 1400098 - Disable dom/workers/test/test_fileReader.html on !debug for frequent failures. r=me, a=test-only 2017-10-15 05:55:12 -04:00
Joel Maher
558b169cc1 Bug 1396184 - Disable uriloader/exthandler/tests/mochitest/browser_ext_helper_pb.js on OSX for frequent failures. r=me, a=test-only 2017-10-15 05:55:05 -04:00
Sebastian Hengst
cbeded1fe4 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-15 11:41:41 +02:00
Sebastian Hengst
c5cf9de9bd merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: AWcJtsdyruX
2017-10-15 11:40:42 +02:00
ffxbld
39f4a652d1 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2017-10-14 22:59:04 -07:00
ffxbld
0c0219f6c4 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2017-10-14 22:59:01 -07:00
Kris Maglione
e74866a836 Bug 1405286: Part 4 - Don't overwrite existing state with finishedtransferringdata. r=mixedpuppy
In cases where data transfer finishes immediately after we close a request, we
can sometimes wind up overwriting that state information with
"finishedtransferringdata", which allows scripted callers to break certain
invariants and cause crashes.

MozReview-Commit-ID: Do3GttF3M9S

--HG--
extra : rebase_source : 22ef41b1655641fb5f73034d076f3bb6e148a626
extra : absorb_source : 5ca805e93d4d5feed9a5bd7e7f292104cd1bdd11
2017-10-14 20:01:18 -07:00
Kris Maglione
f0b1b98a83 Bug 1405286: Part 3 - Test that filterResponseData from cached onHeadersReceived doesn't crash. r=mixedpuppy
It currently isn't possible to suspend a channel from onHeadersReceived for a
cached response. And since it's not possible to add a new stream filter after
a response has started, adding a stream filter at that point will crash if the
channel is still registered.

This test is a basic sanity check for that scenario.

MozReview-Commit-ID: ALYUtxX7mci

--HG--
extra : rebase_source : 120889fd8f9edd097a7dae807b54eb3fd283f0f6
2017-10-14 19:25:35 -07:00
Kris Maglione
3967e13d94 Bug 1405286: Part 2 - Ensure ordered processing of StreamFilter events. r=mixedpuppy
Our current StreamFilter code doesn't behave well when data delivery is
targeted to a thread pool, rather than a single thread.

Thread pools don't guarantee ordered processing of events. It's theoretically
always possible for multiple events dispatched to a pool to be processed in
parallel, or even slightly out of order.

For the most part, this should only be a theoretical concern, unless several
data events are dispatched at the same time, and the pool has enough available
threads to service all of them (which is an unlikely scenario in this code).
However, when data delivery is targeted to a thread pool, the OnDataAvailable
callbacks do not have access to the thread pool itself, only the thread that
the callback was dispatched to. This means that after each OnDataAvailable
call, we likely store a new IO thread, and writes end up queued to a different
single thread depending on exactly when they happen.

Threads in thread pools often wind up executing long-running runnables, such
as synchronous IO or network operations. Which means that we introduce
arbitrary delays for some writes, and are likely to wind up with highly
arbitrary ordering.


This patch solves both of these problems by introducing strict event queue
ordering, and also dispatching IO events to the original explicit delivery
target, rather than whatever the current thread happened to be at the time of
the last data event.

MozReview-Commit-ID: 1SdYjS6ltqw

--HG--
extra : rebase_source : a92aeff88b21ad41f2eef71a732fdf60f447789a
2017-10-14 18:58:53 -07:00