Commit Graph

610835 Commits

Author SHA1 Message Date
David Keeler
1cd81e4c5a bug 1485087 - remove the option to use the TLS session cache from nsITLSServerSocket r=jryans,mayhemer
As initially implemented, nsITLSServerSocket by default enabled the use of the
TLS session cache provided by NSS. However, no consumers of nsITLSServerSocket
actually used it. Because it was an option, though, PSM had to jump through some
hoops to a) make it work in the first place and b) not have NSS panic on
shutdown. Furthermore, it meant increased memory usage for every user of Firefox
(and again, nothing actually used the feature, so this was for naught).

In bug 1479918, we discovered that if PSM shut down before Necko, NSS could
attempt to acquire a lock on the session cache that had been deleted, causing a
shutdown hang. We probably should make it less easy to make this mistake in NSS,
but in the meantime bug 1479918 needs uplifting and this workaround is the
safest, most straight-forward way to achieve this.

Differential Revision: https://phabricator.services.mozilla.com/D3919

--HG--
extra : moz-landing-system : lando
2018-08-24 16:00:34 +00:00
Henri Sivonen
b1e7ee63f3 Bug 1485945 - Set the length instead of capacity of an address string to avoid writing past its logical length. r=valentin
MozReview-Commit-ID: 5anNIW843JJ

Differential Revision: https://phabricator.services.mozilla.com/D4201

--HG--
extra : moz-landing-system : lando
2018-08-24 14:05:13 +00:00
Timothy Guan-tin Chien
80558b2dbc Bug 1484544 - Allow focusable element to function on top level video element r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D4169

--HG--
extra : moz-landing-system : lando
2018-08-24 17:37:15 +00:00
Emilio Cobos Álvarez
a86422ddfc Bug 1419939 - Add an env var to precache shaders. r=kvark
I made the variable name up, since I didn't see another similar thing.
Let me know if I should change it.

Differential Revision: https://phabricator.services.mozilla.com/D4239

--HG--
extra : moz-landing-system : lando
2018-08-24 16:54:18 +00:00
Francois Marier
cd457cfc82 Bug 1485180 - Instrument invalid download protection hashes. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D3941

--HG--
extra : moz-landing-system : lando
2018-08-24 09:50:16 +00:00
Gijs Kruitbosch
300dbd787f Bug 1485577 - Pass triggeringPrincipal into openDialog for window opening code. r=jkt,Standard8 on a CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D4095

--HG--
extra : source : f83d8d85c94f2d1cab19085ec1662808def93fe9
extra : amend_source : 3a291878cce0ab7b780921f55cb613b14aebd189
2018-08-24 16:20:36 +00:00
Andreea Pavel
7027d36dc6 Backed out changeset 17ffad06d94f (bug 1484030) for failing bc at browser/base/content/test/performance/browser_tabopen.js on a CLOSED TREE 2018-08-24 22:13:01 +03:00
Andreea Pavel
663c6bc5c5 Backed out changeset f83d8d85c94f (bug 1485577) for failing bc at browser/base/content/test/performance/browser_tabopen.js on a CLOSED TREE 2018-08-24 21:44:38 +03:00
Andreea Pavel
73467d18e1 Backed out changeset 1dc785e713d9 (bug 1485536) for assertion failure at z:/build/build/src/dom/media/mediasink/VideoSink.cpp on a CLOSED TREE 2018-08-24 21:10:59 +03:00
Andreea Pavel
e7678f51b5 Backed out 2 changesets (bug 1479270) for android lint on a CLOSED TREE
Backed out changeset 1676f895a710 (bug 1479270)
Backed out changeset 643ef11ea720 (bug 1479270)
2018-08-24 20:16:14 +03:00
Gijs Kruitbosch
7de2b99549 Bug 1485577 - Pass triggeringPrincipal into openDialog for window opening code. r=jkt,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D4095

--HG--
extra : moz-landing-system : lando
2018-08-24 16:20:36 +00:00
Gijs Kruitbosch
1dc1b8da53 Bug 1453723 - ensure we wait for the correct load, r=bgrins
Waiting for the browser to have switched remoteness before waiting for
it to load the non-about:preferences page should be enough to address this orange.

Differential Revision: https://phabricator.services.mozilla.com/D4208

--HG--
extra : moz-landing-system : lando
2018-08-24 16:30:11 +00:00
ahillier
db1d979c2f Bug 1484030 - Implement chiclet animation for CFR r=Gijs,k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D3804

