Commit Graph

633322 Commits

Author SHA1 Message Date
Nazım Can Altınova
236c0f6cdc Bug 1522277 - Add more NETWORK category labels r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D17832

--HG--
extra : moz-landing-system : lando
2019-01-28 18:09:43 +00:00
Edgar Chen
56711d7e2b Bug 1521082 - Don't dispatch pointer event if the touch in touchstart event is already registered; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D16976

--HG--
extra : moz-landing-system : lando
2019-01-29 09:08:05 +00:00
sotaro
cdcb90df61 Bug 1523233 - Fix animation delete time r=kats
WebRenderBridgeParent::RemoveEpochDataPriorTo() does not check when animation is added by using epoch. Then there is a case that animation is deleted too early.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 20:11:59 +00:00
Tom Tung
0287b6f55c Bug 1504535 - P5 - Send a telemetry probe when failing to remove database files during initialization; r=asuth
Depends on D16820

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

--HG--
extra : moz-landing-system : lando
2019-01-24 14:18:48 +00:00
Tom Tung
d5176edded Bug 1504535 - P4 - A test for verifing idb initialization won't be blocked by unexpected directories; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D16820

--HG--
extra : moz-landing-system : lando
2019-01-24 14:18:47 +00:00
Tom Tung
7ed2d092b3 Bug 1504535 - P3 - Fix the exsiting unexpectedly directory files without their coressponding database file; r=asuth
The patch intend to remove unexpected directories in indexedDB directory instead
of breaking the initialization. Note that since it removes directories while
finding them, it also switches the key (internal) for GetBaseFilename and
GetEntry to external.

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

--HG--
extra : moz-landing-system : lando
2019-01-24 14:18:47 +00:00
Tom Tung
ac4e4fc7d6 Bug 1504535 - P2 - A test for verifying the functionality of the marker file; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D16447

--HG--
extra : moz-landing-system : lando
2019-01-24 14:18:47 +00:00
Tom Tung
8ba7d3eeb9 Bug 1504535 - P1 - Have a file to check if the previous removing has completed or not; r=asuth
After this patch, in the beginning of each removing for a database, a marker
file will be created and then will be deleted after completing the remove. If
somehow the remove fails, we can know that by checking the file in the next
open.
Note that this patch intends to have a lazy clean-up if there is a failed
remove. Which means that the marker files are checked only when initialization,
and opening the same database again.

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

--HG--
extra : moz-landing-system : lando
2019-01-24 14:18:46 +00:00
Jan de Mooij
80b43f6d26 Bug 1522314 - Apply realm checks for newGlobal() also to evalcx(). r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D17509

--HG--
extra : moz-landing-system : lando
2019-01-28 21:06:03 +00:00
Mike Hommey
2b3de8f0dc Bug 1523203 - Don't override HOST_LINKER with cargo-linker.bat. r=froydnj
This was added back in bug 1414287, as a sort of quick hack, but since
then, bug 1515528 fixed things such that the hack is not necessary
anymore, and bug 1523201 allows for things to work on automation
(HOST_LINKER ended up being wrong because of the lack of "proper" VC
configuration on automation)

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

--HG--
extra : moz-landing-system : lando
2019-01-28 23:13:40 +00:00
Mike Hommey
54831bbdf9 Bug 1523201 - Set VC_PATH and DIA_SDK_PATH in in-tree mozconfigs. r=froydnj
And remove all the variables that configure will figure out for us as a
consequence. This has the side effect of making the automation builds a
little more like local builds, in that they don't rely on preset PATH,
LIB, etc. for the build to work.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 22:41:57 +00:00
Mike Hommey
4913b1c2d2 Bug 1523204 - Streamline the DIA SDK setup. r=chmanchester
We currently rely on WIN_DIA_SDK_BIN_DIR being passed, but we can
actually derive it from the DIA SDK directory. So we now do that, except
when it's given explicitly.

While in the vicinity, move the dia2.h check to python configure.

With WIN_DIA_SDK_BIN_DIR being derived and not set when dia2.h is not
found, we don't really need MSVC_HAS_DIA_SDK anymore, so we just check
for WIN_DIA_SDK_BIN_DIR to determine whether to build dump_syms or not.

One exception to the above is when WIN_DIA_SDK_BIN_DIR is passed in,
which we only keep for the in-tree mozconfigs for now. We'll remove that
possibility after bug 1523201.

Depends on D17892

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

--HG--
extra : moz-landing-system : lando
2019-01-29 07:38:14 +00:00
Mike Hommey
95cdfbcd30 Bug 1523204 - Automatically add WIN_DIA_SDK_BIN_DIR to PATH when running dump_syms. r=chmanchester
We can't run dump_syms without the DIA SDK binary directory in $PATH
because dump_syms requires the DIA dll from there.

