Commit Graph

580687 Commits

Author SHA1 Message Date
Milan Sreckovic
114ff1103a Bug 1432411: Wallpaper over the case where there is no Screen. r=jgilbert
MozReview-Commit-ID: ISeBw7qxGdH

--HG--
extra : rebase_source : b023754299b5e04883c6fa0d0eb4207f71315f90
2018-02-09 13:42:17 -05:00
Manish Goregaokar
7f2c119b46 servo: Merge #20001 - Autogenerate compute_damage (from Manishearth:compute-damage); r=mbrubeck
fixes #10622

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d2c9df586b89b582e0edbff92c8ba125f80081f4
2018-02-09 12:02:04 -05:00
Jared Hirsch
fc5f933414 Bug 1436218 - Export Screenshots 29.0.0 to Firefox (code excluding translations); r=ianbicking
MozReview-Commit-ID: 8ME4zCgdd89

--HG--
extra : rebase_source : 6e0cac59c97ebbdc4a982939bc1781198bb88056
2018-02-08 15:54:36 -08:00
Jared Hirsch
8283c4bcdb Bug 1436218 - Export Screenshots 29.0.0 to Firefox (translations only); r=ianbicking
MozReview-Commit-ID: 4RI8gnZezj3

--HG--
extra : rebase_source : cbeebe31ed53e16064a16ac390269277f1cfbebd
2018-02-06 14:39:26 -08:00
Kartikaya Gupta
f6bd1624da Bug 1374166 - Use waitUntilApzStable to increase test robustness. r=botond
The important part here is that the test parent page
(test_bug1151663.html) waits for paints to complete before spawning the
helper window. Otherwise, the helper window might think it's done
painting (because it is) and start running the test even though its
layer tree has not been attached to the chrome layer tree. In such a
scenario reading the APZ test data produces an empty tree for the
content layers id and causes the test to fail.

This test was written before we had waitUntilApzStable so sprinkling some
of that into the test makes it more robust in general as well.

MozReview-Commit-ID: J8rqW6dcy23

--HG--
extra : rebase_source : f9e28bd15f355c88649ff1797b1f1205824bf815
2018-02-09 12:29:21 -05:00
Mike Cooper
0da87323d2 Bug 1436701 - Handle resetValue / didResetValue correctly in Normany preference experiments r=Gijs
MozReview-Commit-ID: 1UfvmpgvaIx

--HG--
extra : rebase_source : 9f74e3420849c73595351aebd0af1ea6f1560165
2018-02-08 11:35:39 -08:00
Simon Fraser
c0fa76cb26 Bug 1436994 Collect S3 cache hit/miss data for partials r=rail
MozReview-Commit-ID: GQfPglY5ovz

--HG--
extra : rebase_source : d422a2cd8683e74aa8c219c9ac2622fc0b518cca
2018-02-09 16:19:20 +00:00
Andreas Pehrson
5a51d4ff01 Bug 1435670 - Remove assert when there's no capability for a device. r=jib
Not all devices have capabilities. Our code is already setup to handle that
case by defaulting to a capability with width,height,maxFPS=0 and propagating
the failure to start.

MozReview-Commit-ID: AZJKZeBrYC2

--HG--
extra : rebase_source : f1030fc97416f9b3b8e363edcbf440f6f250c749
2018-02-08 11:23:53 +01:00
Jed Davis
f57faf8137 Bug 1436882 - Fix termination signal when clone()ing child processes. r=gcp
This fixes a mistake in bug 1401062: the termination signal was omitted,
so it's 0, and if it isn't exactly SIGCHLD, then a tracer/debugger will
receive PTRACE_EVENT_CLONE rather than PTRACE_EVENT_FORK.  This causes
GDB to see the child process as a thread instead of a separate process,
and it becomes very confused after the process calls execve().

MozReview-Commit-ID: Baf2RFHVWRU

--HG--
extra : rebase_source : 50839967fc766bb9db123fe1af99a88495f8421b
2018-02-08 17:30:03 -07:00
Mark Banner
6ccff895ed Bug 1436966 - Remove the bookmark-observers & history-observers category listeners. r=mak
MozReview-Commit-ID: 2dsyxZG98IR

