Commit Graph

592566 Commits

Author SHA1 Message Date
Kartikaya Gupta
eaf147ebce Bug 1430813 - Prevent scenario where we keep a dead frame pointer on the EventStateManager. r=smaug
MozReview-Commit-ID: HN8XgsMGisy

--HG--
extra : rebase_source : c2f632bd37a6d3e9220be65fc05bc2b0e2cfa246
2018-04-23 09:35:12 -04:00
Francois Marier
65577c0773 Bug 1434662 - Move initialization code to ProtocolParser::Begin(). r=gcp
Repurpose the previously unused Begin() function to initialize
ProtocolParser objects and also assert that we are not reusing
objects across update since that's not supported.

MozReview-Commit-ID: HIGGgOr388h

--HG--
extra : rebase_source : f9f83b1c7bd79faa40fc1d7cb594dcb14a66fe09
2018-04-19 17:10:45 -07:00
Francois Marier
dcbfde282e Bug 1434662 - Remove dead code. r=gcp
This check was added in bug 1296820 to disable V4 updates prior
to their being implemented. It should have been removed once we
landed working support for V4 updates.

MozReview-Commit-ID: 828DIS72LNi

--HG--
extra : rebase_source : df3bf169fb077891d5096d7cbeb68c2bb657f834
2018-04-19 16:06:40 -07:00
Francois Marier
84d43505cb Bug 1434662 - Reset Safe Browsing V4 tables that fail to update. r=gcp
This is a generalization of the reset code that's used in pver2
to reset all tables when a `pleasereset` command is received.

MozReview-Commit-ID: LF4RegQHqoT

--HG--
extra : rebase_source : 5c100f179a23c805fe245a361f4e89c8d5f5ce0a
2018-04-12 10:11:30 -07:00
Jim Chen
949ee3dab8 Bug 1454441 - 4. Fix Fennec remote debugging; r=esawin
Currently Fennec remote debugging has a bug where custom tabs / PWA can
permanently override debugging of Fennec tabs. Fix that bug by switching
between the browser/geckoview  window types depending on if the Fennec
window is gaining or losing focus.

MozReview-Commit-ID: 2BhAOPFz3c0

--HG--
extra : rebase_source : b9b6059241549bdb6badcc5702c9e47e7228edb3
2018-04-23 12:07:34 -04:00
Jim Chen
75e138adb8 Bug 1454441 - 3. Move remote debugging setting to runtime; r=esawin,snorp
Move the remote debugging setting to GeckoRuntimeSettings and use it in
geckoview_example.

MozReview-Commit-ID: G2IINILQAOm

--HG--
extra : rebase_source : fad2c96241593c6ce8898691ebf03c224815f339
2018-04-23 12:07:34 -04:00
Jim Chen
da3744255a Bug 1454441 - 2. Move remote debugger usage to GeckoViewStartup; r=esawin
Move GeckoViewRemoteDebugger.jsm usage from geckoview.js to
GeckoViewStartup.js.

MozReview-Commit-ID: 92qNB3vMH0a

--HG--
extra : rebase_source : 8d2808abf05d241e8c212c11e92c072c1cd84d29
2018-04-23 12:07:34 -04:00
Jim Chen
e836b4cd08 Bug 1454441 - 1. Add GeckoViewUtils.addLazyPrefObserver; r=esawin
Add a convenience function to add lazy pref observers that only load a
given module if the pref value deviates from default or when the pref
value changes.

MozReview-Commit-ID: Gh0zFC8FZih

--HG--
extra : rebase_source : b92b9324c9987f60cbc9add7748feef858301985
2018-04-23 12:07:34 -04:00
arthur.iakab
f2a0f162d7 Merge mozilla-central to autoland 2018-04-23 13:05:54 +03:00
Coroiu Cristina
8f06c1b9a0 Merge inbound to mozilla-central a=merge 2018-04-23 12:59:31 +03:00
Johan Lorenzo
489364e307 Bug 1455143 - Stop beetmoving deleted testing artifacts r=gps,mtabara
MozReview-Commit-ID: L10NmJH7s2A

--HG--
extra : rebase_source : ffa89550eabfc367bae0d5e1794bc28d628b1d41
2018-04-20 16:13:43 +02:00
Zibi Braniecki
58fec78749 Bug 1455681 - searchResults.xul support link must be a proper HTML tag. r=Gijs
MozReview-Commit-ID: IcRU11kd27X

--HG--
extra : rebase_source : f11064662dd231e4c480ae15482838c1f7495ed7
2018-04-20 14:05:31 -07:00
Daisuke Akatsuka
9f38b4533c Bug 1453294: Reduce devtools min-width when docked to side. r=jdescottes
MozReview-Commit-ID: 19NWuivvY1k

--HG--
extra : rebase_source : bb66443ba9f35c04dd58a28d4b6100067fc1a585
2018-04-23 14:39:20 +09:00
Razvan Caliman
ef0592fd09 Bug 1455535 - Add support for vmin/vmax units. Ensure vh/vw are computed against actual host window. r=pbro
MozReview-Commit-ID: 1ifVJu1OW5L