Obviously, the corresponding test can't run if the DIA SDK binary
directory is not known (rather than when the dia2.h header is not found,
since the build system currently relies on WIN_DIA_SDK_BIN_DIR being
given manually).

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

--HG--
extra : moz-landing-system : lando
2019-01-29 07:38:12 +00:00
Daosheng Mu
2328be62d7 Bug 1514417 - Using named mutex for VR threads to access Shmem on Windows. r=kip
MozReview-Commit-ID: FhLBI8l9SJm

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

--HG--
extra : moz-landing-system : lando
2019-01-29 06:06:50 +00:00
Masayuki Nakano
015f67628e Bug 1466208 - part 1: Create stack class to handle events in PresShell r=smaug
PresShell::HandleEvent() and PresShell::HandleEventInternal() are too big.
Additionally, we have a lot of methods used only by them.  So, if we'll
split those big methods, PresShell will have a lot of small methods which
are not grouped as a part of event handling.  That's too bad because some
of them may depend on the calling order, etc.

So, for grouping them, PresShell should create a stack class instance to handle
each event.  Then, we can store shared information in it only while we're
handling an event.

This patch creates PresShell::EventHandler and PresShell methods become
wrappers of the stack class, but this patch does not change any logic in the
code, i.e., just reorganizing existing methods.

Note that HandleEventWithTarget() and HandleEventInternal() need to take
WidgetEvent rather than WidgetGUIEvent.  Additionally, some other methods
require WidgetGUIEvent to refer WidgetGUIEvent::mWidget.  Therefore, this
patch does not make the new class store the event as a member.

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

--HG--
extra : moz-landing-system : lando
2019-01-29 06:04:05 +00:00
Gerald Squelart
9b614455de Bug 1519752 - Profiler overhead measurements - r=mstange
Record some profiling overhead data, stored in Gecko profiles under
"profilerOverhead_UNSTABLE". Unstable for now as it will first be used
internally to help with profiler performance, and find regressions in upcoming
work; The choice of data may change as we explore what we need.

Eventually this data could be presented in the front-end, to indicate how much
the profiler may have influenced the profiled software.

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

--HG--
extra : moz-landing-system : lando
2019-01-23 20:52:31 +00:00
Eitan Isaacson
c8e72df146 Bug 1511398 - Don't append null proxies to batch list. r=MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D17845

--HG--
extra : moz-landing-system : lando
2019-01-29 04:30:41 +00:00
Marco Zehe
61a4918bc9 Bug 646216 - Thin out the tree by only creating accessibles for relevant divs, r=Jamie,timdream
Relevant divs are:

* Those that have an ID attribute. This is important so anchors still work.
* Those whose first or last child is a text-only node.
* Those whose first or last child has an inline frame.

We now discard divs that are not display:block; or display:inline-block;. We also discard divs that are part of an anonymous subtree.

We stop creating divs from the eHyperTextType frame type alltogether.

Note that because of shadow DOM properties in the video controls, two additional divs with IDs require role="none" in the media controls widget code.

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

--HG--
extra : moz-landing-system : lando
2019-01-29 04:17:20 +00:00
Andreea Pavel
b839d65d3c Backed out changeset 546ee20723b6 (bug 1521573) for failing test_ext_web_accessible_incognito.html 2019-01-29 06:07:40 +02:00
Paul Bone
362857a4e8 Bug 1497873 - Add a kind-of goal seeking herustic for nursery resizing r=jonco
Also allow the nursery to shrink up to half it's current size, previously
it'd be one chunk at a time.  Growing is still capped at twice the current
size.  These limits tend to prevent it changing too dramantically for small
changes in allocation patterns.

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

--HG--
extra : moz-landing-system : lando
2019-01-29 02:04:10 +00:00
Paul Bone
10b064b867 Bug 1497873 - Tweak the pretenure condition r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D17593

--HG--
extra : moz-landing-system : lando
2019-01-29 02:03:50 +00:00
Timothy Guan-tin Chien
de9b8ba1e2 Bug 1520350 - Lazily load about:preferences markups from hidden panes r=jaws
Because custom elements will be constructed when DOM is constructed,
construct the DOM in the hidden panels will be expensive as we move
more and more widgets to custom elements from XBL.

This patch attempts to counter that by moving all the pane markups
into comment nodes, and use MozXULElement.parseXULToFragment() to
insert it when it is being asked.

They will be loaded lazily from an requestIdleCallback() in findInPage.js.

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

--HG--
extra : moz-landing-system : lando
2019-01-29 00:27:29 +00:00
Matt Woodrow
1ef7b54002 Bug 1516361 - Remove code for painting text selection behind the background when background-clip:text is set. r=jfkthame,emilio
Differential Revision: https://phabricator.services.mozilla.com/D17320