--HG--
extra : rebase_source : 89767cf42ee5e903f0b72900e7c8f85ac590a3c3
2018-02-09 11:21:14 +00:00
Andreas Pehrson
1f1e4dde69 Bug 1433552 - Allow zeroes to CamerasParent's FeasibilityDistance functions. r=jib
Getting zeroes here is rare, but the numbers come from a platform API so no
guarantees are given for them. This patch makes it as permissive as possible.

MozReview-Commit-ID: 2bjPRzhk1L7

--HG--
extra : rebase_source : 0a3bf122f79d4ff69c0d471dde32d5865edbfce5
2018-02-02 16:57:45 +01:00
Jim Chen
3cb126bc3d Bug 1432160 - Initialize PushService for custom tabs / PWA; r=snorp
We currently initialize PushService on delayed startup, which only
happens when Fennec is launched. This patch makes us also initialize
PushService if needed by web content from custom tabs / PWA, by
listening for the push initialization event in GeckoApplication.

MozReview-Commit-ID: 9CTOEZmOqls

--HG--
extra : rebase_source : ccd7d8e61e1de5de8ded1f6793234eb885c92672
2018-02-08 18:33:19 -05:00
Sam Foster
a7a22e51dd Bug 1434508 - better serialization of paymentrequest data. r=MattN
* Add a serializeRequest method to paymentDialogWrapper to correctly serialize the nsIArray values
* Test results of serializing a request with multiple displayItems, shippingOptions, paymentMethods and modifiers

MozReview-Commit-ID: DTqzTAjvdxq

--HG--
extra : rebase_source : 5bdc3ca1bfec8d524348ca12fcfe4f95508329cc
2018-01-31 16:19:49 -08:00
Csoregi Natalia
fca056426a Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-09 18:54:37 +02:00
Csoregi Natalia
7ed2a637dc Merge inbound to mozilla-central. a=merge 2018-02-09 18:52:22 +02:00
Bob Owen
753c1ba3c8 Bug 1409063: Remove OS.Constants.Path attributes that were added for WebappsInstaller.jsm and are no longer used. r=baku 2018-02-09 14:09:25 +00:00
Andrew Osmond
c35d734095 Bug 1389988 - Handle a data race between a new sync decode request and a pending decoder. r=tnikkel
If there is an active provider which has yet to produce a frame, any
calls to SurfaceCache::Lookup will return MatchType::PENDING. If
RasterImage::Lookup gets the above result while given FLAG_SYNC_DECODE,
it will attempt to start a new decoder. It is entirely possible that
when we try to insert the new provider into the SurfaceCache, it cannot
because the original provider finally did produce something. In that
case we should abandon attempting to redecode and retry our lookup.
2018-02-09 08:51:28 -05:00
Benjamin Bouvier
3d5c7891a5 Bug 1319203: Fix asm.js profiler test; r=me 2018-02-09 14:47:10 +01:00
Michael Ratcliffe
05207f075a Bug 1416824 - Patch 4: Use react-test-renderer-shallow r=nchevobbe
MozReview-Commit-ID: GSaozwuAhVE

--HG--
extra : rebase_source : fc73fb4014b7b8b75a6ddddd7ddd45fe3b5bb5ab
2018-02-09 11:12:50 +00:00
Benjamin Bouvier
fbe7807ab1 Bug 1319203: Remove the optimization for asm.js; r=jandem
MozReview-Commit-ID: YPfe1xDwP1

--HG--
extra : rebase_source : b762ffdf2fcd456dba6648760914f87d63d4a459
extra : histedit_source : ef6395ae0edbc57ec4f7dc10f82d3095bffe6306
2018-02-08 16:41:29 +01:00
Benjamin Bouvier
cc6669c261 Bug 1319203: Slightly optimize the jit->wasm stub; r=jandem
MozReview-Commit-ID: Hu5TLtz8iQk

--HG--
extra : rebase_source : 33c6f801815183aece66c447af9f0f9c82057451
extra : histedit_source : 1b039b18c5c3b75ae9c57a706ad33eefe55c54ab
2018-02-08 15:42:55 +01:00
Benjamin Bouvier
095cc5b266 Bug 1319203: Implement the jit-to-wasm entry stub and use it; r=luke, r=jandem
MozReview-Commit-ID: DSsR3zY4bsd

--HG--
extra : rebase_source : 1831ac4f5be25b092440f1da1517ba9a6740d19f
2018-02-08 14:37:03 +01:00
Mike Ratcliffe
8be94a27b9 Bug 1416824 - Patch 3: React Upgrade Documentation r=nchevobbe
MozReview-Commit-ID: 2xbn0qTVTSC