--HG--
extra : moz-landing-system : lando
2018-08-24 16:35:48 +00:00
Andrew Halberstadt
321a8788f2 Bug 1484790 - [fetches] Overwrite without prompting when unzipping an artifact with fetch-content, r=gps
This also moves the call to 'fetch_artifacts' in run-task down inside the
try/finally block. This way if something goes wrong, we'll still cleanup
MOZ_FETCHES_DIR.

Differential Revision: https://phabricator.services.mozilla.com/D4152

--HG--
extra : moz-landing-system : lando
2018-08-24 16:04:59 +00:00
alwu
a9a7cfd9fa Bug 1479270 - part2 : remove HLS video player. r=snorp
Since we have native HLS support in 59 [1], we can remove those codes which is used to play HLS.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1345752

Differential Revision: https://phabricator.services.mozilla.com/D4166

--HG--
extra : moz-landing-system : lando
2018-08-24 14:52:00 +00:00
alwu
45070f69f2 Bug 1479270 - part1 : remove external player support in media element. r=jya
Since we have native HLS support in 59 [1], we don't need those code anymore.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1345752

Differential Revision: https://phabricator.services.mozilla.com/D4165

--HG--
extra : moz-landing-system : lando
2018-08-23 22:45:46 +00:00
Jennifer Wilde
501f7d4d81 Bug 1482972 - convert uses of "defer" to "new Promise" in shared/transport/; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D4216

--HG--
extra : moz-landing-system : lando
2018-08-24 14:29:40 +00:00
Chris Manchester
df7ed3aa22 Bug 1485168 - Provide a tier for the "tup" portion of the build to prevent confusion. r=gps,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D3927

--HG--
extra : moz-landing-system : lando
2018-08-24 16:12:31 +00:00
Tom Prince
695b12f9f2 No bug: Add a default retry setting for mach artifact toolchain; r=gps
Differential Revision: https://phabricator.services.mozilla.com/D4039

--HG--
extra : moz-landing-system : lando
2018-08-24 16:04:22 +00:00
Daniel Stenberg
7786d290c0 bug 1485956 - make DNS cache lookups respect DISABLE_TRR r=valentin
So that explicitly disabling TRR for specific resolves won't end up just
using the cached entry resolved with TRR!

MozReview-Commit-ID: HZ4AyKOMpet

Differential Revision: https://phabricator.services.mozilla.com/D4215

--HG--
extra : moz-landing-system : lando
2018-08-24 14:09:22 +00:00
Jean-Yves Avenard
3b4c682a62 Bug 1485536 - Don't account frames dropped by the compositor as presented. r=bryce
We rename a method in FrameStatistics to better match what it's actually doing.

Differential Revision: https://phabricator.services.mozilla.com/D4213

--HG--
extra : moz-landing-system : lando
2018-08-24 14:26:14 +00:00
Imanol Fernandez
2072f84821 Bug 1482613 - Make WebVR work with multiprocess enabled on Android r=kip,rbarker,kvark
MozReview-Commit-ID: G9aHbp0G7DK

Differential Revision: https://phabricator.services.mozilla.com/D3152

--HG--
extra : moz-landing-system : lando
2018-08-24 15:32:12 +00:00
Margareta Eliza Balazs
9b4034d1f9 Backed out changeset 69faa23050d9 (bug 1412179) for landing without first patch 2018-08-24 18:32:02 +03:00
Mark Banner
0d4d59a191 Bug 1387446 - Remove nsIAnnotationService.getAnnotationsWithName. r=lina
Depends on D4062

Differential Revision: https://phabricator.services.mozilla.com/D4063

--HG--
extra : moz-landing-system : lando
2018-08-23 17:12:46 +00:00
Mark Banner
e0a9d4d325 Bug 1387446 - Replace getAnnotationsWithName calls in DownloadHistory with new asynchronous PlacesUtils.history.fetchAnnotatedPages. r=paolo,lina
Depends on D2597

Differential Revision: https://phabricator.services.mozilla.com/D4062

--HG--
extra : moz-landing-system : lando
2018-08-24 14:50:43 +00:00
Alexis Beingessner
99ab5a469f Bug 1412179 - Implement non-empty legends for wr. r=jrmuizel
MozReview-Commit-ID: 1QqgRcSN1K3

Differential Revision: https://phabricator.services.mozilla.com/D4091

--HG--
extra : moz-landing-system : lando
2018-08-24 13:21:28 +00:00
Andi-Bogdan Postelnicu
2238536677 Bug 1483953 - Add a FixIt hint for the ExplicitImplicitChecker analysis. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D4191

