Commit Graph

508320 Commits

Author SHA1 Message Date
Benjamin Bouvier
2552158d1c Bug 1333368: Pass option to always use wasm baseline compiler to workers; r=luke
MozReview-Commit-ID: LB1D6fuAUza

--HG--
extra : rebase_source : 2cbca48ace4098352badade4b4080a7063a14268
extra : amend_source : 857ce4960630e269e8d8cb2551eb6e47d6a0e150
2017-01-24 11:46:50 +01:00
Cameron McCormack
80d819e95c Bug 1333001 - Crashtest. r=bzbarsky 2017-01-24 10:02:46 -05:00
Boris Zbarsky
95a8ef9e62 Bug 1333001. Ensure that ImportRule in fact always has a non-null mMedia. r=heycam 2017-01-24 10:02:46 -05:00
Boris Zbarsky
b7cf5b83fd Bug 1333106. Stop leaking in the prefetch service if the prefetch is blocked by security checks. r=mcmanus 2017-01-24 10:02:46 -05:00
Andrea Marchesini
5e4160791e Bug 1333384 - nsTemporaryFileInputStream::ReadSegments must consider the stream as closed if PR_Read() return 0, r=bkelly 2017-01-24 16:02:15 +01:00
Yura Zenevich
26f2c60483 Bug 1206711 - add support for HWND emulation for content top level docs on Windows. r=tbsaunde
MozReview-Commit-ID: GQ1LxCwtv3j
2017-01-24 09:45:25 -05:00
Valentin Gosu
5650342313 Bug 1332271 - Do not cancel timer when captive portal request times out r=mcmanus
The fact that nsICaptivePortalServiceCallback.complete got called with a true
argument made it difficult to be sure when the you were actually in a captive
portal, and when the network timed out.
Moreover, one artefact of the initial plan for the captive portal service was
that we'd cancel the timer after the first request succeeded, making the backoff
mechanism not run at all, and only checked for CP when instructed by nsIOService.
This patch changes captivedetect.js to send back success=false when the retry
count is exceeded - it's equivalent to an aborted request anyway - doesn't
cancel the timeer, and changes how we set the current state of the captive portal.

MozReview-Commit-ID: 4RV50KPbEdt
2017-01-24 15:43:30 +01:00
Yura Zenevich
03f24f75c7 Bug 1332444 - adding comment when calling GetRemoteIAccessible. r=tbsaunde
MozReview-Commit-ID: 1GSNrmXuacw
2017-01-24 09:34:09 -05:00
Ben Kelly
30664f7219 Bug 1331619 Make ServiceWorkerClients check the return value of OpenWindow2(). r=catalinb 2017-01-24 06:10:50 -08:00
Ben Kelly
e5bccaf01d Bug 1315446 Avoid crashing if GetCurrentThreadJSContext() or GetCurrentThreadWorkerGlobal() are called after worker shutdown. r=baku 2017-01-24 06:09:22 -08:00
Yura Zenevich
352d267cbb Bug 1332444 - only call GetRemoteIAccessible on non-proxies that have a child id pointing in content documents. r=tbsaunde
MozReview-Commit-ID: 6GUitjnFaiF
2017-01-24 09:25:21 -05:00
Benjamin Smedberg
4d15f5f134 Bug 1333110 - Remove dom/media/standalone, r=jesup
MozReview-Commit-ID: Iw3gIF1eQqB

--HG--
extra : rebase_source : 684710ccd50b01de74e6fa752796bd5d4c1f6f1b
extra : histedit_source : 359c13273384a11bf06321509894e87b49c3def1
2017-01-23 11:57:15 -05:00
Benjamin Smedberg
e56d1ab394 Bug 1332631 part H - move gtests from xpcom/glue to xpcom/tests, and unify the two TestThreadUtils.cpp into one file, r=froydnj
MozReview-Commit-ID: 2idOXKJOnuW

