Commit Graph

531835 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
23d4250821 Backed out changeset 855488862155 (bug 1302470)
--HG--
extra : rebase_source : cb6c74638531146478c090bec68b88726f8092e5
2017-04-21 17:10:32 +02:00
Dão Gottwald
e70333a23d Bug 1348359 - Remove unused files from chrome://global/skin/dirListing/. r=florian
MozReview-Commit-ID: 4n8KxGUvyVE

--HG--
extra : rebase_source : 450d98c329590260e707731b9c4afc277a67edc8
2017-04-21 16:14:49 +02:00
Brad Werth
6829a96059 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

--HG--
extra : rebase_source : 9bb3c8227a547e2e12804179c57116937b7cbdcf
2017-04-20 14:09:07 -07:00
Mike de Boer
0b8a2bd88b Bug 1302470 Part 6: Connect up FinderHighlighter.jsm with the new isRangeVisible function. r=mikedeboer
MozReview-Commit-ID: ABfAoZ4CBjP

--HG--
extra : rebase_source : 24d59c8d804771a5c6d65cc6246dfb457b0f10aa
2017-01-23 17:39:07 +01:00
Brad Werth
33a380c07a Bug 1302470 Part 5: Change nsDisplayList::GetOpaqueRegion non-opaque lists to build up a region from its children. r=mattwoodrow
MozReview-Commit-ID: LEuvazbz1X

--HG--
extra : rebase_source : dc6e4fc88dd77e70718502078b5229d8600b0963
2017-04-20 10:50:41 -07:00
Brad Werth
c41e48ba8e Bug 1302470 Part 4: Fix the case where HTML buttons need to generate display item children when doing opaque hit tests. r=mattwoodrow
MozReview-Commit-ID: HwDYsnMJkM8

--HG--
extra : rebase_source : 68b901f11adcaf1e6dfb706aad067ddc3b57b73b
2016-11-30 14:35:37 -08:00
Brad Werth
3b8a0f6bc7 Bug 1302470 Part 3: Branch IsRangeVisible to delegate to IsRangeRendered when range is in viewport. r=masayuki
MozReview-Commit-ID: LZyvt08I9vz

--HG--
extra : rebase_source : 56f44a967a3647a3c6bc326232467eaf69b7f447
2017-04-20 10:21:52 -07:00
Brad Werth
341fe37811 Bug 1302470 Part 2: Create a IsRangeRendered function to test range visibility in the display list. r=mstange,smaug
MozReview-Commit-ID: u0N73luIz7

--HG--
extra : rebase_source : e9e240074002b08a91f4a05ba33c3a6c069e69db
2017-03-24 14:45:41 -07:00
Brad Werth
22f0b9f51b Bug 1302470 Part 1: Remove trailing whitespace. r=mstange
MozReview-Commit-ID: 1vlEVEn07Qb

--HG--
extra : rebase_source : 9cd9f09370344a511e5653a5672882d6f4bb9d06
2016-11-09 13:46:17 -08:00
Ted Campbell
9c223bd7d3 Bug 1353358 - Support JSOP_OPTIMIZE_SPREADCALL in Ion r=jandem
MozReview-Commit-ID: H3iyhI0Ca2u

--HG--
extra : rebase_source : 9227e64957a1ef1d0cfc259c4f2023bb9464c7ba
2017-04-19 14:48:04 -04:00
Ted Campbell
4ea9a1c40a Bug 1353358 - Use IfThenElseEmitter when optimizing spreadcall r=jandem
MozReview-Commit-ID: 9HquKAFZ32k

--HG--
extra : rebase_source : c5c2e65fd1149a1b3cc78a4df0fe201a3bdec8d2
2017-04-19 14:09:18 -04:00
Thomas Nguyen
75671230fe Bug 1358333 - Fix APPLICATION_REPUTATION_ALLOWLIST_MATCH and APPLICATION_REPUTATION_BLOCKLIST_MATCH telemetry r=francois
MozReview-Commit-ID: DbI0uNdEwZ8

