Commit Graph

576786 Commits

Author SHA1 Message Date
Gijs Kruitbosch
c9de1798f5 Bug 1426250 - allow EventUtils to dispatch drag/mouse events through the DOM only, r=enndeakin
MozReview-Commit-ID: HmdRdTQ05pm

--HG--
extra : rebase_source : be9642a54e99e6b799a9b839d132f276b6b57b8f
extra : histedit_source : e2e68f6f4caac82848d7f8dd4cb47c30cdeeb082
2018-01-05 21:30:42 +00:00
Jan de Mooij
03f5b1346f Bug 1113014 - Don't emit a branch in LoadDOMPrivate if we know the object kind (native or proxy) statically. r=bz
--HG--
extra : rebase_source : 6648791a98335471d84afbcff73d4801d80e602d
2018-01-12 12:47:19 +01:00
James Graham
3f25c6dfb3 Bug 1430025 - Never pause after test in CI, r=ato
MozReview-Commit-ID: JP57dqYJHBe
2018-01-12 11:45:05 +00:00
Brindusan Cristian
874238697d Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2018-01-12 13:34:20 +02:00
Nicolas Silva
43644aaded Bug 1425453 - Move more WebRender api calls into transactions. r=kats 2018-01-12 12:24:07 +01:00
Nicolas Silva
1595da23b6 Bug 1425453 - Move some WebRender api calls into transactions. r=kats 2018-01-12 12:24:03 +01:00
Nicolas Silva
e9e30c02c6 Bug 1425453 - Bindings for WebRender's transaction API. r=kats 2018-01-12 12:23:59 +01:00
Paolo Amadini
b7e6979a9f Bug 1284391 - Remove ui.allow_platform_file_picker pref on GTK widget. r=karlt
MozReview-Commit-ID: Gdiww1Gbwpk

--HG--
extra : rebase_source : a215c514f75971dc660b0d1f689ec4e8cde826a4
2018-01-11 13:10:28 +00:00
Jon Coppeard
1768b988e8 Bug 1429783 - Reset frozen state in nsIScriptElement::LoseParserInsertedness() r=smaug 2018-01-12 10:36:23 +00:00
Jon Coppeard
c7d4570648 Bug 1428515 - Check for dying JSObjects when accessing plugin wrapper table r=bz
The sNPObjWrappers table can contain entries for dead JSObjects that have not yet been finalised.  We need to take care not to trigger mJSObj's read barrier for such entries since that will attempt to expose the object to JS and cause this assertion.

The patch does this by calling unbarrieredGetPtr() which avoids the barrier.

Note converting a TenuredHeap to bool and testing equality against a pointer don't trigger the barrier.
2018-01-12 10:36:23 +00:00
Emilio Cobos Álvarez
b12fb5d990 Bug 1429088: Crashtest. r=bz
MozReview-Commit-ID: qJQdpdUROs
2018-01-12 11:26:56 +01:00
Adrian Wielgosik
1e20a980f6 Bug 1361815 - Do less work in nsTArray's Clear() and destructor. r=froydnj
MozReview-Commit-ID: DnkE7LFxkF3
2018-01-12 11:26:55 +01:00
Fischer.json
7455cf7705 Bug 1427973 - Should track the origins of openPreferences from mozscreenshots and urlbarBindings.xml, r=jaws
MozReview-Commit-ID: KH0secI5Ab2

--HG--
extra : rebase_source : d25ba76f368952a010bb2460e78aa17ff4079d59
2018-01-04 17:24:40 +08:00
Shounak
7aacf7d50e Bug 1210632 - Move the pointer to (0,0) with the New Measure Tool r=pbro
MozReview-Commit-ID: 7XhSGD1QbiA

--HG--
extra : rebase_source : a06e65205e6bf58bb37c0c46f508148ab1e09c82
2017-12-30 21:41:53 +05:30
Julian Descottes
a4e273006e Bug 1404849 - migrate mochitest for generators autocompletion to xpcshell;r=nchevobbe
MozReview-Commit-ID: 74EaFkIZva7