--HG--
rename : xpcom/glue/tests/gtest/TestArray.cpp => xpcom/tests/gtest/TestArray.cpp
rename : xpcom/glue/tests/gtest/TestGCPostBarriers.cpp => xpcom/tests/gtest/TestGCPostBarriers.cpp
rename : xpcom/glue/tests/gtest/TestNsDeque.cpp => xpcom/tests/gtest/TestNsDeque.cpp
extra : rebase_source : f5b3dc2f338c056e96c9fc42d9cdb4d2f7128116
extra : histedit_source : 9d85be5854af26a214aff4e1027415b9472e21a1
2017-01-20 15:22:23 -05:00
Benjamin Smedberg
9b43ba6de7 Bug 1332631 part G - file moves from xpcom/glue to xpcom/components, and remove GenericModule which is no longer useful, r=froydnj
MozReview-Commit-ID: 5NvfKRAlZqs

--HG--
rename : xpcom/glue/GenericFactory.cpp => xpcom/components/GenericFactory.cpp
rename : xpcom/glue/GenericFactory.h => xpcom/components/GenericFactory.h
rename : xpcom/glue/nsCategoryCache.cpp => xpcom/components/nsCategoryCache.cpp
rename : xpcom/glue/nsCategoryCache.h => xpcom/components/nsCategoryCache.h
rename : xpcom/glue/nsComponentManagerUtils.cpp => xpcom/components/nsComponentManagerUtils.cpp
rename : xpcom/glue/nsComponentManagerUtils.h => xpcom/components/nsComponentManagerUtils.h
rename : xpcom/glue/nsServiceManagerUtils.h => xpcom/components/nsServiceManagerUtils.h
extra : rebase_source : 2f9e4b8de99c2835c4322282b0227ed3f833c285
extra : histedit_source : 45033773c304696050a649e3fbde1ecb33ec1fea
2017-01-20 14:41:10 -05:00
Benjamin Smedberg
5030045d16 Bug 1332631 part F - move nsXPTCUtils.h to xpcom/reflect/xptcall, r=froydnj
MozReview-Commit-ID: 7h69wKKdvwe

--HG--
rename : xpcom/glue/nsXPTCUtils.h => xpcom/reflect/xptcall/nsXPTCUtils.h
extra : rebase_source : 5939339f35e842e025538fed616d405f15749d82
extra : histedit_source : 99784f8fad561d895dfa09ff996d120bacc325fd
2017-01-20 14:25:46 -05:00
Benjamin Smedberg
4b13a903e5 Bug 1332631 part E - file moves from xpcom/glue to xpcom/string, r=froydnj
MozReview-Commit-ID: AGHVJ5uYOoI

--HG--
rename : xpcom/glue/nsTextFormatter.cpp => xpcom/string/nsTextFormatter.cpp
rename : xpcom/glue/nsTextFormatter.h => xpcom/string/nsTextFormatter.h
extra : rebase_source : 18e1bf4f93d9174ff6808ea08b22f3c308df7da1
extra : histedit_source : 3436c455836aeb2583dd1418a1bad259cb779af1
2017-01-20 14:19:22 -05:00
Benjamin Smedberg
60cd8481eb Bug 1332631 part D - file moves from xpcom/glue to xpcom/threads, r=froydnj
MozReview-Commit-ID: kDBGvlYjyW

--HG--
rename : xpcom/glue/BlockingResourceBase.cpp => xpcom/threads/BlockingResourceBase.cpp
rename : xpcom/glue/BlockingResourceBase.h => xpcom/threads/BlockingResourceBase.h
rename : xpcom/glue/CondVar.h => xpcom/threads/CondVar.h
rename : xpcom/glue/DeadlockDetector.h => xpcom/threads/DeadlockDetector.h
rename : xpcom/glue/MainThreadUtils.h => xpcom/threads/MainThreadUtils.h
rename : xpcom/glue/Monitor.h => xpcom/threads/Monitor.h
rename : xpcom/glue/Mutex.h => xpcom/threads/Mutex.h
rename : xpcom/glue/ReentrantMonitor.h => xpcom/threads/ReentrantMonitor.h
rename : xpcom/glue/nsProxyRelease.cpp => xpcom/threads/nsProxyRelease.cpp
rename : xpcom/glue/nsProxyRelease.h => xpcom/threads/nsProxyRelease.h
rename : xpcom/glue/nsThreadUtils.cpp => xpcom/threads/nsThreadUtils.cpp
rename : xpcom/glue/nsThreadUtils.h => xpcom/threads/nsThreadUtils.h
extra : rebase_source : 5f908c04835192c1949bed0828d7bd086e795f64
extra : histedit_source : 26a8dbfd9b082c9200fbe7b176f6593e406c98ce
2017-01-20 14:13:57 -05:00
Benjamin Smedberg
2b3617b084 Bug 1332631 part C - file moves from xpcom/glue to xpcom/ds, r=froydnj
MozReview-Commit-ID: 9ZhC5bROWdO