--HG--
extra : rebase_source : 18e22b2ab5362c435848b77c4fed82c4ccfd8d1c
2018-02-07 16:34:35 +00:00
Mike Ratcliffe
9a9400e19c Bug 1416824 - Patch 2: React 16 Vendor Files r=nchevobbe
MozReview-Commit-ID: CLZTmy0irqG

--HG--
extra : rebase_source : 76c9268e7f2dc88b0873a4a639bc731e563aa50c
2018-02-07 16:33:43 +00:00
Mike Ratcliffe
dd3348993e Bug 1416824 - Patch 1: React 16 Require statements and paths r=nchevobbe
MozReview-Commit-ID: 7BDgpYfLZLH

--HG--
extra : rebase_source : 664f6cc8a95fdf15cfb64f7cdfc18feec2f53339
2018-02-07 16:31:57 +00:00
Gijs Kruitbosch
da3597c3bb Bug 1436559 - stop doing busy-work in setOverLink and make textToSubURI available on Services.jsm, r=florian
MozReview-Commit-ID: F63kE4GE67B

--HG--
extra : rebase_source : e1dbae3f45b532e2f498c5e815a98531398143ea
2018-02-07 22:07:08 +00:00
Julian Descottes
a4e2f783c1 Bug 1406022 - remove browser_webconsole_reflow.js;r=nchevobbe
MozReview-Commit-ID: GO2jdUugR58

--HG--
extra : rebase_source : 2c36a08c2c1b910a2849dce7634200d87dcc8bf8
2018-02-09 13:28:11 +01:00
Csoregi Natalia
7f21ecd2bf Backed out 4 changesets (bug 1435296) for for failing devtools' browser_webconsole_check_stubs_console_api.js and mochitest's dom/smil/test/test_smilTimeEvents.xhtml. CLOSED TREE
Backed out changeset 1f07c08daa41 (bug 1435296)
Backed out changeset 89c121b45b30 (bug 1435296)
Backed out changeset be9496eff7b8 (bug 1435296)
Backed out changeset 2f94f155318e (bug 1435296)
2018-02-09 17:20:53 +02:00
Csoregi Natalia
2d4c080565 Backed out 2 changesets (bug 1429573) for reftest failures /tests/reftest/tests/editor/reftests/xul/number-3.xul. on a CLOSED TREE
Backed out changeset bd6892535d35 (bug 1429573)
Backed out changeset 1c398da94994 (bug 1429573)
2018-02-09 16:56:39 +02:00
Adrian Wielgosik
ee7273f84f Bug 1436869 - Remove nsIDOMPaintRequest. r=bz
MozReview-Commit-ID: 3Xpk2v1xbPp

--HG--
extra : rebase_source : e66727a028649557246f005a9b69c850f7831146
2018-02-08 17:24:03 +01:00
Adrian Wielgosik
2c6a0a9273 Bug 1436864 - Remove nsIDOMHistory. r=bz
MozReview-Commit-ID: HVOR03mvW2S

--HG--
extra : rebase_source : d4d81217ee17ca4b9d5e966fc1954cd77ee2437b
2018-02-08 22:33:10 +01:00
Ted Campbell
4dadb65ad1 Bug 1432764 - Support Debug OSR with CacheIR_Regular ICs on stack r=jandem
MozReview-Commit-ID: 1ONbWxPpS4t

--HG--
extra : rebase_source : 30a107741d37fd4a49cf0701798266190fcceb82
2018-02-08 16:20:18 -05:00
Ted Campbell
f004749d63 Bug 1382458 - Make tests using inIon() more reliable r=nbp
A number of jit-tests can fail if an ill-timed GC throws away their
JitCode. This adds jit options to those tests to prevent JitCode being
tossed.

MozReview-Commit-ID: 3hay0oIl9Fg

--HG--
extra : rebase_source : f2ef811f7f25f960cf49414c614a549296252836
2018-02-08 17:01:59 -05:00
Kit Cambridge
6bebb6d5f8 Bug 1436837 - Always prefer the local value state for synced roots. r=mak
Currently, the mirror treat roots like any other folder, and applies
remote value changes like titles, descriptions, and creation dates.
We should instead treat roots as immutable, and only apply new
structure states, to match the behavior of the legacy engine, iOS,
and Android.