--HG--
extra : moz-landing-system : lando
2018-08-24 14:11:26 +00:00
Andrei Oprea
6ac001b7a4 Bug 1482579 - Deprecation warning for search service API from getShortURLForCurrentSearch r=k88hudson
Wait for Search services to initialize before we try to access any properties

Differential Revision: https://phabricator.services.mozilla.com/D4150

--HG--
extra : moz-landing-system : lando
2018-08-24 14:00:34 +00:00
Michael Ratcliffe
82c5b5a499 Bug 1481669 - Fix DEVTOOLS_*_TIME_ACTIVE_SECONDS probes to report in seconds again r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D4211

--HG--
extra : moz-landing-system : lando
2018-08-24 13:30:16 +00:00
Andi-Bogdan Postelnicu
34a6c4ff8f Bug 1466427 - Migrate clang-tidy package from 5.0.1 to 7.0.0-rc2. r=glandium,janx
Differential Revision: https://phabricator.services.mozilla.com/D3980

--HG--
rename : tools/clang-tidy/test/misc-bool-pointer-implicit-conversion.cpp => tools/clang-tidy/test/bugprone-bool-pointer-implicit-conversion.cpp
rename : tools/clang-tidy/test/misc-forward-declaration-namespace.cpp => tools/clang-tidy/test/bugprone-forward-declaration-namespace.cpp
rename : tools/clang-tidy/test/misc-macro-repeated-side-effects.cpp => tools/clang-tidy/test/bugprone-macro-repeated-side-effects.cpp
rename : tools/clang-tidy/test/misc-string-constructor.cpp => tools/clang-tidy/test/bugprone-string-constructor.cpp
rename : tools/clang-tidy/test/misc-string-integer-assignment.cpp => tools/clang-tidy/test/bugprone-string-integer-assignment.cpp
rename : tools/clang-tidy/test/misc-suspicious-missing-comma.cpp => tools/clang-tidy/test/bugprone-suspicious-missing-comma.cpp
rename : tools/clang-tidy/test/misc-swapped-arguments.cpp => tools/clang-tidy/test/bugprone-swapped-arguments.cpp
rename : tools/clang-tidy/test/misc-unused-raii.cpp => tools/clang-tidy/test/bugprone-unused-raii.cpp
extra : moz-landing-system : lando
2018-08-24 12:39:58 +00:00
Thi Huynh
f1b6a1e14b Bug 1432135 - Rename TokenKind::{Lb,Rb,Lc,Rc,Lp,Rp} to their long names. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D3803

--HG--
extra : moz-landing-system : lando
2018-08-21 09:04:55 +00:00
Xidorn Quan
7e1e060971 Bug 1424106 - Accept unknown webkit pseudo-element. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D4186

--HG--
extra : source : 9537cee04b53aa60d3f40a1b9d05ab8f739a92f8
2018-08-24 22:17:37 +10:00
Emilio Cobos Álvarez
1123bc0666 Bug 1485937 - Avoid a useless allocation in wr_dp_define_clipchain. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D4196

--HG--
extra : moz-landing-system : lando
2018-08-24 12:03:23 +00:00
Andi-Bogdan Postelnicu
d25759d92e Bug 1485949 - fix busted build of clang-plugin on MacOS native build. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D4204

--HG--
extra : moz-landing-system : lando
2018-08-24 11:44:38 +00:00
Emilio Cobos Álvarez
385e2369c5 Bug 1485951 - Adjust an assertion to account for the changes from bug 1485930. r=me 2018-08-24 13:44:21 +02:00
Vlad Baicu
44843cf2d7 Bug 1474633 - Check if pager navigation is null before calling it. r=jchen
Check if pager navigation is null before calling it.

Differential Revision: https://phabricator.services.mozilla.com/D4092

--HG--
extra : moz-landing-system : lando
2018-08-23 20:56:01 +00:00
ozoder
50a0e0db96 Bug 1481392 - Close DBus connection after print, r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D3861

--HG--
extra : moz-landing-system : lando
2018-08-24 08:03:54 +00:00
Andrei Lazar
a7c829ed6c Bug 1482836 Remove deprecated Snippets code r=jchen
Removed unused Snippets code since now we're using Leanplum.

Differential Revision: https://phabricator.services.mozilla.com/D3521

--HG--
extra : moz-landing-system : lando
2018-08-16 19:59:15 +00:00
Xidorn Quan
0e1bf45a08 Bug 1484521 - Prepend bullet frame in line layout. r=jfkthame
Bug 1478178 regressed this case because bullet frame is the last frame
added to line layout, rather than the first, so when we try to apply
justification, we end up giving it the accumulated offset of the whole
line.