--HG--
rename : xpcom/glue/Observer.h => xpcom/ds/Observer.h
rename : xpcom/glue/PLDHashTable.cpp => xpcom/ds/PLDHashTable.cpp
rename : xpcom/glue/PLDHashTable.h => xpcom/ds/PLDHashTable.h
rename : xpcom/glue/nsArrayEnumerator.cpp => xpcom/ds/nsArrayEnumerator.cpp
rename : xpcom/glue/nsArrayEnumerator.h => xpcom/ds/nsArrayEnumerator.h
rename : xpcom/glue/nsArrayUtils.cpp => xpcom/ds/nsArrayUtils.cpp
rename : xpcom/glue/nsArrayUtils.h => xpcom/ds/nsArrayUtils.h
rename : xpcom/glue/nsBaseHashtable.h => xpcom/ds/nsBaseHashtable.h
rename : xpcom/glue/nsCOMArray.cpp => xpcom/ds/nsCOMArray.cpp
rename : xpcom/glue/nsCOMArray.h => xpcom/ds/nsCOMArray.h
rename : xpcom/glue/nsClassHashtable.h => xpcom/ds/nsClassHashtable.h
rename : xpcom/glue/nsDataHashtable.h => xpcom/ds/nsDataHashtable.h
rename : xpcom/glue/nsDeque.cpp => xpcom/ds/nsDeque.cpp
rename : xpcom/glue/nsDeque.h => xpcom/ds/nsDeque.h
rename : xpcom/glue/nsEnumeratorUtils.cpp => xpcom/ds/nsEnumeratorUtils.cpp
rename : xpcom/glue/nsEnumeratorUtils.h => xpcom/ds/nsEnumeratorUtils.h
rename : xpcom/glue/nsHashKeys.h => xpcom/ds/nsHashKeys.h
rename : xpcom/glue/nsInterfaceHashtable.h => xpcom/ds/nsInterfaceHashtable.h
rename : xpcom/glue/nsJSThingHashtable.h => xpcom/ds/nsJSThingHashtable.h
rename : xpcom/glue/nsPointerHashKeys.h => xpcom/ds/nsPointerHashKeys.h
rename : xpcom/glue/nsQuickSort.cpp => xpcom/ds/nsQuickSort.cpp
rename : xpcom/glue/nsQuickSort.h => xpcom/ds/nsQuickSort.h
rename : xpcom/glue/nsRefPtrHashtable.h => xpcom/ds/nsRefPtrHashtable.h
rename : xpcom/glue/nsTArray-inl.h => xpcom/ds/nsTArray-inl.h
rename : xpcom/glue/nsTArray.cpp => xpcom/ds/nsTArray.cpp
rename : xpcom/glue/nsTArray.h => xpcom/ds/nsTArray.h
rename : xpcom/glue/nsTArrayForwardDeclare.h => xpcom/ds/nsTArrayForwardDeclare.h
rename : xpcom/glue/nsTHashtable.h => xpcom/ds/nsTHashtable.h
rename : xpcom/glue/nsTObserverArray.cpp => xpcom/ds/nsTObserverArray.cpp
rename : xpcom/glue/nsTObserverArray.h => xpcom/ds/nsTObserverArray.h
rename : xpcom/glue/nsTPriorityQueue.h => xpcom/ds/nsTPriorityQueue.h
extra : rebase_source : 5f0638e3268acb932e1a8d3f499d283bc1922acd
extra : histedit_source : dcea9485885877bb02f95a1ecc627465a507f757
2017-01-20 13:59:21 -05:00
Benjamin Smedberg
d478e7c99f Bug 1332631 part B - file moves from xpcom/glue to xpcom/base, r=froydnj
MozReview-Commit-ID: ARS1aTugYjl