This has a semantic change: if a root is changed locally, but we dedupe
all its children to match the remote tree, we'll still reupload a
record for the root. However, this change is consistent with the legacy
engine, as well as how we handle orphans moved into a locally modified
"unfiled".

MozReview-Commit-ID: 6hi0VcrG9ew

--HG--
extra : rebase_source : d72550ea3c8f82ab6a33654a021d55c487fbcd46
2018-02-08 11:50:02 -08:00
Gijs Kruitbosch
9239725b9a Bug 1434167 - remove home page code from the migration wizard, r=MattN
This removes all the homepage-related code. All the cases where we advance the wizard straight to
the homepage wizardpage now go straight to the 'start migrating' page (the 'point' was skipping
earlier pages that allowed users to select items).
The brand bundle was only used by the homepage code so is also being removed.

MozReview-Commit-ID: I9nSU2IMkQz

--HG--
extra : rebase_source : da803ed67b443cb164f2bc55550bfd7c107fa916
2018-02-07 10:37:20 +00:00
Gijs Kruitbosch
ac1ce88bcf Bug 1434167 - remove getSourceHomePageURL implementations and callsites, r=dthayer
MozReview-Commit-ID: 98p2Iy70EPv

--HG--
extra : rebase_source : 7980fffb74a3deff1493353c610d03a506c392d9
2018-02-07 10:18:46 +00:00
Miko Mynttinen
a84d6e8626 Bug 1434243 - Part 4: Do not create unnecessary nsDisplayCompositorHitTestInfo items r=kats,mattwoodrow
MozReview-Commit-ID: CNXMMCFFBmc

--HG--
extra : rebase_source : 5c34cef710a5f18006485814a5d29e6a43216188
2018-02-05 18:39:52 +01:00
Miko Mynttinen
ae6cc4938d Bug 1434243 - Part 3: Make nsDisplayListBuilder::ToReferenceFrame and nsDisplayListBuilder::FindReferenceFrame const r=mattwoodrow
MozReview-Commit-ID: 5b7Ox1cIBv0

--HG--
extra : rebase_source : 1fff8adc65a58bc71459437260a68c79fc13eb62
2018-02-06 17:18:22 +01:00
Thom Chiovoloni
ee6fffd334 Bug 1412332 - Enable sync passwords validator for nightly and beta users. r=markh
This also fixes an issue where our engine enabled preference listener was overzealous.

MozReview-Commit-ID: DphLaEUkyOz

--HG--
extra : rebase_source : fdcf154adf2cb11ac3bb0140670ce2dce68f4586
2018-01-31 20:00:29 -05:00
Tom Ritter
0c3763404d Bug 1435296 Update the CSS Animations tests to handle our new Timer Precision decision r=baku
This commit does several subtle things.

1: It changes ok() to opener.ok()

ok is not defined, we have to use opener.ok. This was not caught before because
this call is used to provide additional debugging information when a test fails.
Test didn't fail, didn't hit that line.

2: It disables the call to opener.ok() we just fixed.

As the comment there describes, we expect that function to fail, so we don't want
to assert(false).

3: It inverts failures to successes if only the reduceTimerPrecision pref is set

MozReview-Commit-ID: lpKKhJoDs6

--HG--
extra : rebase_source : 01386c0a91dd5262cbee95ecbd0be6df5539006a
2018-02-07 20:35:38 -06:00
Tom Ritter
fa5021da77 Bug 1435296 Address test failures caused by bumping timer precision to 2 ms r=baku
This affects several tests, and in all but one case merely disables timer precision
reduction on those tests.

In the other singular test, it no longer requires the end time of an operation to
be strictly greater than the start time, and allows it to be equal to it.

MozReview-Commit-ID: J59c7xQtZZJ

--HG--
extra : rebase_source : c82310ce0269798a9c5bfffaec1f63a24ddc98e5
2018-02-06 15:11:56 -06:00
Tom Ritter
b5eec93654 Bug 1435296 Do not apply timer clamping to CSS animations. r=birtles
This patch creates the capability to have callsites specify if timestamps
should be clamped only in Resist Fingerprinting Mode, or in the more expansive
Timer PRecision Reduction Mode.

Then it changes the CSS Animation callsite to only apply in RFP Mode.

This avoids regressing RFP.

