Commit Graph

80410 Commits

Author SHA1 Message Date
Narcis Beleuzu
e853a80e32 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-25 06:41:23 +02:00
Narcis Beleuzu
dcd0b9d50a Merge inbound to mozilla-central. a=merge 2019-01-25 06:28:32 +02:00
longsonr
3149e5e493 Bug 1522744 - Use DebugOnly where we can and remove a couple of useless ifdef DEBUG statements around MOZ_ASSERT statements. r=birtles 2019-01-25 03:47:16 +00:00
longsonr
1fdb590a11 Bug 1522650 - Rename all remaining nsSMIL classes and types as SMIL and ensure they are in the mozilla namespace. r=birtles
--HG--
rename : dom/smil/nsISMILAttr.h => dom/smil/SMILAttr.h
2019-01-25 03:24:01 +00:00
Jeff Walden
59aaefa333 Bug 1522350 - Move JS::ContextOptions{,Ref} to a new js/public/ContextOptions.h header to further slim jsapi.h. r=arai
--HG--
rename : js/src/jsapi.h => js/public/ContextOptions.h
2019-01-23 16:56:56 -08:00
Jeff Gilbert
bb98ec056b Bug 1521992 - Fix incomplete-fb error for webgl.getParameter. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D17306

--HG--
extra : moz-landing-system : lando
2019-01-23 17:53:43 +00:00
Daniel Holbert
808dca3627 Bug 1522208: Clean up nsCOMPtr.h includes in dom/svg. r=longsonr
A lot of files include nsCOMPtr without really needing it in dom/svg. (And a
few files use the nsCOMPtr type without including its header.)

For this patch, I found candidate files by just searching for files that only
had a single line that contained "nsCOMPtr", and I took the following actions:
 - If the match is an #include, then remove it (replacing it with the include
   for RefPtr or AlreadyAddrefed if the file uses those types instead).
 - If the match is a usage of the type, then add an #include for nsCOMPtr (as
   well as one for RefPtr, if the file uses that type).

(And in a few cases, I moved an adjacent #include, to get the #include list
closer to sortedness.)

I verified that the dom/svg directory continues to build successfully in
non-unified mode (i.e. if I remove UNIFIED_ from its moz.build file).  So, I'm
not removing any includes that files are now inadvertantly leaning on other
compilation units to provide.

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

--HG--
extra : moz-landing-system : lando
2019-01-24 23:40:25 +00:00
Narcis Beleuzu
858fb172ec Merge inbound to mozilla-central. a=merge 2019-01-24 23:43:35 +02:00
Akshay Kumar
85743771de Bug 1522145 - Web Authentication - Support additional Windows Hello Algorithms r=keeler
Support Main Algorithms

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

--HG--
extra : moz-landing-system : lando
2019-01-24 18:38:49 +00:00
Oana Pop Rus
028136ace2 Merge inbound to mozilla-central. a=merge 2019-01-24 18:50:45 +02:00
vinoth
cc6d429241 Bug 1512949 - Remove eval from tests and flip assertion flag r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D14054

--HG--
extra : moz-landing-system : lando
2019-01-24 09:06:07 +00:00
Oana Pop Rus
82553cc5f6 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-24 19:10:46 +02:00
Jon Coppeard
4f8971adb3 Bug 1513014 - Defer reporting errors while preloading until the request is actually used r=smaug 2019-01-24 14:57:30 +00:00
Jon Coppeard
de2d55ee8b Bug 1521524 - Replace some uses of the 'API' GC reason with more informative ones r=sfink 2019-01-24 12:34:55 +00:00
Sylvestre Ledru
b61d90492b Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Depends on D17388

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

--HG--
extra : moz-landing-system : lando
2019-01-24 08:11:00 +00:00
Ciure Andrei
c035ee7d3a Merge inbound to mozilla-central. a=merge 2019-01-24 05:44:33 +02:00
Cosmin Sabou
d4afc5310c Backed out 2 changesets (bug 1518252) for frequent clipboard failures on browser_jsterm_middle_click_paste.
Backed out changeset b6f80451898e (bug 1518252)
Backed out changeset 06114c66901f (bug 1518252)

--HG--
extra : rebase_source : 795b3a29b1344ce224207c4034f13d3d7f1a5c53
2019-01-24 02:50:54 +02:00
Nika Layzell
b2ddc107de Bug 1467223 - Part 4: Add support for piping redirected channels through nsDocShell's loading functions, r=qdot
This code largely skips the logic in load methods, and tries to simply get the
channel opened & connected to the correct listener ASAP, without breaking any
loading state.

Depends on D15610

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

