Commit Graph

583652 Commits

Author SHA1 Message Date
Victor
f9291f89f9 Bug 1441523 - Remove the first declaration of "start" and set it in each condition r=erahm
--HG--
extra : amend_source : b298e1cb8898275c2af7f05fb583b0b345d0158b
2018-02-27 14:37:19 +01:00
Blake Kaplan
eadd91cbee Bug 1404297 - Change the way we iterate over our links to update. r=smaug
MozReview-Commit-ID: BTADrB9itjh

--HG--
extra : rebase_source : 4884a91ec9fc64107c3406d3199fe05857210997
2018-03-01 11:26:54 -08:00
Blake Kaplan
32db9fed96 Bug 1404297 - Add a move constructor to SegmentedVector. r=smaug
Given that we have a SegmentedVector of nsCOMPtrs, it's probably worth
avoiding copying it.

MozReview-Commit-ID: GHyfVLrdnlQ

--HG--
extra : rebase_source : 75df805d8b2df32b76ee77b95ced625f20331744
2018-03-01 11:26:54 -08:00
Sebastian Hengst
405622e7b5 Bug 1440938 - Fall back to cairo's glyph metrics API if FreeType fails in some way, or if we're not using a variation font: Add back annotations for failing Android reftests. r=test-fix CLOSED TREE
--HG--
extra : amend_source : 31148a09ffdc5ba2dac05877d821991155ff59a7
2018-03-01 21:41:25 +02:00
Sebastian Hengst
226c2ef8a3 Backed out 3 changesets (bug 1432846) for build bustage on Windows at dom/serviceworkers/ServiceWorkerRegistrationImpl.cpp:301. CLOSED TREE
Backed out changeset 5e3b28d03b34 (bug 1432846)
Backed out changeset a2ae02b5fe72 (bug 1432846)
Backed out changeset a92cc56bbaa4 (bug 1432846)
2018-03-01 21:34:05 +02:00
Dorel Luca
4afd7c8460 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-03-01 20:53:07 +02:00
Sebastian Hengst
118e03a936 merge mozilla-central to mozilla-inbound 2018-03-01 20:32:20 +02:00
Steve Fink
eba2944a35 Bug 903519 - Switch to --nursery-strings=on/off for less fuzzing churn, r=jonco
--HG--
extra : rebase_source : 8ee1d57e314e9ee02ef27f724d23c5611690daae
2018-03-01 09:24:44 -08:00
Paul Adenot
a452702398 Bug 1441500 - Remove smoothing of the delayTime parameter. r=karlt
Gecko only ever had de-zippering for DelayNode.delayTime. It has been decided in
[0] to remove all de-zippering, for consistency.

[0]: https://github.com/WebAudio/web-audio-api/issues/76#issuecomment-107679878

MozReview-Commit-ID: FK9Erwxth05

--HG--
extra : rebase_source : caccac28456191e68c980b12159ed310ce18e149
2018-02-27 12:59:25 +01:00
Emilio Cobos Álvarez
8a789ce429 Bug 1441613: Properly check for shell destruction instead of just nonsensically assert. r=hiro
GetStyleContext can flush. As such, that flush can kill the pres shell, and the
return value could be null. I have no idea why that code was asserting it didn't
happen, but that assert is completely bogus.

Throw instead, just like GetFontParentStyleContext used to do for Gecko.

MozReview-Commit-ID: 5RxDratKumZ