--HG--
rename : xpcom/glue/AutoRestore.h => xpcom/base/AutoRestore.h
rename : xpcom/glue/EnumeratedArrayCycleCollection.h => xpcom/base/EnumeratedArrayCycleCollection.h
rename : xpcom/glue/IntentionalCrash.h => xpcom/base/IntentionalCrash.h
rename : xpcom/glue/nsCOMPtr.cpp => xpcom/base/nsCOMPtr.cpp
rename : xpcom/glue/nsCOMPtr.h => xpcom/base/nsCOMPtr.h
rename : xpcom/glue/nsCRTGlue.cpp => xpcom/base/nsCRTGlue.cpp
rename : xpcom/glue/nsCRTGlue.h => xpcom/base/nsCRTGlue.h
rename : xpcom/glue/nsClassInfoImpl.cpp => xpcom/base/nsClassInfoImpl.cpp
rename : xpcom/glue/nsCycleCollectionNoteChild.h => xpcom/base/nsCycleCollectionNoteChild.h
rename : xpcom/glue/nsCycleCollectionNoteRootCallback.h => xpcom/base/nsCycleCollectionNoteRootCallback.h
rename : xpcom/glue/nsCycleCollectionParticipant.cpp => xpcom/base/nsCycleCollectionParticipant.cpp
rename : xpcom/glue/nsCycleCollectionParticipant.h => xpcom/base/nsCycleCollectionParticipant.h
rename : xpcom/glue/nsCycleCollectionTraversalCallback.h => xpcom/base/nsCycleCollectionTraversalCallback.h
rename : xpcom/glue/nsDebug.h => xpcom/base/nsDebug.h
rename : xpcom/glue/nsIClassInfoImpl.h => xpcom/base/nsIClassInfoImpl.h
rename : xpcom/glue/nsID.cpp => xpcom/base/nsID.cpp
rename : xpcom/glue/nsID.h => xpcom/base/nsID.h
rename : xpcom/glue/nsIInterfaceRequestorUtils.cpp => xpcom/base/nsIInterfaceRequestorUtils.cpp
rename : xpcom/glue/nsIInterfaceRequestorUtils.h => xpcom/base/nsIInterfaceRequestorUtils.h
rename : xpcom/glue/nsINIParser.cpp => xpcom/base/nsINIParser.cpp
rename : xpcom/glue/nsINIParser.h => xpcom/base/nsINIParser.h
rename : xpcom/glue/nsISupportsImpl.cpp => xpcom/base/nsISupportsImpl.cpp
rename : xpcom/glue/nsISupportsImpl.h => xpcom/base/nsISupportsImpl.h
rename : xpcom/glue/nsISupportsUtils.h => xpcom/base/nsISupportsUtils.h
rename : xpcom/glue/nsIWeakReferenceUtils.h => xpcom/base/nsIWeakReferenceUtils.h
rename : xpcom/glue/nsMemory.cpp => xpcom/base/nsMemory.cpp
rename : xpcom/glue/nsMemory.h => xpcom/base/nsMemory.h
rename : xpcom/glue/nsTWeakRef.h => xpcom/base/nsTWeakRef.h
rename : xpcom/glue/nsVersionComparator.cpp => xpcom/base/nsVersionComparator.cpp
rename : xpcom/glue/nsVersionComparator.h => xpcom/base/nsVersionComparator.h
rename : xpcom/glue/nsWeakReference.cpp => xpcom/base/nsWeakReference.cpp
rename : xpcom/glue/nsWeakReference.h => xpcom/base/nsWeakReference.h
extra : rebase_source : df11b181f383b70ffe5051716d63ed11b98be53b
extra : histedit_source : 6d0743fac0562e4676e44a52f0e85375fb4a44ff
2017-01-23 09:24:01 -05:00
Benjamin Smedberg
d51a4c7205 Bug 1332631 part A - remove two files which aren't referenced or used, r=froydnj
MozReview-Commit-ID: GIqIvpWZ9Jd