--HG--
extra : moz-landing-system : lando
2019-01-23 21:07:08 +00:00
Nika Layzell
be5f88174d Bug 1467223 - Part 1: Move CrossProcessRedirect Message to PContent, r=valentin
This is needed because early in a content process's lifecycle, NeckoParent may
not have been created yet. This leads to issues when trying to redirect into a
fresh process which hasn't performed network loads yet. By sending the message
over PContent, we can be sure the APIs are available.

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

--HG--
extra : moz-landing-system : lando
2019-01-23 21:27:44 +00:00
Benjamin Bouvier
b6e305766e Bug 1509441: Unify wasm compilation switches under the --wasm-compiler umbrella; r=lth
--HG--
extra : rebase_source : 47a370c182bacc170bf83be3e2b3dbdbc488a787
2019-01-23 12:33:01 +01:00
Andrea Marchesini
0ae3238ccd Bug 1522181 - multiple external protocol URL blocker behind pref, r=smaug 2019-01-24 06:31:41 +01:00
John Lin
e4a543d886 Bug 1517252 - p1: don't lock HLSResourceCallbacksSupport mutex unnecessarily. r=jya
HLSResourceCallbacksSupport::mDecoder is cleared on main thread too, so
the nullness check already ensures decoder methods won't be called after
shut down. In fact, for OnError() the lock is harmful because the task calls
MediaDecoder::NetworkError(), which triggers decoder shutdown and eventually
HLSResourceCallbacksSupport::Detach(), which tries to lock the mutex again
while the mutex is still locked.

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

--HG--
extra : moz-landing-system : lando
2019-01-22 22:55:58 +00:00
Zibi Braniecki
5e38c8a5a5 Bug 1518252 - Block layout on Fluent. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D17334

--HG--
extra : moz-landing-system : lando
2019-01-23 21:29:15 +00:00
longsonr
30574c3d8b Bug 1522159 - Move nsSVGAttrTearOffTable to the mozilla namespace r=dholbert
--HG--
rename : dom/svg/nsSVGAttrTearoffTable.h => dom/svg/SVGAttrTearoffTable.h
2019-01-23 21:48:00 +00:00
Andrea Marchesini
ae7e7d4c3a Bug 1521051 - Get rid of nsICookiePermission.ACCESS_ALLOW_FIRST_PARTY_ONLY, r=johannh, r=flod 2019-01-23 19:19:19 +01:00
Andrea Marchesini
dc777dc7a6 Bug 1521051 - nsICookiePermission.ACCESS_LIMIT_THIRD_PARTY, r=valentin, r=johannh 2019-01-23 19:19:18 +01:00
Razvan Maries
7ccb4bf803 Backed out 2 changesets (bug 1521051) for xpcshell fails on extensions/cookie/test/unit/test_cookies_thirdparty.js. CLOSED TREE
Backed out changeset 90bb620dd870 (bug 1521051)
Backed out changeset 483fa314e45e (bug 1521051)
2019-01-23 22:09:32 +02:00
Ciure Andrei
a4eeeccf1d Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-01-23 20:55:29 +02:00
Andrea Marchesini
c433a88518 Bug 1515665 - SessionStorage should be allowed when StorageAccess is ePartitionedOrDeny, r=ehsan 2019-01-23 19:19:20 +01:00
Andrea Marchesini
e563896a47 Bug 1515665 - StorageAccess::ePartitionedOrDeny must be used only for trackers, rehsan 2019-01-23 19:19:19 +01:00
Andrea Marchesini
8e0c688733 Bug 1521051 - Get rid of nsICookiePermission.ACCESS_ALLOW_FIRST_PARTY_ONLY, r=johannh, r=flod 2019-01-23 19:19:19 +01:00
Andrea Marchesini
fb5e2a4f57 Bug 1521051 - nsICookiePermission.ACCESS_LIMIT_THIRD_PARTY, r=valentin, r=johannh 2019-01-23 19:19:18 +01:00
Olli Pettay
75111566f5 Bug 1522084 - HighPriorityEventPendingForTopLevelDocumentBeforeContentfulPaint should return false for data documents, r=jesup
--HG--
extra : rebase_source : 7c7918229a353f39824aeb7a12b8e393c9d6cdf0
2019-01-23 16:07:21 +02:00
Sebastian Hengst
2ecf173b14 Merge mozilla-central to autoland 2019-01-23 11:31:44 +02:00
longsonr
d37b7ed878 Bug 1521946 - Move nsSMILTypes and nsSMILValue to the mozilla namespace r=birtles
--HG--
rename : dom/smil/nsSMILTypes.h => dom/smil/SMILTypes.h
rename : dom/smil/nsSMILValue.cpp => dom/smil/SMILValue.cpp
rename : dom/smil/nsSMILValue.h => dom/smil/SMILValue.h
2019-01-23 13:48:08 +00:00
Jeff Gilbert
4e6082275f Bug 1503813 - RefreshSwizzle must rebind its texture. r=lsalzman
MozReview-Commit-ID: Ek1UIJjwQFH

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

