Commit Graph

609801 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
1bffebea0b Bug 1484459: Appease Servo's tidy lint. r=me 2018-08-18 19:07:08 +02:00
Emilio Cobos Álvarez
8d50b26faf Bug 1484459: Port servo to the new media query system. r=me
Port `width`, and also add the `scan` media feature so I don't need to add
ugliness just to workaround the unused keyword_evaluator macro.

This is not part of the Gecko build in any case.
2018-08-18 19:07:06 +02:00
Emilio Cobos Álvarez
b68adb6896 Bug 1484459: Update num-traits in style. r=me 2018-08-18 19:07:05 +02:00
Tom Schuster
1c7d45c07c Bug 1483999 - Use a switch for dispatching traverse functions. r=sfink
--HG--
extra : rebase_source : 3b154016e2c567347db17748e0861d4a987df038
extra : histedit_source : 4d673e93ea1512931594b654940f81dcb2c918f9
2018-08-16 22:48:37 +02:00
Tom Schuster
aa8c909319 Bug 1483999 - Move rooting outside of loop. r=sfink
--HG--
extra : rebase_source : 5d9c6246ddf80c450e4a47f3df4f709f5424a44b
2018-08-16 21:49:45 +02:00
Dale Harvey
f0d25ece63 Bug 1477294 - Hide identity popup when the user reloads. r=johannh
MozReview-Commit-ID: 26f1lSVKiVA
2018-08-18 11:21:30 +01:00
Dão Gottwald
34db588af8 Bug 1483887 - Copy fullscreen window controls styling from Windows. r=ntim 2018-08-17 14:36:19 +02:00
Csoregi Natalia
953b0fcb6d Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-18 12:50:21 +03:00
Csoregi Natalia
3e61ab4489 Merge inbound to mozilla-central. a=merge 2018-08-18 12:46:20 +03:00
Kris Maglione
7f10bb1ced Bug 1484363: Treat FrameMessageManagers as chrome event targets. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D3663

--HG--
extra : rebase_source : aad2e4c00e6635658c736cf9400f2fb3ce5809ac
2018-08-17 15:11:11 -07:00
Ting-Yu Lin
f90c2a2950 Bug 1484306 Part 4 - Use FunctionTypeTraits to yield better error message if aPredicate's signature is wrong. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D3684
2018-08-17 22:14:26 -07:00
Ting-Yu Lin
4e52c71be9 Bug 1484306 Part 3 - Use nsFrameList::Split() to replace the usage of FindFirstBlock(). r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D3645
2018-08-17 22:14:26 -07:00
Ting-Yu Lin
4347d6785b Bug 1484306 Part 2 - Add nsFrameList::Split(), and use it to replace the usage of FindFirstNonBlock(). r=dholbert
This API is similar to Vec::Split() in Rust.
https://doc.rust-lang.org/std/vec/struct.Vec.html#method.split

Differential Revision: https://phabricator.services.mozilla.com/D3644
2018-08-17 22:14:25 -07:00
Ting-Yu Lin
f830c92c19 Bug 1484306 Part 1 - Add nsFrameList::FrameLinkEnumerator::Find(). r=dholbert
Use it to implement FindFirstBlock() and FindFirstNonBlock(). This is a
demonstration on how Find() is used. The usage of them will be overhauled in
Part 2 and 3.

Differential Revision: https://phabricator.services.mozilla.com/D3642
2018-08-17 22:14:25 -07:00
Matthew Noorenberghe
e2d642ca25 Bug 1477100 - Scroll the country picker into view to fix browser_dropdowns.js. r=me
This new layout caused it to require scrolling to be clicked.

--HG--
extra : rebase_source : 3f1d5c54eefd3f56c5513ec2737a1883f31d91ee
2018-08-17 20:27:33 -07:00
Dan Mosedale
a39cf8c127 Bug 1484282 - Fix typo in mach bootstrap command recommendation, r=gps
MozReview-Commit-ID: 4qbrbuCfSVr
2018-08-17 19:35:02 -07:00
Matthew Noorenberghe
cc5127203e Bug 1478029 - Follow-up to fix test_address_form.html default country. r=me 2018-08-17 17:40:04 -07:00
Matthew Noorenberghe
db94a77ef1 Bug 1478029 - Don't select a shipping option by default for the user. r=sfoster
Honour the .selected value provided by the merchant.

Differential Revision: https://phabricator.services.mozilla.com/D3668

--HG--
extra : rebase_source : a7ea701d875f3052dabad16ca90419f7f3f3849c
extra : amend_source : 1fe3c1ecff45d73761ae848d044911c27e1840ae
2018-08-17 17:03:29 -07:00
Jared Wein
066ed9e934 Bug 1477100 - Show the labels as placeholders inside of the fields. r=MattN
Show the labels as placeholders inside of the fields.

Differential Revision: https://phabricator.services.mozilla.com/D2955

--HG--
extra : rebase_source : 4ca24b7b6833c3c1bcd4821ec127fe07c24b44d0
2018-08-17 16:25:46 -07:00
Matthew Noorenberghe
10c07d673d Bug 1483425 - Don't mark form fields as invalid/dirty on load in an 'add' form. r=sfoster
When editing an existing record, invalid fields should be indicated on load.

