Commit Graph

658740 Commits

Author SHA1 Message Date
Gerald Squelart
4d91208989 Bug 1559000 - mozglue's AutoProfilerLabel doesn't need to know about ProfilingStack - r=mstange
`ProfilingStack*` happens to be the information that the current Gecko Profiler
entry function wants to forward to the exit function, but AutoProfilerLabel does
not really need to know about that.
Changing it to `void*`, so that we can later use different entry/exit functions
that use different context types.

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

--HG--
extra : moz-landing-system : lando
2019-07-04 04:38:16 +00:00
Kagami Sascha Rosylight
95687d2f8d Bug 1392722: Allow zero in rotateFromVector r=bzbarsky
Aligns to the spec. Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=f7c12c831fb8a6ce0d5ec6b31fcf1f708464deaf

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

--HG--
extra : moz-landing-system : lando
2019-07-04 07:39:45 +00:00
Hiroyuki Ikezoe
c9de23aa09 Bug 1562757 - Call ScrollToVisual for the pres shell of the given scrollable frame in ScrollToShowRect. r=botond
We should also check IsRootContentDocumentCrossProcess instead of
IsRootContentDocument there, it will be fixed in bug 1562505.

The test case in this commit is almost copied-n-pasted from
helper_scroll_into_view_bug1516056.html.

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

--HG--
extra : moz-landing-system : lando
2019-07-04 08:48:47 +00:00
Marco Bonardo
41873b4380 Bug 1562585 - Don't store urls in input history for dropmarker empty queries. r=adw,dao
When the search string is supposed to be "empty", we should not store a url in
inputhistory's input column, instead we should store an empty input. This happens
for example when clicking the dropmarker and picking something, or when pressing
DOWN on a valid pageproxystate (no user input).
In the future we may evaluate not storing an empty string at all (Bug 1562823).

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

--HG--
extra : moz-landing-system : lando
2019-07-04 08:23:18 +00:00
Olli Pettay
d957d5d294 Bug 1178763, move UIEvent.pageX/pageY to MouseEvent, r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D36781

--HG--
extra : moz-landing-system : lando
2019-07-04 01:50:22 +00:00
Mark Banner
3c02a5472d Bug 1563170 - test_amazon.js should check the search code for de as well. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D36722

--HG--
extra : moz-landing-system : lando
2019-07-03 20:42:01 +00:00
Andrea Marchesini
1cb27e6f3a Bug 1561210 - Pass samesite-none-secure WPTs, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D35762

--HG--
extra : moz-landing-system : lando
2019-07-03 18:18:27 +00:00
Jeff Gilbert
040aa667f4 Bug 1563420 - Don't trigger fb-inval-count warning during resolve. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D36858

--HG--
extra : moz-landing-system : lando
2019-07-04 04:34:45 +00:00
shindli
d3e7218ba8 Backed out 2 changesets (bug 1562389) for causing bustages in ../python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py::WindowsToolchainTest::test_clang_cl CLOSED TREE
Backed out changeset 7dbb546e6138 (bug 1562389)
Backed out changeset 68ad44276058 (bug 1562389)
2019-07-04 07:44:49 +03:00
Makoto Kato
fa0b6ffc5f Bug 1562389 - Better detect non-clang-cl native windows clang r=glandium
When building Gecko/Android/aarch64 on Windows, `--target` parameter may not be incorrect value. Although `check_compiler`'s `info` is target compiler, clang on Windows is always detected as `clang-cl`, not `clang`.

```
c:/Users/mkato/.mozbuild/clang/bin/clang.exe -E  -dM - < /dev/null
...
#define _MSC_VER 1916
```

So even if using clang on Windows, not clang-cl, we should detect as 'clang' correctly

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

--HG--
extra : moz-landing-system : lando
2019-07-04 01:28:12 +00:00
Makoto Kato
52aaf37d4d Bug 1562389 - Set correct triple for rustc when host and target are different compiler type. r=froydnj
When host and target are different compiler type, triple for rustc may be incorrect. If target is clang, host is always clang, not using host compiler type.

Example, when host is clang-cl for windows, and target is clang for Android, host's triple for ructc sets `windows-gnu`, not `windows-msvc`.

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

