Commit Graph

619425 Commits

Author SHA1 Message Date
shindli
20d8934ad2 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-17 03:58:24 +03:00
shindli
2eb594138a Merge inbound to mozilla-central. a=merge 2018-10-17 03:55:26 +03:00
Mats Palmgren
4ff1bdbeb2 Bug 1498769 - Also require a frame for an <option> to be interactively selectable. r=enndeakin 2018-10-17 00:13:06 +02:00
Steve Fink
e17d968203 Bug 1480129 followup - suppress flake8 complaint
Landing on a CLOSED TREE due to this problem (among others).

--HG--
extra : amend_source : b5acb18047df64771a6c7a4a04c92a1b79c26bde
2018-10-16 14:51:33 -07:00
Steve Fink
2fbae0eae1 Backed out changeset c7b32ffa822e (bug 1321014) on a CLOSED TREE
--HG--
extra : amend_source : 1a8f1a344d56d70673ec9977c62847ebb147f4ca
2018-10-16 14:35:48 -07:00
Steve Fink
04fc511d3d Backed out changeset c22b643cdf51 (bug 1479961, bug 1480129) 2018-10-16 14:35:44 -07:00
Steve Fink
1e4c6cc85c Backed out changeset 66d022f720b6 (bug 1480129) 2018-10-16 14:35:40 -07:00
Steve Fink
31f4a841b2 Backed out changeset de5dbc800bc7 (bug 1480129) 2018-10-16 14:35:34 -07:00
Iain Ireland
95556db740 Bug 1499471: Mark unsafe API functions to allow calling from recovery code r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D8899

--HG--
extra : moz-landing-system : lando
2018-10-16 20:55:41 +00:00
Brian Grinstead
5392b776a6 Bug 1499476 - Add the ability to mixin the base MozXULElement;r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D8898

--HG--
extra : moz-landing-system : lando
2018-10-16 19:59:16 +00:00
Oriol Brufau
25e2b16419 Bug 1493426 - Respect tab privateness when opening browserAction popup. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D8628

--HG--
extra : moz-landing-system : lando
2018-10-16 14:04:43 +00:00
Narcis Beleuzu
0b8074bdd7 Backed out changeset bb2acd046eae (bug 1497580) for clipboard failures on test_clipboard_events.html. CLOSED TREE 2018-10-17 02:02:33 +03:00
Brian Grinstead
517c9916eb Bug 1499428 - Remove display="xul:menu" on menulist and menulist-popuponly;r=emilio
Instead, set the NS_NewMenuFrame directly on menulist elements.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 19:58:33 +00:00
Andrew McCreight
7988e5e654 Bug 1499153 - Remove obsolete manifest check and NO_JS_MANIFEST r=glandium
Bug 1438688 made it so that XPT information is compiled directly into
the binary instead of being shipped separately in interface
files. This means that manifests are no longer necessary for JS
components, which means the manifest check in emitter.py can be
removed.

That check is the only use of NO_JS_MANIFEST, so that can in turn be
removed entirely.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 22:35:15 +00:00
Chris Manchester
d69003537d Bug 1498031 - Merge code paths for running configure between Tup and Make based backends. r=firefox-build-system-reviewers,mshal
This addresses a related issue along the way: a build that results in running
configure would not update the value of self.config_environment (and therefore
self.substs) as seen from the build driver, so out of date values would have
been used.

The changes to Makefile.in and client.mk made exploit the assumption that by
he time anything in the Make build is running, config.status is up to date.
Users running "make" without the benefit of "mach" will need to manually run
configure when necessary in order to take this into account.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 22:21:36 +00:00
Jim Blandy
21708e2918 Bug 1499462: Remove dead failure handling and comments from ThrottledEventQueue::Create. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D8890

--HG--
extra : moz-landing-system : lando
2018-10-16 21:24:48 +00:00
Alexandre Poirot
0f5e860391 Bug 1495551 - Rename all "tab client" occurences to "target front". r=jdescottes
MozReview-Commit-ID: JrEdamUz6Be

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