--HG--
extra : rebase_source : 9ffb1f58888504d92915ecd4254847ae2e3f053b
2018-02-28 11:51:27 +01:00
Bobby Holley
2ba333893c Bug 1441896 - Pass an explicit parent SheetLoadData for child stylesheet loads. r=bz CLOSED TREE
MozReview-Commit-ID: 7XNu42NtITm
2018-02-28 10:09:00 +02:00
Bobby Holley
cfbe8920ca servo: Merge #20146 - Stylo: Pass an explicit parent SheetLoadData for child stylesheet loads (from bholley:explicit_load_data); r=bholley
https://bugzilla.mozilla.org/show_bug.cgi?id=1441896

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 10643d7df19b8b97d27a5081dec6816b120afa1a
2018-02-28 11:32:00 -05:00
Emilio Cobos Álvarez
1319d160ae servo: Merge #20138 - style: Only expose longhands to rust via iterators (from emilio:longhand-iterator); r=nox
The key here is that we only filter longhands if the shorthand is accessible to
content and vice-versa. This prevents the bug that prevented me to land this
patch before, which was us not expanding properly chrome-only shorthands.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2afb50b62cab334fcec0cdcccd793abca8fdb3ec
2018-02-28 06:28:41 -05:00
Anthony Ramine
55dc564b31 servo: Merge #20141 - Replace ColorOrAuto by CaretColor (from servo:rm-color-or-auto); r=emilio
This is its only use.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8471011e6b6bd72db68ec9ae21df58ab09f2f6d8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4407223da1f18648537ad75a602434999ce3ee2f
2018-02-28 05:37:18 -05:00
Dão Gottwald
de08cb1cdb Bug 1441788 - Expose Reader View shortcut in the address bar button's tooltip. r=mikedeboer
MozReview-Commit-ID: 88p5xYUrefQ

--HG--
extra : rebase_source : 5c7d4e8067e6c570d6c04fd9758febb098768be2
2018-02-28 11:45:54 +01:00
Dão Gottwald
c14f04ff1c Bug 1440877 - Remove mistyped --toolbar-gbimage variable. r=jaws
MozReview-Commit-ID: ARVa7hCHddX

--HG--
extra : rebase_source : 8b72010b40f6e7acbe0cabef42772e6f1d0f306c
2018-02-28 12:23:53 +01:00
Alex Chronopoulos
599f535864 Bug 1410456 - Add new files in update.sh script. r=padenot
MozReview-Commit-ID: 5Nmdd8WOlJc

--HG--
extra : rebase_source : 766debbed1e6c64ef66c6f21a0b3f675fca3abe9
2018-02-27 13:37:49 +02:00
Alex Chronopoulos
21a1f8e51b Bug 1410456 - Keep the old mechanism for the older versions that jni method is not available. r=padenot
MozReview-Commit-ID: 3jXf3wuXqZu

--HG--
extra : rebase_source : 6b81a313f12c74810e969c9195fcc8113d5bdf89
2018-02-27 13:37:37 +02:00
Andrew Sutherland
cac42cb9b5 Bug 1422327 - Clean up storage::Connection::Release. r=mak
Because of the storage::Service's connection list, it's possible for the
refcount for a non-main-thread Connection to experience transient increases
and decreases at any time, dooming logic in Release() that assumes the
refcount isn't changing.

This patch adopts use of an Atomic<bool> so that we execute cleanup logic
exactly once when the refcount falls to 1 at some point.  Care is taken to
ensure that the failsafe Close() occurs on the correct thread.

SpinningSynchronousClose() is still dangerous and can still potentially
nest deeply on the stack.  If we see instances of that in the future, we
may want to adopt use of PushEventQueue so that we can avoid re-entrancy
in our event loop spinning.

MozReview-Commit-ID: A835HBec50H

--HG--
extra : rebase_source : af2f63e8f050b7a0275e39f73e59133958e29f19
2018-02-25 23:50:42 -05:00
Jean-Yves Avenard
34fde36f9e Bug 1437003 - Allow H264 level up to 5.2 inclusive. r=padenot
MozReview-Commit-ID: KiwVH9BUGrV

--HG--
extra : rebase_source : 05fa8f99c4b2949c16918f7b981ae11f5877a3fc
2018-03-01 09:38:45 +01:00
Michael Ratcliffe
d8b83a67d1 Bug 1437845 - Enable browser_console_dead_objects.js in new frontend r=bgrins
Now works in both non-E10S and E10S modes.

