Граф коммитов

40586 Коммитов

Автор SHA1 Сообщение Дата
Jean-Yves Avenard 7097957d08 Bug 1189776: Store our audio decode time in TimeUnits. r=cpearce
Decode time were stored in number of samples ; which could cause integer overflow when performing the conversion.
2015-08-04 16:19:14 +10:00
Nicholas Nethercote d98d14fa1e 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.)

--HG--
extra : rebase_source : f98420176f50990bbc5a25e35788328154cfeb00
2015-07-30 21:19:57 -07:00
Nicholas Nethercote 1059c1de13 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().

--HG--
extra : rebase_source : f93de9b789c21b1b148bed9de795f663f77c9dd9
2015-07-29 01:50:52 -07:00
Chris Pearce 6e943ecdb3 Bug 1190252 - Remove use of std::ifstream in GMPChild.cpp. r=edwin 2015-08-04 16:06:50 +12:00
Chris Pearce 65798c933d Bug 1190252 - Remove std::string from GMPChild and friends. r=edwin 2015-08-04 16:06:32 +12:00
Kan-Ru Chen c39f43550c 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 309aa3cc1d 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 e547fb4623 Bug 1190245 - Separate mMessageManager creation and FrameScript loading. r=smaug 2015-08-04 11:10:49 +08:00
Wes Kocher b822a1fdfc 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 7fe3f37d58 Bug 1190478 - Hide PushEvent.data until we ship message encryption. r=mt,jst
--HG--
extra : commitid : 6i4eexsw50U
extra : rebase_source : 9147a2f5e3996d104ff40e32da3e82ca1cc3917d
2015-08-03 11:04:41 -07:00
Dan Glastonbury b1722601bf Bug 1170845 - Remove WebGL2() exclusion on instanced draw divisor check. r=jgilbert 2015-08-04 10:28:13 +10:00
Robert O'Callahan e0c16e6fbc Bug 1184842. Preparse class attribute values in Element::BeforeSetAttr. r=peterv
--HG--
extra : commitid : KVTSQfwhBot
extra : rebase_source : da0c24026074356610f77d81fa87861cd82f4c8f
2015-08-01 17:46:15 +12:00
Robert O'Callahan efd3df82d6 Bug 1184842. Add aNewValue to nsIMutationObserver::AttributeWillChange. r=peterv
--HG--
extra : commitid : 8C2GnpowyCS
extra : rebase_source : 3f2948df48fe13f65425345f7b674e4e4869c861
2015-07-25 18:05:19 +12:00
Robert O'Callahan a1da6d11df Bug 1184842. Pass preparsed attribute values to nsNodeUtils::AttributeWillChange. r=peterv
--HG--
extra : commitid : DTJHf8BqlZS
extra : rebase_source : 36b264f69be235b9095bf95634bd263f6124a711
2015-07-22 15:53:35 +12:00
Robert O'Callahan d5d49432af Bug 1184842. Allow BeforeSetAttr to preparse aValue. r=peterv
We will pass the preparsed value into AttributeWillChange.

