Andrew McCreight
25941cb0f9
Bug 1190608, part 3 - Remove some infallible new checks in nsXULElement.cpp. r=poiru
2015-08-04 13:06:14 -07:00
Andrew McCreight
3b702bcb21
Bug 1190608, part 2 - Tuck elses in nsXULElement.cpp. r=poiru
2015-08-04 13:06:14 -07:00
Andrew McCreight
8ad5865613
Bug 1190608, part 1 - Delete trailing whitespace in nsXULElement.cpp and nsXULPrototypeCache.cpp. r=poiru
...
Also, change the mode line for nsXULElement.cpp to match reality, which is 4 space indentation.
2015-08-04 13:06:14 -07:00
Andrew McCreight
54e7b9eebe
Bug 1188234, part 4 - Don't append null to mChildren. r=smaug
...
Other code does not expect random nulls in this array, so avoid adding
them, just in case we somehow end up looking at it. This code returns
right after the append so it should be okay.
2015-08-04 13:06:14 -07:00
Andrew McCreight
346aaeaf63
Bug 1188234, part 3 - Make allocation of nsXULPrototypeAttribute fallible in nsXULPrototypeElement::Deserialize(). r=smaug
...
If we read out a bogus value of |mNumAttributes|, it could be
extremely large, causing the allocation of |mAttributes| to fail.
2015-08-04 13:06:14 -07:00
Andrew McCreight
ad2860f557
Bug 1188234, part 2 - Add bounds checking in nsXULPrototypeElement::Deserialize(). r=smaug
...
Make sure we don't do an out-of-bounds read if we read out a bogus value.
2015-08-04 13:06:14 -07:00
Andrew McCreight
7ebe4ec20f
Bug 1188234, part 1 - Initialize |number|. r=smaug
...
If the first Read32() fails, |number| will be garbage.
2015-08-04 13:06:14 -07:00
Ryan VanderMeulen
152aba0072
Merge m-c to inbound. a=merge
...
CLOSED TREE
2015-08-04 15:54:01 -04:00
Ryan VanderMeulen
c0710476e2
Merge inbound to m-c. a=merge
2015-08-04 15:53:06 -04:00
Sotaro Ikeda
1edbe2e216
Bug 1189206 - Remove worng mCurrentPosition update r=cpearce
2015-08-04 06:45:44 -07:00
Carsten "Tomcat" Book
7dcb23cff9
Merge mozilla-central to b2g-inbound
2015-08-04 13:58:28 +02:00
Carsten "Tomcat" Book
46b3eb01af
merge mozilla-inbound to mozilla-central a=merge
2015-08-04 13:01:07 +02:00
Bevis Tseng
32c57c89d9
Bug 1189884 - Read/Update ANR of SIM Contact Properly. r=echen
2015-08-03 20:24:40 +08:00
Ryan VanderMeulen
fa2176eb4f
Merge inbound to m-c. a=merge
2015-08-03 15:02:19 -04:00
Ryan VanderMeulen
e1199f4eee
Backed out changeset 96bb759922a1 (bug 1189543) for frequent crashes/asserts.
...
CLOSED TREE
2015-08-03 12:32:31 -04:00
Carsten "Tomcat" Book
782d0370cf
Backed out changeset 4b6f2efbdc36 (bug 1000870) for test failures in test_pointerevent_setpointercapture_inactive_button_mouse-manual.html on a CLOSED TREE
2015-08-03 16:38:09 +02:00
Carsten "Tomcat" Book
26d634a982
Backed out changeset 427cfffcb5b7 (bug 1000870)
2015-08-03 16:37:18 +02:00
Carsten "Tomcat" Book
710fe2c285
Backed out changeset 5490127f9b99 (bug 1000870)
2015-08-03 16:37:11 +02:00
Carsten "Tomcat" Book
c012e7f38c
Merge mozilla-central to b2g-inbound
2015-08-03 16:20:10 +02:00
Thomas Zimmermann
c28a8e19a2
Bug 1187904: Remove |BluetoothDaemonConnector| and random-address creator, r=shuang
2015-08-03 13:17:02 +02:00
Thomas Zimmermann
6c0a6541d5
Bug 1187904: Convert |BluetoothDaemonInterface| to use |DaemonSocketConnector|, r=shuang
2015-08-03 13:17:02 +02:00
Carsten "Tomcat" Book
a36be276a2
Backed out changeset b821b18a1bfb (bug 1189550) for breaking GU Tests
2015-08-03 09:38:27 +02:00
L. David Baron
693242d7f1
Bug 1189605 - Fix over-indentation of a few parts of nsIDOMWindowUtils.idl. r=khuey
...
IGNORE IDL
2015-08-02 21:03:08 -07:00
Makoto Kato
e92450872e
Bug 830801 - Part 2. Remove NOMINMAX define from moz.build. r=mshal
2015-08-03 10:07:09 +09:00
Bill McCloskey
b0ad0cc207
Bug 1189550 - In parent process, cpmm.initialProcessData should be same as ppmm.initialProcessData (r=smaug)
2015-08-02 17:29:55 -07:00
Thomas Zimmermann
c1d0b76c75
Bug 1173802: Store global NFC service in ref-counted variable, r=allstars.chh
...
|ClearOnShutdown| deletes pointers by assigning |nullptr|. This
patch converts |gNfcService| to a smart pointer, so that cleaning
its value during shutdown will actually destruct the instance.
2015-07-31 10:07:25 +02:00
Thomas Zimmermann
ce37f51133
Bug 1173802: Replace |assertIsNfcServiceThread| with thread-safe checks, r=allstars.chh
...
The main thread writes the NFC thread's field in the NFC service
instance, but the function |assertIsNfcServiceThread| uses this
value on the NFC worker thread itself. Also clearing this value
happens on main, while the NFC thread still executes code. Calls
to |assertIsNfcServiceThread| can therefore fail if they occur
during an NFC shutdown.
This patch replaces the unsafe and racy |assertIsNfcServiceThread|
with the much simpler |NfcConsumer::IsNfcServiceThread|. The new
method tests the current thread against a thread pointer that has
been stored in |NfcConsumer|.
2015-07-31 10:07:25 +02:00
Thomas Zimmermann
76380c5de2
Bug 1173802: Clean up |NfcEventDispatcher|, r=allstars.chh
...
This patch moves |NfcEventDispatcher| to the namespace of |NfcConsumer|
and renames it to |DispatchNfcEventRunnable|. The NFC service is stored
in the runnable itself.
2015-07-31 10:07:25 +02:00
Thomas Zimmermann
91e427615a
Bug 1173802: Run |NfcConsumer| on NFC thread, r=allstars.chh
...
This patch moves NFC thread onto the NFC service thread by applying
the following changes:
* The methods |Start| and |Shutdown| now send runnables to the NFC
thread that start or stop an NFC consumer. After shutting down a
cleanu-up runnable frees all resources on the main thread.
* Received messages are forwarded directly from the I/O thread to
the NFC thread and unpacked there. There's no intermediate hop
over the main thread any more.
* Similarly to receiving, packed massages are forwarded directly
from the NFC thread to the I/O thread. No intermediate hop over
main is required.
* On connection errors, |NfcConsumer| sends a runnable to the main
thread to shutdown NFC.
2015-07-31 10:07:25 +02:00
Thomas Zimmermann
8fc0fd898e
Bug 1173802: Move NFC socket and messaging code into |NfcConsumer|, r=allstars.chh
...
|NfcConsumer| will encapsulates all NFC socket and messaging code. It
wil be able to run solely on the NFC worker thread.
2015-07-31 10:07:25 +02:00
Kan-Ru Chen
2578f2cfa0
Bug 1188639 - Fix typo in BrowserElement.webidl and add tests for it. r=yoshi,bz
2015-08-03 10:56:03 +08:00
Ryan VanderMeulen
36cde7c131
Merge m-c to inbound. a=merge
...
CLOSED TREE
2015-07-31 15:05:02 -04:00
Ryan VanderMeulen
b5295be137
Backed out changeset 8010e0cbd228 (bug 1177871) for Windows debug test_geolocation_provider_timeout.js crashes.
...
CLOSED TREE
2015-07-31 15:00:12 -04:00
Carsten "Tomcat" Book
0f7d4835f4
Merge mozilla-central to mozilla-inbound
2015-08-04 13:35:10 +02:00
Kelly Davis
c8b6f5100e
Bug 1187791 - Part 1 of 1 - SpeechRecognition::maxAlternatives can't throw; so, rm webidl throws specifier. r=smaug
2015-08-04 00:39:00 +02:00
JW Wang
2d545a0f85
Bug 1189204 - activate autoplay when playing a media source. r=jya.
2015-08-04 11:17:03 +08:00
Makoto Kato
e73f935a59
Bug 1190240 - Cannot compile WMFVideoMFTManager.cpp using Windows 10 SDK. r=cpearce
2015-08-04 16:03:50 +09:00
Nicholas Nethercote
845b474b3c
Bug 1189156 (part 4) - Don't use enumeration style for nsBaseHashtable::SizeOf{In,Ex}cludingThis(). r=erahm,jfkthame.
...
After this change, we have ShallowSizeOf{In,Ex}cludingThis(), which don't do
anything to measure children. (They can be combined with iteration to measure
children.)
2015-07-30 21:19:57 -07:00
Karl Tomlinson
9ab80ff653
bug 1188704 remove now unused PerformInverseFFT() variation r=rillian
2015-07-30 12:51:48 +12:00
Karl Tomlinson
32b3351542
bug 1188704 use existing FFTBlock arrays instead of allocating and copying and scaling r=rillian
...
It is now no longer necessary to clear zero bins because these are zeroed
in the FFTBlock constructor.
nsTArray bounds assertions now apply.
2015-08-03 09:28:32 +12:00
Karl Tomlinson
b1c9fcac94
bug 1188704 add accessor functions for setting frequency components for inverse FFT r=rillian
2015-07-30 12:33:04 +12:00
Karl Tomlinson
5ba0e1aea2
bug 1189168 avoid main thread assertion accessing mNode in SizeOfIncludingThis() r=padenot
...
because the main thread is blocked during the call.
2015-07-31 12:49:07 +12:00
Nicholas Nethercote
f23a15f104
Bug 1189156 (part 2) - Don't use enumeration style for nsTHashtable::SizeOf{In,Ex}cludingThis(). r=erahm.
...
After this change, we have ShallowSizeOf{In,Ex}cludingThis(), which don't do
anything to measure children. (They can be combined with iteration to measure
children.)
And we still have the existing single-arg SizeOf{In,Ex}cluding() functions,
which work if the entry type itself defines SizeOfExcludingThis().
2015-07-29 01:50:52 -07:00
Chris Pearce
66072fe326
Bug 1190252 - Remove use of std::ifstream in GMPChild.cpp. r=edwin
2015-08-04 16:06:50 +12:00
Chris Pearce
c2d55b7e68
Bug 1190252 - Remove std::string from GMPChild and friends. r=edwin
2015-08-04 16:06:32 +12:00
Kan-Ru Chen
88c47ec3d2
Bug 1190245 - Make frame script loading and browser-api initialization easier to follow. r=smaug
...
Load frame script and initialize browser-api at the end of (1) DocShell
creation (2) RemoteBrowser creation (3) SetRemoteBrowser
2015-08-04 11:10:50 +08:00
Kan-Ru Chen
a5cef91d92
Bug 1190245 - Make the MaybeCreateDocShell using code path easier to follow. r=smaug
...
Don't rely on MaybeCreateDocShell to set mRemoteFrame so we don't have
to call MaybeCreateDocShell in weird places. Instead we set mRemoteFrame
early in the nsFrameLoader constructor. This should still allow us to
switch default remoteness dynamically.
2015-08-04 11:10:50 +08:00
Kan-Ru Chen
afec2af40b
Bug 1190245 - Separate mMessageManager creation and FrameScript loading. r=smaug
2015-08-04 11:10:49 +08:00
Wes Kocher
446ae0f499
Backed out 6 changesets (bug 1061525) for mochitest-2 failures in test_BufferedSeek_mp4.html CLOSED TREE
...
Backed out changeset 5e90b9dab7fa (bug 1061525)
Backed out changeset ef5ce3d6412a (bug 1061525)
Backed out changeset 19c8682665a6 (bug 1061525)
Backed out changeset b48d13edb48d (bug 1061525)
Backed out changeset fae6602192a7 (bug 1061525)
Backed out changeset 5dfbd6e73c7a (bug 1061525)
2015-08-03 19:53:33 -07:00
Nikhil Marathe
cb37e89c41
Bug 1190478 - Hide PushEvent.data until we ship message encryption. r=mt,jst
2015-08-03 11:04:41 -07:00