MozReview-Commit-ID: B1pSri0kRk6

--HG--
extra : rebase_source : 5c1a3a1bb7cb10cd5c4a608f30bf097bd7e119b9
2018-02-07 16:50:57 -06:00
Tom Ritter
ca409ab72d Bug 1435296 Bump the default timer precision resolution to 2ms r=baku
MozReview-Commit-ID: G33jNNJVRSU

--HG--
extra : rebase_source : 5a07abf77c00b66fad77c1add1b4646f287c6e26
2018-02-02 11:05:40 -06:00
Tim Nguyen
96e5c9837c Bug 1429573 - Remove spinbuttons.xml bindings now that they are unused. r=Paolo
MozReview-Commit-ID: 6sb1zcGv4k9

--HG--
extra : rebase_source : 35636617336551fb3aadc8fb321c66b5e5993239
2018-02-09 13:53:49 +00:00
Tim Nguyen
5f077444bc Bug 1429573 - Use input[type=number] in textbox[type=number] implementation. r=Paolo,surkov
* The number is no longer selected on number input focus

MozReview-Commit-ID: 6XQdnJP65m0

--HG--
extra : rebase_source : 96d16469e99fc52c15a0b5024bdf9c3b4211a171
2018-02-09 13:47:44 +00:00
Emilio Cobos Álvarez
12516af198 servo: Merge #20003 - style: Remove unneeded clone (from emilio:simplify-font-family-serialize); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: f8ac623047085fbb46eab44f6ad7682a45f032b7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ef54cf56fc87241cd276be38cf5089cca7fadcc9
2018-02-09 06:32:39 -05:00
Masayuki Nakano
a04da0af59 Bug 1134542 - Get rid of nsIDOMWindowUtils::sendKeyEvent() and nsIFrameLoader::sendCrossProcessKeyEvent() r=smaug
nsIDOMWindowUtils::sendKeyEvent() is already replaced with nsITextInputProcessor
for making callers set any attributes of KeyboardEvent and guaranteeing
consistency behavior with keyboard events caused by native key events.  E.g.,
whether keypress event should be dispatched or not is automatically decided.

nsIFrameLoader::sendCrossProcessKeyEvent() is similart to
nsIDOMWindowUtils::sendKeyEvent() but it dispatches keyboard events in
child process directly.  Currently, nsITextInputProcessor doesn't have this
feature but nobody wants/uses this feature.  So, for removing actual
implementation of nsIDOMWindowUtils::sendKeyEvent(), i.e.,
nsContentUtils::SendKeyEvent(), which is shared by both
nsDOMWindowUtils::SendKeyEvent() and nsFrameLoader::SendCrossProcessKeyEvent(),
we should remove this unused API too. (FYI: it's implemented for old Fennec,
by bug 553149.)

MozReview-Commit-ID: 9n0UVo8Me8k

--HG--
extra : rebase_source : e9b117f5b9afec76e63d57ab8cd86dafb5873789
2018-01-31 17:04:20 +09:00
Miko Mynttinen
c13c744de6 Bug 1434243 - Part 2: Add nsDisplayCompositorHitTestInfo support to FrameLayerBuilder r=mattwoodrow
MozReview-Commit-ID: 5RdFJDyB6RN

--HG--
extra : rebase_source : 364404b8f12397235b27a34ebe4b4492fc350ad5
2018-01-30 15:10:23 +01:00
Miko Mynttinen
343f94e2b5 Bug 1434243 - Part 1: Ensure that AncestorHasApzAwareEventHandler is set when needed if APZ is enabled r=kats
MozReview-Commit-ID: BxAEotnGQwS

--HG--
extra : rebase_source : b28759fbfc0bb95b38391ae511ce6060a0ee683d
2018-02-02 14:15:37 +01:00
Nupur Baghel
7f97399fcc servo: Merge #19972 - replaced content_type from DOCString to Mime (from paavininanda:Issue16483); r=jdm
Replaced content_type from DomString to Mime

---
<!-- 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 #16483 (https://github.com/servo/servo/issues/16483).

<!-- Either: -->
- [x] These changes do not require tests because they make changes to already existing files

<!-- 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: 7e501f50f7ef71c6f877bb2ebbaaeaf0162b5f43

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1561b203307f82f8731f63c95f91587181a3ef15
2018-02-09 05:02:19 -05:00