Differential Revision: https://phabricator.services.mozilla.com/D3397

MozReview-Commit-ID: CbrqEyCUoyC

--HG--
extra : rebase_source : f44dc1b66d0c37d2b301a6b5c33ddde9fa7181bf
2018-08-17 16:27:21 -07:00
Cosmin Sabou
b16b07d670 Backed out changeset d5c898a4aaaf (bug 1463483) for causing talos xperf failures. 2018-08-18 02:44:09 +03:00
André Bargull
cc3d347370 Bug 1346211 - Part 7: Clobber after modifying ICU data file. r=clobber
--HG--
extra : rebase_source : 407a603e6f4b376b36183e053f3e7d6425c1da36
2018-08-17 14:30:37 -07:00
Ed Lee
de0b9efc1c Bug 1484328 - Add router targeting, router actions and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D3656

--HG--
extra : moz-landing-system : lando
2018-08-17 21:28:24 +00:00
Jim Chen
450647e5d2 Bug 1483665 - Only call SetSelectionDragState in parent process; r=snorp
We can't call nsWindow::SetSelectionDragState in the child process so
check for the parent process first.

Differential Revision: https://phabricator.services.mozilla.com/D3561

--HG--
extra : moz-landing-system : lando
2018-08-17 23:05:08 +00:00
Brad Werth
bac3e2671c Bug 1482968 Part 2: Add a test of modifier key clicks and drags on input elements. r=smaug!
Depends on D3450

Differential Revision: https://phabricator.services.mozilla.com/D3451

--HG--
extra : moz-landing-system : lando
2018-08-17 18:59:36 +00:00
Brad Werth
50cab3e9c8 Bug 1482968 Part 1: Relax input event modifier filtering to allow most modifier keys to be pressed during mouse and key events. r=smaug!
Differential Revision: https://phabricator.services.mozilla.com/D3450

--HG--
extra : moz-landing-system : lando
2018-08-17 18:59:13 +00:00
Jeff Gilbert
2ab455c28d Bug 1482974 - Prefer to initialize members at declaration in gfx/gl. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D3240

--HG--
extra : moz-landing-system : lando
2018-08-17 22:21:26 +00:00
Drew Willcoxon
a2e818ca91 Bug 1480505 - Highlight special internal search engine keywords in awesomebar r=timdream,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D3552

--HG--
extra : moz-landing-system : lando
2018-08-17 22:35:02 +00:00
Denis Palmeiro
90f5ec05cc bug 785922: Emit column numbers for JS frames and functions in the gecko profiler r=sfink,mstange
Add support for column numbers when profiling JS stack frames and functions.  This will help debug minified scripts when inspecting performance profiles.  The column information will be emitted as a new column property that is part of the frameTable in the profile output, and will also be appended in the descriptive profiler string.

Differential Revision: https://phabricator.services.mozilla.com/D3059

--HG--
extra : moz-landing-system : lando
2018-08-17 19:45:39 +00:00
Daniel Varga
3ee92b7a2f Merge mozilla-central to autoland 2018-08-18 01:04:09 +03:00
Narcis Beleuzu
a42bb6a055 Backed out changeset 32e2d0ddc56a (bug 1477100) for build bustages on editDialog.css. CLOSED TREE 2018-08-18 00:49:17 +03:00
Emilio Cobos Álvarez
94eb4ee48e Bug 1483808 - Make webkit device-pixel-ratio media queries a proper alias to resolution. r=dholbert
According to the spec:

  https://compat.spec.whatwg.org/#css-media-queries-webkit-device-pixel-ratio

And to the Chromium implementation:

  https://cs.chromium.org/chromium/src/third_party/blink/renderer/core/css/media_query_evaluator.cc?l=366&rcl=1d7328865bcf06a687aafc18ff95d55317030672

They're no different than resolution.

In our implementation `resolution` does slightly different stuff. Given we
still haven't shipped -webkit-device-pixel-ratio, making this match resolution
looks better than the opposite.

Differential Revision: https://phabricator.services.mozilla.com/D3588

--HG--
extra : moz-landing-system : lando
2018-08-17 21:25:37 +00:00
Tom Prince
f5f9b5f0ac Bug 1481178: Retry downloading chainOfTrust.json.asc in mach artifact toolchain; r=gps a=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D3661

--HG--
extra : rebase_source : 1476805171a838a80d4220dafcadcc175344efa1
2018-08-17 15:20:37 -06:00
Daniel Varga
707a0b3f74 Merge mozilla-inbound to mozilla-central. a=merge 2018-08-18 00:53:04 +03:00
Drew Willcoxon
f90bca5e29 Bug 1484067 - Hide search em-dash when search query only contains spaces r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D3659

--HG--
extra : moz-landing-system : lando
2018-08-17 20:56:31 +00:00
Randall Barker
832c1cbf6b Bug 1483596 - Add GeckoView API to set VR UA string r=esawin,jchen
Differential Revision: https://phabricator.services.mozilla.com/D3545