--HG--
extra : rebase_source : 876f9adf2cac9fbff3965f26452f4239b18d0ee4
2018-04-20 17:31:39 +02:00
Sam Foster
b52121beb6 Bug 1427939 - Use total and any additionalDisplayItems when a modifier matches the payment method. r=jaws
* getModifierForPaymentMethod helper
* Use selectedPaymentMethod from state store.
* Update and add tests for the modifier case for the main total in PaymentDialog
* Update and add tests for handling modifiers and additionalDisplayItems in the OrderDetails component

MozReview-Commit-ID: FmlovZjP0t1

--HG--
extra : rebase_source : e3a3d7ffbcb6602ec14d0bc27b20b0d7804f1694
2018-04-18 00:43:15 -07:00
Masayuki Nakano
94dd5a92a4 Bug 1454126 - HTMLEditor should adjust selection outside native anonymous subtree when it inserts something at selection r=m_kato
HTMLEditor::InsertElementAtSelection() doesn't check if selection is in
native anonymous subtree.  Therefore, it could insert element into <input>
element etc.

This patch adds new API to EditorDOMPointBase to compute ancestor point which
is not in native-anonymous subtree and make
HTMLEditor::GetBetterInsertionPointFor() use it to not return point in any
native-anonymous subtrees.
2018-04-17 17:01:57 +09:00
Mantaroh Yoshinaga
40919c22b6 Bug 1455496 - Part 2. Add test of existence of scratchpad's menu bar. r=jdescottes 2018-04-23 09:26:15 +09:00
Mantaroh Yoshinaga
f65311bb20 Bug 1455496 - Part 1. Hide toolbar of scratchpad panel. r=dao
The scratchpad panel(in the toolbox) should not display menu bar.
This patch will hide this menu bar if target is toolbox.
2018-04-23 09:25:59 +09:00
Tiberius Oros
de1fe7dcea Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-23 01:15:49 +03:00
Tiberius Oros
c028c8d2f4 Merge inbound to mozilla-central. a=merge 2018-04-23 01:11:42 +03:00
Mark Banner
496ee6b48b Bug 1449317 - Update the default string in the address bar. r=florian
MozReview-Commit-ID: C00zxCTJmHY
2018-04-22 22:02:05 +01:00
Nathan Froyd
2d58b9d7fb Bug 1455178 - avoid static constructors for atom initialization; r=njn
For reasons unknown, if you give MSVC:

// Foo.h
struct Foo
{
  ...
};

extern const Foo gFoo;

// Foo.cpp, which necessarily includes Foo.h.
extern constexpr Foo gFoo = {
};

MSVC will create a static initializer for gFoo and place it in the
read/write data section, rather than the read-only data section.
Removing the `extern const` declaration seems to be enough to make this
problem go away.  We need to adjust the declaration of other variables
to compensate for the non-visibility of gFoo in the header file.
2018-04-22 16:53:22 -04:00
Petru Lingurar
6a3f71d029 Bug 1445798 - Add Leanplum settings opt-out strings needed for bug #1454686; r=mcomella
To allow users to opt-out from receiving LeanPlum messages we need a new setting added.
This are the Strings for the title and summary of that setting.

Localization notes also added as this Strings will ship before the feature.

MozReview-Commit-ID: 9Kx567ruY3n
2018-04-22 22:39:21 +03:00
Sebastian Hengst
170c57a589 Backed out changeset ce533f03054c (bug 1445798) for Android bustage 2018-04-22 22:38:47 +03:00
Valentin Gosu
aadb739cdd Bug 1455830 - Fix -Wunused-lambda-capture warning in nsStandardURL::SetPassword r=me 2018-04-22 20:24:12 +02:00
Jason Laster
a8ddb25f47 Bug 1455887 - Update Debugger Frontend v43. r=jdescottes
MozReview-Commit-ID: EI8UAJgHRwW

--HG--
extra : rebase_source : b7e9fc2dc41dad8187b53294c73bf67c37946873
2018-04-22 18:16:17 +02:00
Prathiksha
0141728b28 Bug 1455330 - Remove unsafeSetInnerHTML from test_bug570192.xul. r=johannh
MozReview-Commit-ID: FuS9PfR3tqv

--HG--
extra : rebase_source : e5919c4cd7b40c9032e8aacd62a12d02f623bb33
2018-04-22 17:13:01 +05:30
Olli Pettay
fa90e156dd Bug 1453693 - Ensure sequential focus navigation works in Shadow DOM and add some tests, r=mrbkap 2018-04-22 14:25:38 +03:00
Jan de Mooij
d75fb4c859 Bug 1451198 part 2 - Annotate maybeUninitialized reads in GetUnboxedValue. r=bhackett 2018-04-22 12:13:48 +02:00
Jan de Mooij
83a0922b01 Bug 1451198 part 1 - Move GetUnboxedValue and SetUnboxedValue to cpp file. r=bhackett 2018-04-22 12:11:53 +02:00
Cosmin Sabou
3e9f2bcf1f Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-22 12:52:08 +03:00
Cosmin Sabou
fcd5cb3515 Merge autoland to mozilla-central. a=merge 2018-04-22 12:47:37 +03:00
Andrea Marchesini
6cb16a934c Bug 1455057 - EventSource::Dispatch can fail if the worker is shutting down, r=asuth 2018-04-22 09:20:45 +02:00
Andrea Marchesini
9e47054ab5 Bug 1455668 - Update URL.createObjectURL(MediaSource) in URL.webidl, r=qdot 2018-04-22 09:20:45 +02:00
Petru Lingurar
3232fe3b72 Bug 1445798 - Add Leanplum settings opt-out strings needed for bug #1454686; a=Aryx to have the strings landed and no failing Android lint jobs
To allow users to opt-out from receiving LeanPlum messages we need a new setting added.
This are the Strings for the title and summary of that setting.

