Commit Graph

16658 Commits

Author SHA1 Message Date
Karl Tomlinson
f0d4966e17 b=815643 Add Blink's HRTFElevation to the build r=ehsan
--HG--
extra : rebase_source : 5dda0b6c6302197574ac5fafbb0f06b1ac65980a
2013-08-08 21:38:30 +12:00
Karl Tomlinson
be0aa554a0 b=815643 Reduce convolver fft size for low sample rates r=ehsan
--HG--
extra : rebase_source : 0d7c6d4a3bcb340fc674f0b4181cf264fcc4e041
2013-08-08 21:38:30 +12:00
Karl Tomlinson
e54cf1e0c0 b=815643 Add code to interpret and resample impulse response data r=ehsan
--HG--
extra : rebase_source : 35497353634022f297b2ebf333b7230b12c1f9c2
2013-08-08 21:38:30 +12:00
Karl Tomlinson
d4a45b39b6 b=815643 Add HRTF impulse response data r=ehsan
The impulse response sample data is directly from individual impulse response wave files
in Blink SVN revision 153183.

--HG--
extra : rebase_source : 037471efd5be1f0d4a798bcc01192db9398377c2
2013-08-08 21:38:30 +12:00
Karl Tomlinson
583218c666 b=815643 Use symmetry to halve the number of HRTF kernels calculated and cached r=ehsan
--HG--
extra : rebase_source : 12e4a114630e793c22d3e335c38c641a6bc20ee2
2013-08-08 21:38:29 +12:00
Karl Tomlinson
3bfb5507c3 b=815643 Add Blink's HRTFKernel to the build r=ehsan
A functional difference is that HRTFKernel is not reference-counted.

--HG--
extra : rebase_source : 66a9653fed75265ec55d915b731876bcb793d513
2013-08-08 21:38:29 +12:00
Karl Tomlinson
a650122f64 b=865241 always leave 20 samples of headroom when extracting group delay, removing the discontinuity at delay = 20 r=ehsan
--HG--
extra : rebase_source : 30515ea2236b7503ff7e446d50930f91135bc7e0
2013-08-08 21:38:29 +12:00
Karl Tomlinson
d494799ed1 b=815643 Add Blink's frequency interpolation and group delay methods from FFTFrame to FFTBlock r=ehsan
--HG--
extra : rebase_source : 1e3393c85f1828cbcce49af1e3160fc3535d39b8
2013-08-08 21:38:24 +12:00
Karl Tomlinson
0e2cb4c001 b=865241 don't try to compute a phase for group delay from the DC and nyquist components of the DFT r=ehsan
Given imagP[0] is really realP[halfSize], it doesn't make sense to calculate a
phase from placing the DC and Nyquist components in different directions.
The DC component doesn't have a phase offset and lastPhase is already
initialized to zero.

This makes extractAverageGroupDelay() consistent with addConstantGroupDelay()
and to some extent interpolateFrequencyComponents().

The effect of the bug would have been small for reasonably sized FFTs.

--HG--
extra : rebase_source : b2931d625bd7e014f123b576f28aad7f719c585d
2013-08-08 21:37:36 +12:00
Karl Tomlinson
a7e95885f3 b=815643 remove unused HRTF code r=ehsan
--HG--
extra : rebase_source : f6063443b6e7574055b0ad92e95e32d7f0a850cd
2013-08-08 21:37:36 +12:00
Karl Tomlinson
d1fd66224a b=815643 Import the HRTF panner implementation from Blink r=ehsan
This code was copied from Blink SVN revision 153183.

--HG--
extra : rebase_source : 968f69846f5c532eda3580c8ce2176e2e6b5fc63
2013-08-08 21:37:36 +12:00
Chris Pearce
cd87b3fdae Bug 901944 - Ignore MF_E_TRANSFORM_TYPE_NOT_SET error when setting D3DManager on H264 Decoder. This error is returned on some (or all?) video cards on Vista, and appears to be safe to ignore. r=padenot 2013-08-13 14:42:39 +12:00
Ryan VanderMeulen
75b9bb6d8f Merge m-c to inbound. 2013-08-12 21:59:20 -04:00
Jeff Gilbert
c0c4700ab4 Bug 881681 - Add reftest for resizing a WebGL canvas. - r=dzbarsky 2013-08-12 16:49:10 -07:00
Ryan VanderMeulen
a0d9f811c2 Backed out 4 changesets (bug 887690) for suspicion of causing frequent mochitest-2 failures.
Backed out changeset 106ae6eee902 (bug 887690)
Backed out changeset e2c72cb029f4 (bug 887690)
Backed out changeset 9eea090ed6f7 (bug 887690)
Backed out changeset 1defeb691f5c (bug 887690)
2013-08-12 19:13:38 -04:00
Ryan VanderMeulen
f1a7b637de Backed out changeset 635ef1e34417 (bug 899878) for B2G mochitest-3 timeouts. 2013-08-12 16:45:14 -04:00
Kan-Ru Chen (陳侃如)
f186023681 Bug 845169 - Update touch region from remote frame. r=roc 2013-08-13 15:56:57 +08:00
Mounir Lamouri
08c45c7f87 Bug 651124 - Remove GetChildAt() usage in nsBindingManager. r=mrbkap 2013-08-12 15:00:44 +01:00
Blake Kaplan
77068e156d Bug 903912 - Remove the internals of the old parser since it's only used for about:blank. r=hsivonen
--HG--
extra : rebase_source : 620d34c12607f1e79ffed95e547d19e9c7a2359b
2013-08-12 11:28:41 -04:00
Kyle Huey
6b38960fd8 Bug 803612 - Add deprecation warnings for mozGetAsFile. r=sicking 2013-08-12 13:26:31 -04:00
Ralph Giles
9519eeb8a7 Bug 903012 - Fix static bounds checks. r=kinetik
In reviewing the static asserts in the code I found two
inconsistencies.

riffHeader includes 4 skipped bytes which weren't accounted
for in the bounds check.

Comparisons of a uint against UINT_MAX are very unlikely to
fail regardless, but this at least makes the two MAX_BLOCK_SIZE
checks the same.
2013-08-08 10:30:00 -04:00
Ralph Giles
467c635f04 Bug 903012 - Convert WaveReader to use static_assert. r=kinetik
We prefer the built-in check to the PR_STATIC_ASSERT macro now
that it's supported widely enough to use.