MozReview-Commit-ID: 1W3d7XcZzfc

--HG--
extra : rebase_source : aa2d385c7c7820b7030675256a700af49533f64b
2018-03-01 13:31:58 +00:00
Marco Bonardo
a9ae935367 Bug 1439315 - eslint followup. r=mak 2018-03-01 17:01:21 +01:00
Bryce Van Dyk
18af97a234 Bug 1432195 - Accept Mp3 streams with only 2 frames if both are valid. r=JanH
MozReview-Commit-ID: Gl5mgNuzZTt

--HG--
extra : rebase_source : 5668bbde8265887f7b2e4ed40c18cf41334c38ed
2018-02-26 19:07:46 -05:00
Josh Matthews
173e864112 servo: Merge #20153 - Update glutin, skia, and azure (from jdm:glutinup); r=SimonSapin
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19901

Source-Repo: https://github.com/servo/servo
Source-Revision: 23e95906347c4b6d0d1ccd1ce12ff5206c349a9a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 806d322a34be21e05a94e6a7cadbfb78cb0e8b9d
2018-03-01 10:20:05 -05:00
Masatoshi Kimura
b1b043af08 Bug 1442266 - Stop including unnecessary <iostream>. r=froydnj
MozReview-Commit-ID: B0JDqyBanFE

--HG--
extra : rebase_source : dec1e2678083e3fb2b9a6b89322d1fa747ed6d4a
2018-03-01 23:07:56 +09:00
Mike Conley
1b65e844ad Bug 1442020 - Ensure neither style nor layout flushes are required when running promiseDocumentFlushed callbacks. r=bz
MozReview-Commit-ID: INGpltVvNmZ

--HG--
extra : rebase_source : 2f67f7c28211d0b78cd906c4b6e8da8eda7430f3
2018-02-28 16:15:51 -05:00
Marco Bonardo
b8f68ba5dd Bug 1439315 - 9 - Remove no more necessary placesOverlayModules. r=standard8
MozReview-Commit-ID: Fa7b0qf4mix

--HG--
extra : rebase_source : d6b8ca13e7e9487ea7d8b47b00ab0b00aad69e7a
2018-03-01 14:36:30 +01:00
Marco Bonardo
e9b3ac1755 Bug 1439315 - 8 - Remove some dangling NetUtil usage. r=standard8
MozReview-Commit-ID: A8WcjKkFhVA

--HG--
extra : rebase_source : a4acea017a24de112b1c3bef6ba16d3e0a837a6e
2018-02-28 15:20:05 +01:00
Marco Bonardo
57a6a679d0 Bug 1439315 - 7 - Don't import PlacesUtils on PlacesUIUtils import. r=standard8
MozReview-Commit-ID: 9xSkXWkSMBU

--HG--
extra : rebase_source : f3b8493ad943cf2a58be8e2c76d5c73c0d59132e
2018-02-28 15:10:45 +01:00
Marco Bonardo
039ea5e750 Bug 1439315 - 6 - Move some utils into PlacesController or PlacesUIUtils. r=standard8
MozReview-Commit-ID: D7J6hY7Akro

--HG--
extra : rebase_source : 9e9f885db98c72a857c941b2eb6b8a294d1b570e
2018-02-28 13:51:28 +01:00
Marco Bonardo
66361b299d Bug 1439315 - 5 - defineLazyScriptGetter controller.js. r=standard8
MozReview-Commit-ID: 4Kq3XvJNNGB

--HG--
extra : rebase_source : a72bbdee84965d716b14d5ddbb020579cdc83f8c
2018-02-28 12:31:37 +01:00
Marco Bonardo
f1d5ac420b Bug 1439315 - 4 - Make ESLint happy. r=standard8
MozReview-Commit-ID: I4Hz0V9UGvI