--HG--
extra : moz-landing-system : lando
2019-07-01 20:11:08 +00:00
Jeff Muizelaar
e4c1e944b8 Bug 1563359. Add a test for clipping and stroking text. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D36825

--HG--
extra : moz-landing-system : lando
2019-07-03 19:49:05 +00:00
David Major
3eb2b38c97 Bug 1563252 - Merge LLVM fix for ASan with VS2019 r=froydnj
https://reviews.llvm.org/rL357725

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

--HG--
extra : moz-landing-system : lando
2019-07-03 20:04:21 +00:00
Ed Lee
286a872b6d Bug 1555482 - Remove strings-import, bundle:locales and imported strings (locales-src/ subdirectories) r=k88hudson
Depends on D36769

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

--HG--
extra : moz-landing-system : lando
2019-07-03 23:49:23 +00:00
Ed Lee
c863d3c77b Bug 1555450 - Remove locale-specific behavior when fully fluent (no longer using properties/json) r=k88hudson
Depends on D36764

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

--HG--
rename : browser/components/newtab/prerendered/static/activity-stream-debug.html => browser/components/newtab/prerendered/activity-stream-debug.html
rename : browser/components/newtab/prerendered/locales/en-US/activity-stream-noscripts.html => browser/components/newtab/prerendered/activity-stream-noscripts.html
rename : browser/components/newtab/prerendered/locales/en-US/activity-stream.html => browser/components/newtab/prerendered/activity-stream.html
extra : moz-landing-system : lando
2019-07-03 23:49:07 +00:00
Ed Lee
9dab7f6b37 Bug 1560689 - Remove react-intl dependencies and script loading r=dmose
Depends on D36764

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

--HG--
extra : moz-landing-system : lando
2019-07-03 23:48:14 +00:00
Ed Lee
475d41e647 Bug 1563243 - Add optimistic images, string robustness and bug fixes to New Tab Page r=pdahiya,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D36764

--HG--
extra : moz-landing-system : lando
2019-07-03 23:49:07 +00:00
Gerald Squelart
e610854d8e Bug 1562606 - Implement unsigned LEB128 functions working over iterators - r=gregtatum
The new ProfileBuffer data structure will need to store block sizes (usually
small, LEB128 uses fewer bytes for small numbers), and the circular buffer will
provide iterators that hide the wrapping-around.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 14:49:10 +00:00
Ting-Yu Lin
f704cd46d3 Bug 1563370 - Eliminate GetPrevInFlowVirtual() and GetNextInFlowVirtual(). r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D36829

--HG--
extra : moz-landing-system : lando
2019-07-03 21:37:14 +00:00
Makoto Kato
3cc03057bd Bug 1556103 - Part 2. Long press doesn't show virtual keyboard. r=geckoview-reviewers,snorp
When long tapping on input element, the behavior of virtual keyboard is different of Chrome.  Firefox opens virtual keyboard, but Chrome doesn't.

So I would like to change to same behavior of Chrome.

Also, after this fix, action bar (copy, paste and etc) won't be disappeared immediately after it appears by long tap.  Before applying this fix, virtual keyboard is shown, then focused element is scrolled to center.  So action bar may be disappeared.  But after applying this fix, focused element isn't scrolled. So action bar keeps same position.

Depends on D35991

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

--HG--
extra : moz-landing-system : lando
2019-07-02 13:47:42 +00:00
Makoto Kato
8b306f551d Bug 1556103 - Part 1. Add long press action when setting focus. r=masayuki
Actually, long tap can set focus.  But since it uses `nsIFocusManager::FLAG_BYMOUSE` flag, we cannot recognize whether setting focus is by long tap or not.

So I would like to add new flag `FLAG_BYLONGPRESS` and `CAUSE_LONGPRESS` that are by long tap.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 00:39:45 +00:00
Andrew McCreight
51c3548024 Bug 1563066, part 4 - Make dtors for nsXULPrototypeNode subclasses private. r=bzbarsky
Refcounted classes should not ever have delete called on them
directly, because something else might be holding a reference to
them. One way to make this harder is to declare the dtor private.

The immediate motivation for this change is that somebody was using
one of these classes as the value for an nsClassHashtable, which
should be rejected at compile time.

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