Bullet frame has to be added after other frames in the line have been
placed, because its presence may depend on whether the line is empty.
However, bullet frame is logically the first frame in a line and
appending it to the end is somewhat counter-intuitive.

Thus, this patch tries to fix the issue via prepending bullet frame in
line layout, so that the order of frames there can be more reliable.

Differential Revision: https://phabricator.services.mozilla.com/D3760

--HG--
extra : moz-landing-system : lando
2018-08-24 10:44:04 +00:00
Tiberius Oros
2ab0108c42 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-24 12:45:50 +03:00
Tiberius Oros
2ee9341d01 Merge inbound to mozilla-central. a=merge 2018-08-24 12:43:45 +03:00
Johann Hofmann
b812e620f1 Bug 1484574 - Update copy for the content blocking section in the identity popup. r=paolo
This updates some copy based on UX and legal requirements as well as add a correct
SUMO URL for the "Learn More" link for breakage reporting.

Differential Revision: https://phabricator.services.mozilla.com/D4172

--HG--
extra : moz-landing-system : lando
2018-08-24 09:26:33 +00:00
Xidorn Quan
2c6a391e1b Bug 1485930 - Make tree pseudo-element prefix not case-sensitive. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D4185

--HG--
extra : moz-landing-system : lando
2018-08-24 09:23:05 +00:00
Masayuki Nakano
2306bb5b40 Bug 1484128 - part 1: Create HTMLEditor::GetFirstSelectedTableCellElement() for internal use of HTMLEditor::GetFirstSelectedCell() r=m_kato
HTMLEditor::GetFirstSelectedCell() is an XPCOM method, but used internally a
lot.  Therefore, we should create a non-virtual method for internal use.

This patch creates HTMLEditor::GetFirstSelectedTableCellElement(), and it
won't return NS_SUCCESS_EDITOR_ELEMENT_NOT_FOUND since nobody needs the
value.  It's enough to check whether the result is nullptr without error for
any callers.

Differential Revision: https://phabricator.services.mozilla.com/D4060

--HG--
extra : moz-landing-system : lando
2018-08-24 08:29:12 +00:00
Masayuki Nakano
42c125ffe6 Bug 1484128 - part 0: Add automated tests for nsITableEditor::GetFirstSelectedCell() r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D4059

--HG--
extra : moz-landing-system : lando
2018-08-24 08:28:06 +00:00
Masayuki Nakano
8799893651 Bug 1485293 - Make test_resizers_resizing_elements.html allow 2px difference of the result r=m_kato
Oddly, on Android, size of resized objects may be 2px different from ideal
value.  I don't know the reason, could be zoom level or something is affected.
However, fortunately, this difference is not important for this test because
this test checks whether resizers actually works with specific elements.
So, even if the result is 2px smaller or bigger than ideal value, we succeeded
to check the resizer makes the element bigger or smaller as expected.

Therefore, this patch makes the test allow 2px differences of the result.

Additionally, on Android, this test is always timed out if TV (even opt build).
So, this patch disables TV on Android.

Differential Revision: https://phabricator.services.mozilla.com/D4058

--HG--
extra : moz-landing-system : lando
2018-08-24 08:13:07 +00:00
Paolo Amadini
33cef824d2 Bug 1484275 - ESLint quick fix, again. r=me 2018-08-24 08:58:06 +01:00
Paolo Amadini
6ea78024ca Bug 1484275 - ESLint quick fix. r=me 2018-08-24 08:39:47 +01:00
Masayuki Nakano
5bf1468b39 Bug 1485369 - part 1: HTMLEditor::HideResizers() should not stop cleaning up even if there is no window r=m_kato
Oddly, on 63 Beta simulation, nsIDocument::GetWindow() may return nullptr
when HTMLEditor is being destroyed by unload of the page.  I'm not sure if
this is an expected change.  However, HTMLEditor::HideResizers() should
not stop cleaning up even if it meets unexpected situation.

Additionally, this patch moves all HTMLEditor members related to resizers
to local variables since while HideResizers() is cleaning up old resizers,
the members may be overwritten by ShowResizers() if mutation event listener
or something does something.

Differential Revision: https://phabricator.services.mozilla.com/D4057

--HG--
extra : moz-landing-system : lando
2018-08-24 06:27:48 +00:00
Lifan Zeng
5eecd79002 Bug 1446923 - Remove Some Old References to Chrome-Metro r=jlund
Differential Revision: https://phabricator.services.mozilla.com/D3223

--HG--
extra : moz-landing-system : lando
2018-08-23 23:24:44 +00:00