Commit Graph

598133 Commits

Author SHA1 Message Date
Boris Zbarsky
6213894581 Bug 1455676 part 3. Remove nsIDOMNode usage from widget/. r=qdot 2018-05-29 22:58:48 -04:00
Boris Zbarsky
4ef13b9076 Bug 1455676 part 2. Remove nsIDOMNode usage from accessible/. r=surkov 2018-05-29 22:58:47 -04:00
Boris Zbarsky
89366855ba Bug 1455676 part 1. Make it possible to importGlobalProperties Node. r=qdot 2018-05-29 22:58:47 -04:00
Mathieu Leplatre
ea9422f7e0 Bug 1465254 - Fix copy error in periodic updates task r=sfraser
MozReview-Commit-ID: 8YXHlZylBQG

--HG--
extra : rebase_source : 3b27f13ca64699407e4bcb5adb98a168821c28f7
2018-05-30 00:36:27 +02:00
Alessio Placitelli
dbf8e5d4e8 Bug 1460851 - Update the HCT docs to mention the NPM dependency. r=chutten,janerik
MozReview-Commit-ID: 9LG0TO2ZnYA

--HG--
extra : rebase_source : cda2ab4305cb786cf78d9fc59c9076a0efe620a2
2018-05-28 17:35:27 +02:00
Alessio Placitelli
602d3cb98c Bug 1460851 - Package the hybrid content telemetry lib in npm. r=chutten,janerik,wlach
This changeset adds a package.json, .npmignore and a readme file. They are used by the
'npm' command to publish the hybrid content telemetry library to the NPM directory.

MozReview-Commit-ID: KwGEhOmbfbW

--HG--
extra : rebase_source : 5c458289abed5d95c692c3020147574286576f86
2018-05-28 17:31:25 +02:00
Masayuki Nakano
80b5c54449 Bug 1464016 - TextInputHandler should not clear alt/ctrl/meta modifiers of eKeyPress event before sending TextEventDispatcher r=m_kato
If a key combination causes text input, we need to dispatch keypress
events without alt/ctrl/meta modifiers since TextEditor won't handle
keyepress events whose altKey, ctrlKey or metaKey is true as inputting
text.

Currently, TextEventDispatcher sets mCharCode of eKeyPress event from
mKeyValue.  Then, when altKey, ctrlKey or metaKey is true, it'll call
WillDispatchKeyboardEvent() and then, TextInputHandler needs to reset
the charCode value from native event information.

However, the problem is, TextInputHandler::InsertText() is called
with control character when control key is pressed and InsertText()
clears the modifier information before sending eKeyPress event to
TextEvenDispatcher so that TextEventDispatcher won't call
WillDispatchKeyboardEvent() even though control key is actually
pressed.  Therefore, TextInputHandler cannot adjust charCode value
and modifier flags in some cases such as control + option + 'a'.

This patch makes InsertText() stop clearing the modifiers and
makes WillDispatchKeyboardEvent() do it instead.  This procedure
is expected by TextEventDispatcher.

MozReview-Commit-ID: Ig6qgRBeQDh

--HG--
extra : rebase_source : 446e8af0e921946f3409d26ede70446248317673
2018-05-24 20:59:48 +09:00
Ryan VanderMeulen
c235c886ba Bug 1459455 - Revert accidentally-landed package-lock.json changes. 2018-05-29 22:43:42 -04:00
Ryan VanderMeulen
10a51f7f4b No bug - Re-alphabetize layout/base/crashtests/crashtests.list. r=thejanitor
--HG--
extra : rebase_source : c47c27c3e4a832bb2758be223886e275f88accd9
2018-05-29 22:39:08 -04:00
Matt Woodrow
7b491cdc52 Bug 1463940 - Invalidate display items when we add a caption to a table, since it can change the ordering of the content. r=mstange
MozReview-Commit-ID: HQewY2vNEJm

--HG--
extra : rebase_source : a73616f7f598f08d20e6965fba1f2f0838286533
2018-05-24 16:54:50 +12:00
Tim Nguyen
e328cc3fd4 Bug 1459455 - Allow changing the tab separator color. r=jaws
MozReview-Commit-ID: 6DNHHTTw7ff