--HG--
extra : rebase_source : a78d1513e46f85375e4e75377550940d40c25b70
2018-02-28 15:27:04 +01:00
Marco Bonardo
19f9286fc5 Bug 1439315 - 3 - Don't use NetUtil.newURI. r=standard8
MozReview-Commit-ID: 58jYURt7EWF

--HG--
extra : rebase_source : e215b0a8890b3dc2169d82fbf63ba2fba4e65b4f
2018-02-28 12:28:54 +01:00
Marco Bonardo
a49f4669c5 Bug 1439315 - 2 - Move command utils to PlacesUIUtils. r=standard8
MozReview-Commit-ID: 6hN9LxVQunX

--HG--
extra : rebase_source : 7dacee00aecf5cfb00a6977a88ecea5334958022
2018-02-28 12:27:21 +01:00
Marco Bonardo
388f9e4090 Bug 1439315 - 1 - rename InsertionPoint to PlacesInsertionPoint. r=standard8
MozReview-Commit-ID: 1NfkueEUPXC

--HG--
extra : rebase_source : 9e3e6f58742a0900fdd73e6c5ed5089f7d01da63
2018-02-28 12:10:12 +01:00
Andreas Tolfsen
f7f73b417a Bug 1441226 - Rename NoAlertOpenError to NoSuchAlertError. r=whimboo
To match the WebDriver specification error code names, this patch
renames the NoAlertOpenError type to NoSuchAlertError.

Its string error code (the status property) is still correct.

MozReview-Commit-ID: DhWz1tn6DsT

--HG--
extra : rebase_source : dd45387a5869a8df53f20baafe1c683c3af32b25
2018-02-26 17:35:30 +00:00
Mark Banner
4751b02fec Bug 1441969 - Switch browser_library_commands to use Assert.* rather than the simple methods. r=mak
MozReview-Commit-ID: Ggd4Kzmnglx

--HG--
extra : rebase_source : 1d0c2ba5e9576855c8e84ff121112dab82fd94ab
2018-02-27 21:24:41 +00:00
Csoregi Natalia
9553fd18e1 Backed out changeset fbe5a80f2f5b (bug 1441226) for linting Doc failures. CLOSED TREE 2018-03-01 16:55:25 +02:00
Kevin Brosnan
a7f87eaf46 Kevin Brosnan - Bug 1441579 - Install ncurses-compat-libs for Fedora as part of mach bootstrap r=nalexander
MozReview-Commit-ID: 6TsufMMzjIc

--HG--
extra : rebase_source : 569d4f50184cc2134e0b12b65abb99ad5fd4391f
2018-02-28 08:23:39 -08:00
Anthony Ramine
3c52dc749b servo: Merge #20145 - Kill RUSTC_HAS_PR45225 🎉 (from servo:rm-rustc-hack); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 30f33eba9665f5ffdc0648515db7cede68778202

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f5b8fc439def43ace755a8e48d6387f2e12d7460
2018-03-01 08:49:03 -05:00
Dão Gottwald
bb2196e329 Bug 1437564 - Stop setting a text color for checked toolbarbuttons on Windows since the native background is mostly transparent and the color should be inherited. r=johannh
MozReview-Commit-ID: Hgp8DhBrkGU

--HG--
extra : rebase_source : 0e42530fd3c7071541e5ec1a7f7496d1fbf823bb
2018-03-01 12:50:56 +01:00
Tom Ritter
13b982d13e Bug 1439657 Remove Time Precision Reduction from Console Timestamps r=baku
We currently reduce the precision of timestamps emitted by console.time
in the main context, but not in a Worker. Because web page content cannot
read the content of messages emitted to the console (right?), we don't
actually need to reduce the precision of this data.

MozReview-Commit-ID: EfpIEICy0tX