--HG--
extra : moz-landing-system : lando
2018-08-17 20:34:04 +00:00
Jared Wein
61f730db69 Bug 1477100 - Show the labels as placeholders inside of the fields. r=MattN
Show the labels as placeholders inside of the fields.

Differential Revision: https://phabricator.services.mozilla.com/D2955

--HG--
extra : moz-landing-system : lando
2018-08-17 20:50:26 +00:00
Timothy Guan-tin Chien
166aa2d738 Bug 1483972 - Allow videocontrols to initialize without style r=jaws,dholbert!,jaws!
This crash happens because nsVideoFrame didn't know what to do with two
children in the UA Widget Shadow Root.

The two children are both videocontrols, with the first one being the lingering
DOM inserted by first constructor call that throws.

The subsequent appendChild of the same element caused the videocontrols
to be initialized again, since the previous run didn't return a widget
instance to UAWidgetsChild.

The fix here removes the throw statement added in
https://hg.mozilla.org/mozilla-central/rev/dca187f7c72c#l3.15 ,
allowing the constructor to complete.

Without this statement, we will rely on assertion in the test here
https://hg.mozilla.org/mozilla-central/rev/4ddca5eb06c2#l2.18
to fail on slower platforms to ensure the stylesheet is loaded synchronously.

An alternative fix would be to wrap up the contructor in a try catch block
from UAWidgetsChild and make sure the DOM is cleaned up when the constructor
throw. That however will hide the error thrown so I decided to remove the throw
statement instead.

Differential Revision: https://phabricator.services.mozilla.com/D3560

--HG--
extra : moz-landing-system : lando
2018-08-17 20:43:46 +00:00
Randall Barker
a1c5b33558 Bug 1483420 - Add GeckoView APIs for overriding screen size and display DPI r=esawin,jchen
Differential Revision: https://phabricator.services.mozilla.com/D3379

--HG--
extra : moz-landing-system : lando
2018-08-17 20:17:44 +00:00
Emilio Cobos Álvarez
66b986e252 Bug 1483882 - Teach IDTracker about Shadow DOM. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D3533
2018-08-17 22:01:52 +02:00
Joel Maher
c0d0bc65ae Bug 1481708 - run wasm-misc on desktop browsers. r=rwood
support wasm-misc as a benchmark in raptor

Differential Revision: https://phabricator.services.mozilla.com/D3616

--HG--
extra : moz-landing-system : lando
2018-08-17 19:22:29 +00:00
Rob Wood
eeb6464d68 Bug 1480841 - Raptor support for running speedometer on geckoview r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D3446

--HG--
extra : moz-landing-system : lando
2018-08-17 18:06:22 +00:00
Narcis Beleuzu
b001ac17eb Backed out changeset 9c08d6d5d6f2 (bug 1483882) for reftest failures on svg/fragid-shadow. CLOSED TREE 2018-08-17 21:27:14 +03:00
Michael Kaply
925e710ffa Bug 1483939 - Account for anchor when creating URLSearchParams. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D3525

--HG--
extra : moz-landing-system : lando
2018-08-17 17:58:23 +00:00
Edouard Oger
7a730215d7 Bug 1483979 - Enable fxa commands r=markh
Differential Revision: https://phabricator.services.mozilla.com/D3569

--HG--
extra : moz-landing-system : lando
2018-08-17 17:56:52 +00:00
Henri Sivonen
d3a158ae38 Bug 1483764 - Fix EOF behavior when decoding responseText lazily. r=smaug
* Drop the decoder when it finishes regardless of who called it.
 * Match criteria for having mDecoder process EOF from OnStopRequest to
   the criteria used for eager decoding in StreamReaderFunc.
 * Process EOF when decoding lazily.
 * Get rid of the useless mResponseCharset field.

MozReview-Commit-ID: 7oJwyKQYP8K

Differential Revision: https://phabricator.services.mozilla.com/D3591

--HG--
extra : moz-landing-system : lando
2018-08-17 17:04:22 +00:00
Noemi Erli
1360ddcaa4 Backed out 3 changesets (bug 1482454) for devtools failures CLOSED TREES
Backed out changeset 3ada76566234 (bug 1482454)
Backed out changeset 1cdd772dae68 (bug 1482454)
Backed out changeset f06260e3db1c (bug 1482454)
2018-08-17 19:52:01 +03:00
Simon Fraser
bb47a9554c Bug 1484268 Update cryptography for mitmproxy r=rwood
Differential Revision: https://phabricator.services.mozilla.com/D3619

--HG--
extra : moz-landing-system : lando
2018-08-17 16:43:08 +00:00
Gabriel Luong
15b9c20c49 Bug 1483965 - Fix the checked selection in the RDM device pixel ratio menu. r=caliman 2018-08-17 12:26:47 -04:00
Ehsan Akhgari
720eee8a3f Bug 1483035 - Add the reject tracker cookie policy to the Cookies enterprise policy; r=mkaply 2018-08-17 12:03:06 -04:00