Commit Graph

535438 Commits

Author SHA1 Message Date
Dale Harvey
ceaa136f37 Bug 1363168 - Add support for OSX Share feature. r=Gijs,mstange
MozReview-Commit-ID: sJXl2If9Ou
2018-03-12 09:16:51 +00:00
Andreea Pavel
f83197b8cc Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-04-16 12:55:43 +03:00
Andreea Pavel
ab596b1a21 Merge mozilla-inbound to mozilla-central. a=merge 2018-04-16 12:52:34 +03:00
Xidorn Quan
e64e7fa35e Bug 1454299 - Remove ServoPropPrefList.h. r=emilio
MozReview-Commit-ID: 5wbFNahv4BW
2018-04-16 18:59:23 +10:00
Mantaroh Yoshinaga
965a644a63 Bug 1442531 - Part 2. Check tool tab in tools menu as well. r=jdescottes
Currently, browser_toolbox_options check only toolbox's tab.
If tool tabs is bigger than toolbox width, this mechanism will not work
correctly. So this patch will check target tool tab from toolbox tabs and
tools menu (in chevron).

MozReview-Commit-ID: D3kaOwHvHni
2018-04-16 16:48:32 +09:00
Mantaroh Yoshinaga
49fec0c01e Bug 1442531 - Part 1. Make chevron button of devtool to be exclusive and apply the photon design. r=jdescottes
This patch will:
 * change detecting overflow to using resize event.
 * make chevron menu and tab menu to be exclusive.
 * use photon design chevron menu.
 * modify the related tests.

In this patch, the toolbox will create the cache of the displayed tool tab width
after rendering an element since each width of toolbox tab is not fixed size.
(i.e. each toolbox tab size is different from another size)

MozReview-Commit-ID: EQ0nU6WzCg1
2018-04-16 16:48:11 +09:00
Xidorn Quan
f0e1981a84 Bug 1454297 - Remove CSS_PROP_LOGICAL and friends. r=emilio
MozReview-Commit-ID: Euzbjf9qkmO
2018-04-16 16:23:33 +10:00
Nicholas Nethercote
cf76abccfd Bug 1451278 - Remove NS_ConstExprIsAscii() functions. r=froydnj
MozReview-Commit-ID: DG2HUOa7x6y
2018-04-16 08:37:25 +10:00
Nicholas Nethercote
0799b93e3a Bug 1451278 - Remove ConstExpr hash functions. r=froydnj
MozReview-Commit-ID: L6yRyt4DZRR
2018-04-16 08:37:15 +10:00
Emilio Cobos Álvarez
09ee020d12 Bug 1454140: Invalid URLs with ref also exist. r=heycam
MozReview-Commit-ID: HsH3ERcTeLm
2018-04-14 17:24:45 +02:00
Johann Hofmann
5d92bafb0d Bug 1444428 - Remove unsafeSetInnerHTML in config.js. r=nechen
MozReview-Commit-ID: CHyl9FJQ7j9
2018-04-13 15:12:15 +02:00
Makoto Kato
baf5e79328 Bug 1361052 - DeleteSelectionAndPrepareToCreateNode should be more safety. r=masayuki
Bug 768765 isn't enough for fix.  Since Selection::GetAnchorFocusRange can
return nullptr, we should consider this condition.

And I cannot reproduce this using crash test, so I add mochitest for this.

MozReview-Commit-ID: 8Ei5YBIBuWv
2018-04-13 16:58:06 +09:00
Xidorn Quan
03aa894c58 Bug 1453521 - Support prefs for aliases in Servo side. r=heycam
MozReview-Commit-ID: 8DAFmLDVYlR
2018-04-12 10:27:43 +10:00
Masayuki Nakano
e74f4dc51b Bug 1453872 - Make HTMLEditRules::JoinNodesSmart() return { aRightNode - aLeftNode.Length() } by default r=m_kato
This is regression of bug 1423835.

When I fixed the bug, I accidentally changed the result of
HTMLEditRules::JoinNodesSmart() to use new API.  However, it was simple
misunderstand.  The original code sets the initial value of result to
{ aRightNode - aLeftNode.Length() } but I understood it as
{ aRightNode - aRightNode.Length() }.  Therefore, this patch backs out the
patch only for this line.