--HG--
extra : rebase_source : 32dd75785d886134a012bb2bddb38c976441e065
2018-01-10 12:04:12 +01:00
Jamie Nicol
faa4cff770 Bug 1429467 - Take ancestors' scales in to account when choosing scale for animations. r=mattwoodrow
Currently ChooseScaleAndSetTransform calls
ComputeDesiredDisplaySizeForAnimation to ensure that the scale chosen
for an individual transform's animation does not result in a layer too
large. However, it does not take in to account the scale chosen for
ancestors. This means that when lots of containers with reasonable
scales are nested we end up with too large a value. This change takes
the incoming scale in to account, meaning the resulting layer size is
capped appropriately.

MozReview-Commit-ID: MTzlMnOARQ

--HG--
extra : rebase_source : 3637ac0a36d5a583826e5f82c443f06275cc1b51
2018-01-10 13:32:46 +00:00
Alexis Beingessner
ee2b22f00a Bug 1429577 - properly feed in AA setting instead of a random pointer. r=jrmuizel
MozReview-Commit-ID: BVux2XcIbwo

--HG--
extra : rebase_source : d04a9953d5d140e4345327d2887866d6df1d0d05
2018-01-10 17:04:50 -05:00
Tom Ritter
3af00498bc Bug 1429668 Turn off the reduceTimerPrecision pref for one more test r=hiro
MozReview-Commit-ID: J7F502Oz3Uc

--HG--
extra : rebase_source : 6b9883e72fad25d985ba61a999a4bdd2468784b0
2018-01-10 23:06:04 -06:00
bechen@mozilla.com
de1cb40bf5 Bug 1423659 - Remove ftyp and HasMetadata(). r=alfredo
MozReview-Commit-ID: ChscPHrohHb

--HG--
extra : rebase_source : a2f71af48a01b3c1319dafdb3ec338ba52b7778d
2018-01-10 11:42:59 +08:00
Pyfisch
6343bde1af servo: Merge #19716 - Use a ToLayout trait for converting from style to webrender types (from pyfisch:conversions); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 1a4df8f87668d5f5f24f4faeca43fb592a8edfe0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 07094f447f924cc0f0800906665d968ee41e2f90
2018-01-11 03:41:43 -06:00
Sylvestre Ledru
424664ff30 Bug 1278282 - Remove the 'MOZ_WIDGET_GTK == 2' defines r=karlt,lsalzman
MozReview-Commit-ID: 3v8D600g8St

--HG--
extra : rebase_source : 34ea6f9868c1b322076c24daa75dc33e27b6704e
2018-01-10 08:52:04 +01:00
Sylvestre Ledru
4b189b7baf Bug 1278282 - Update of the tests to reflect the removal of the gtk2 r=lsalzman
MozReview-Commit-ID: Htgc44dCEjX

--HG--
extra : rebase_source : 55ce6a6a72c36cbfdbeef08fe58d11f2053dc35f
2018-01-10 08:55:38 +01:00
Masatoshi Kimura
8c8754b21f Bug 1428538 - Use UTF-8 file paths for NSS database. r=keeler 2017-12-28 20:56:33 +09:00
Kai Engert
e1c5635b55 Bug 1420060, restrict export of symbols to Windows, suggested by Masatoshi Kimura, r=kaie 2018-01-11 15:04:17 +01:00
Kai Engert
46f290697e Bug 1420060, export new NSS APIs in Firefox' specific API export list, r=franziskus 2018-01-11 14:42:09 +01:00
Kai Engert
14be89415f Bug 1420060, NSS_3_35_BETA1, r=franziskus
UPGRADE_NSS_RELEASE
2018-01-11 14:09:34 +01:00
Bob Owen
0521695fbd Bug 1426087: Decrement nsDocumentViewer::mDestroyRefCount in a separate function. r=jwatt 2018-01-12 10:17:36 +00:00
Makoto Kato
606547c9c7 Bug 586838 - Add NEON versions of LossyConvertEncoding. r=erahm 2018-01-12 15:46:11 +09:00
Tom Ritter
698508cb3e Bug 1424341 Add tests for Atomic*ReleaseAcquire r=bkelly,njn
MozReview-Commit-ID: HvA2QK4KcHf

--HG--
extra : rebase_source : b1ebe75ed557c98eaaf93d2db43e2289d744d498
2017-12-20 14:49:16 -06:00
Tom Ritter
c4cbaaafe9 Bug 1424341 Add tests for dynamically tuning the timer precision r=bkelly,timhuang
MozReview-Commit-ID: IM52HhGY7y