--HG--
extra : moz-landing-system : lando
2019-01-28 11:07:04 +00:00
Kartikaya Gupta
6969f0ccfb Bug 1523082 - Remove assertion and more robustly handle destructor decls. r=emilio
Clang 8 seems to generate destructor decls from different source
locations which breaks an assertion in the code. This patch updates the
code to remove the assertion and more robustly handle the new
declarations.

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

--HG--
extra : moz-landing-system : lando
2019-01-29 03:06:35 +00:00
Razvan Maries
093addce5e Backed out changeset 64d26b5a25b8 (bug 1516704) for bc failures at browser_ext_sessions_incognito.js. CLOSED TREE 2019-01-29 05:30:25 +02:00
sotaro
b5daf817d6 Bug 1522407 - Update test_animation_performance_warning.html for WebRender r=mattwoodrow
Bug 1508522 relaxed async animation size restriction with WebRender. Then test_animation_performance_warning.html also needs to be updated to accept it.

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

--HG--
extra : moz-landing-system : lando
2019-01-25 04:43:09 +00:00
Emilio Cobos Álvarez
6f7882539b No bug - rustfmt recent changes. 2019-01-29 03:22:06 +01:00
sotaro
be4aa828bd Bug 1522775 - Skip test_will_change.html test with WebRender r=mattwoodrow
Skip the test since content side basically does not do painting when WebRender is used and the test depends on content side painting.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 19:08:11 +00:00
Shane Caraveo
e55c1dd0b9 Bug 1516680 sidebar incognito support, r=rpl,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D15485

--HG--
extra : moz-landing-system : lando
2019-01-18 14:16:33 +00:00
Shane Caraveo
c3f223e9bd Bug 1516704 incognito support in session api, r=rpl,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D16921

--HG--
extra : moz-landing-system : lando
2019-01-28 12:39:39 +00:00
Shane Caraveo
6004d08141 Bug 1521573 web_accessible incognito support, r=kmag,smaug
Prevent web_accessible_resources resources loading in private contexts when extension does not have permission.

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

--HG--
extra : moz-landing-system : lando
2019-01-29 01:42:34 +00:00
Andreea Pavel
34963c28d8 Backed out changeset 5440a333cf4b (bug 646216) for failing bc at browser_treeupdate_cssoverflow.js on a CLOSED TREE 2019-01-29 03:43:57 +02:00
Shane Caraveo
e8915eda78 Bug 1515701 show addons disabled doorhanger in private browsing, r=Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D15445

--HG--
extra : moz-landing-system : lando
2019-01-29 01:39:37 +00:00
Shane Caraveo
6631a3b4df Bug 1516548 add private browsing addon notice to about:addons, r=mstriemer,flod
Differential Revision: https://phabricator.services.mozilla.com/D15413

--HG--
extra : moz-landing-system : lando
2019-01-29 01:37:55 +00:00
Mike Hommey
f33335cf10 Bug 1523145 - Remove mk_export_correct_style. r=froydnj
It turns out, we don't need to `mk_add_options export` the variables
from the in-tree mozconfigs. If anything, that causes problems when
trying to simplify the mozconfigs, because it makes the variables
exported from .mozconfig.mk, overriding what configure may change and
store in autoconf.mk.

All the variables are handled by configure in a way that makes them
available in autoconf.mk, so there's no loss there, and with the
python/shell-based mozconfig loader, it turns out we don't need to go
through extra normalization via cmd.

autospider.py, being its own pseudo-mozconfig parser, still does need
it, though, but it was hooking into it already, so just inline that.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 21:06:01 +00:00
Mike Hommey
ba16bbdf4f Bug 1523200 - Use the x86 MSVC when the configure host is x86. r=froydnj
Previously, we hardcoded HostX64 because configure would autodetect a
x86 host on x64 machines, but the x86 MSVC compiler wouldn't be
suitable.

While the x86 MSVC compiler might still not be suitable, now that
configure detects x64 hosts properly, when the configure host is
detected as x86, we can't even execute the x64 compiler, so we can at
least try with the x86 one correctly.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 22:24:04 +00:00
Mike Hommey
bf7c4521f8 Bug 1519010 - Make LINKER and HOST_LINKER js_options. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D17793

--HG--
extra : moz-landing-system : lando
2019-01-29 01:22:19 +00:00
Thomas Daede
299320881b Bug 1523458 - Update libvorbis to 1.3.6. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D17894