--HG--
extra : rebase_source : 59be5237ccc32387029191c03a60337d55b905ee
2018-05-30 04:34:51 +02:00
Hiroyuki Ikezoe
fa97dda579 Bug 1458841 - Use waitForAnimationReadyToRestyle wherever we wait for animation.ready right after animation creation. r=birtles
Previously we used the tweakExpectedRestyleCount function (replaced by the
waitForAnimationReadyToRestyle function in the previous patch) only in cases
where we were actually expecting restyles to happen.  For cases where we don't
expect restyles, i.e. cases where we assert the restyle count is zero, we
didn't use this method meaning we didn't bother checking if there was a restyle
expected for the current frame or not.

Since we normally wait for 5 frames anyway before checking that there have been
no restyles, failing to count the number of frames and waiting only 4 frames is
not a problem.  However, if a new test were added that just copied this code and
only waited one frame, it might fail to test what it intended.  So, to avoid
possible future bugs and in order to be more consistent with tests that do
expect restyles, this patch replaces a number of uses animation.ready with
waitForAnimationReadyToRestyle.

MozReview-Commit-ID: 7qBmobTKolh

--HG--
extra : rebase_source : baa272102fed7a66cc4fc89f6d63ba0333087a2d
2018-05-30 09:48:10 +09:00
Hiroyuki Ikezoe
272b797238 Bug 1458841 - Introduce a utility function that waits for a given animation being ready to be restyle. r=birtles
And replace tweakExpectedRestyleCount with the function.

MozReview-Commit-ID: 96jC9looyZq

--HG--
extra : rebase_source : 7dae8b258b874a9b366767a6e49de83bf2caccc9
2018-05-30 09:41:47 +09:00
Hiroyuki Ikezoe
6d4ad6222a Bug 1458841 - Remove test code for the old microtask behavior. r=birtles
MozReview-Commit-ID: ACNgQ0EWrKI

--HG--
extra : rebase_source : 8b628a7e80fa3d0e8d8de53e492eb521d112d0e6
2018-05-30 09:39:18 +09:00
Mike Hommey
8b091c97fd Bug 1464522 - Count static initializers from the crash reporter symbol files. r=froydnj
The crash reporter symbol files are the easiest cross-platform way to
find static initializers. While some types of static initializers (e.g.
__attribute__(constructor) functions) don't appear there in a notable
way, the static initializers we do care the most about for tracking do
(static initializers from C++ globals). As a matter of fact, there is
only a difference of 2 compared to the currently reported count of 125
on a linux64 build, so this is a good enough approximation. And allows
us to easily track the count on Android, OSX and Windows builds, which
we currently don't do.

The tricky part is that the symbol files are in
dist/crashreporter-symbols/$lib/$fileid/$lib.sym, and $fileid is hard to
figure out. There is a `fileid` tool in testing/tools, but it is a
target binary, meaning it's not available on cross builds (OSX,
Android).

So the simplest is just to gather the data while creating the symbol
files, which unfortunately requires to go through some hoops to make it
happen for just the files we care about.

--HG--
extra : rebase_source : 458fed1ffd6f9294eefef61f10ff7a284af0d986
2018-05-29 08:48:47 +09:00
Brindusan Cristian
f3765e8d3b Backed out changeset c6bd6395abb7 (bug 1459455) for ESlint failure on browser_ext_themes_tab_separators.js. CLOSED TREE 2018-05-30 02:38:37 +03:00
Chris Manchester
82729d6f6e Bug 1464954 - Print buildstatus messages when building in the top source directory. r=gps
MozReview-Commit-ID: F28u8k2Z24f

--HG--
extra : rebase_source : bcf77bdcfb37c5a43261e773d9b444c5844ae4d8
2018-05-29 15:23:39 -07:00
Andrew Halberstadt
bdde91f155 Bug 1464327 - [docs] Fix doc uploading by removing trailing comma, r=gps
This was changing the project from "main" -> ("main",) which was causing the DocUp
task to upload to urls like:
"('main',)/62.0/_sources/..."

MozReview-Commit-ID: 1bL9nqiAEFE

--HG--
extra : rebase_source : 8f4148dd003dfcfb4c0ba513e4fa7e2ca540dce3
2018-05-28 08:44:08 -04:00
Tim Nguyen
483aabd678 Bug 1459455 - Allow changing the tab separator color. r=jaws
MozReview-Commit-ID: EZud6zCay4a