--HG--
extra : rebase_source : 217be3e6d634812a1c99cf929e97cf5e7a83a004
extra : histedit_source : 12c6acadc63a8f5baf6a71604d3d9ed83dd07f8d
2017-01-20 10:48:53 -05:00
Gijs Kruitbosch
6934f00e4c Bug 1332501, r=bholley,jld
MozReview-Commit-ID: BpR0emUsbLL

--HG--
extra : rebase_source : 83080777e94def83343509ecc5dc96ce8dd44973
2017-01-22 15:10:40 +00:00
Andrea Marchesini
3e3d621e59 Bug 1329298 - Part 3 - Use application/octet-stream for arrayBuffer in sendBeacon, r=smaug 2017-01-24 12:14:27 +01:00
Andrea Marchesini
0d8f8e4333 Bug 1329298 - Part 2 - use nsIXHRSendable instead Blob/FormData/URLSearchParams, r=smaug 2017-01-24 12:14:00 +01:00
Andrea Marchesini
20247bbf3f Bug 1329298 - Part 1 - Unify body extraction in Fetch/Beacon/XHR, r=smaug 2017-01-24 12:13:31 +01:00
Andrea Marchesini
102c3cb18f Bug 1332602 - Propagate JS errors in FileReader, r=smaug 2017-01-24 12:12:15 +01:00
Andrea Marchesini
6cda1f7a20 Bug 1333077 - Remove 'temporary' attribute in File, r=qdot 2017-01-24 12:11:07 +01:00
Andrea Marchesini
c2381922c7 Bug 1333058 - Get rid of MultipartBlobImpl::InitializeChromeFile, r=qdot 2017-01-24 12:10:45 +01:00
Lars T Hansen
f7dda0c14d Bug 1333059 - use sysconf(_SC_NPROCESSORS_CONF) for numcores on ARM systems that have it. r=luke
--HG--
extra : rebase_source : 6b73aef7bb657bff3dfede9f6f7e51f60cabe7cd
extra : amend_source : 8679d1c2f29f9d4c8c978fe9961db611f80d5310
2017-01-23 17:28:24 +01:00
Lars T Hansen
324bb24be9 Bug 1316803 - Remove obsolete comments. r=me DONTBUILD 2017-01-24 11:34:43 +01:00
Benjamin Bouvier
0c4f03c013 Bug 1333011: wasm: add spec tests for checking segments against actual sizes; r=luke
This is just winning some time from https://github.com/WebAssembly/spec/pull/408/.

MozReview-Commit-ID: 1mIO3pQa3SL

--HG--
extra : rebase_source : 53ccbca9b015af6d1a87b7ca4f55e643cc8dd901
extra : histedit_source : 41a5732c6d97799cfc02f86b6f511608576cfa73
2017-01-23 14:47:08 +01:00
Benjamin Bouvier
2750b74e05 Bug 1333011: wasm: tweak segment validation for zero-sized segments; r=luke
MozReview-Commit-ID: IWFntgHAGy0

--HG--
extra : rebase_source : a8dd0eb01b2ece9dcc46dbae94c009e93c39e7ff
extra : histedit_source : 245a610b844fe1d8bde921e9d1017799e1744c84
2017-01-23 14:41:03 +01:00
Benjamin Bouvier
4f5ef495e2 Bug 1333011: Update wasm spec import script and reimports a few tests; r=luke
MozReview-Commit-ID: DmoXe8EuY1Y

--HG--
extra : rebase_source : 574fd70bc772fa8e8ab748454ac53212e6e1bb16
extra : histedit_source : a82670b06df83380607755c3728a1c5d024dd6fd
2017-01-23 11:27:50 +01:00
Benjamin Bouvier
297fc63b6e Bug 1333011: Implement assert_exhaustion in the wast interpreter and reimport tests that use it; r=luke
MozReview-Commit-ID: KqZjS8oB4g0