--HG--
extra : moz-landing-system : lando
2018-10-16 18:45:33 +00:00
Tom Schuster
4a1a92d8c8 Bug 1497580 - Save text/html as UTF-8 to the clipboard. r=karlt
I verified that we can still copy from Firefox to an older version of Firefox without this patch.
LibreOffice also still works. Talking to some GTK people on IRC they are also happy about UTF-8 instead of wrongly declared UCS2.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 21:08:59 +00:00
David Parks
c0097d4eab Bug 1498831: Exclude ID_GetFileAttributesW enum from Windows builds without MOZ_SANDBOX (r=jmathies)
All of the enum entries must have a FunctionHook object but GetFileAttributesW only gets one if MOZ_SANDBOX is defined.  This aligns the #define behavior of the enum with the #define behavior of its usage in FunctionHook.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 11:48:51 +00:00
Jan Henning
b6abb85c92 Bug 1499239 - Use a smaller scroll range for the frameset. r=gbrown
The size of the frameset on the emulator is smaller than I expected, so we can't
scroll the full range of SCROLL_Y even when we've zoomed in somewhat.
Because SCROLL_Y has a maximum of 400 and the scroll got truncated to 292, we
divide the number in half.

So we don't have to generate yet another hard-coded scroll string for this case,
we switch to generating them on the fly from the test data for the respective
sub test.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 20:12:20 +00:00
Jared Wein
d95c5b459f Bug 1499474 - Check if the element has textContent before falling back to TestUtils.waitForCondition. r=MattN
This patch reduced the time to run from 2 minutes to 15 seconds.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 20:04:38 +00:00
Jeff Gilbert
a5fabb8cb9 Bug 1495892 - Aggregates in c++2a can't have deleted ctors. r=dholbert
GLContextSymbols previously had a deleted default ctor to prevent accidentally leaving its members uninitialized, instead of zeroing with aggregate initialization.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 19:39:37 +00:00
Boris Chiou
8ad4fbf685 Bug 1496558 - Part 2: Move MozLength and MaxLength into generics r=emilio
Move MozLength and MaxLength into generics, and drop the manual implementation
of ToComputedValue.

Depends on D8290

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

--HG--
extra : moz-landing-system : lando
2018-10-16 01:07:41 +00:00
Boris Chiou
09a7c9a305 Bug 1496558 - Part 1: Store the correct computed values for keywords for sizing properties r=mats
In order to get the correct computed value of these keywords, we have to
make sure we store the correct computed values in sizing properties in
both inline axis and block axis.

-moz-max-content and -moz-min-content should behave as the property's
initial value in block axis. -moz-fit-content and -moz-available are not
supported in block axis, so we also treat them as initial values.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 19:38:41 +00:00
Johann Hofmann
56e2f5584b Bug 1492943 - Part 2 - Update copy for HSTS certificate errors. r=nhnt11
Copy changes as outlined in https://docs.google.com/document/d/18mKAiSSLRTVcjJ1C9rIMQRnQ7eMwqqXPPN0xIyW6DDI/edit?ts=5bbfbfbb#

- New heading
- Slightly updated description
- Replace "More..." with "More Information"
- Remove the "Recommended" label on the return button

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

--HG--
extra : moz-landing-system : lando
2018-10-16 18:50:37 +00:00
Johann Hofmann
9d309f8016 Bug 1492943 - Part 1 - Visually distinguish potentially dangerous certificate errors. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D8253

--HG--
extra : moz-landing-system : lando
2018-10-16 18:50:38 +00:00
Dave Townsend
ce58ac886e Bug 1495792: Add a profile first-run time to the telemetry environment. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D8464

--HG--
extra : moz-landing-system : lando
2018-10-15 16:09:12 +00:00
Matthew Noorenberghe
3652e471de Bug 1496069 - Properly pass noValidate to EditAddress and set @novalidate. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D8808

--HG--
extra : moz-landing-system : lando
2018-10-16 18:01:35 +00:00
Matthew Noorenberghe
2e09e09822 Bug 1497523 - Link to '#privacy-form-autofill' prefs instead of '#privacy' from autofill. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D8599

--HG--
extra : moz-landing-system : lando
2018-10-16 17:47:38 +00:00
Florens Verschelde
17b8e17272 Bug 1488012 - Update devtools frame picker button; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D4820

--HG--
extra : moz-landing-system : lando
2018-10-16 17:42:43 +00:00
Matthew Noorenberghe
67ff221cc8 Bug 1497739 - Check blur event target is HTMLInputElement before shouldIgnoreLoginManagerEvent. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D8803