This is mostly adding error strings to report on assertion failure.
2013-08-08 10:30:00 -04:00
Jon Coppeard
8d0a37229f Bug 903352 - Handlify remaining PropertyDescriptor APIs r=terrence r=bholley r=smaug 2013-08-12 12:09:14 +01:00
Carsten "Tomcat" Book
43a837d163 merge mozilla-central to mozilla-inbound 2013-08-12 11:37:21 +02:00
Carsten "Tomcat" Book
a883f57a4a merge mozilla-inbound to mozilla-central 2013-08-12 11:28:29 +02:00
Olli Pettay
5359e648b3 Backout Bug 902481 to fix crashes, r=me 2013-08-10 12:24:09 +03:00
Ryan VanderMeulen
13be9bc4d0 Merge inbound to m-c. 2013-08-09 19:08:45 -04:00
Ryan VanderMeulen
c56b4e5a84 Merge b2g-inbound to m-c. 2013-08-09 17:26:14 -04:00
Chris Pearce
3fce82c0e2 Bug 901944 - Disable DXVA on Vista, to avoid rendering artifacts. r=kentuckyfriedtakahe 2013-08-12 17:17:38 +12:00
Chris Double
7dd97fc747 Bug 896866 - Media Source Extension demo app doesn't play all segments - r=kinetik
--HG--
extra : rebase_source : 13d66fb5c2d6c0c01929e404b6fb1b5d29073b54
2013-08-12 16:37:10 +12:00
Ryan VanderMeulen
877a258694 Merge m-c to b2g-inbound. 2013-08-08 16:24:53 -04:00
Justin Lebar
a132de4354 Bug 902714 - Test for nsIMessageManager.addWeakMessageListener. r=smaug
--HG--
extra : rebase_source : 75a15479fd45f9e6a6092356ff96fb26d5f27338
2013-08-08 11:36:56 -07:00
Justin Lebar
103fd764af Bug 902714 - Add {add,remove}WeakMessageListener to nsIMessageManager. r=smaug
--HG--
extra : rebase_source : 3fa06e18fce1c1338924ec940a6833f87c450106
2013-08-08 11:36:56 -07:00
Ryan VanderMeulen
cce8ae15b0 Backed out changesets 6126987777f3 and a232e4df28e5 (bug 882171) due to Android build bustage. 2013-08-08 14:38:33 -04:00
Tim Taubert
e85b9095d9 Bug 888972 - part 1 - add nsIFrameScriptLoader.getDelayedFrameScripts(); r=smaug 2013-08-09 04:36:37 +02:00
Mark Hammond
f9c8c5e605 Bug 897811 - fix uses of browser.pagethumbnails.capturing_disabled to reflect the pref controls if it is *disabled* rather than enabled. r=gavin 2013-08-08 09:52:01 +10:00
Thomas Zimmermann
b2f6b083af Bug 831224: Added mochitest for variable-bitrate MP3s, r=padenot
The test checks the duration of an MP3 file with variable bitrate. The
MP3 file only contains silence. It uses a high bit-rate encoding for its
first half, a low bit-rate encoding for its second half. The correct
duration is 10 seconds, but an incorrect implementation will return a
much shorter value.
2013-08-07 18:54:04 +02:00
Bob Owen
eb552ef322 Bug 885140 - Move calls to testAttempted() before mouse click, in case it isn't getting called. r=smaug 2013-08-07 14:17:15 +01:00
Gavin Sharp
befff981ed Bug 897399: handle the inner window disappearing after beforescriptexecute without crashing, r=sicking
--HG--
extra : transplant_source : %90GW%01%C7%BA%FB%3E%FF%8A%F2%EFf%E7%81%C6s%F6%E9%2B
2013-08-02 10:55:50 -07:00
Masayuki Nakano
03e0066f13 Bug 812995 Support 'blink' value at -moz-text-decoration-line and drop -moz-text-blink r=dbaron 2013-08-06 23:02:34 +09:00
Boris Zbarsky
5d344b2eb3 Back out revision ea0f2d537a40 (bug 903283) because Windows was bootlegging nsRegion.h via EventTarget.h in widget code and so we ended up with a CLOSED TREE. 2013-08-09 22:31:05 -04:00
Ryan VanderMeulen
f7b0f7438b Merge m-c to b2g-inbound. 2013-08-12 15:36:24 -04:00
Jason Smith
cd6894f4a5 Bug 899878 - Mochitest for recording media with no timeslice for Media Recording API. r=roc 2013-08-06 22:31:48 -07:00
Randy Lin
e3f3a015c2 Bug 903758 - Media Recording - setting the recorder state to inActive on the stop method. r=roc 2013-08-10 20:29:35 +08:00
Martijn Wargers
d82f6896da Bug 902611 - test_bug475156.html failing on b2g mochitest with (NS_NOINTERFACE) [nsISupports.QueryInterface]. r=jduell 2013-08-12 01:48:10 +02:00
Randy Lin
f1681d1942 Bug 902194 - Use mutex to replace the reentrant in EncodedBufferCache. r=roc 2013-08-09 13:46:20 +08:00
Randy Lin
0064bc2e7a Bug 897776 - Test case for MediaRecorder infinite recursion with requestData() calls in "dataavailable" event. r=jsmith 2013-08-11 11:35:16 +08:00
Randy Lin
9c7ebebbcd Bug 897776 - MediaRecorder infinite recursion with requestData() calls in dataavailable event. r=roc 2013-08-07 18:31:51 +08:00
Szu-Yu Chen [:aknow]
4d6be48921 Bug 887690 - Part 2: Add emergency callback mode support (dom). r=bent 2013-08-12 08:25:09 -04:00
Jeff Muizelaar
be2cbcb453 Bug 898525. Separate out Gfx helpers into GfxMessageUtils.h. r=bent
This helps us include less.

