Commit Graph

475953 Commits

Author SHA1 Message Date
Kearwood Gilbert
6804dc02e9 Bug 1356382 - Move jsoncpp library and ensure it is included even when crashreporter is not r=ted
MozReview-Commit-ID: 2g9sFP6QQCU
2017-04-19 14:41:03 -07:00
Edmund Wong
7e7aeef70f Bug 1358403 - Add a colon to complete the rust url when mach build dies when it can't find the rust compiler. r=froydnj
MozReview-Commit-ID: 3E3A9laTdoX
2017-04-21 15:43:14 +08:00
Markus Stange
36d7413c44 Bug 1350503 - Wrap the performance actor's sharedLibraries value inside an object so that it can be transferred through the debugger protocol. r=gregtatum
MozReview-Commit-ID: 3cXfaSrWFJW
2017-04-20 16:10:47 -04:00
Zibi Braniecki
cc99ee6b99 Bug 1358543 - Only set new locale callbacks in xpc_LocalizeContext if they're not set. r=smaug
With changes introduced in bug 1356066 I made the xpc_LocalizeContext be
called on each app locale change to update the default locale in each context.

Unfortunately, this function is also assigning the locale callbacks and
with my change it started doing it on each language change.

In this patch I'm first checking if we do have XPCLocaleCallbacks for the
given context and only if we don't, I assign them.

MozReview-Commit-ID: 7AiCsJfKBID
2017-04-21 09:49:42 -07:00
Sebastian Hengst
79e740877d merge mozilla-central to autoland. r=merge a=frequent-orange-fix 2017-04-21 20:26:51 +02:00
Sebastian Hengst
b9529a7471 Bug 1356627 - Disable css-transitions-1 web-platform-tests for failing frequently. r=test-disabling a=frequent-orange-fix
MozReview-Commit-ID: Cbsk1JLMxig
2017-04-21 20:21:51 +02:00
Sebastian Hengst
036a7b0984 Backed out changeset 435e638babd1 (bug 1349418) for failing checkerboard-{1,2,3}.html on Android 4.3. r=backout a=backout
MozReview-Commit-ID: Au7FbypQNvf
2017-04-21 18:01:24 +02:00
Sebastian Hengst
7136e794ee Backed out changeset 3ccf396a61fe (bug 1349418)
MozReview-Commit-ID: 8VeAi8IOAl4
2017-04-21 17:59:43 +02:00
ffxbld
63f22e1b57 No bug, Automated HPKP preload list update from host bld-linux64-spot-305 - a=hpkp-update 2017-04-21 07:57:04 -07:00
ffxbld
5c56326f2f No bug, Automated HSTS preload list update from host bld-linux64-spot-305 - a=hsts-update 2017-04-21 07:57:01 -07:00
Carsten "Tomcat" Book
79a52994b4 Backed out changeset 35ef9cd54519 (bug 1358142) for breaking android nightlys 2017-04-21 15:55:13 +02:00
Henrik Skupin
2af308943c Bug 1358402 - Keep 'marionette.defaultPrefs.enabled' around as fallback. r=ato a=tomcat
With bug 1344748 landed the default preferences and their handling has been
changed. Builds starting with Firefox 54.0 can handle that, but previous
releases don't enable Marionette at all after a restart under special
conditions (invalidating 'update.status' file before the restart).

To prevent the bustage we have to keep the preference
'marionette.defaultPrefs.enabled' around until the next ESR release
is out.

MozReview-Commit-ID: AB3liJlb6M7
2017-04-21 11:16:06 +02:00
Carsten "Tomcat" Book
63fbb13aec merge mozilla-inbound to mozilla-central a=merge 2017-04-21 10:57:02 +02:00
Iris Hsiao
bb687383d9 Backed out 9 changesets (bug 1353689) for web platform reftest failures
Backed out changeset 80ac3ea1427e (bug 1353689)
Backed out changeset 9a5b36fefb22 (bug 1353689)
Backed out changeset 44c5f4b4cdfc (bug 1353689)
Backed out changeset 7f2790b4c963 (bug 1353689)
Backed out changeset 8d8d2824a763 (bug 1353689)
Backed out changeset d3ced5751998 (bug 1353689)
Backed out changeset 5179ebf1e982 (bug 1353689)
Backed out changeset ebf24732e9b3 (bug 1353689)
Backed out changeset e81924e4cff3 (bug 1353689)
2017-04-21 13:38:28 +08:00
Dan Glastonbury
42073d63bf Bug 1346665 - P2: Import rustified cubeb_pulse.c. r=kinetik,rillian
Enable by setting:

  media.cubeb.backend = "pulse-rust"