--HG--
extra : rebase_source : 3d15b5f3280e9e9fca9b141a14ff379622a718eb
2017-04-21 11:18:34 +08:00
Carsten "Tomcat" Book
0b4ec6c514 Merge mozilla-central to autoland 2017-04-21 16:03:03 +02:00
Carsten "Tomcat" Book
4e1afcd681 Backed out changeset 35ef9cd54519 (bug 1358142) for breaking android nightlys 2017-04-21 15:55:13 +02:00
Henrik Skupin
726ee660f9 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

--HG--
extra : amend_source : 35ae31af3c1a44d9ad965dbeb395297a73e86a81
2017-04-21 11:16:06 +02:00
Carsten "Tomcat" Book
975e251aff merge mozilla-inbound to mozilla-central a=merge 2017-04-21 10:57:02 +02:00
Iris Hsiao
7aacf33d10 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
92a65a96fb 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
709bb40008 Bug 1346665 - P1: Enable USE_PULSE_RUST in libcubeb. r=kinetik,rillian
MozReview-Commit-ID: 5ZQLFXNFWdB
2017-04-21 14:01:00 +10:00
Dragana Damjanovic dd.mozilla@gmail.com
8e864608b1 Bug 1310197 - Fix comment.r=me 2017-04-21 11:43:03 +08:00
Nicholas Nethercote
d83ce90018 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.

--HG--
extra : rebase_source : 46f6eeed3c17086b0b6c35b26f3c9e4841dd6cff
2017-04-21 09:38:39 +10:00
Masayuki Nakano
d457e48592 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

--HG--
extra : rebase_source : 8282fe7aa2f4d405f2576f05d46b60b044223855
2017-04-19 21:57:58 +09:00
Masayuki Nakano
3d8bbc6723 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

--HG--
extra : rebase_source : fce7a73683a2d4811070453629ef48d3ad15c8c8
2017-04-20 20:17:03 +09:00
Masayuki Nakano
7b52d07cd2 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

--HG--
extra : rebase_source : 6086e0293343632df43087c767ad00521e764476
2017-04-13 14:32:12 +09:00
Masayuki Nakano
0789f7b595 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

--HG--
extra : rebase_source : d2634ada6c33dbf7a966fadb68608411ee24bfab
2017-04-15 01:35:58 +09:00
Cameron McCormack
14afe3c7a2 Bug 1257451 - Make |mach run| use --debugger-args instead of --debugparams, like the mochitest/reftest commands do. r=gps
MozReview-Commit-ID: ChB9KjNKbHO

--HG--
extra : rebase_source : 223097b1bef76fc5134d15af8cf68ed5e57fe961
2017-04-21 13:17:31 +10:00
Johan Lorenzo
41ccab60f4 Bug 1355018 - Make post-release steps use the unified repo r=rail
MozReview-Commit-ID: GtfoY8RVE2n

--HG--
extra : rebase_source : a40783a5b685e4d51292fceafb5d5335c66b6479
2017-04-12 14:34:58 +02:00
Carsten "Tomcat" Book
fbe8a116c7 Backed out changeset 125045e56532 (bug 1356957) for frequent failures in browser_net_security-error.js 2017-04-21 15:25:48 +02:00
Carsten "Tomcat" Book
b08d8d8287 Backed out changeset f6a1f5acfd58 (bug 1356957) 2017-04-21 15:25:22 +02:00
Frederik Braun
777b70a929 Bug 1358050: Add no-implied-eval rule to eslint config r=standard8
MozReview-Commit-ID: KdmpXq2rg1q

--HG--
extra : rebase_source : fc89233a590604e1035be4aebfee9cda894ee07e
2017-04-20 10:33:22 +02:00
nchevobbe
5f3be63ea2 Bug 1358103 - Remove createFactory call on Reps; r=jdescottes
The new Reps bundle from Bug 1357341 is all about functions now,
so we should remove all unnecessary `createFactory` calls
we used to do when creating Reps.

MozReview-Commit-ID: 4KvCThhwphv

--HG--
extra : rebase_source : ade723dbdb78752e5535f18b20370b6c46a54c48
2017-04-21 08:50:24 +02:00
Gijs Kruitbosch
47096fa08c Bug 1352664 - temporarily increase threshold for per-compartment timing checks to avoid intermittent orange, r=Yoric
This is a temporary workaround to avoid the intermittent orange. We still need to track down what the
underlying cause of the difference in timings between compartments and processes really is.