--HG--
extra : rebase_source : bb9ca934a9dade9ef21cecfee7ae8e860f9c60c1
2013-07-26 15:28:31 -04:00
Ryan VanderMeulen
2f3319fe1c No bug - Fix busted crashtest manifest. r=stupidme
DONTBUILD CLOSED TREE
2013-08-14 14:54:27 -04:00
Ryan VanderMeulen
e017fdac69 No bug - Disable timeout-prone B2G crashtests.
CLOSED TREE
2013-08-14 13:40:20 -04:00
Ryan VanderMeulen
03b55bc71f Backed out changeset e91392042137 (bug 892488) for mochitest-3 failures.
CLOSED TREE
2013-08-14 13:29:10 -04:00
Brian O'Keefe
08e5de443f Bug 896177 - Remove more config.mk includes; r=gps 2013-07-17 16:07:14 -04:00
Brian O'Keefe
3dadb0e396 Bug 896177 - Remove useless config.mk includes; r=gps 2013-07-17 16:06:53 -04:00
Paul Adenot
67460f4277 Bug 899135 - Drop buffers in ScriptProcessorNode instead of buffering them when the main thread is blocked. r=roc 2013-08-13 19:34:22 +02:00
Honza Bambas
06d7ec69db Bug 892488 - Get rid of the offline application cache prompt, r=ehsan+jonas 2013-08-14 17:17:00 +02:00
Mounir Lamouri
838ac93e61 Bug 673553 - Move all button attributes reflection tests to test_button_attributes_reflection.html. r=Ms2ger 2013-08-14 12:12:01 +01:00
Christian Holler
fcd6075710 Bug 902132 - Disable WebGL gl-max-texture-dimensions test on Mesa. r=bjacob
--HG--
extra : rebase_source : 612e6de1a09be531e9ec05c57b696c7e6345f038
2013-08-14 15:54:02 +02:00
Ms2ger
6c3982af30 Merge m-c to inbound. 2013-08-14 14:47:39 +02:00
Jonathan Watt
4fd2b8439e Bug 894840, part 2 - Get rid of the nsFilePickerShownCallback ctor's aMulti argument by exposing nsIFilePicker.mode. r=mounir 2013-07-22 13:46:27 +01:00
Phil Ringnalda
5464cf26d4 Back out 00fc7e525678 (bug 803543) for debug Mac build bustage
CLOSED TREE
2013-08-09 18:51:22 -07:00
David Zbarsky
d73e74f40e Bug 903283: Don't include EventTarget.h in headers r=Ms2ger 2013-08-09 21:17:52 -04:00
David Zbarsky
34dcd56bd5 [Bug 901289] Remove nsIDOMLinkStyle r=Ms2ger 2013-08-09 21:17:52 -04:00
David Zbarsky
0e2f11839b [Bug 901656] nsIRadioGroupContainer can use HTMLInputElement r=Ms2ger 2013-08-09 21:17:51 -04:00
Nathan Froyd
9ebfa27137 Bug 903543 - eliminate static constructors from SMIL types (and destructors, in opt builds); r=dholbert 2013-08-09 14:08:31 -04:00
Ryan VanderMeulen
a199b3df6e Merge m-c to inbound. 2013-08-09 19:29:45 -04:00
Ehsan Akhgari
ddf1e43fca Bug 901773 - Remove the duplicate _moz-type atom from nsGkAtomList; r=khuey 2013-08-09 18:08:56 -04:00
Ryan VanderMeulen
7b01d7a416 Backed out changeset ce3a1df4d559 (bug 875247) for mochitest-mc crashes. 2013-08-09 17:56:15 -04:00
Chris Pearce
1f88a47969 Bug 875247 - Use DXVA2 via D3D11 on Windows 8 to avoid readback of video frames when we turn on OMTC on Windows 8. r=Bas,padenot,gps 2013-08-10 08:17:44 +12:00
Ms2ger
7bf62da840 Backout changeset f2ac3d57b445 for insufficient review. 2013-08-08 19:37:47 +02:00
Gabor Krizsanits
89302bbfc9 Bug 877164 - nsDocument should call GetJunkScope later. r=smaug 2013-08-08 14:23:33 +02:00
Carsten "Tomcat" Book
0436faaa5c merge mozilla-central to mozilla-inbound 2013-08-08 14:01:54 +02:00
Carsten "Tomcat" Book
87a23c556a merge b2g-inbound to mozilla-central 2013-08-08 13:33:12 +02:00
Carsten "Tomcat" Book
f0bfac3d0e merge mozilla-inbound to mozilla-central 2013-08-08 13:13:05 +02:00
Simon Montagu
955967b5ff Add a routine to clear the direction set by a textnode without resetting it. Bug 894137, r=ehsan 2013-08-08 09:54:18 +03:00
Boris Zbarsky
c846cbddd8 Bug 897913 part 1. Don't assert that app id exists when asked for app status; just claim not installed if there is no app id. r=sicking 2013-08-07 17:40:00 -04:00
David Keeler
9f7b825989 Bug 516753 - Forward content context menu events to the parent. r=felipc 2013-08-06 15:00:07 -07:00
Robert O'Callahan
af27e8ff70 Bug 856361. Part 10: Address review comments. 2013-08-07 15:42:43 +12:00
David Dahl
98f42a7f2a Bug 824652 - crypto.generateCRMFRequest bypasses CSP (allows script execution from a string, without unsafe-eval) r=bsmith r=khuey r=keeler 2013-08-06 21:46:05 -05:00
Randy Lin
5c43912958 Bug 902151 - MediaRecorder does not need to tell the cycle collector about mReadThread. r=khuey 2013-08-07 13:55:53 +08:00
Randy Lin
5fe3d87b3f Bug 900708 - Media Recording - Remove the Assertion in EncodedBufferCache.h. r=roc 2013-08-05 16:49:10 +08:00
Shelly Lin
5b02846740 Bug 896980 - Add error handlings if fail to init track encoder or container writer. r=roc 2013-08-06 18:53:07 +08:00
David Zbarsky
9dd8b1ad80 Bug 902732: Merge nsILink and dom::Link r=bz 2013-08-08 01:26:32 -04:00
Boris Zbarsky
adc8e860c3 Back out revision ab9642207875 (bug 897811) for browser-chrome test failures. 2013-08-08 01:13:45 -04:00
Masayuki Nakano
e08e2dc2d3 Bug 812995 Support 'blink' value at -moz-text-decoration-line and drop -moz-text-blink r=dbaron 2013-08-06 23:02:34 +09:00
Peter Chang
75aab5b078 Bug 902103 - [SkiaGL] Free Layer resource when CanvasContext got demoted. r=snorp, r=gw280
Set mResetLayer as true when CanvasContext got demoted to free the resource owned by CanvasLayer, like GLContext/GLScreenBuffer.
2013-08-07 22:07:17 +08:00
Mark Hammond
71bca9e80b Bug 897811 - fix uses of browser.pagethumbnails.capturing_disabled to reflect the pref controls if it is *disabled* rather than enabled. r=gavin 2013-08-08 09:52:01 +10:00
Nicholas Nethercote
aa5919539d Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
--HG--
extra : rebase_source : 25f4de1bfae830b0af6407d260a70b787ab1dc9b
2013-08-06 23:59:54 -07:00
Ed Morley
4d9df5ebf6 Backed out changeset 9e8edeb0539e (bug 897913) 2013-08-07 15:50:16 -07:00
Boris Zbarsky
844828826e Bug 897913 part 1. Don't assert that app id exists when asked for app status; just claim not installed if there is no app id. r=sicking 2013-08-07 17:40:00 -04:00
David Zbarsky
9a8d7f077c Bug 901060: Fix build bustage on Windows, r=bz over irc 2013-08-07 17:40:21 -04:00
Robert O'Callahan
830448dff4 Bug 902197. Don't allow multiple MediaStreams to share the same DOMMediaStream wrapper. r=ehsan
--HG--
extra : rebase_source : 60de0aaff391bcabae6c281036e4ab82589e2707
2013-08-07 10:14:35 +12:00
Robert O'Callahan
a7d3b45c63 Bug 879717. Delay entering HAVE_CURRENT_DATA state until a video frame has been stored in the image container. r=cpearce
--HG--
extra : rebase_source : 66fe9f25407ce60ad753ca33dac6001aa185665d
2013-08-06 00:15:23 +12:00
Robert O'Callahan
fed29a23ab Bug 856361. Part 9: Make SpeechStreamListener handle null AudioChunks. r=smaug
--HG--
extra : rebase_source : fdf0bde1220b950c168cae94367c8682184054f0
2013-08-01 16:02:49 +12:00
Robert O'Callahan
537a0a5351 Bug 856361. Part 8: Fix copying of track data from input streams to output streams in AudioNodeExternalInputStream. r=padenot
--HG--
extra : rebase_source : 344780d9c27ce3026ae5c12a08ea6a1ba3b4e924
2013-08-01 16:02:49 +12:00
Robert O'Callahan
a229234f06 Bug 899863. Ensure resources with a Content-Length (that's not the result of a range request) are treated as bounded. r=cpearce
--HG--
extra : rebase_source : b3741deef952bf31b651c418efa5f168f9881469
2013-08-01 16:02:40 +12:00
Ehsan Akhgari
d6eeb2dccd Bug 855568 - Implement MediaElementAudioSourceNode
X-Git-Commit-ID: 52f1fcdd561e8214e6820a3f2478d9e8b9623430

--HG--
extra : rebase_source : c40cd0c7070dec9e0273093499228f13906f8fc5
2013-07-25 15:01:49 +12:00
Robert O'Callahan
306005fb0f Bug 856361. Part 6: Make MediaStreamAudioSourceNode keep its DOMMediaStream alive, and make the DOMMediaStream keep the MediaStreamAudioSourceNode alive. r=ehsan
--HG--
extra : rebase_source : 0e3b5108d8ced8b1f1f427c9fd4f87e97c46921d
2013-07-25 14:07:34 +12:00
secretrobotron
2c86644947 Bug 856361. Part 5: Implement MediaStreamAudioSourceNode. r=ehsan
--HG--
extra : rebase_source : 265f31edda31a2f749eacc568919304622446748
2013-07-24 23:29:39 +12:00
Robert O'Callahan
9dcc71b28c Bug 856361. Part 7: Fix copying of track data from input streams to output streams in TrackUnionStream. r=padenot
--HG--
extra : rebase_source : 7138200b4f1060de00b2410f58c645c353580a6f
2013-08-01 16:02:49 +12:00
Robert O'Callahan
ea28a74f6c Bug 856361. Part 4: Create AudioNodeExternalInputStream. r=ehsan
--HG--
extra : rebase_source : 1061dea560eb1c242a4d11aae0d7d89da191d8fe
2013-07-24 22:15:11 +12:00
Robert O'Callahan
b6ff20d959 Bug 856361. Part 3: Refactor AudioNodeStream to create ComputeFinalOuputChannelCount, AccumulateInputChunk and AdvanceOutputSegment, and make AudioNodeStreams be treated as always consumed by the MediaStreamGraph. r=ehsan
--HG--
extra : rebase_source : ef176c629f16a00042d2a281bfffbe75c31d6002
2013-07-24 22:11:35 +12:00
Robert O'Callahan
383c6492bc Bug 856361. Part 2: Block data from a non-same-origin media resource entering a MediaStream from a media element. r=cpearce
--HG--
extra : rebase_source : db895d3d2d91a92d0c8c381940a0e0ccc9d9a8d0
2013-07-24 21:55:23 +12:00
Robert O'Callahan
d458f68756 Bug 856361. Part 1: Fix comments for MediaInputPort flags to reflect reality. r=jesup
--HG--
extra : rebase_source : 8828d63f75b41500f9c7af5a4d6cf97740fe7215
2013-07-17 15:16:09 +12:00
Mark Hammond
f45a45d737 Bug 897811 - remove browser.pageThumbs.enabled preference. r=gavin 2013-08-07 11:10:58 +10:00
Andrew McCreight
4bf567ba23 Bug 866569 - Unlink nsXULPrototypeNodes more aggressively. r=smaug 2013-08-06 17:37:05 -07:00
Blake Kaplan
f407186e88 Bug 898926 - xbl:children elements are insertion points if they're inactive. r=sicking 2013-08-06 17:31:30 -07:00
Guillaume Abadie
55c0e32502 bug 893180 - [WebGL 2.0] gl.vertexAttribDivisor (GL_ARB_instanced_array) - r=jgilbert 2013-08-06 20:05:51 -04:00
Guillaume Abadie
aa8c3fc910 bug 892978 - [WebGL 2.0] Query objects (GL_ARB_occlusion_query_boolean) - r=jgilbert 2013-08-06 17:23:46 -04:00
Ehsan Akhgari
b9560fc7d9 Bug 902111 - Forward-declare nsIFrame in nsISelectionPrivate.h; r=bzbarsky 2013-08-06 16:19:11 -04:00
Arnaud Sourioux
07117795ca Bug 900274: Mark content/base/src as FAIL_ON_WARNINGS in Makefile.in r=smaug 2013-08-06 09:51:40 -07:00
Bob Owen
b4681e91bb Bug 886262 - Tests for HTML <object>s do not inherit sandbox flags from their parents. r=bz 2013-07-28 17:27:32 +01:00
Bob Owen
7fa45b3be7 Bug 886262 - Ensure sandbox flags and, where necessary, null principal are set for child objects. r=bz 2013-08-06 11:01:23 +01:00
Yuan Xulei
a1e4446ad8 Bug 895239 - Serialize non-textual container element as placeholder if OutputNonTextContentAsPlaceholder is set. r=smaug 2013-08-06 10:40:38 -04:00
JW Wang
ce885c443c Bug 875277 - Part 2: Implement WaveShaperNode.oversample - speex. r=ehsan 2013-08-06 14:11:32 +08:00
JW Wang
6d8256114d Bug 875277 - Part 1: Implement WaveShaperNode.oversample - webidl enums. r=ehsan 2013-08-06 14:15:07 +08:00
Guillaume Abadie
071b088c2c Bug 871094 - Add a warning when calling WebGL clear(0). r=bjacob 2013-08-06 10:40:37 -04:00
Daniel Holbert
a6d8bf4063 Bug 900260: Explicitly cast 64-bit value to size_t, to fix build warning on 32-bit platforms (which won't run this code anyway). r=froydnj 2013-08-06 07:13:59 -07:00
Nicholas Nethercote
c1d8302699 Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz.
--HG--
extra : rebase_source : 5b3d7cc339af6d93bde078322e25c6e740d1b617
2013-08-02 00:41:57 -07:00
Daniel Holbert
879d9d11a9 Bug 901645: Mark some variables in content/base/src as DebugOnly. r=smaug 2013-08-05 21:35:08 -04:00
Boris Zbarsky
cb5a1d24f1 Bug 901682. Rev the IID for nsXMLHttpRequest. r=gavin 2013-08-05 21:28:51 -04:00
Ryan VanderMeulen
19f45ff72d Backed out changesets aee6b1a6c400 and a633e4d67d31 (bug 875277) for bustage. 2013-08-05 20:47:07 -04:00
JW Wang
ec7bb8499e Bug 875277 - Part 2: Implement WaveShaperNode.oversample - speex. r=ehsan 2013-08-05 10:34:52 +08:00
JW Wang
5d37ced844 Bug 875277 - Part 1: Implement WaveShaperNode.oversample - webidl enums. r=ehsan 2013-07-26 15:14:35 +08:00
Ryan VanderMeulen
03f1e9ee4f Merge m-c to inbound. 2013-08-05 20:00:43 -04:00
Ryan VanderMeulen
6e225374e2 Backed out changeset a4dd0dc4e354 (bug 824652) for Android M1 orange. 2013-08-05 19:21:17 -04:00
David Keeler
f6f47c149c bug 887052 - refactor nsISiteSecurityService for multiple headers r=cviecco r=mcmanus r=jst sr=jst 2013-08-02 16:23:18 -07:00
David Keeler
e02475356e bug 887052 - rename nsIStrictTransportSecurityService to nsISiteSecurityService for refactoring r=cviecco r=mcmanus r=jst sr=jst
--HG--
rename : netwerk/base/public/nsIStrictTransportSecurityService.idl => netwerk/base/public/nsISiteSecurityService.idl
rename : security/manager/boot/src/nsStrictTransportSecurityService.cpp => security/manager/boot/src/nsSiteSecurityService.cpp
rename : security/manager/boot/src/nsStrictTransportSecurityService.h => security/manager/boot/src/nsSiteSecurityService.h
2013-08-02 15:48:37 -07:00
Jeff Gilbert
6030e6834f Bug 901297 - Save and restore WebGL state for Mesa FB workarounds. - r=bjacob 2013-08-05 15:11:43 -07:00
David Dahl
99b75a0ff8 Bug 824652 - crypto.generateCRMFRequest bypasses CSP (allows script execution from a string, without unsafe-eval) r=bsmith r=khuey r=keeler 2013-08-05 16:15:22 -05:00
Ryan VanderMeulen
e91e143e66 Backed out changesets 5f8a88c6d0c8 and 97fcb5a154d8 (bug 887052) for OSX mochitest-other orange.
--HG--
rename : netwerk/base/public/nsISiteSecurityService.idl => netwerk/base/public/nsIStrictTransportSecurityService.idl
rename : security/manager/boot/src/nsSiteSecurityService.cpp => security/manager/boot/src/nsStrictTransportSecurityService.cpp
rename : security/manager/boot/src/nsSiteSecurityService.h => security/manager/boot/src/nsStrictTransportSecurityService.h
2013-08-05 16:18:06 -04:00
Shelly Lin
cacd35ced5 Bug 900811 - Fix the hang if closing its tab during recording a fake gUM. r=roc 2013-08-02 14:59:30 +08:00
Szu-Yu Chen [:aknow]
7c0dd8c2fa Bug 743150 - Part 2: Add remoteheld/remoteresumed event (dom). r=bent, r=gyeh 2013-08-05 16:28:14 -04:00
Martijn Wargers
82728757f4 Bug 901385 - test_mutationobservers.html failing on b2g and Android mochitest because of the use of showModalDialog. r=smaug 2013-08-05 13:02:57 +02:00
Daniel Holbert
d98c8dfc6b (no bug) Fix typo in documentation for SVGLengthListAndInfo::CanZeroPadList(). no review, DONTBUILD because comment-only 2013-08-05 13:48:04 -04:00
David Keeler
a746ca39ba bug 887052 - refactor nsISiteSecurityService for multiple headers r=cviecco r=mcmanus r=jst sr=jst 2013-07-01 10:49:40 -07:00
David Keeler
503e645f01 bug 887052 - rename nsIStrictTransportSecurityService to nsISiteSecurityService for refactoring r=cviecco r=mcmanus r=jst sr=jst
--HG--
rename : netwerk/base/public/nsIStrictTransportSecurityService.idl => netwerk/base/public/nsISiteSecurityService.idl
rename : security/manager/boot/src/nsStrictTransportSecurityService.cpp => security/manager/boot/src/nsSiteSecurityService.cpp
rename : security/manager/boot/src/nsStrictTransportSecurityService.h => security/manager/boot/src/nsSiteSecurityService.h
2013-07-01 09:30:11 -07:00
Boris Zbarsky
82ba945cef Bug 900898 part 2. Move to using Nullable<TypedArray> to represent possibly-null TypedArray structs. r=smaug 2013-08-05 13:40:01 -04:00
Daniel Holbert
7fab5e3863 Bug 901529: Declare bitmask as uint16_t, rather than implicitly as a signed short function-arg, to fix "truncation of constant value" build warning. r=jlebar 2013-08-05 12:45:50 -04:00
Jon Coppeard
da8c061053 Bug 900986 - Convert JS_*Element API to use MutableHandleValue for out params r=terrence r=bholley r=smaug 2013-08-05 14:02:47 +01:00
Jon Coppeard
0f31f8c399 Bug 900979 - Change JS_DeleteProperty APIs to use a boolean out param rather than a value r=waldo r=bz 2013-08-05 14:01:53 +01:00
Arnaud Bienner
c74a371a66 Bug 899519 - Use "description" instead of "mime type name" for filter name for accept attribute. r=mounir,bz 2013-08-05 12:18:08 +01:00
David Zbarsky
f9946af078 Bug 898105 - Remove nsIDOMTouch r=reuben 2013-08-05 00:51:22 -04:00
David Zbarsky
4f42ab41ae Bug 898104 - Remove nsIDOMTouchList r=smaug 2013-08-05 00:51:21 -04:00
David Zbarsky
b9427f8d2b Bug 898930 - Remove nsIDOMTouchEvent r=smaug 2013-08-05 00:51:21 -04:00
Randell Jesup
102bdb9382 Bug 825112: Enable opensles webrtc backend on gonk r=mwu,jesup,ted
--HG--
rename : media/webrtc/trunk/webrtc/modules/audio_device/android/audio_device_opensles_android.cc => media/webrtc/trunk/webrtc/modules/audio_device/audio_device_opensles.cc
rename : media/webrtc/trunk/webrtc/modules/audio_device/android/audio_device_opensles_android.h => media/webrtc/trunk/webrtc/modules/audio_device/audio_device_opensles.h
2013-07-17 20:00:43 -04:00
Boris Zbarsky
22412e781e Bug 707564 part 3. Give WebIDL bindings with NewResolve hooks Enumerate hooks as well, so enumerating them correctly resolves all the properties. r=smaug 2013-08-03 23:38:54 -04:00
Guillaume Abadie
8ede98ec3d bug 898615 - let WebGL use GLContext's extension group queries - r=jgilbert 2013-08-02 17:59:07 -04:00
Blake Kaplan
8c4b371602 Bug 897386 - Hack to allow adopted browsers to still have XBL bindings. r=sicking 2013-08-02 14:05:02 -07:00
Ryan VanderMeulen
3a385f459a Merge inbound to m-c. 2013-08-02 16:36:40 -04:00
Justin Lebar
3024bbcc2d Back out 4ff7455f6720, "Bug 894736, pass clipboard type to data transfer so that the correct clipboard is used when pasting, r=ehsan" on a CLOSED TREE. 2013-08-02 10:53:34 -07:00
Ed Morley
05a37c3a43 Merge mozilla-central and b2g-inbound 2013-08-02 13:51:22 +01:00
Robert O'Callahan
2ac93d314a Bug 878015. Make RoundUpToAudioBlock always advance to the next audio block. r=padenot
--HG--
extra : rebase_source : d931a0f144579bd7f7f57bd9e2c7d4ecc1700b27
2013-08-02 21:27:58 +12:00
Robert O'Callahan
57a1ce6eee Bug 880854. When attaching XBL bindings to elements in a static document, sync-load the bindings document so that delayed changes to the shadow DOM don't mess up, for example, printing. r=mrbkap
--HG--
extra : rebase_source : 283ce66e7659b8ac9d8c5dc08d52b0f5a79452fb
2013-08-02 21:26:21 +12:00
Ms2ger
21409e5d2c Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger
f8a25b94f5 Bug 897945 - Use an XPCOM string for nsContentUtils::ReportToConsole's category argument; r=bholley 2013-08-02 09:09:11 +02:00
Ms2ger
f28bde905f Bug 900096 - Cleanup Touch some; r=dzbarsky 2013-08-02 09:06:35 +02:00
Ms2ger
625b832e4f Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats 2013-08-02 09:05:16 +02:00
Ms2ger
c01a333748 Bug 898895 - Define MOZ_WEBGL globally; r=ted 2013-08-02 09:04:35 +02:00
Ms2ger
65b9d384bf Bug 897540 - Reduce includes in nsDeviceContext.h; r=roc 2013-08-02 09:04:22 +02:00
Ms2ger
d5d5885d4c Bug 886408 - Move nsContentUtils::ReleaseWrapper into nsWrapperCache; r=mccr8 2013-08-02 09:04:01 +02:00
Guillaume Abadie
a74600c6cf bug 900439 - Let WebGL 2 be independent of webgl.enable-draft-extensions - r=jgilbert 2013-08-01 22:18:07 -04:00
Bobby Holley
595cbc9fd5 Bug 897322 - Allow callers to manually fire OnNewGlobalObject when bootstrapping is complete. r=luke 2013-08-01 18:38:47 -07:00
Bobby Holley
e365a778eb Bug 885388 - Make compilation scopes invisible to the debugger. r=mrbkap 2013-08-01 18:38:46 -07:00
Mike Hommey
ca80cd82ad Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8 2013-08-02 10:29:05 +09:00
Gina Yeh
93e89304fd Bug 853221 - Patch 2: Distribute events from BluetoothAdapter, r=smaug, sr=mrbkap 2013-08-02 18:33:15 +08:00
Mina Almasry
d7f0f9e77c Bug 737851 - Generate form state key at page load instead of page unload. r=bz 2013-08-01 21:21:31 -04:00
Ryan VanderMeulen
501ddf3329 Merge m-c to fx-team. 2013-08-01 16:35:13 -04:00
Masatoshi Kimura
5f8f13c41c Bug 673919 - Remove routeEvent, enableExternalCapture and disableExternalCapture. r=smaug 2013-08-01 23:48:18 +09:00
David Zbarsky
93caf8a63e backout Bug 893117 for mochitest failure 2013-08-01 01:54:09 -07:00
David Zbarsky
ef034aeb17 Bug 893117: Remove nsIDOMHTMLDListElement r=bz 2013-07-31 23:12:41 -07:00
David Zbarsky
c59f81b1cd Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-07-31 23:12:40 -07:00
David Zbarsky
8673c39649 Bug 893117: Remove nsIDOMHTMLParamElement r=bz 2013-07-31 23:12:40 -07:00
David Zbarsky
3f4a6c913e Bug 893117: Remove nsIDOMHTMLFontElement r=bz 2013-07-31 23:12:40 -07:00
David Zbarsky
aa2fc03e9f Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-07-31 23:12:40 -07:00
David Zbarsky
df3b7d2509 Bug 893117: Remove nsIDOMHTMLModElement r=bz 2013-07-31 23:12:39 -07:00
David Zbarsky
e477de162b Bug 893117: Remove xpidl for nsIDOMHTMLDirectoryElement r=bz 2013-07-31 23:12:39 -07:00
David Zbarsky
3b388eec88 Bug 893117: Remove nsIDOMHTMLOutputElement r=bz 2013-07-31 23:12:39 -07:00
David Zbarsky
e81764d267 Bug 893117: Remove nsIDOMHTMLDataListElement r=bz 2013-07-31 23:12:39 -07:00
David Zbarsky
7d3fb419c1 Bug 893117: Remove nsIDOMHTMLUnknownElement r=peterv 2013-07-31 23:12:39 -07:00
David Zbarsky
290d2c27a6 Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-31 23:12:38 -07:00
David Zbarsky
55948c33f8 Bug 893117: Remove nsIDOMHTMLTableColElement r=peterv 2013-07-31 23:12:38 -07:00
David Zbarsky
824aee11de Bug 893117: Remove nsIDOMHTMLTableRowElement r=peterv 2013-07-31 23:12:38 -07:00
David Zbarsky
b2ee837299 Bug 893117: Remove nsIDOMHTMLTableSectionElement r=peterv 2013-07-31 23:12:38 -07:00
David Zbarsky
5d9e92d0b3 Bug 893117: Remove xpidl for nsIDOMHTMLTableElement r=peterv 2013-07-31 23:12:37 -07:00
Daniel Holbert
bb59ff0d44 Bug 900277 - Use ALLOW_THIS_IN_INITIALIZER_LIST macro to suppress windows warning in Element.cpp's StringBuilder constructor. r=smaug 2013-08-01 13:00:56 -04:00
Daniel Holbert
43ee09681b Bug 900246: Mark variable as DebugOnly in DirectionalityUtils.cpp, to fix opt "unused variable" build warning. r=smontagu 2013-07-31 18:59:27 -07:00
Daniel Holbert
6c8c5a68b8 Bug 900209 - static_cast uint64_t value to "unsigned long long" when printing it with %llx, to silence Wformat build warning on 64-bit platforms. r=smaug 2013-07-31 21:15:26 -04:00
Bill McCloskey
f2eacd8ccc Bug 899812 - Error reporters should consistently report errors to stderr (r=bholley) 2013-07-31 17:04:49 -07:00
Ehsan Akhgari
fa95f63946 Bug 900341 - Shut down the decoder object for an AudioContext from a runnable; r=bent,roc 2013-08-02 12:07:17 -04:00
Neil Deakin
243c5a081d Bug 894736, pass clipboard type to data transfer so that the correct clipboard is used when pasting, r=ehsan 2013-08-02 11:37:05 -04:00
Ryan VanderMeulen
d2dee60bec Merge m-c to inbound. 2013-08-01 20:25:21 -04:00
David Zbarsky
5d54368de4 Bug 893117: Remove nsIDOMHTMLDListElement r=bz 2013-08-01 15:24:25 -07:00
David Zbarsky
f2ea7c733f Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-08-01 15:24:24 -07:00
David Zbarsky
b13d04f95a Bug 893117: Remove nsIDOMHTMLParamElement r=bz 2013-08-01 15:24:24 -07:00
David Zbarsky
f3c7a5d90e Bug 893117: Remove nsIDOMHTMLFontElement r=bz 2013-08-01 15:24:24 -07:00
David Zbarsky
4fa5d9c4b0 Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-08-01 15:24:24 -07:00
David Zbarsky
d1500cce47 Bug 893117: Remove nsIDOMHTMLModElement r=bz 2013-08-01 15:24:23 -07:00
David Zbarsky
9e0b33c997 Bug 893117: Remove xpidl for nsIDOMHTMLDirectoryElement r=bz 2013-08-01 15:24:23 -07:00
David Zbarsky
b71b1877b9 Bug 893117: Remove nsIDOMHTMLOutputElement r=bz 2013-08-01 15:24:23 -07:00
David Zbarsky
19268f03ae Bug 893117: Remove nsIDOMHTMLDataListElement r=bz 2013-08-01 15:24:23 -07:00
David Zbarsky
f400bf1189 Bug 893117: Remove nsIDOMHTMLUnknownElement r=peterv 2013-08-01 15:24:23 -07:00
David Zbarsky
c882d5964c Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-08-01 15:24:22 -07:00
David Zbarsky
ea353dacae Bug 893117: Remove nsIDOMHTMLTableColElement r=peterv 2013-08-01 15:24:22 -07:00
David Zbarsky
acc60c2ae9 Bug 893117: Remove nsIDOMHTMLTableRowElement r=peterv 2013-08-01 15:24:22 -07:00
David Zbarsky
b54fa8ad32 Bug 893117: Remove nsIDOMHTMLTableSectionElement r=peterv 2013-08-01 15:24:22 -07:00
David Zbarsky
c9c3bb020c Bug 893117: Remove xpidl for nsIDOMHTMLTableElement r=peterv 2013-08-01 15:24:21 -07:00
Nathan Froyd
e5c7996134 Bug 900090 - make various bits of nsEventStates constexpr to avoid static constructors; r=smaug 2013-07-31 13:08:35 -04:00
Ryan VanderMeulen
42e1e42d76 Merge m-c to inbound. 2013-07-31 16:33:59 -04:00
Martijn Wargers
7f63b0ec1a Bug 898696 - Fix some content/media test files by adding preload=metadata to media element. r=cpearce 2013-07-31 09:35:44 +02:00
Shelly Lin
f9bc5baa95 Bug 895730 - AudioTrackEncoder should handle the case where audio chunk is null. r=roc 2013-07-31 12:21:29 +08:00
Shelly Lin
2e2b0af1b7 Bug 894341 - Stop encoding data when the eos flag has written to ContainerWriter. r=roc 2013-07-29 14:29:08 +08:00
Ed Morley
044db07f93 Backed out changeset 5a8a8ee17ab5 (bug 883364) for Android 2.2 armv6 reftest failures 2013-07-31 08:59:33 +01:00
Ed Morley
e425b0df95 Backed out changeset 85109095dd71 (bug 883364) 2013-07-31 08:58:40 +01:00
Ed Morley
73b237d7f9 Backed out changeset f10f7c79846c (bug 883364) 2013-07-31 08:58:32 +01:00
Ed Morley
7ad8ac55f6 Backed out changeset 3b1c068244a2 (bug 881681) 2013-07-31 08:58:23 +01:00
Nicholas Cameron
a2cdf1ab09 Bug 895873 - backout bug 893117 for Win8 mc bustage 2013-07-30 23:32:35 -04:00
Jeff Gilbert
d1c3e57be2 Bug 881681 - Add reftest to assure that resize is successful. r=dzbarsky 2013-07-30 20:52:20 -07:00
Jeff Gilbert
7ddeee4a15 Bug 883364 - Mark tests as failing on ARMv6. r=bjacob 2013-07-30 20:48:00 -07:00
Jeff Gilbert
bf071cb392 Bug 883364 - Allow tests to fail gracefully. r=dzbarsky 2013-07-30 20:47:26 -07:00
Jeff Gilbert
387764aac0 Bug 883364 - Remove fallbacks to canvas. r=dzbarsky 2013-07-30 20:46:42 -07:00
Bobby Holley
92b0bb5f15 Bug 898811 - Use the system error reporter for XBL compilation. r=mrbkap
The current XBL error reporter logs things to the console service, but not to
stderr. And in certain situations (especially if there's a parse error in
frontend XBL that leaves the browser in a half-baked state), it can be very
difficult to get to the error console.

So we should log to stderr too, which is exactly what the system error reporter
does.
2013-07-30 17:58:46 -07:00
Olli Pettay
fb405f012c Bug 899089 - Improve event listener reporting in CC graphs, r=khuey 2013-07-31 01:04:38 +03:00
David Zbarsky
09b669e023 Bug 893117: Remove nsIDOMHTMLDListElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky
0d3882f4c1 Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky
cc5cdadf7d Bug 893117: Remove nsIDOMHTMLParamElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky
aa7c54d744 Bug 893117: Remove nsIDOMHTMLLabelElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky
5058a43793 Bug 893117: Remove nsIDOMHTMLFontElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky
0ee6634734 Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-07-30 14:55:12 -07:00
David Zbarsky
5be64ca260 Bug 893117: Remove nsIDOMHTMLHeadingElement r=bz 2013-07-30 14:55:12 -07:00
David Zbarsky
287910005d Bug 893117: Remove nsIDOMHTMLModElement r=bz 2013-07-30 14:55:12 -07:00
David Zbarsky
9066c58bfc Bug 893117: Remove xpidl for nsIDOMHTMLDirectoryElement r=bz 2013-07-30 14:55:12 -07:00
David Zbarsky
51c60afc61 Bug 893117: Remove nsIDOMHTMLOutputElement r=bz 2013-07-30 14:55:11 -07:00
David Zbarsky
6310037dcf Bug 893117: Remove nsIDOMHTMLDataListElement r=bz 2013-07-30 14:55:11 -07:00
David Zbarsky
0a8ff9d696 Bug 893117: Remove nsIDOMHTMLUnknownElement r=peterv 2013-07-30 14:55:11 -07:00
David Zbarsky
46494d4c25 Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-30 14:55:11 -07:00
David Zbarsky
24178c0c21 Bug 893117: Remove nsIDOMHTMLTableColElement r=peterv 2013-07-30 14:55:11 -07:00
David Zbarsky
693663f6f5 Bug 893117: Remove nsIDOMHTMLTableRowElement r=peterv 2013-07-30 14:55:10 -07:00
David Zbarsky
6791e960b1 Bug 893117: Remove nsIDOMHTMLTableSectionElement r=peterv 2013-07-30 14:55:10 -07:00
David Zbarsky
d86b43aa04 Bug 893117: Remove xpidl for nsIDOMHTMLTableElement r=peterv 2013-07-30 14:55:10 -07:00
David Zbarsky
db8538deb2 Bug 893117: Remove nsIDOMHTMLTableCellElement r=peterv 2013-07-30 14:55:10 -07:00
Justin Lebar
9befee6c8d Bug 896890 - TabContent::HasOwnApp() should be true iff TabContext::GetOwnApp() is non-null.
This change reworks how TabContext stores its data.  Before, it stored
an app-id and translated that into an app; now we do the reverse.  This
lets us guarantee that HasOwnApp() is true iff GetOwnApp() is non-null.

We added a new class, MaybeInvalidTabContext to assist with converting
from an IPCTabContext to a TabContext.  This allows us to ensure that a
TabContext object is never invalid.
2013-07-30 14:42:34 -07:00
Mook
0ce5f94aa5 content: sync load service: don't die when channels have unknown size (b=894586 r=ehsan r=jduell) 2013-07-30 14:38:26 -07:00
Martijn Wargers
644fe8405f Bug 899939 - Fix some tests that still use prefBranch instead of SpecialPowers.pushPrefEnv. r=jmaher 2013-07-31 11:30:54 +02:00
Tom Schuster
8ac55e5939 Bug 884410 - Handlify JS_GetPrototype. r=terrence 2013-07-31 12:20:33 -04:00
Guillaume Abadie
17868b9869 bug 896254 - disable WebGL 2 interfaces - r=jilbert,ehsan 2013-07-30 15:58:17 -04:00
Ryan VanderMeulen
77cb688076 Backed out changeset 4aeb00521c9d (bug 896890) for build bustage.
CLOSED TREE
2013-07-30 15:50:46 -04:00
Justin Lebar
c092dd4810 Bug 896890 - TabContent::HasOwnApp() should be true iff TabContext::GetOwnApp() is non-null. r=khuey
This change reworks how TabContext stores its data.  Before, it stored
an app-id and translated that into an app; now we do the reverse.  This
lets us guarantee that HasOwnApp() is true iff GetOwnApp() is non-null.

We added a new class, MaybeInvalidTabContext to assist with converting
from an IPCTabContext to a TabContext.  This allows us to ensure that a
TabContext object is never invalid.

--HG--
extra : rebase_source : d43e858739a342ab420122a90336bfd585be268a
2013-07-30 11:51:44 -07:00
Ehsan Akhgari
085494b95d Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])

--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00