MozReview-Commit-ID: EZXJAzN3X7c
2017-04-21 14:01:01 +10:00
Dan Glastonbury
b27ac204cc Bug 1346665 - P1: Enable USE_PULSE_RUST in libcubeb. r=kinetik,rillian
MozReview-Commit-ID: 5ZQLFXNFWdB
2017-04-21 14:01:00 +10:00
c26549eed2 Bug 1310197 - Fix comment.r=me 2017-04-21 11:43:03 +08:00
Nicholas Nethercote
a525caf15d Bug 1356694 - Create a ProfileGatherer in nsProfiler() if the profiler is active. r=mstange.
This fixes a JS exception that gets thrown when one tries to capture a profile
in this case.
2017-04-21 09:38:39 +10:00
Julian Descottes
e4515e8803 Bug 1358070 - register dedicated privileged image for browser_docshell_type_editor.js;r=Gijs
The test image/test/browser/browser_docshell_type_editor.js used to rely on a devtools image.
Devtools are moving away from mozilla central, so here we register a new image dedicated for
this test.

MozReview-Commit-ID: Log4J0eLudV
2017-04-20 11:46:51 +02:00
Edouard Oger
a2d86f03a6 Bug 1356112 - Set identity.fxaccounts.settings.devices.uri when using the FxA well-known configuration. r=tcsc
MozReview-Commit-ID: IJaMuIorXHg
2017-04-20 13:57:23 -04:00
Sebastian Hengst
72c9604405 Backed out changeset f39e67694994 (bug 1302470) for failing mochitest test_bug263683.xul on opt-based builds on Linux and on debug on OSX, at least. r=backout 2017-04-21 19:09:12 +02:00
Sebastian Hengst
4ba7dc3992 Backed out changeset 572662b36c77 (bug 1302470) 2017-04-21 19:09:12 +02:00
Sebastian Hengst
a52fe006fc Backed out changeset a5a77d4a3cf3 (bug 1302470) 2017-04-21 19:09:11 +02:00
Sebastian Hengst
210d39dc97 Backed out changeset d0ecd711cbc4 (bug 1302470) 2017-04-21 19:09:11 +02:00
Sebastian Hengst
2792e49666 Backed out changeset d12341c804a2 (bug 1302470) 2017-04-21 19:09:11 +02:00
Sebastian Hengst
768235dfb0 Backed out changeset 726e98cd071e (bug 1302470) 2017-04-21 19:09:11 +02:00
Sebastian Hengst
a3bf5d4e88 Backed out changeset 95aca3b5524e (bug 1302470) 2017-04-21 19:09:11 +02:00
Masayuki Nakano
19a1cb9c60 Bug 1217700 part.4 Add automated tests for IMEContentObserver r=m_kato
IMEContentObserver notifies IME of 3 notifications at most when editor is changed.

The order is:
1. text change (with merged range if 2 or more change occurred during an edit transaction)
2. selection change (only the latest selection change. other changes occurred before that during an editor transaction are ignored)
3. position change (scrolled, resized, window moved, etc)

This does not check the behavior in designMode because some operation in testWithHTMLEditor() causes unexpected behavior, e.g., moving focus. It *might* be bug of design mode.  However, it doesn't matter for this bug.  The important thing of this bug is, there should be automated tests for IMEContentObserver.  And fortunately, IMEContentObserver does not check the type of editor.  So, it's enough to test only contenteditable element for HTMLEditor at least for now.  Therefore, I gave up to test it in designMode for now.

MozReview-Commit-ID: 7L6ZlbVMU2P
2017-04-19 21:57:58 +09:00
Masayuki Nakano
1b11589c8a Bug 1217700 part.3 Expose text change, selection change and position change notifications to nsITextInputProcessorCallback with nsITextInputProcessorNotification r=smaug
For testing IMEContentObserver, text change, selection change and position change notifications should be exposed to JS with nsITextInputProcessorNotification.