--HG--
extra : rebase_source : a963e0dab3dd07858c050e501bc7106d90b37931
2018-01-09 15:10:59 -06:00
Sylvestre Ledru
2c6660f219 Bug 1278282 - Ride along Remove some trailing whitespaces r=lsalzman
MozReview-Commit-ID: 8W6VKIW8PQV

--HG--
extra : rebase_source : 23b5c300dd4bebe2b8808bdb03373073aab80b9f
2017-12-19 11:38:59 +01:00
Sylvestre Ledru
eabcdd21b2 Bug 1278282 - Replace #if (MOZ_WIDGET_GTK == 3) by #ifdef MOZ_WIDGET_GTK r=lsalzman
MozReview-Commit-ID: Bo0m7n078oh

--HG--
extra : rebase_source : 1874ac3e0abca65b821b5d04a6610a5cbb63fe24
2018-01-09 11:51:07 +01:00
Sylvestre Ledru
f8b1d9ab46 Bug 1278282 - update of the moz.build files to remove gtk2 references r=lsalzman
MozReview-Commit-ID: FO1wEHzOkuN

--HG--
extra : rebase_source : ac7e61cf47d013de882048740c889735a0a7cad8
2018-01-10 10:04:59 +01:00
Tom Ritter
08c7f52dc2 Bug 1424341 Add tests for privacy.reduceTimerPrecision for the performance API r=bkelly,timhuang
This commit also adds a test for secureConnectionStart which was missing, and rewords
the error messages to be more readable when reviewing test failures.

MozReview-Commit-ID: LpkRGe81eq1

--HG--
extra : rebase_source : c2ab870cd6e8e215353d3695b8ba112863826877
2017-12-12 23:58:53 -06:00
Tom Ritter
58c53866d8 Bug 1424341 Round the Performance Timing APIs when privacy.reduceTimerPrecision is set r=bkelly,timhuang
MozReview-Commit-ID: LrAmrIfKk39

--HG--
extra : rebase_source : e9ded5202406abd07465a0b4a9a6122c86a9c072
2018-01-10 15:51:23 -06:00
Tom Ritter
4298990703 Bug 1424341 Add tests for privacy.reduceTimerPrecision that confirm the default timer resolution works r=bkelly,timhuang
MozReview-Commit-ID: 1tGb0kedqSP

--HG--
extra : rebase_source : 2a2c487726b5e6d74c0c74d79dc1f3eb4cd2de43
2017-12-08 15:24:11 -06:00
Tom Ritter
bc92067c8e Bug 1424341 Add privacy.reduceTimerPrecision and privacy.reduceTimerPrecision.microseconds prefs r=bkelly,timhuang
This pref does not override privacy.resistFingerprinting, but when it is set (and
privacy.resistFingerprinting is not) we will still adjust the precision of almost
all timers. The adjustment amount is the second pref, which is defaulted to
20us but now dynamically adjustable (in the scale of microseconds.)

This patch does _not_ address the performance API, which privacy.resistFingerprinting
disables.

We are landing this preffed on at the current value we clamp performance.now() at
which is 20us.

MozReview-Commit-ID: ESZlSvH9w1D

--HG--
extra : rebase_source : a8afead1bdba958c6c7b383b2216dacb3a1b135c
2018-01-09 14:58:34 -06:00
Andrew Halberstadt
14685fa5e9 Bug 1429223 - [lint] Obsolete the eslintvalidate hooks by printing error message with upgrade path, r=standard8
This replaces the eslintvalidate hooks with an error message
prompting the user to upgrade to tools/lint/hooks.py.

The reasons for deprecating eslintvalidate are twofold:

1) It only runs eslint, so developers might miss errors from
other linters.

2) It isn't as well maintained, and I've started to see
reports of problems in the wild. It doesn't make sense to
maintain two sets of hooks that do the same thing.

MozReview-Commit-ID: CseeVIof2om

--HG--
extra : rebase_source : e859c368d14cd1bf7e7d85f0de5bbb89e88402d9
2018-01-09 20:03:58 -05:00
Thom Chiovoloni
6e3bb55bb8 Bug 1412083 - Avoid syncing preferences that refer to moz-extension or blob urls. r=eoger
MozReview-Commit-ID: 9Ipq5z1dykr