--HG--
extra : moz-landing-system : lando
2019-07-04 00:58:32 +00:00
Andrew McCreight
951562a4be Bug 1563066, part 3 - Use refptrs in more places in XULContentSinkImpl. r=bzbarsky
There are a few places that use XUL prototype nodes without ref
pointers, which is dangerous. A benefit of this change is that it
removes a direct call to delete on a refcounted class. It does result
in some additional refcount traffic, but hopefully that doesn't
matter.

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

--HG--
extra : moz-landing-system : lando
2019-07-04 00:58:30 +00:00
Andrew McCreight
f379ee998a Bug 1563066, part 2 - XULContentSinkImpl::ContextStack::Push is infallible. r=bzbarsky
This lets us remove some error handling code, including some that is
incorrect.

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

--HG--
extra : moz-landing-system : lando
2019-07-04 00:58:28 +00:00
Andrew McCreight
15f2a54f9e Bug 1563066, part 1 - Inline XULContentSinkImpl::CreateElement. r=bzbarsky
By adding an optional nodeinfo arg to the nsXULPrototypeElement ctor,
the CreateElement method can be easily inlined.

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

--HG--
extra : moz-landing-system : lando
2019-07-04 00:58:21 +00:00
Jeff Gilbert
ddd8e853b4 Bug 1560330 - Restore expectation for the failing test.
(now that Android is behaving again after bug 1560736)

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