--HG--
extra : commitid : HCiY4DRKWkC
extra : rebase_source : aa17a819a20578322380d388299279e4e41a690b
2015-08-01 17:14:06 +12:00
Robert O'Callahan 1e49288224 Bug 1184842. Pass aOldValue to all mutation observers. r=peterv
--HG--
extra : commitid : CYjyQn3BAqb
extra : rebase_source : ef153c7cf1e08a058d8de6a76dbe7dc343a299fb
2015-07-25 18:01:19 +12:00
Robert O'Callahan 4339caede4 Bug 1184842. Add aOldValue parameter to nsNodeUtils::AttributeChanged. r=peterv
--HG--
extra : commitid : KqRNGrLrGkl
extra : rebase_source : 232a10b649b7c580a0ad3afa0a11a09cdb8b907d
2015-07-21 16:13:53 +12:00
Robert O'Callahan 27590d7e61 Bug 1184842. Make SetAttrAndNotify use the real old value instead of aOldValue when possible. r=bz
--HG--
extra : commitid : Kmg02dVtOG1
extra : rebase_source : 2cb6231765a2f914be9733a54698c665afcbb85c
2015-07-25 17:57:13 +12:00
Robert O'Callahan 34bc743227 Bug 1184842. Change nsAttrAndChildArray::SetAndTakeAttr to nsAttrAndChildArray::SetAndSwapAttr. r=peterv
--HG--
extra : commitid : 5EYBuEzNOek
extra : rebase_source : 52da7c8f8693834a9639f5ac65b758fb223c6f03
2015-07-22 14:09:41 +12:00
Wes Kocher 0dde3fdf2e Backed out 2 changesets (bug 1190252) for windows gtest permafails
Backed out changeset 880fc4c49f7e (bug 1190252)
Backed out changeset ba77cb6046b7 (bug 1190252)
2015-08-03 16:00:53 -07:00
Tanvi Vyas dca6e7eb28 Bug 1181683 - Update test_anchor_ping.html to disable mixed active content blocking. ping is now considered mixed active so the mixed content pings in this test would get blocked and fail without this change. r=ttaubert 2015-08-03 15:25:24 -07:00
Tanvi Vyas 87164ced3c Bug 1181683 - Mark ping and beacon as blockable mixed content instead of optionally blockable. r=smaug 2015-08-03 15:25:21 -07:00
Matt Woodrow 0b5c881576 Bug 1061525 - Part 5: Make the OSX video decoders output NV12 format MacIOSurfaces. r=jya 2015-08-03 17:57:46 -04:00
Jeff Gilbert f0e28e9429 Bug 1188540 - Forward texture-related functions to WebGLTexture. - r=kamidphish 2015-08-03 14:34:46 -07:00
Chris Pearce 6c02d1d89d Bug 1190252 - Remove use of std::ifstream in GMPChild.cpp. r=edwin 2015-08-04 09:07:19 +12:00
Chris Pearce 598bc62ffb Bug 1190252 - Remove std::string from GMPChild and friends. r=edwin 2015-08-04 09:07:02 +12:00
Fernando Jimenez 5d630742c6 Bug 1180148 - Clear service workers registered for a site when clearing the cookies and stored data is not working in b2g. r=baku 2015-08-03 22:51:07 +02:00
Ryan VanderMeulen afb6ed296c Merge m-c to inbound. a=merge 2015-08-03 15:03:34 -04:00
Ryan VanderMeulen 56f294a5ec Merge inbound to m-c. a=merge 2015-08-03 15:02:19 -04:00
Ryan VanderMeulen f98e582bb3 Backed out changeset 96bb759922a1 (bug 1189543) for frequent crashes/asserts.
CLOSED TREE
2015-08-03 12:32:31 -04:00
Carsten "Tomcat" Book 47e3ab6e7c Backed out changeset 4b6f2efbdc36 (bug 1000870) for test failures in test_pointerevent_setpointercapture_inactive_button_mouse-manual.html on a CLOSED TREE
--HG--
extra : rebase_source : e682002e27b1b13c22b85e9b0dfa009a5461a64d
2015-08-03 16:38:09 +02:00
Carsten "Tomcat" Book 36856e8a64 Backed out changeset 427cfffcb5b7 (bug 1000870)
--HG--
extra : rebase_source : 5f80fbd07b72e9ac0a639765baf463479b4fa145
2015-08-03 16:37:18 +02:00
Carsten "Tomcat" Book 04b698dea0 Backed out changeset 5490127f9b99 (bug 1000870)
--HG--
extra : rebase_source : aa84b63950979deb29e2e51deb2d4ba886e7ab9d
2015-08-03 16:37:11 +02:00
Carsten "Tomcat" Book 512c28bc4e Merge mozilla-central to b2g-inbound 2015-08-03 16:20:10 +02:00
Thomas Zimmermann 0358354bf5 Bug 1187904: Remove |BluetoothDaemonConnector| and random-address creator, r=shuang 2015-08-03 13:17:02 +02:00
Thomas Zimmermann 55f1cb92b7 Bug 1187904: Convert |BluetoothDaemonInterface| to use |DaemonSocketConnector|, r=shuang 2015-08-03 13:17:02 +02:00
Carsten "Tomcat" Book 623d6495a4 Backed out changeset b821b18a1bfb (bug 1189550) for breaking GU Tests 2015-08-03 09:38:27 +02:00
L. David Baron 04c4aa1ea9 Bug 1189605 - Fix over-indentation of a few parts of nsIDOMWindowUtils.idl. r=khuey
IGNORE IDL

--HG--
extra : commitid : EwaZah7Y7Xg
2015-08-02 21:03:08 -07:00
Makoto Kato 50e851b877 Bug 830801 - Part 2. Remove NOMINMAX define from moz.build. r=mshal 2015-08-03 10:07:09 +09:00
Bill McCloskey 19b86227d6 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 eb8fc500c5 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 d79778ce4e 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 7faf0f34f9 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 eb9063da67 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 4936d29059 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 37be5dc5be 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 7dc3f4954e Merge m-c to inbound. a=merge
CLOSED TREE
2015-07-31 15:05:02 -04:00
Ryan VanderMeulen 6c087cd301 Backed out changeset 8010e0cbd228 (bug 1177871) for Windows debug test_geolocation_provider_timeout.js crashes.
CLOSED TREE

--HG--
extra : amend_source : 6f3589ee0d2a0f18438a69c9f1389ae3ee3b8933
extra : histedit_source : ace16abe5f6c53ba91085d15d4c858dd20b2894e
2015-07-31 15:00:12 -04:00
Karl Tomlinson 66f210c5b0 bug 1188704 remove now unused PerformInverseFFT() variation r=rillian
--HG--
extra : rebase_source : 13b3cfce3054fce463d0e2407bd48e343952830e
2015-07-30 12:51:48 +12:00
Karl Tomlinson a4757ceda3 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.

--HG--
extra : rebase_source : 18c07ecb51f9cb3c199536fe59110093db2295d4
2015-08-03 09:28:32 +12:00