MozReview-Commit-ID: GmT67UDuTqN

--HG--
extra : rebase_source : 6de502e791829a11fe15c837e9dc42c649e57a90
2017-04-19 14:14:28 +01:00
JW Wang
bbfc0ddbdc Bug 1358401. P4 - reject the promise with an error string in UpdateSessionFunc(). r=gerald
MozReview-Commit-ID: 2bFb9NBQPxk

--HG--
extra : rebase_source : 63954ce39889fcd9b5eba6a36907c6e88493b870
2017-04-21 15:35:41 +08:00
JW Wang
6ba104e8e5 Bug 1358401. P3 - reject the promise in LoadTest() when AppendTrack() fails. r=gerald
MozReview-Commit-ID: 2TijR5hwyLH

--HG--
extra : rebase_source : 1e162f7544a32d9543c45330d4b48884d96b37c7
extra : intermediate-source : 570e3e387db034bd9bbb782590112ce975338bf0
extra : source : 7fb31935f05579bb3b29640845284c1b32cc7e51
2017-04-19 15:30:32 +08:00
JW Wang
5e8497b518 Bug 1358401. P2 - use the 'once' handler to remove the |firstOpen| check. r=gerald
MozReview-Commit-ID: Ezp0dM1VXco

--HG--
extra : rebase_source : c2057a95ee851f6f6ea56799c5cda4d4f13c48b0
extra : intermediate-source : 1292faea67b556651ee2c4c43ec30eed61f8078f
extra : source : 9d0e54ec0097de7f394095fb61401cfc5ce543b8
2017-04-19 15:19:33 +08:00
JW Wang
fb2674118c Bug 1358401. P1 - reject the promise when failing to fetch the buffer. r=gerald
MozReview-Commit-ID: 2ANLUx8JuFe

--HG--
extra : rebase_source : 4b003cc9149ef51987d8f4561acf709e67047ac9
extra : intermediate-source : 0b2640fad8cd7f86f636d0d75699faf381959a12
extra : source : 1dfca1cd8866065ed403d54c01234bd162addec0
2017-04-19 15:16:47 +08:00
Marco Bonardo
d2aa5ab8d8 Bug 1321533 - places/tests/unit/test_telemetry.js assumes the decay time must be positive. r=standard8
The decay time in optimize builds could be very small, and due to timers resolution it could
end up being 0.

MozReview-Commit-ID: 3F8sm5Fmuri

--HG--
extra : rebase_source : 70a4490f50e86cd98b4f8dba632d06408c96827a
2017-04-21 12:13:07 +02:00
Marco Bonardo
1008d57a02 Bug 1358368 - Ensure we read values from a current db snapshot in places/tests/favicons/test_root_icons.js. r=standard8
MozReview-Commit-ID: CQfLhymN0Fz

--HG--
extra : rebase_source : a7559df0a6c5432c3ed0329e2411dc41f6942498
2017-04-21 12:18:16 +02:00
Hiroyuki Ikezoe
adec09cc12 servo: Merge #16557 - Servo does not need to support -moz-keyframes (from hiikezoe:dont-support-moz-keyframes); r=SimonSapin
<!-- Please describe your changes on the following line: -->
In #16553 I did innocently add a support for @-moz-keyframes but as @SimonSapin pointed out, servo does not need to support -moz prefix one.
Whereas, I think servo should support @-webkit-keyframes since it is described in web
compatibility [1].

[1] https://compat.spec.whatwg.org/#css-at-rules

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: f51170a2a10691a1ad0b5da1b0c6e14e5186b8ba

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d1cbd51dd242d96a22182e202488374b286a6bb4
2017-04-21 05:14:50 -05:00
Rajesh Kathiriya
df4186eac4 Bug 1354513 - Removed duplicate ESLint recommended rules in formautofill r=standard8
MozReview-Commit-ID: EI7C0nnfqUl

