Граф коммитов

580812 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Hengst 7a0fd40b3d Backed out changeset 9207588939fd (bug 1435414) because it didn't work. CLOSED TREE 2018-02-09 16:33:57 +02: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
J.C. Jones 3d8ea4a710 Bug 1434936 - Rework ChainHasValidPins to use nsNSSCertList r=keeler r=fkiefer
This commit reworks PublicKeyPinningService::ChainHasValidPins and
PublicKeyPinningService::EvalChain to use nsNSSCertList directly.  It also
updates nsSiteSecurityService::ProcessPKPHeader. This will be made more
efficient in Bug 1406854, where the call to VerifySSLServerCert gets replaced
with one to GetSucceededCertChain. (Such a change is premeature now because
before Bug 731478 lands this would lead to a session resumption regression
causing pins to not be set properly, which is triggered repeatedly in the
xpcshell tests.)

MozReview-Commit-ID: 1l186n1lXLH

--HG--
extra : rebase_source : 88e40bbf41b324ece762abfa84a758380102e199
extra : histedit_source : addcddf253c2901a25b29f65046908f52df61345
2018-01-31 18:50:29 -07: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
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
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
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
J.C. Jones 69d7ddbfe8 Bug 1434936 - Use nsNSSCertList in NSSCertDBTrustDomain::IsChainValid r=keeler r=fkiefer
This change is to use the higher-level structure nsNSSCertList when checking
IsChainValid so that we can use the more powerful (and tested) methods of that
object instead of the ad-hoc iterators.

This will also permit the Symantec Distrust code in Bug 1434300 to use these
methods, which keeps the code the same from the earlier Bug 1409259.

MozReview-Commit-ID: B5KmDa1JLE

--HG--
extra : rebase_source : 397d3ef7189eb6f81a1ceaf920464d9e842a8981
extra : histedit_source : 26b22257cb5fcc3389630dd0a1aba24095c46158
2018-01-31 16:02:00 -07:00
J.C. Jones 6395c26d4a Bug 1434936 - Add method nsNSSCertList::GetRootCertificate r=keeler r=fkiefer
This adds another utility method to nsNSSCertList to perform CERT_LIST_TAIL on
the underlying certificate list and return the last entry -- e.g., the root.
This is a convenience method to let other parts of the certificate verifier
continue to work with the higher-level nsNSSCertificate objects instead of
having to convert them.

MozReview-Commit-ID: EEi9L5Iepc6

--HG--
extra : rebase_source : 2836767a7186f65debf338f8d1f2a981636ed29b
extra : histedit_source : 5b87ec6c522ac1b84d91052e21184f3c03d9ea52
2018-01-31 17:14:40 -07:00
sotaro 3315d3a267 Bug 1436908 - Fix EGLSurface leak at RenderCompositorANGLE r=nical 2018-02-10 07:45:44 +09:00
Sebastian Hengst 87f465d8f7 merge mozilla-central to mozilla-inbound. CLOSED TREE
--HG--
extra : amend_source : 0e657a5dd4f6c8893d3f5ab7b173e3c4178e9e61
2018-02-10 00:29:53 +02:00
Sebastian Hengst 2e7425adfb Backed out 3 changesets (bug 1432358) for failing xpcshell's test_ext_contentscript_triggeringPrincipal.js on Windows debug. CLOSED TREE
Backed out changeset 27527f95cccc (bug 1432358)
Backed out changeset 6840396ed6ec (bug 1432358)
Backed out changeset 60852dec9e04 (bug 1432358)

--HG--
extra : amend_source : 3308e1d9a98220fc71027f18e5c69105e8d75d20
2018-02-09 23:46:29 +02:00
Geoff Brown cd78045019 Bug 1434423 - Check for installation of correct test application when --app is passed to mach; r=jmaher 2018-02-09 14:34:20 -07:00
Ben Kelly 4a261ee476 Bug 1437080 P3 Make SetFetchCacheMode() to clear other cache flags and assert the final value. r=valentin 2018-02-09 13:17:14 -08:00
Ben Kelly f114de487f Bug 1437080 P2 Remove the HttpBaseChannel::mFetchCacheMode override to avoid possibility it can get out of sync with load flags. r=valentin 2018-02-09 13:17:14 -08:00
Ben Kelly 482f2c3a30 Bug 1437080 P1 Correctly check cache related bit flags on HttpBaseChannel::mLoadFlags. r=valentin 2018-02-09 13:17:14 -08:00
Eugen Sawin 520f595f89 Bug 1434210 - [2.0] Trim selection text for search. r=snorp 2018-02-09 21:35:49 +01:00
Eugen Sawin 89c90770f7 Bug 1434210 - [1.1] Expose text selection trimming as a utility function. r=mconley 2018-02-09 21:35:49 +01:00
Ben Kelly efbfaeb8bf Bug 1437094 Make EventSource set INHIBIT_CACHING to match spec required "no-store" cache mode. r=bz 2018-02-09 12:18:58 -08:00
Andrea Marchesini 1f4b9d7e56 Bug 1437011 - NonBlockingAsyncInputStream::Close() should return NS_OK if already closed, r=froydnj 2018-02-09 21:15:15 +01: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
Marco Bonardo ee28acdb29 Bug 539517 - remove synchronous Bookmarks::SetItemIndex API. r=standard8
MozReview-Commit-ID: 20kwLPazqPC

--HG--
extra : rebase_source : 7ac31306185573f6f94bcef4e89257d6a2ea2c2d
2018-02-08 18:45:00 +01:00
Julian Descottes 21e2cc5783 Bug 1404886 - remove browser_webconsole_mixedcontent;r=nchevobbe
All the content from this test is already covered in
- browser_webconsole_allow_mixedcontent_securityerrors.js
- browser_webconsole_filters.js

MozReview-Commit-ID: LUVDI6DmJiB

--HG--
extra : rebase_source : 56e20155dd1569259cc1b40fc38a894de1e0c146
2018-02-08 18:55:28 +01:00
Marco Bonardo ce1ef88b66 Bug 1433304 - Remove synchronous Bookmarks::GetIdForItemAt. r=standard8
MozReview-Commit-ID: HZ2AiPgFawN

--HG--
extra : rebase_source : a38aa91eb3db3611c7e75d98992efc20abcea2fd
2018-02-08 15:40:23 +01:00
Tiberius Oros 628c59112e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-09 12:05:42 +02:00
Tiberius Oros 677b0037d2 Merge inbound to mozilla-central. a=merge 2018-02-09 12:02:51 +02:00
Dão Gottwald f1b581daa2 Bug 1432716 - Group the "Show search suggestions ahead of browsing history in address bar results" checkbox with other search suggestion checkboxes. ui=shorlander r=adw
MozReview-Commit-ID: CSuNpA0Yq0w

--HG--
extra : rebase_source : 9a207a7cd913038ebcbffc6528e648e3b45af104
2018-02-09 10:44:28 +01:00