--HG--
extra : rebase_source : 245b6c992eb750cad5608d086293870bb2642be5
2018-05-30 00:51:45 +02:00
Kartikaya Gupta
4a353fa16b Bug 1465078 - Wait for MozAfterPaint on new windows before requesting fullscreen. r=xidorn
MozReview-Commit-ID: 7cgujvsCdfh

--HG--
extra : rebase_source : 1db42770fe0d155471492eb083dc5580021773a0
2018-05-29 11:33:25 -04:00
David Parks
24e1111be1 Bug 1459335 - Distinguish between unregistered and failed DLL function interceptions. r=aklotz
Each failed attempt to intercept functions in a DLL wastes valuable memory so we remember failures in order to avoid repeating them.
2018-05-23 16:36:45 -07:00
arthur.iakab
1d6ae05136 Bug 1461899 - Disable browser_animation_keyframes-graph_computed-value-path_easing-hint.js on Windows and Linux. r=jmaher 2018-05-25 21:30:00 +03:00
Cameron Kaiser
06d4641b77 Bug 1464754 - Use proper atomicops for ppc32/ppc64. r=froydnj 2018-05-27 22:50:05 -07:00
Nick Thomas
b498a2c072 Bug 1462120 - Update verify fixes for ESR60 branch, r=bhearsum DONTBUILD 2018-05-30 11:29:09 +12:00
Cosmin Sabou
f571cc5fe1 Backed out 10 changesets (bug 1457336, bug 1457286) for android mochitest failures on dom/base/test/test_find.html.
Backed out changeset 6b7bc00d68ae (bug 1457336)
Backed out changeset 585572d3a8e3 (bug 1457336)
Backed out changeset ded57fc8fd13 (bug 1457336)
Backed out changeset b7a0af3470b0 (bug 1457336)
Backed out changeset 3d17cdf86d69 (bug 1457336)
Backed out changeset 9df9a6524aad (bug 1457336)
Backed out changeset 727e25c0e3ad (bug 1457336)
Backed out changeset 91f27da56d68 (bug 1457336)
Backed out changeset 072fa168f471 (bug 1457336)
Backed out changeset 1f645546750f (bug 1457286)
2018-05-30 01:21:31 +03:00
Eliza Balazs
8f46f595c9 Bug 1430530 - Disable test_acceleration.html for frequent failures on windows 10 !debug. r=jmaher 2018-05-29 08:35:00 +03:00
Eugen Sawin
410a424061 Bug 1463772 - [2.1] Add basic tracking protection tests. r=jchen 2018-05-29 23:54:45 +02:00
Eugen Sawin
c4cfb57d29 Bug 1463772 - [1.4] Move and refactor tracking protection blocklist selection. r=snorp,jchen 2018-05-29 23:54:45 +02:00
Noemi Erli
f353eab731 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-05-30 00:52:42 +03:00
Emilio Cobos Álvarez
3b0a6e632d Bug 1457336: followup: Allow one more assertion, since it fired once in TV. r=me
Let's try to avoid to re-close the already CLOSED TREE if the previous patch
works.

MozReview-Commit-ID: 9ieKkWKxYRR
2018-05-29 23:48:33 +02:00
Emilio Cobos Álvarez
4ede9b0c13 Bug 1457336: followup: Try to fix test_find.html on Android. r=me
Let's see if this manages to reopen the CLOSED TREE. It's either raciness on
load, or it's timing out, so I hope it's this, really.

MozReview-Commit-ID: KUbJvRcTlNF
2018-05-29 23:46:11 +02:00
Noemi Erli
846f00f83f Merge inbound to mozilla-central. a=merge 2018-05-30 00:41:41 +03:00
Cosmin Sabou
5dc0c9ea8e Backed out changeset c3172bfa5d63 (bug 1447952) for frequent browser chrome failures on browser_siteData.js. CLOSED TREE 2018-05-29 22:01:04 +03:00
Chris AtLee
6954584948 Bug 1465050: Remove reference to config_file_search_path r=marco
MozReview-Commit-ID: 2w3uQ226kzs

--HG--
extra : rebase_source : df37a734ed715e9037cac192ba2f7f121a2355c2
2018-05-29 13:38:13 -04:00
Tim Nguyen
3078e13f4c Bug 1455922 - Adjust findbar style to work better on dark themes. r=dao
MozReview-Commit-ID: IGIFlJUV1V8