MozReview-Commit-ID: 3PUhKXRwnAn
2017-04-20 20:17:03 +09:00
Alessio Placitelli
5b71ca8e39 Bug 1346203 - Don't use an empty key for accumulating in CANVAS_WEBGL_FAILURE_ID. r=jrmuizel
MozReview-Commit-ID: 9S2UIEeTUi7
2017-04-18 11:57:53 +02:00
Aaron Klotz
6139e495e5 Bug 1358288: Fix incorrect ABI specification for js-ctypes declaration of GetVersionExW; r=gfritzsche
MozReview-Commit-ID: DKTxo8EHNfY
2017-04-20 16:08:07 -06:00
Tom Tromey
fc99179caa Bug 1353038 - do not quote whitespace in console evaluation results; r=nchevobbe
Don't escape whitespace in console evaluation results.  This preserves
the behavior of the old console, and in particular makes pprint() more
useful again.

MozReview-Commit-ID: CrWWXjtSBIw
2017-04-20 11:58:35 -06:00
Drew Willcoxon
3ab648855f Bug 1357458 - After Customization - typed text in the Awesome bar doesn't correspond with the text from One-Off-Searches bar. r=florian
MozReview-Commit-ID: KHAoxS1CsWj
2017-04-20 19:00:26 -07:00
Sebastian Hengst
23e91db3a2 merge mozilla-central to autoland. r=merge a=backout 2017-04-21 18:41:49 +02:00
Brad Werth
d2dcc71a2e Bug 1302470 Part 7: Disable part of the browser_Finder.js test until Highlight All is fixed for iframe content. r=mikedeboer
MozReview-Commit-ID: Jyn2YOIlIlV
2017-04-21 08:25:42 -07:00
Masayuki Nakano
366a4f5058 Bug 1217700 part.2 IMEContentObserver should observe all possible notifications and check if it should be notified when it occurs r=m_kato
IMEContentObserver can store pointer of IMENotificationRequests of its mWidget.  Therefore, it can check the requests dynamically when it receives content change or layout change.

This patch makes IMEContentObserver stores IMENotificationRequests as pointer and check it at every change notification received.  Additionally, notification request may be changed due to focus move or something.  Therefore, this patch makes IMEContentObserver and IMEContentObserver::IMENotificationSender() check if the notifications are still necessary.

MozReview-Commit-ID: 2uU2wN15D8v
2017-04-13 14:32:12 +09:00
Masayuki Nakano
fcf7a62eba Bug 1217700 part.1 nsIWidget should return reference to IMENotificationRequests r=m_kato
IMEContentObserver may need to change notifications to send when TextInputProcessor begins input transaction.  In current design, IMEContentObserver needs to retrieve IMENotificationRequests at every change.  However, if nsIWidget returns a reference to its IMENotificationRequests, IMEContentObserver can call it only once.

For that purpose, this patch changes nsIWidget::GetIMENotificationRequests() to nsIWidget::IMENotificationRequestsRef() and make it return |const IMENotificationRequests&|.  However, if the lifetime of the instance of IMENotificationRequest is shorter than the widget instance's, it's dangerous.  Therefore, it always returns TextEventDispatcher::mIMENotificationRequests.  TextEventDispatcher's lifetime is longer than the widget.  Therefore, this guarantees the lifetime.

On the other hand, widget needs to update TextEventDispatcher::mIMENotificationRequests before calls of nsIWidget::IMENotificationRequestsRef().  Therefore, this patch makes TextEventDispatcher update proper IMENotificationRequests when it gets focus or starts new input transaction and clear mIMENotificationRequests when it loses focus.

Note that TextEventDispatcher gets proper requests both from native text event dispatcher listener (typically, implemented by native IME handler class) and TextInputProcessor when TextInputProcessor has input transaction because even if TextInputProcessor overrides native IME, native IME still needs to know the content changes since they may get new input transaction after that.