MozReview-Commit-ID: 5rD7YFij8v
2018-04-13 13:18:13 +09:00
James Teh
d8d9bf32b1 Bug 1453876: Fix accessibility blocking of the Ask.com Toolbar. r=eeejay
Bug 1421018 intended to block the Ask.Com Toolbar (tbnotifier.exe).
This is basically malware and is responsible for a huge number of unnecessary accessibility instantiations.
However, there seems to have been some confusion and we ended up blocking tbnnotifier.exe instead.
This changes that block to tbnotifier.exe.

MozReview-Commit-ID: 2gZF8sYeGtb
2018-04-13 15:12:13 +10:00
Jim Chen
e014a74c47 Bug 1452200 - 3. Don't limit AndroidLog tag length; r=jchen
In practice, Android never enforced restrictions on the tag length, and
in newer versions, the restriction is removed, so we shouldn't limit the
tag length at all.

MozReview-Commit-ID: JQF9FBdB5Fj
2018-04-15 14:53:29 -04:00
Jim Chen
428a2d59b5 Bug 1452200 - 2. Convert existing code to use new logging functions; r=snorp
Use the new "debug" and "warn" functions with template literals in
existing code.

MozReview-Commit-ID: 4ob6mom6pQF
2018-04-15 14:53:29 -04:00
Jim Chen
a189ee3f5c Bug 1452200 - 1c. Inject logging functions into GeckoView JS modules; r=snorp
Inject new logging functions, "debug" and "warn", into each GeckoView JS
module that geckoview.js loads. Also do the same thing for frame script
classes that extend from GeckoViewContentModule.

The new logging functions are used with template literals (debug `hello
${foo} world`;), which are lazily evaluated, so disabled logs don't use
as many CPU cycles. They can also be easily enabled/disabled.

MozReview-Commit-ID: 7ZfYAMrcCyU
2018-04-15 14:53:29 -04:00
Jim Chen
128ab3a796 Bug 1452200 - 1b. Add template literal support to Log.jsm; r=markh
Make Log.jsm functions support tagged template literals. For example,
instead of |logger.debug("foo " + bar)| or |logger.debug(`foo ${bar}`)|,
you can now use |logger.debug `foo ${bar}`| (without parentheses).

Using tagged template literals has the benefit of less verbosity
compared to regular string concatenation, with the added benefit of
lazily-stringified parameters -- the parameters are only stringified
when logging is enabled, possibly saving from an expensive stringify
operation.

This patch also fixes a bug in BasicFormatter where consecutive tokens
are not formatted correctly (e.g. "${a}${b}").

MozReview-Commit-ID: 9kjLvpZF5ch
2018-04-15 14:53:28 -04:00
Jim Chen
755d8d7b61 Bug 1452200 - 1a. Add AndroidAppender for Log.jsm; r=markh
Add an AndroidAppender that lets Log.jsm output to the Android logs,
using AndroidLog.jsm. Because the Android logging system keeps track of
the log metadata (time/level/name) separately from the log message, the
patch also adds a separate AndroidFormatter that does not prepend the
metadata to the log message itself.

MozReview-Commit-ID: C9oBbgVQOEc
2018-04-15 14:53:28 -04:00
Emilio Cobos Álvarez
10e52c7cb5 Bug 37468: followup: Cleanup line terminators. r=me
DONTBUILD, since it's whitespace-only.