--HG--
extra : rebase_source : e3e7f79aac57404d8136625db9da30bbbc960158
2018-05-29 20:45:33 +02:00
Tim Nguyen
dee6470fc1 Bug 1455922 - Create shared findbar CSS across platforms. r=dao
MozReview-Commit-ID: Hv3WHysJOQX

--HG--
rename : toolkit/themes/windows/global/findBar.css => toolkit/themes/shared/findBar.inc.css
extra : rebase_source : e890a2a8704a7d143db0b63947e0d72662169d7e
2018-05-29 20:45:22 +02:00
Tim Nguyen
55008c99fa Bug 1464699 - Replace PNG places icons with SVG. r=dao
MozReview-Commit-ID: FUozHoemZAB

--HG--
extra : rebase_source : 2d3471bc1bb0dc1b2cfa85a931b17a9efcc711fe
2018-05-29 20:37:48 +02:00
Ryan Hunt
6c8f4d0b0f Bug 1454980 - Let tiled parallel skia on unaccelerated windows ride the trains. r=davidb
--HG--
extra : rebase_source : df4dc5853fe92e66ac44b164695a78ac01682577
2018-05-29 10:48:46 -05:00
Kartikaya Gupta
5021217542 Bug 1463416 - Follow-up to remove timeout expectation from some QR tests, because it's not timing out any more. r=me 2018-05-29 14:20:00 -04:00
Andrea Marchesini
de738c53ef Bug 1461426 - IPCBlobInputStreamParent should be sent as underlying stream to the content - unit test, r=rpl 2018-05-29 20:02:03 +02:00
Andrea Marchesini
044ba75ddf Bug 1461426 - IPCBlobInputStreamParent should be sent as underlying stream to the content, r=smaug 2018-05-29 20:02:03 +02:00
Andrea Marchesini
612caa865c Bug 1462662 - Wipe the container for privacy.usercontext.about_newtab_segregation.enabled on shutdown, r=johannh 2018-05-29 17:35:28 +02:00
Joel Maher
bea2e0899f Bug 1392106 - random-if many more win7 tests. r=RyanVM 2018-05-29 13:50:33 -04:00
Jason Laster
bff4a75c01 Bug 1465080 - Render breakpoints with CM.runMode (v60). r=dwalsh
MozReview-Commit-ID: HmYfF8gm2Bd
2018-05-29 13:50:08 -04:00
Boris Zbarsky
3b8785a733 Bug 1460735 part 2. Remove nsIDOMDocument. r=qdot 2018-05-29 13:39:06 -04:00
Boris Zbarsky
16e02a5e28 Bug 1460735 part 1. Remove use of nsIDOMDocument in JS. r=qdot
There are some places where we have a thing which may not even be a node, and
we end up hardcoding the value of DOCUMENT_NODE there, because
"foo.nodeType == foo.DOCUMENT_NODE" will test true if foo is not a node: both
sides will be undefined.
2018-05-29 13:39:00 -04:00
Boris Zbarsky
69db48b9c0 Bug 1047514. Re-enable the test_getWebIDLCaller test on Android. r=kmag 2018-05-29 13:38:53 -04:00
Cosmin Sabou
63954a642e Backed out changeset 62ed84f80e37 (bug 1462662) for mochitest browser chrome failures on browser_startup.js. CLOSED TREE 2018-05-29 20:16:46 +03:00
Sylvestre Ledru
3f0e9bf7a3 Bug 1464809 - Disable -Werror on -Wclass-memaccess until the backlog is fixed r=froydnj
https://bugzilla.mozilla.org/show_bug.cgi?id=1411029#c2

MozReview-Commit-ID: 2CyoNWMUrw9

--HG--
extra : rebase_source : 758d2c9bc9e2dd3502def27a0d9bc6f9e0887e2d
2018-05-28 14:56:41 +02:00
Nick Alexander
1589faf8b2 Bug 1464381 - Fix check for NIGHTLY_BUILD. r=gps
This was simply an oversight in the implementation of Bug 1464128.
What's happening is that `set_config` in `moz.configure` is not
unconditional, and NIGHTLY_BUILD is set in local builds and in B and N
builds in automation, so there was no test of the other case, which
promptly fails.  This re-uses a pattern successful in mobile/android
for setting defines.

MozReview-Commit-ID: 4zL4hVsqE3Q

--HG--
extra : rebase_source : f6033ed9be0afde7d1a5502bf69234247c95b8ba
2018-05-25 15:37:19 -07:00