--HG--
extra : rebase_source : 1a2b1d62beaae6a1dccd445aa2fe940eaad49a01
extra : histedit_source : d1e20815c60f19d2f42ffa88369f2a920088d0cc
2017-01-23 11:24:52 +01:00
Morris Tseng
1928a5fc22 Bug 1328494 - Convert nsDisplayBullet to layer. r=mattwoodrow
MozReview-Commit-ID: 8cDvUfwJqUF
2017-01-24 16:53:42 +08:00
Alessio Placitelli
0977276217 Bug 1333024 - Don't record scalars with the C++ API if not allowed in the current process. r=chutten 2017-01-23 07:40:00 +01:00
Andrea Marchesini
53d0db2a5c Bug 1333337 - Use USVString in XHR, r=smaug 2017-01-24 09:23:11 +01:00
Phil Ringnalda
c61fdd722f Bug 1332255 followup, placate flake8 with random blank lines
MozReview-Commit-ID: KvK35LrGvXm

--HG--
extra : rebase_source : a9b39945a0415eb3155bb8b700d2b3d260c1801c
2017-01-23 21:08:43 -08:00
Felipe Gomes
00dd3f7914 Bug 1282484 - Write structure for pref-configurable fallback rules list, and include initial set of rules. r=qDot
* * *
Bug 1282485 - Plugin fallback rule - don't use fallback when the descendant has an embed element
* * *
Bug 1316102 - Plugin fallback rule - use fallback when it contains a <video> element
* * *
Bug 1282487 - Plugin fallback rule - don't use fallback when it contains links to adobe.com
* * *
Bug 1282486 - Plugin fallback rule - don't use fallback when it contains 'install Flash' instructions

MozReview-Commit-ID: DexVBrAfaTb
2017-01-24 03:08:04 -02:00
Felipe Gomes
cedca668f6 Bug 1282484 - Cache the value of PreferFallback() because ShouldPlay() is called several times during the load process. r=qDot
MozReview-Commit-ID: DqjCHssaJde
2017-01-24 03:07:51 -02:00
Felipe Gomes
917ff060cb Bug 1282484 - Add a mechanism to control plugin fallback content. r=qDot
MozReview-Commit-ID: Lt4tOdFdQzN
2017-01-24 03:07:41 -02:00
Stone Shih
2b44bf8c6e Bug 1304904 - Handle tabletProximity to detect stylus and support tilt for OS X. r=mstange, r=smaug 2017-01-10 11:13:04 +08:00
Stone Shih
5df23410c0 Bug 1327185 - Part 2: Forward eDragExit to remote target. r=smaug
MozReview-Commit-ID: 1feeQySngQJ
2017-01-16 17:18:25 +08:00
Stone Shih
d7b2839aa1 Bug 1327185 - Part 1: Refine EventStateManager::FireDragEnterOrExit. r=smaug
MozReview-Commit-ID: Fa8ayrThz4V
2017-01-16 10:50:21 +08:00
Wander Lairson Costa
d63bdf19ad Bug 1332255 - [followup] fix buildername for linux64-pgo talos. r=dustin
For correct platform name in TH, the buildername must contain the pgo
string in the buildername. We work a bit more generic by matching any
build variant.
2017-01-23 14:14:00 -05:00
Kevin Gay
26d5dbe35c Bug 1332644 - Remove 'retentionDays' from sendTelemetryPing call in CrashManager.jsm. r=Dexter 2017-01-23 04:01:54 -08:00
Vedant Sareen
c1332060f3 Bug 1206048 - Remove E10S_WINDOW metric. r=Dexter
Removed the histogram |E10S_WINDOW| and related code as it is no longer in use.
2017-01-20 23:24:07 +05:30
Sean Stangl
aac9b0b8d9 Bug 1332753 - Fix GDB-Iongraph integration. r=nbp 2017-01-20 14:37:00 -05:00
James Graham
59588a752f Bug 1332615 - Enable unprefixed fullscreen API for fullscreen tests. r=xidorn
MozReview-Commit-ID: 9xbHeOcVXk6

--HG--
extra : rebase_source : f4faa1e406b36e5d3dba5b6fb92dd67ba0fc7abd
2017-01-20 07:37:00 -05:00
Phil Ringnalda
9823741350 Merge m-c to m-i 2017-01-23 18:57:15 -08:00
Phil Ringnalda
02a56df647 Merge m-i to m-c, a=merge 2017-01-23 18:54:36 -08:00