MozReview-Commit-ID: D61WzJbTgXZ
2018-04-15 14:24:25 +02:00
Gurzau Raul
269d4945df Backed out 2 changesets (bug 1452618) for frequently failing mochitest on Android on a CLOSED TREE
Backed out changeset 5bf3bfedd867 (bug 1452618)
Backed out changeset fdcb9f2ec9d9 (bug 1452618)
2018-04-15 13:12:56 +03:00
Gijs Kruitbosch
8d46b6ff2b Bug 1452618 - make getAddonBlocklistEntry asynchronous, r=kmag
MozReview-Commit-ID: 4Kpx7M57404
2018-04-09 16:00:38 +01:00
Gijs Kruitbosch
635acd3e45 Bug 1452618 - track force-disabling things so we don't accidentally re-enable them by using isUsableAddon later, r=kmag
MozReview-Commit-ID: B7ZAw04cVaZ
2018-04-13 15:01:05 +01:00
Gurzau Raul
c14de517e5 Backed out 5 changesets (bug 1452200) for mochitest-chrome failures on Android on a CLOSED TREE
Backed out changeset ed07fb947b5e (bug 1452200)
Backed out changeset b03e9dc6ecd7 (bug 1452200)
Backed out changeset e4cdad2cd3d2 (bug 1452200)
Backed out changeset 8ac249bdc772 (bug 1452200)
Backed out changeset 225bb7ed5f71 (bug 1452200)
2018-04-15 09:19:04 +03:00
Nico Grunbaum
d384cb8082 Bug 1449832 - restore screen share scaling code to prevent cropping r=pehrsons
MozReview-Commit-ID: KctPLbF4PSa
2018-04-12 14:26:14 -07:00
Markus Stange
41ef8fed6b Bug 1421088 - Move code out of DrawWidgetBackground into a new method called ComputeWidgetInfo. r=spohl
MozReview-Commit-ID: 2XeZHH4lJrj
2018-04-14 23:31:11 -04:00
Bharat Raghunathan
918b8af8d8 Bug 1450201 - Fix TypeError by processing the function only if it is a DOMNodes. r=gl
MozReview-Commit-ID: HGJcGaeEuEO
2018-04-09 07:56:32 +05:30
Olli Pettay
8f8f203d66 Bug 1454107 - "Re-enable passive touch listeners on window/document/documentElement/body". r=kats 2018-04-13 16:35:00 +03:00
Sebastian Hengst
96a9ae1089 Backed out changeset ca3375f6ba92 (bug 1447040) for frequently failing wpt /service-workers/cache-storage/serviceworker/cache-abort.https.html: remove files not removed because of conflict and re-run manifest udpate 2018-04-16 02:09:07 +03:00
Sebastian Hengst
15b0f244c4 Backed out changeset ca3375f6ba92 (bug 1447040) for frequently failing wpt /service-workers/cache-storage/serviceworker/cache-abort.https.html: fix test manifest 2018-04-16 01:48:08 +03:00
Narcis Beleuzu
68dd83252c Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-04-16 01:28:00 +03:00
Narcis Beleuzu
7111ad235c Backed out changeset ca3375f6ba92 (bug 1447040) for frequently failing wpt /service-workers/cache-storage/serviceworker/cache-abort.https.html 2018-04-16 01:20:28 +03:00
James Graham
fa5ddffa1c Bug 1452643 - Update wptserve args in marionette runner, r=me ON A CLOSED TREE
MozReview-Commit-ID: DvCYUNlX3VQ
2018-04-15 19:26:00 +01:00
Jan de Mooij
55352d995e Bug 1452982 part 10 - Rename *ActiveCooperatingThread to *MainThread. r=jonco 2018-04-15 13:18:46 +02:00
Csoregi Natalia
f0ecc1063e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-15 12:19:10 +03:00
Paolo Amadini
5e79b69b35 Bug 1454148 - Fix class of the "View Bookmarks Toolbar" and "View Bookmarks Sidebar" items in the Bookmarks button menu. r=Gijs
MozReview-Commit-ID: 9Dp1mSpSkNS
2018-04-14 11:48:48 +01:00
James Graham
4a2f7d2756 Bug 1453415 - Don't try to pause after a crashed test, r=ato 2018-04-15 09:40:40 +01:00
James Graham
d067d776d1 Bug 1453415 - Handle marionette returning None for content process crash, r=ato
If the content process crashes, marionette can return None rather
than a valid result. In this case we want the test status to end up
as crash, which happens if we just propogate the None upwards.
2018-04-15 09:40:34 +01:00
James Graham
51c25a62b1 Bug 1452964 - Fix server_config in wpdspec tests, r=ato
MozReview-Commit-ID: B1N8qWK5rrV
2018-04-15 09:40:27 +01:00
James Graham
c240f83c81 Bug 1452952 - Fix prefs getter call in wptrunner Firefox executor, r=ato
MozReview-Commit-ID: BEU8bpH4CVg
2018-04-15 09:40:21 +01:00
moz-wptsync-bot
7410b43e59 Bug 1452643 - [wpt-sync] Update web-platform-tests to ad4ef4f58d232848a2acbde645a89d05fa3e3bcf, a=testonly
wpt-head: ad4ef4f58d232848a2acbde645a89d05fa3e3bcf
wpt-type: landing
2018-04-15 09:40:13 +01:00
moz-wptsync-bot
68c9447ed9 Bug 1451836 [wpt PR 10334] - Check for circular interface deps in idlharness.js, a=testonly
Automatic update from web-platform-testsCheck for circular deps (#10334)

wpt-commits: ad4ef4f58d232848a2acbde645a89d05fa3e3bcf
wpt-pr: 10334
wpt-commits: ad4ef4f58d232848a2acbde645a89d05fa3e3bcf
wpt-pr: 10334
2018-04-15 09:40:04 +01:00
Anne van Kesteren
f6530d9d55 Bug 1452650 [wpt PR 10380] - Remove generate_tests from NodeIterator.html, a=testonly
Automatic update from web-platform-testsRemove generate_tests from NodeIterator.html (#10380)

wpt-commits: 509d7ab80243012857d1b19eda0e6f3b25f33e8e
wpt-pr: 10380
wpt-commits: 509d7ab80243012857d1b19eda0e6f3b25f33e8e
wpt-pr: 10380
2018-04-15 09:39:56 +01:00
moz-wptsync-bot
4cdd708f60 Bug 1448620 [wpt PR 10167] - Update wpt metadata, a=testonly
wpt-pr: 10167
wpt-type: metadata
2018-04-15 09:39:50 +01:00
Dominic Farolino
f9df9555c8 Bug 1448620 [wpt PR 10167] - Add tests for mathematical functions in <img sizes="">, a=testonly
Automatic update from web-platform-testsAdd tests for mathematical functions in <img sizes="">

Tests for https://github.com/whatwg/html/pull/3084.

wpt-commits: cc9648dde51ca42dfa40d1ff05c017dd3966929f
wpt-pr: 10167
wpt-commits: cc9648dde51ca42dfa40d1ff05c017dd3966929f
wpt-pr: 10167
2018-04-15 09:39:43 +01:00
moz-wptsync-bot
95d4f083bf Bug 1450367 [wpt PR 10258] - Update wpt metadata, a=testonly
wpt-pr: 10258
wpt-type: metadata
2018-04-15 09:39:36 +01:00
Mike Taylor
67cebd11e2 Bug 1450367 [wpt PR 10258] - Add tests for Event.srcElement and Event.returnValue, a=testonly
Automatic update from web-platform-testsAdd tests for Event.srcElement

See https://github.com/whatwg/dom/issues/625 for details.

--
Add tests for Event.returnValue

See https://github.com/whatwg/dom/issues/625 for details.

wpt-commits: 13597c4af7ac923309e740920cd42bed88113e5f, 24f49ff15e22f7d81dbb87908efa0b5970b7add6
wpt-pr: 10258
wpt-commits: 13597c4af7ac923309e740920cd42bed88113e5f, 24f49ff15e22f7d81dbb87908efa0b5970b7add6
wpt-pr: 10258
2018-04-15 09:39:29 +01:00
Anthony Ramine
850a76f6e7 Bug 1452594 [wpt PR 10357] - Avoid async/await in /webstorage/idlharness.html, a=testonly
Automatic update from web-platform-testsAvoid async/await in /webstorage/idlharness.html

Am sorry, Servo is dumb, we are actively trying to fix that on our side.

wpt-commits: 95992cd324d80acc68707b203be8c6cc2aebc6d5
wpt-pr: 10357
wpt-commits: 95992cd324d80acc68707b203be8c6cc2aebc6d5
wpt-pr: 10357
2018-04-15 09:39:21 +01:00
Anthony Ramine
e2050f63da Bug 1452593 [wpt PR 10356] - Properly define EventInit in /webvr/idlharness.https.html, a=testonly
Automatic update from web-platform-testsProperly define EventInit in /webvr/idlharness.https.html

wpt-commits: 2b8e0e7004fa407892b0966d2ae3d1ce68aaf678
wpt-pr: 10356
wpt-commits: 2b8e0e7004fa407892b0966d2ae3d1ce68aaf678
wpt-pr: 10356
2018-04-15 09:39:14 +01:00