--HG--
extra : rebase_source : 75a7a658e2b493e13449071d492b6f880fc7b00c
2017-04-18 00:24:38 +05:30
Carsten "Tomcat" Book
7eb0555001 Merge mozilla-central to autoland 2017-04-21 12:12:08 +02:00
Andreas Tolfsen
eb5eb56f83 Bug 1356229 - Prevent non-loopback connections in Marionette; r=whimboo
This patch removes the Marionette server's ability to accept non-loopback
connections completely.  The configuration option for this, the
marionette.forcelocal preference, was removed in the previous patch in
this changeset.

MozReview-Commit-ID: 3XXYpTDGs8S

--HG--
extra : rebase_source : a5ffaab36734afe1ca663453b21e5fd6f90ac970
2017-04-19 15:10:28 +01:00
Andreas Tolfsen
917c3b22c0 Bug 1356229 - Remove marionette.forcelocal preference; r=whimboo
marionette.forcelocal was historically used to connect free-standing B2G
devices over real networks, such as wi-fi, to Marionette.  Since we do
not have this use case anymore and Android uses adb and port forwarding,
this removes the marionette.forcelocal preference to reduce the attack
surface for Marionette.

MozReview-Commit-ID: KgqUrilpwMM

--HG--
extra : rebase_source : 43cbb0e3928f3c2a383d66ec30873953a45beda5
2017-04-13 14:19:38 +01:00
Marco Bonardo
081dbfb251 Bug 1354681 - Intermittent timeout in browser_ext_omnibox.js. r=mattw
MozReview-Commit-ID: 5gc6IvkMfXt

--HG--
extra : rebase_source : c9ed9e5a1d32d38a0c2dcaf1c81531692f5d8dfc
2017-04-10 12:18:28 +02:00
Fred Lin
974a38245b Bug 1356957 - combine double updateRequest call while receive event in _onNetworkEventUpdate;r=rickychien
MozReview-Commit-ID: 7cyDQT6Rz6O

--HG--
extra : rebase_source : bd5a7f0f7e42f3605401c6215a9d4984698b083b
2017-04-20 16:48:40 +08:00
Fred Lin
add25c1f8e Bug 1356957 - call updateRequest once when update request in netmonitor-controller;r=rickychien
MozReview-Commit-ID: J6lLXNlnJnM

--HG--
extra : rebase_source : 5bf947e4bf55e6fba1ec12713944515390dd644f
2017-04-17 14:21:59 +08:00
Thomas Nguyen
ae9e3b7638 Bug 1353853 - Cache preferences when doing channel classify r=francois
We will cache all preferences which will be read during classifing channel
- Store them into static variables nsUrlClassifierDBService
- Use a singleton class to manage/update preferrences in nsChannelClassifier

MozReview-Commit-ID: GvyBI3rVpYh

--HG--
extra : rebase_source : 0cec0724bd47f55c7b1666e700d172698a708efb
2017-04-18 17:00:27 +08:00
Alexandre Poirot
d65a3a1316 Bug 1348761 - Fix object inspection performances against objects with large Typed Arrays. r=bgrins
MozReview-Commit-ID: 8QGo2b3pYoL

--HG--
extra : rebase_source : 27b681a4d8957f58801f1e97e8bfed8a50d1e019
2017-04-20 19:32:13 +02:00
Johan Lorenzo
9c31aee295 Bug 1354038 - [push-apk] taskgraph: Use rollout and deactivate dry-run on release r=aki
MozReview-Commit-ID: 4Rc0Qd5ZI4Z

--HG--
extra : rebase_source : 1555ddae7ab9ed5292725bd552d9086c38981853
2017-04-20 18:21:52 +02:00
Mark Banner
ec019988a1 Bug 1348097 - Fix intermittent failures caused by Experiments.jsm by ensuring the preference monitoring is in sync. r=gfritzsche
Change the ExperimentsService to get the current value of the preferences (since it only uses them once or twice), so that they match the values in Experiments, and avoid differences causing promises to be rejected in the updateManifest call.
Also fix Experiments to correctly re-enable itself when toolkit.telemetry.enabled is changed from false to true (also fixes bug 1232648).
Finally, add a catch for a promise when calling updateManifest so that we don't get an uncaught promise exception.

MozReview-Commit-ID: GD6gfcRSgbx

--HG--
extra : rebase_source : a5045275c2f864b75443c2cb8fc531ea0e84a704
2017-04-19 12:06:16 +01:00