--HG--
extra : rebase_source : 9516943b11dd7d4ccbcf38a80a981a6fb4662c40
2018-02-28 15:20:16 -06:00
Andreas Tolfsen
e7f05a5bd0 Bug 1426082 - Enable test_transport.py. r=whimboo
MozReview-Commit-ID: LIhRX6uoJFh

--HG--
extra : rebase_source : 0761a0df5f30bf2de5ba05f6b8b5e3574099845d
2018-02-26 20:09:28 +00:00
Andreas Tolfsen
ac2756c68e Bug 1426082 - Remove superfluous transport tests. r=whimboo
This drops the tests for Marionette protocol level 2.  Protocol levels
below 2 were removed some time ago:

	https://bugzilla.mozilla.org/show_bug.cgi?id=1409030

MozReview-Commit-ID: GsrdeldnoNH

--HG--
extra : rebase_source : 522d7a9c71545693ca2b662d0a6c715df0f2cd24
2018-02-26 20:07:59 +00:00
Andreas Tolfsen
3a1b1e0078 Bug 1441226 - Rename NoAlertOpenError to NoSuchAlertError. r=whimboo
To match the WebDriver specification error code names, this patch
renames the NoAlertOpenError type to NoSuchAlertError.

Its string error code (the status property) is still correct.

MozReview-Commit-ID: DhWz1tn6DsT

--HG--
extra : rebase_source : b3da69e566f190c1a016dad7fccf655966779ab1
2018-02-26 17:35:30 +00:00
Andreas Tolfsen
4cae9e9df2 Bug 1428795 - Reset Marionette state when initialisation fails. r=automatedtester
If Marionette throws inside try...catch block that spawns the TCP
listener, we fail to reset the altered recommended preferences to
their original state, leaving a possibility of tainting the profile.
By calling the uninitialisation code when an error is thrown we
ensure all relevant state gets reset.

MozReview-Commit-ID: XiiIEFMZQY

--HG--
extra : rebase_source : 1a38e446931c916af7f37ffc928683df47f0bba4
2018-02-26 20:37:58 +00:00
Andreas Tolfsen
1d2ab66b43 Bug 1428795 - Uninitalise Marionette on xpcom-will-shutdown. r=automatedtester
Marionette was previously uninitialised when xpcom-shutdown fired.
This may be too late to reset preferences and other state related
to the browser.

This patch moves Marionette to run uninitialisation code on
xpcom-will-shutdown.

MozReview-Commit-ID: 3ytX2k2rrOp

--HG--
extra : rebase_source : 6b9918515b48b2d1166cc985c5d5aeeb82937db0
2018-02-26 20:36:29 +00:00
Andreas Tolfsen
00a171e75d Bug 1428795 - Set MOZ_MARIONETTE in component. r=automatedtester
Setting the MOZ_MARIONETTE environment variable is not a task that
naturally belongs to the TCP listener.  This patch moves it to the
Marionette XPCOM component.

MozReview-Commit-ID: 7896Sv91wFy

--HG--
extra : rebase_source : a43335d289c2568f60be3ecc5a9491b2bee27fe9
2018-02-26 20:34:54 +00:00
Andreas Tolfsen
9a121d83f5 Bug 1428795 - Move recommended prefs to component. r=automatedtester
Setting the recommended preferences is not a task specific to the
TCP listener.  It makes more sense to set these in the Marionette
XPCOM component where we manage the Marionette lifetime.

MozReview-Commit-ID: G2RuLhKnX9X

--HG--
extra : rebase_source : 7b3651a682bf86ffe6435dfc35bfce980601aedb
2018-02-26 20:31:19 +00:00
Nicolas Chevobbe
8ea55ce28a Bug 1382606 - Switch webconsole to new event-emitter; r=Honza.
MozReview-Commit-ID: HBogPeOI7WM

--HG--
extra : rebase_source : 4ad1fb922ffc818d175ae3c09820ce31ba416487
2018-02-23 09:10:36 +01:00