However, there may not be native IME handler in content process.  If it runs in Android, PuppetWidget may have native IME handler because widget directly handles IME in e10s mode for Android.  Otherwise, native IME handler is in its parent process.  So, if TextInputHandler has input transaction in content process, PuppetWidget needs to behave as native event handler.  Therefore, this patch makes PuppetWidget inherit TextEventDispatcherListener and implements PuppetWidget::IMENotificationRequestsRef().

MozReview-Commit-ID: 2SW3moONTOX
2017-04-15 01:35:58 +09:00
Cameron McCormack
916c5f6589 Bug 1257451 - Make |mach run| use --debugger-args instead of --debugparams, like the mochitest/reftest commands do. r=gps
MozReview-Commit-ID: ChB9KjNKbHO
2017-04-21 13:17:31 +10:00
JW Wang
07dec81aea Bug 1348053 - add the UrgentStart flag to the channel when the loading is initiated by a user interaction for quicker network response. r=cpearce
MozReview-Commit-ID: 1tk9k8u1zTu
2017-04-10 15:23:11 +08:00
Manish Goregaokar
2eae3a4e0b Bug 1358362- stylo: Whitelist ShapeSource outparams in bindings to satisfy heap write analysis; r=bholley
MozReview-Commit-ID: BzJg6b8DDxB
2017-04-20 14:49:53 -07:00
Patrick McManus
53ffb246d5 Bug 1297481 - add shutdown state to protocolproxyservice r=bagder
the protocol proxy service asserts that is in a clean state at dtor -
normally this happens through observe("xpcom-shutdown") but its
actually possible of other events in the xpcom run queue to
'unitialize' things before the dtor.. add a state in which fail codes
are returned instead.

MozReview-Commit-ID: XaNQEZUsRP
2017-04-19 08:42:09 -04:00
JW Wang
68670a77ff Bug 1357986 - Use helper functions of TimeUnit to make code more readable. r=kaku
1. using media::TimeUnit to save some typing.
2. replace TimeUnit() with TimeUnit::Zero().
3. replace TimeUnit::FromXXX(0) with TimeUnit::Zero().
4. replace TimeUnit::FromMicroseconds(std::numeric_limits<int64_t>::max()) with TimeUnit::FromInfinity().
5. replace some uses of int64_t with TimeUnit.
6. replace t > TimeUnit() with t.IsPositive().

MozReview-Commit-ID: 6hC94PXx86i
2017-04-17 16:35:04 +08:00
JW Wang
f6f3f5a514 Bug 1357983 - remove media::Microseconds. r=gerald
media::TimeUnit can take its place. We don't want 2 things for the same purpose to cause confusion.

MozReview-Commit-ID: 3z6hbgXFsxP
2017-04-17 14:34:36 +08:00
Hiroyuki Ikezoe
5907d78def Bug 1352628 - Skip clipped-animated-transform-1.html. r=boris
The test case is supposed that transform transition runs on the compositor.
We can't enable this test until bug 1334036 is fixed.

MozReview-Commit-ID: 6zakBP7tjhs
2017-04-21 06:48:26 +09:00
bechen
1b293b7ae5 Bug 1353689 - update /processing-model/* status. Disable tests whose result are not consistent. r=alwu
MozReview-Commit-ID: 83tCBYWmF5g
2017-04-18 16:54:17 +08:00
bechen
7673d805c6 Bug 1353689 - selectors/cue_function: update testcase status. r=rillian
MozReview-Commit-ID: KNEZ1x4xThq
2017-04-17 17:27:40 +08:00
bechen
59d45ff6d5 Bug 1353689 - selectors/default_styles: update testcase status. r=rillian
MozReview-Commit-ID: 32cFaWOVTal
2017-04-17 17:27:38 +08:00
bechen
1cb52c0c4a Bug 1353689 - selectors/cue_function/voice_object: update testcase status. r=rillian
MozReview-Commit-ID: Loq30ZzSzLR
2017-04-17 17:27:35 +08:00
bechen
f1c67f1782 Bug 1353689 - selectors/cue_function/underline_object: update testcase status. r=rillian
MozReview-Commit-ID: 9zwCperz8nZ
2017-04-17 17:27:33 +08:00
bechen
e08c22ddf9 Bug 1353689 - selectors/cue_function/class_object: update testcase status. r=rillian
MozReview-Commit-ID: FUwqp2DHbl3
2017-04-17 17:27:30 +08:00