--HG--
extra : moz-landing-system : lando
2019-07-04 00:12:52 +00:00
shindli
be51723de9 Backed out changeset a2ed47577d89 (bug 1562585) for causing perma bc failures in browser/components/urlbar/tests/browser/browser_autoFill_preserve.js CLOSED TREE 2019-07-04 03:47:03 +03:00
Narcis Beleuzu
60d6348455 Backed out 3 changesets (bug 1552067, bug 1518808) as per yzen`s req . CLOSED TREE
Backed out changeset e677852d2ea5 (bug 1518808)
Backed out changeset d60bcc3b1c72 (bug 1552067)
Backed out changeset 2cee1703625e (bug 1552067)

--HG--
rename : devtools/client/themes/images/error-small.svg => devtools/client/themes/images/webconsole/error.svg
rename : devtools/client/themes/images/info-small.svg => devtools/client/themes/images/webconsole/info.svg
2019-07-04 02:21:44 +03:00
Narcis Beleuzu
12163ca397 Backed out 4 changesets (bug 1563066) for build bustages on nsXULElement.h . CLOSED TREE
Backed out changeset bfc0d9412df9 (bug 1563066)
Backed out changeset fd915382080d (bug 1563066)
Backed out changeset 98e692885ecc (bug 1563066)
Backed out changeset e5a0ca3d92cc (bug 1563066)
2019-07-04 02:20:27 +03:00
Narcis Beleuzu
7699bea40c Backed out changeset 9cec38c2d406 (bug 1563336) for build bustages on CmdLineAndEnvUtils.h . CLOSED TREE 2019-07-04 02:18:56 +03:00
Rob Wu
2683e4553c Bug 1563284 - Re-enable some extension mochitests in GeckoView r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D36786

--HG--
extra : moz-landing-system : lando
2019-07-03 22:25:37 +00:00
Mike Hommey
d26da0b870 Bug 1560044 - Make Xcode checks macOS host only. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D36559

--HG--
extra : moz-landing-system : lando
2019-07-02 23:24:57 +00:00
Mike Hommey
7256ffeb9b Bug 1560044 - Always use a SDK path on macOS. r=nalexander
The SDK headers may not be installed in /usr/include. The usual response
has been to have people run e.g. `open
/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg`
which is not really sustainable.

This makes builds that happen on a macOS host try to detect their SDK
and use that as a default for --with-macos-sdk, which has the side
effect of enabling the SDK version check in that configuration.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 22:11:05 +00:00
Mike Hommey
dc4a97fb4e Bug 1560044 - Allow --with-macos-sdk as an option when cross-compiling on macOS. r=nalexander
Building host tools on macOS require a macOS SDK, but it's currently
not configurable when cross-compiling for e.g. Android.

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

--HG--
extra : moz-landing-system : lando
2019-07-02 23:25:01 +00:00
Chris Liu
3b18b22680 Bug 1563042 - Expose recording start time in composition recorder output r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D36671

--HG--
extra : moz-landing-system : lando
2019-07-03 20:08:12 +00:00
Dale Harvey
3e36d3729d Bug 1561266 - Let popup display out of the permissions popup. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D36784

--HG--
extra : moz-landing-system : lando
2019-07-03 20:55:37 +00:00
Andrew McCreight
0e51515877 Bug 1563066, part 4 - Make dtors for nsXULPrototypeNode subclasses private. r=bzbarsky
Refcounted classes should not ever have delete called on them
directly, because something else might be holding a reference to
them. One way to make this harder is to declare the dtor private.

The immediate motivation for this change is that somebody was using
one of these classes as the value for an nsClassHashtable, which
should be rejected at compile time.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 22:42:46 +00:00
Andrew McCreight
b705e97b24 Bug 1563066, part 3 - Use refptrs in more places in XULContentSinkImpl. r=bzbarsky
There are a few places that use XUL prototype nodes without ref
pointers, which is dangerous. A benefit of this change is that it
removes a direct call to delete on a refcounted class. It does result
in some additional refcount traffic, but hopefully that doesn't
matter.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 22:42:44 +00:00
Andrew McCreight
0b5946c5f2 Bug 1563066, part 2 - XULContentSinkImpl::ContextStack::Push is infallible. r=bzbarsky
This lets us remove some error handling code, including some that is
incorrect.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 22:42:42 +00:00
Andrew McCreight
f627a6be99 Bug 1563066, part 1 - Inline XULContentSinkImpl::CreateElement. r=bzbarsky
By adding an optional nodeinfo arg to the nsXULPrototypeElement ctor,
the CreateElement method can be easily inlined.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 22:42:35 +00:00
Aaron Klotz
286af53a60 Bug 1563336: Add a common implementation of module version info extraction to WinHeaderOnlyUtils; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D36817

--HG--
extra : moz-landing-system : lando
2019-07-03 21:06:00 +00:00
Charlie Marlow
eb50d28bc0 Bug 1559493: Fixed origin from which text-underline-offset is set in vertical writing modes r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D36219

--HG--
extra : moz-landing-system : lando
2019-07-03 21:23:38 +00:00
Haik Aftandilian
a218f608fc Bug 1558924 - [10.15] Widevine crashes on macOS Catalina Beta r=handyman
Allow limited access to the proc_pidinfo() syscall from the GMP sandbox.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 18:17:55 +00:00
krubin
535b744113 Bug 1562828 - Rename Rap-P(idl-bg) to Rap(idlbg-p) r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D36833

--HG--
extra : moz-landing-system : lando
2019-07-03 20:55:14 +00:00
Jeff Muizelaar
ca49b31c2a Bug 1561235. Check the type of the PathBuilder instead of the DrawTarget. r=mstange
The draw target might give us a different type.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 20:13:44 +00:00
Tim Nguyen
02f77cdcee Bug 1562809 - Convert XUL textboxes in setp12password.xul and changepassword.xul to HTML inputs. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D36560

--HG--
extra : moz-landing-system : lando
2019-07-03 21:59:55 +00:00
Marco Bonardo
4e593b139e Bug 1562585 - Don't store urls in input history for dropmarker empty queries. r=adw,dao
When the search string is supposed to be "empty", we should not store a url in
inputhistory's input column, instead we should store an empty input. This happens
for example when clicking the dropmarker and picking something, or when pressing
DOWN on a valid pageproxystate (no user input).
In the future we may evaluate not storing an empty string at all (Bug 1562823).

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

--HG--
extra : moz-landing-system : lando
2019-07-03 20:42:30 +00:00
Narcis Beleuzu
7f1d384198 Backed out changeset 9554ac45236f (bug 1528937) for bc failures on helper_fission_tap.html . CLOSED TREE 2019-07-04 01:10:55 +03:00
shindli
b0332f1d66 Backed out changeset 16872c13ee93 (bug 1554286) per developer's request CLOSED TREE 2019-07-04 00:11:54 +03:00
Narcis Beleuzu
1e4c48578d Backed out changeset 66be066c4ac0 (bug 1559625) for wrong bug number. CLOSED TREE 2019-07-03 23:40:27 +03:00