--HG--
extra : moz-landing-system : lando
2019-01-22 22:17:56 +00:00
alwu
8d172019f3 Bug 1519317 - handle non decoding errors when we seek back to the start position. r=jya
'NS_ERROR_DOM_MEDIA_WAITING_FOR_DATA' and 'NS_ERROR_DOM_MEDIA_CANCELED' are not decoding errors, so we should
 treat them differently like what we did for 'NS_ERROR_DOM_MEDIA_END_OF_STREAM'.

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

--HG--
extra : moz-landing-system : lando
2019-01-22 23:18:54 +00:00
shindli
4d43d0e6ec Backed out changeset 60ee07f3171f (bug 1519480) for TV and bc failures in browser_webauthn_telemetry.js CLOSED TREE 2019-01-23 00:28:22 +02:00
Varun Dey
fb4355013b Bug 1519480 - Update browser_webauthn_telemetry.js getParentProcessScalars with TelemetryTestUtils r=chutten,jcj
Replacing browser_webauthn_telemetry.js's custom getParentProcessScalars method with the method defined in TelemetryTestUtils module

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

--HG--
extra : moz-landing-system : lando
2019-01-22 17:24:36 +00:00
Vincent W
a3846471d6 Bug 1508985 - Enable ESLint for dom/tests/browser (manual changes) r=Standard8,qdot
Differential Revision: https://phabricator.services.mozilla.com/D14018

--HG--
extra : moz-landing-system : lando
2019-01-22 21:26:02 +00:00
Vincent W
3b243b7e27 Bug 1508985 - Enable ESLint for dom/tests/browser/ (automatic changes) r=Standard8,qdot
Differential Revision: https://phabricator.services.mozilla.com/D14017

--HG--
extra : moz-landing-system : lando
2019-01-22 21:26:30 +00:00
Peter Van der Beken
61a0d908e5 Bug 1521853 - Remove Throws annotation from some infallible HTMLOptionsCollection/HTMLSelectElement properties. r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D17265

--HG--
extra : moz-landing-system : lando
2019-01-22 19:03:07 +00:00
Peter Van der Beken
fd3d6252af Bug 1521848 - Replace nsTArrayToJSArray with ToJSValue. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D17263

--HG--
extra : moz-landing-system : lando
2019-01-22 18:36:07 +00:00
shindli
90f84e833c Backed out changeset 36b36b5cdab6 (bug 1521189) for causing multiple application crashes in various tests CLOSED TREE. 2019-01-22 21:02:04 +02:00
Nika Layzell
cc3249c84f Bug 1521189 - Asynchronously destroy WindowGlobalChild, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D17030

--HG--
extra : moz-landing-system : lando
2019-01-22 18:23:23 +00:00
Ehsan Akhgari
54fac8cc89 Bug 1521595 - Reduce the amount of memory allocations in nsContentUtils::Get*Origin(); r=baku
Differential Revision: https://phabricator.services.mozilla.com/D17154

--HG--
extra : moz-landing-system : lando
2019-01-22 18:02:41 +00:00
Akshay Kumar
aff7fc2c26 Bug 1508115 - Web Authentication - Support Windows Hello r=keeler,jcj,baku
This change adopts Windows Win32 WebAuthN APIs from https://github.com/Microsoft/webauthn

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

--HG--
extra : moz-landing-system : lando
2019-01-21 01:10:44 +00:00
Oana Pop Rus
6174393a3a Merge inbound to mozilla-central. a=merge 2019-01-22 18:24:54 +02:00
Edgar Chen
d9d09bb0ea Bug 1519090 - Part 3: nsFocusManager::GetNextTabbableContentInScope should also check slot if aSkipOwner is false; r=smaug
Slot element could be also focusable.

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

--HG--
extra : moz-landing-system : lando
2019-01-22 08:15:02 +00:00
Edgar Chen
2b9f6f6196 Bug 1519090 - Part 2: Skip the node under slot scope in frame traversal; r=smaug
The nodes under slot scope is already being traversed in
GetNextTabbableContentIn*Scope.

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

--HG--
extra : moz-landing-system : lando
2019-01-22 08:11:56 +00:00