--HG--
extra : rebase_source : a8616485879268ce31ef74f4b3fdbc3f4dc5a585
2018-01-09 17:46:24 -05:00
Luca Greco
ce3db38de1 Bug 1428094 - Exception raised from a webRequest blocking listener should report the original error message and filename. r=mixedpuppy
MozReview-Commit-ID: KiCg6dKaVd5

--HG--
extra : rebase_source : fc98846dc960fc148718299e9750196018342565
2017-12-07 21:19:03 +01:00
Ciure Andrei
23575f7023 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2018-01-11 12:06:29 +02:00
Kaku Kuo
9dbfc93c6f bug 1422239 - relax the resolution limitation of WMF H264 decoder; r=jya
https://msdn.microsoft.com/en-us/library/windows/desktop/dd797815(v=vs.85).aspx
Relax the resolution limitation from "width <= 4096 and height <= 2304" to "any width and height combination as long as the total pixel count is under 4096x2304".

MozReview-Commit-ID: 5wHiJfLaJkp

--HG--
extra : rebase_source : 11bf99d0eb3b50ea0199a7f65e0491e43318d29c
2018-01-08 16:37:40 +08:00
Martin Stransky
f6c750837a Bug 1417890 - Install nsClipboard hook at nsWindow init, r=jhorak
MozReview-Commit-ID: GA3USkXtEhe

--HG--
extra : rebase_source : 4dca587977c9d09ee50735931e789620e0099e81
2017-12-18 13:39:00 +01:00
Martin Stransky
38f5ee6fb8 Bug 1417890 - Use nsRetrievalContextWayland for Wayland displays, r=jhorak
MozReview-Commit-ID: 1Z7uUhHPnaq

--HG--
extra : rebase_source : 2a64c910643f4e5f57f1b872a2918e8ebf906cfa
2017-12-18 13:37:46 +01:00
Martin Stransky
36864b87c5 Bug 1417890 - Implement nsRetrievalContextWayland, r=jhorak
MozReview-Commit-ID: 3wrOXg9KRtC

--HG--
extra : rebase_source : ddaa10cdd6ef3242e4c19aa7b1b5c59fde2d4e83
2017-12-18 13:36:12 +01:00
Martin Stransky
f355ee7a5c Bug 1417890 - rename nsRetrievalContext::WaitForClipboardContext() to nsRetrievalContext::GetClipboardData() and implement nsRetrievalContext::ReleaseClipboardData(), r=jhorak
Make the clipboard data getter function more explicitly named and also create a counterpart to release clipboard data.

MozReview-Commit-ID: 3pWsQgCFDuG

--HG--
extra : rebase_source : c4eae554f5a24d998801550ac91b0859ac8e116e
2017-12-18 13:34:38 +01:00
Ethan Lin
541a2b1d3c Bug 1424673 - Add a reftest for the bug. r=kats
MozReview-Commit-ID: 9lwptqWqHvW

--HG--
extra : rebase_source : a2631f0981e05d5d62ec0b6338de2f6a5c518dcf
2018-01-09 10:36:46 +08:00
Ethan Lin
7ab691c827 Bug 1424673 - Fix the clip region for text draw target. r=kats
For draw target, the initial clip region should be the draw target's size.

MozReview-Commit-ID: 2z2EobkYFs2

--HG--
extra : rebase_source : 9631cf189330b089992b8458113800ea9a3fd4a0
2018-01-08 10:59:01 +08:00
Kearwood "Kip" Gilbert
52aac2a6d6 Bug 1426500 - Disable WebVR for macOS on Beta and Release r=daoshengmu
- WebVR will continue to be enabled on macOS for Nightly
  and Dev Edition

MozReview-Commit-ID: LpEX13yZVbb

--HG--
extra : rebase_source : 07b93a9f0cbb57fb00f17404f0cf4a37f78f6a5c
2018-01-10 16:14:21 -08:00
Edgar Chen
fd3cbab671 Bug 1417829 - Remove unresolved pseudoclass; r=heycam,smaug
MozReview-Commit-ID: JHfYVnh1SET

--HG--
extra : rebase_source : 287a967f4f354999ab8af93eb696e81727289b12
2017-12-04 17:49:41 +08:00