Localization notes also added as this Strings will ship before the feature.
Lint errors about UnusedResources suppressed inline in the .xml until #1454686 lands

MozReview-Commit-ID: 9Kx567ruY3n

--HG--
extra : amend_source : 95006ad66bc829b12eb166824d4d5189a3d89789
2018-04-20 13:42:34 +03:00
Sebastian Hengst
7852e5a27a Backed out changeset 33a23441508a (bug 1445798) because it's old version not ignoring unused strings 2018-04-22 22:17:43 +03:00
Razvan Caliman
d265ff3a16 Bug 1449893 - Implementation for managing variation instances. r=gl
MozReview-Commit-ID: DoJig5FAMQn
2018-04-20 05:13:00 +03:00
Razvan Caliman
751e8102a2 Bug 1449893 - Redux setup for managing font variation instances. r=gl
MozReview-Commit-ID: G4xrAHypsyJ
2018-04-20 05:12:00 +03:00
Kris Maglione
9e4e8a2190 Bug 1454202: Follow-up: Fix Marionette test bustage. r=bustage,test-only
MozReview-Commit-ID: 5iWc4ta8TOg
2018-04-21 18:32:00 -07:00
Stephen A Pohl
a770c946af Backout changeset c8842b205236 to turn on the fix for bug 1423261 on all branches. a=backout 2018-04-21 21:09:18 -04:00
Kris Maglione
aa807e0aee Bug 1454202: Follow-up: Fix straggler callback-based API caller. r=me,test-only DONTBUILD
MozReview-Commit-ID: 4ZEwlfuu6Hy
2018-04-21 17:03:32 -07:00
Kris Maglione
695d065f22 Bug 1455868: Expect unsigned langpack install to fail on release builds. r=aswan
MozReview-Commit-ID: DpNa24d2T6U

--HG--
extra : rebase_source : 63a4f9fcda603439ebcd20b817fd5d3144628f9c
extra : amend_source : 10bf56008da37b758389a8f77afb6ef3e61e1ca7
extra : histedit_source : 6f19646f2e0a73d4be708aeee14b8f739557f5ed
2018-04-21 16:40:23 -07:00
Haik Aftandilian
ba5e1c4771 Bug 1450715 - Add pref dom.ipc.plugins.sandbox-level.flash to telemetry r=Alex_Gaynor
Record the value of the pref "dom.ipc.plugins.sandbox-level.flash" in telemetry if the user sets the value to be different from the default.

MozReview-Commit-ID: 3Kq0m19Zqcs

--HG--
extra : rebase_source : bf5d3a41d9eb0096ac74cb8091cd15e96b2aff89
2018-04-19 11:37:49 -07:00
Noemi Erli
eb4ef9681c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-22 00:46:44 +03:00
Kartikaya Gupta
7c247ea2b5 Bug 1455715 - Fix some controller thread tasks that were bypassing the updater thread. r=botond
These tasks have an implicit ordering with other tasks that are
dispatched from the compositor thread to the updater thread, and so they
need to be bounced through the updater thread before we run them on the
controller thread.

MozReview-Commit-ID: 92nIYgyV8A2

--HG--
extra : rebase_source : c5edc5cb50dd44d1979d805bf17e707e1c8abac1
2018-04-20 14:27:35 -04:00
Kartikaya Gupta
697a7719d0 Bug 1455691 - Make the transaction id a struct instead of a uint64_t. r=mattwoodrow
MozReview-Commit-ID: 9yZknygQvFr

--HG--
extra : rebase_source : 8b7a2398bdabf52f2de1c5dbd30b6868c1e0bed0
2018-04-20 15:13:06 -04:00
Gabriele Svelto
902c8cde47 Bug 1451002 - Send ongoing memory pressure notifications when a low-memory condition persists for a long time; r=njn
--HG--
extra : rebase_source : d98800a5116e13dfc28e546cbf26beb0d6090147
2018-04-18 17:07:39 +02:00
Emilio Cobos Álvarez
5d21d26790 Bug 1411008: Add crashtest. r=me
MozReview-Commit-ID: CbhZXAORyoV
2018-04-21 19:28:32 +02:00
Andreea Pavel
a217a02a9e Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-04-21 18:26:31 +03:00
Jan de Mooij
f57cb4a925 Bug 1454592 part 2 - Get rid of a static constructor for protoTable array. r=jonco 2018-04-20 13:07:14 +02:00