--HG--
extra : moz-landing-system : lando
2018-10-16 13:11:59 +00:00
Robert Helmer
784e3fecc8 Bug 1499361 - skip Prio telemetry tests if prio.enabled is false r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D8879

--HG--
extra : moz-landing-system : lando
2018-10-16 16:37:09 +00:00
Jan Henning
69a2bb2a59 Bug 1498854 - Rework dismissing of TabHistoryFragment. r=jchen
1. The patch from bug 1476710 was nonsense and had the same effect as simply
   deleting that line, because the ChildFragmentManager is only of interest if
   the TabHistoryFragment loaded further Fragments itself.
2. The issue at hand is that under some circumstances the TabHistoryFragment
   will be trying to dismiss itself while its responsible FragmentManager is
   already busy transacting some Fragment state changes.  More precisely, the
   fact that the Fragment is calling popBackStack*Immediately*, which isn't
   allowed if the FragmentManager is already handling some other transaction.
3. The dismiss() calls in response to the onClick() handlers are unproblematic,
   because they won't trigger any FragmentManager activity through any route
   other than the dismiss() call itself.
4. The dismiss() calls in onPause() *are* problematic because the Fragment-
   Manager will already be busy pausing the TabHistoryFragment, so triggering a
   further synchronous transaction is not allowed (and originally caused
   bug 1476710).
5. If the onPause() call happened because some external entity was attempting to
   remove the fragment (either BrowserApp directly, or indirectly by forwarding
   a back button press to the FragmentManager), then the Fragment trying to
   additionally remove itself is unnecessary.
6. If the onPause() call happens because the containing activity itself is being
   paused, then the Fragment being dismissed is the desired outcome (see
   bug 1093209), however the Fragment won't be able to remove itself because
   a) A synchronous transaction is illegal at that point in time.
   b) An async transaction would be possible, but might not complete until after
      onSaveInstanceState() had subsequently already been called, which again
      would be illegal because of state loss.
   c) An async transaction allowing state loss would succeed in any case, but
      would mean that if BrowserApp was subsequently destroyed while in back-
      ground and then later recreated from the savedInstanceState, the Tab-
      HistoryFragment would be recreated as well, which is undesired.
7. Therefore, the only way to dismiss the TabHistoryFragment when the containing
   activity is pausing is to synchronously dismiss the Fragment from inside the
   activity, *before* the onPause() call is forwarded to the FragmentManager.
8. Calling dismiss() in response to onDestroy() is unnecessary, because the
   Fragment is already irrevocably being removed as soon as we hit onPause().
9. Because it doesn't make sense to have multiple TabHistoryFragments active at
   the same time, we also change the logic such that any attempt to show a new
   TabHistoryFragment will now replace the previous fragment.
   This is also useful in view of the fact that in order to close the Fragment,
   BrowserApp retrieves it by calling findFragmentByTag(), which simply returns
   the first matching Fragment, i.e. wouldn't properly handle things if we ever
   accidentally ended up with multiple Fragment instances active at the same
   time.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 16:17:18 +00:00
Cosmin Sabou
5f9d087c63 Merge mozilla-central to autoland. a=merge 2018-10-16 19:27:54 +03:00
Cosmin Sabou
884e6b7585 Merge mozilla-inbound to mozilla-central. a=merge 2018-10-16 19:24:57 +03:00
Eitan Isaacson
087c914285 Bug 1498849 - Check for SDK compatibility on CollectionInfo.obtain(). r=jchen
One method signature was introduced in API 19, and another, with
selectionMode was introduced in 21.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 16:00:15 +00:00
Dana Keeler
e7838236e8 bug 1498351 - add interface to allow OS-specific user re-authentication r=franziskus
This patch introduces the interface with a stub implementation that does
nothing. Follow-up bugs will add platform-specific implementations.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 16:06:30 +00:00
Rob Wu
b72d2fe05f Bug 1005268 - Remove "datetime" UI from Fennec and fix capitalization issue r=jchen
`<input type=datetime>` was dropped from the spec many years ago,
and is not supported by the platform. To JS code, it looks like a
regular text input box.

With removed support for "datetime" inputs, we can also fix a bug in the
InputWidgetHelper. Due to the use of getAttribute, if the attribute
value was capitalized, then the special date/time picker UI would not be
shown. This is corrected by using the "type" property instead.

I verified on Android Nougat that all other input types (date,
datetime-local, week, month, time) still work as intended.

Depends on D8668

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