--HG--
extra : moz-landing-system : lando
2019-01-29 01:14:51 +00:00
Mike Hommey
d62063e5c2 Bug 1523153 - Pass the altered PATH to old-configure. r=chmanchester
The combination of bug 1515579 and bug 1520394 made things harder for
old-configure, because it doesn't necessarily have a complete view of
the search PATH that has been used. This doesn't actually cause problems
on non-Windows builds because things work out fine, but on Windows,
some of the executions of clang-cl in old-configure insist on being able
to find a MSVC install. That, again, doesn't currently cause problems in
general on local builds because clang-cl finds it through the registry
(presumably), and on automation, because it's in the `mk_add_options
export`'ed PATH, but the latter is due to change.

Depends on D17772

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

--HG--
extra : moz-landing-system : lando
2019-01-29 01:17:57 +00:00
Mike Hommey
621fd58bd3 Bug 1523153 - Use find_program instead of which in llvm_config_paths. r=chmanchester
Also, while here, replace subprocess.check_output with check_cmd_output.

Depends on D17771

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

--HG--
extra : moz-landing-system : lando
2019-01-29 01:17:49 +00:00
Mike Hommey
a7be46c489 Bug 1523153 - Don't rely on which.which's os.environ in python configure. r=chmanchester
Bug 1520394 changed things such that the configure sandbox is using a
copy of os.environ. So when mozconfig injects environment changes, they
only affect the sandbox. Which means when the which module uses
os.environ to get PATH, it gets the original unmodified environment.

So instead of relying on the which module getting PATH itself, we feed
it with it. It's worth noting that the which module adds `.` on Windows,
but we don't copy this behavior, because in the context of configure,
it's actually not important (`.` would be the topobjdir).

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

--HG--
extra : moz-landing-system : lando
2019-01-29 01:17:43 +00:00
Mike Hommey
ac76b3270c Bug 1523143 - Reject builds where the rust compiler host does not match the build host. r=chmanchester
Depends on D17765

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

--HG--
extra : moz-landing-system : lando
2019-01-29 01:15:16 +00:00
Mike Hommey
66719c16cf Bug 1523143 - Remove --host configure flags from autospider builds. r=chmanchester
--host is autodetected and may not actually be what the currently given
values are.

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

--HG--
extra : moz-landing-system : lando
2019-01-29 01:15:49 +00:00
Brian Grinstead
5bea9f2e3e Bug 1523429 - Skip updating child attributes in MozElement.inheritAttribute if the host attribute hasn't changed r=timdream
Differential Revision: https://phabricator.services.mozilla.com/D17887

--HG--
extra : moz-landing-system : lando
2019-01-28 23:57:24 +00:00
Ting-Yu Lin
24f636a92f Bug 1516739 - Stop reparenting absolute/fixed positioned blocks when constructing multicol container. r=dbaron
The crash happens when we try to reparent the absolute/fixed
positioned children to the non-column-span wrapper's absolute list.

When constructing the multicol container, we want it to be the
absolute/fixed position container, not the moz-column-content anonymous
blocks. Hence the modification in AppendFramesToParent() and
ConstructBlock().

Delete AdjustAbsoluteContainingBlock() because we'd like to reparent
absolute/fixed children to non-first continuation of block descendant of
multicol. And it doesn't crash anymore today.

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

--HG--
extra : moz-landing-system : lando
2019-01-25 07:09:17 +00:00
Emilio Cobos Álvarez
a2231bd95c Bug 1498639 - Give WR the id of the scroll frame perspective scrolls relative to, and compute the right transform based on that. r=kats,kvark
I think this is as clean as it can get.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 23:41:08 +00:00
Eric Rahm
ab57e86bc7 Bug 1523340 - Reduce scope of memory telemetry warning. r=kmag
Don't warn about measurements that aren't available for the current platform.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 23:51:34 +00:00
prathiksha
08d52d1c56 Bug 1174327 - Add an Allow/Disallow autofill password option. r=MattN
Add an Allow/Disallow autofill password option

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

--HG--
extra : moz-landing-system : lando
2019-01-25 01:29:16 +00:00
Marco Zehe
881ce52030 Bug 646216 - Thin out the tree by only creating accessibles for relevant divs, r=Jamie,timdream
Relevant divs are:

* Those that have an ID attribute. This is important so anchors still work.
* Those whose first or last child is a text-only node.
* Those whose first or last child has an inline frame.

We now discard divs that are not display:block; or display:inline-block;. We also discard divs that are part of an anonymous subtree.

We stop creating divs from the eHyperTextType frame type alltogether.

Note that because of shadow DOM properties in the video controls, two additional divs with IDs require role="none" in the media controls widget code.

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

--HG--
extra : moz-landing-system : lando
2019-01-29 00:05:53 +00:00
Dana Keeler
d28967d4ca bug 1448592 - add ability to ignore NSS shutdown leaks with MOZ_IGNORE_NSS_SHUTDOWN_LEAKS r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D17866

--HG--
extra : moz-landing-system : lando
2019-01-29 00:06:57 +00:00