--HG--
extra : moz-landing-system : lando
2018-10-16 15:57:26 +00:00
Rob Wu
273436ab20 Bug 1498787 - Support seconds in time inputs r=jchen
When a time input expects seconds, e.g. via `<input type=time step=1>`,
then the UI should show a way to input seconds.

On Nougat, `data:text/html,<input type=time step=1>`,
the UI used to show a clock to select hours and minutes.
As of this commit, three spinners are shown (HH mm ss),
and if 24-hour mode is disabled, four of them (HH mm ss AM).

Depends on D8667

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

--HG--
extra : moz-landing-system : lando
2018-10-16 15:59:24 +00:00
Rob Wu
7b23359275 Bug 1498787 - Support seconds in datetime-local inputs r=jchen
The "seconds" field is now supported for type="datetime-local".

Examples, tested on Android Nougat (7.0):

```
No seconds because step is a whole minute:
data:text/html,<input type="datetime-local" step="60">

No seconds because datetime is not a supported type (it is treated like
input type=text by the DOM, but somehow a datepicker still appears):
data:text/html,<input type="datetime" step="0">

Seconds because step is a second:
data:text/html,<input type="datetime-local" step="1">
```

The UI looks only slightly different: After "HH mm" there is now a "ss"
spinner, optionally followed by AM/PM.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 16:04:08 +00:00
Sebastian Hengst
39f7887f1c Bug 1498862 - Increase access limit for chrome.override_package.global to 70 to prevent failures for 64 beta r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D8696

--HG--
extra : moz-landing-system : lando
2018-10-16 15:52:44 +00:00
Brian Grinstead
e1e432ca29 Bug 1497601 - Use a xul:description instead of a xul:label for tooltips;r=smaug
We'd like to be able to implement label features with a Custom Element, and we
don't want to run CE reactions inside of NAC.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 13:54:07 +00:00
Gabriele Svelto
7d361890f4 Bug 1499089 - Handle warnings without a line number correctly r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D8737

--HG--
extra : moz-landing-system : lando
2018-10-16 13:46:32 +00:00
Kartikaya Gupta
0378e1402f Bug 1497446 - Follow-up to repair incorrect vendoring of lalrpop-snap. r=froydnj
This (large) file exists in the lalrpop-snap crate and should be part of
the vendoring of that crate. However it seems to have been accidentally
removed in bug 1497446. This patch adds it back by running
  ./mach vendor rust --build-peers-said-large-imports-were-ok
on a clean m-c tree.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 15:25:03 +00:00
Kannan Vijayan
634aca703e Bug 1496847 - Restrict GetElem generic stub to access on sparse indexes only. r=tcampbell 2018-10-16 09:24:42 -04:00
Alexandre Poirot
3921006dc1 Bug 1364596 - Flag DAMP add-on as e10s compatible. r=jmaher
This is to know if DAMP works without e10s shims.

MozReview-Commit-ID: 2IZGlenkuzb

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

--HG--
extra : moz-landing-system : lando
2018-10-16 12:46:45 +00:00
florin.strugariu
56904c821f Bug 1487374 benchmark_score for Sunspider Chrome is unnecessary r=jmaher jmaher
Differential Revision: https://phabricator.services.mozilla.com/D8838

--HG--
extra : moz-landing-system : lando
2018-10-16 12:48:19 +00:00
Gijs Kruitbosch
9048f58f8f Bug 1477669 - remove feed preview code and associated files/code, r=flod,mak,nika
Differential Revision: https://phabricator.services.mozilla.com/D8524

--HG--
extra : moz-landing-system : lando
2018-10-16 12:47:36 +00:00
Henri Sivonen
074a8bb5ea Bug 1460233 - Percent-encode ampersand and colon when replacing unmappable code points in URL query state. r=valentin
Spec change: https://github.com/whatwg/url/pull/386

MozReview-Commit-ID: Fa84kCNghtU

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

--HG--
extra : moz-landing-system : lando
2018-10-16 12:04:12 +00:00
Alexandre Poirot
d5c27c6692 Bug 1499312 - Fix running devtools/client/shared/test/browser_dbg_WorkerTargetActor.attach.js individually. r=davidwalsh
MozReview-Commit-ID: 2i9NiMeOqcf

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

--HG--
extra : moz-landing-system : lando
2018-10-16 12:04:17 +00:00