Commit Graph

438744 Commits

Author SHA1 Message Date
Gian-Carlo Pascutto
34122d2ae8 Bug 1107372 - Update preferences for new SafeBrowsing prefs structure. r=francois 2015-09-08 08:22:10 +02:00
Robert O'Callahan
cfb5a21039 Bug 1201393. Remove usage of FLAG_BLOCK_INPUT from AudioParam/AudioNode. r=padenot
We don't need AudioNodes to block each other anymore.

--HG--
extra : commitid : 9rtWh5A3YY2
extra : rebase_source : cdd5c28b11602e53aaee178d3978b3e983ba5195
2015-08-31 16:58:10 +12:00
Robert O'Callahan
07c25fad56 Bug 1201393. Make suspended MediaStreams implicitly always block. r=padenot
To make this work, we have to iterate over suspended MediaStreams in a few
more places. We don't need START_TIME_DELAYED anymore since blocking takes
care of that. I think it's good to allow suspended MediaStreams to notify
the main thread that they're finished; we might need that later when
we have non-AudioNode streams being suspended.

--HG--
extra : commitid : AZKt73Eg3rQ
extra : rebase_source : a662e9c85453212299f30085c1228ec959355440
2015-09-04 17:01:01 +12:00
Robert O'Callahan
a4974cf43a Bug 1201393. Create an iterator for MediaStreamGraph to iterate over all its streams. r=karlt
--HG--
extra : commitid : AYDeVMfjwxF
extra : rebase_source : 299db7189438a230e3f6c9123793bd3395a8784f
2015-09-08 16:18:15 +12:00
Robert O'Callahan
c642f85a62 Bug 1201393. Remove irrelevant ProcessedMediaStream for nsSpeechTask. r=eitan
--HG--
extra : commitid : CuwvyZLm6ch
extra : rebase_source : 79b50e27404eb4d069fceabca6f91d883b1ef277
2015-09-01 16:49:50 +12:00
Robert O'Callahan
49d3b935f2 Bug 1201393. Remove usage of FLAG_BLOCK_INPUT from MediaStreamAudioSourceNode. r=jwwang
There's no reason why WebAudio should block an incoming MediaStream.

--HG--
extra : commitid : IjUoo3OFdq9
extra : rebase_source : 5df1530c9d927e30194931c15f97389b7b74b524
2015-08-31 16:56:33 +12:00
Robert O'Callahan
2da19b0669 Bug 1201393. Remove usage of FLAG_BLOCK_INPUT from MediaRecorder. r=jwwang
FLAG_BLOCK_INPUT is not needed on mPipeStream because nothing should cause
mPipeStream to block.

--HG--
extra : commitid : 660ZZiOdNCM
extra : rebase_source : 065351c8f7233072afa623d4e8ec0fb1dc2ceb47
2015-08-31 16:54:39 +12:00
Robert O'Callahan
4f744b98c0 Bug 1201393. Remove usage of FLAG_BLOCK_OUTPUT from MediaRecorder. r=jwwang
Blocking on the source stream will be treated as silence/no video change.

--HG--
extra : commitid : 6SiGcY4ED4a
extra : rebase_source : c28d291fbcb01c04b85906a1cd7859515193972e
2015-08-31 16:50:35 +12:00
Robert O'Callahan
c578c7e771 Bug 1201393. Remove usage of FLAG_BLOCK_* from OutputStreamData::Connect. r=jwwang
We don't want to block stream decoding on the output MediaStream, or vice
versa.

--HG--
extra : commitid : 7YVsark1y97
extra : rebase_source : 81ab806d4ab93a2b4077fff27587014d5d04fa0f
2015-08-19 14:12:16 +12:00
Mike Hommey
6c1fc083dc Bug 1142403 - Enable jemalloc debug on debug builds. r=njn 2015-09-08 13:13:27 +09:00
Mike Hommey
1e7025fdf4 Bug 1142403 - Don't build jemalloc3 with unified sources when built with --enable-debug. r=mshal
When built with --enable-debug, jemalloc3 makes headers define functions that
are normally inlined, and that prevents unified sources from working.
2015-09-08 13:13:25 +09:00
Mike Hommey
0cf8973ede Bug 1202523 - Use the default chunk size with jemalloc 4. r=njn 2015-09-08 13:10:22 +09:00
Nigel Babu
0b9a2f0921 Backed out changeset ad5763672ad2 (bug 1194037) for Mochitest other bustage
--HG--
extra : rebase_source : 2b663ebe8f14dc1f449b492437977740f1dbd2c7
2015-09-08 09:33:46 +05:30
Nigel Babu
d829f3a1e4 Backed out changeset 9fd02ff21f65 (bug 1194037) for Mochitest other bustage
--HG--
extra : rebase_source : 6876b7c1f19127aea75ff263dc49a5f5049d3998
2015-09-08 09:33:37 +05:30
Masayuki Nakano
ce68802c6e Bug 1200980 part.5 Fix window_composition_text_querycontent.xul for the new input event behavior r=smaug 2015-09-08 12:54:14 +09:00
Masayuki Nakano
94b05ec84b Bug 1200980 part.4 nsPlaintextEditor should notify editor observers of the end of edit action when NS_COMPOSITION_CHANGE isn't followed by NS_COMPOSITION_END r=smaug 2015-09-08 12:54:14 +09:00
Masayuki Nakano
1a4e1c06f7 Bug 1200980 part.3 IMEContentObserver should use its selection cache at handling NS_QUERY_SELECTED_TEXT r=smaug 2015-09-08 12:54:14 +09:00
Masayuki Nakano
b7165d94e4 Bug 1200980 part.2 QueryContentEvent should be handled via IMEContentObserver if there is an instance of it r=smaug 2015-09-08 12:54:14 +09:00
Masayuki Nakano
b97fbbb4aa Bug 1200980 part.1 Log the behavior of IMEContentObserver for debugging r=smaug 2015-09-08 12:54:14 +09:00
JW Wang
6861793f66 Bug 1202533 - Fix naming convention of MediaSink::PlaybackParams. 2015-09-08 10:58:11 +08:00
Brian Birtles
e5351ac8e7 Bug 1194037 part 6 - Add test for order of mutation observer records; r=heycam 2015-09-08 09:53:13 +09:00
Brian Birtles
86149276e3 Bug 1194037 part 5 - Make AnimationProperty::operator== ignore mWinsInCascade; r=heycam 2015-09-08 09:53:13 +09:00
Matthew Gregan
7c325c2df4 Bug 1202332 - XiphExtradataToHeaders miscalculates final header length. r=derf 2015-09-08 11:33:16 +12:00
Andreas Tolfsen
1fe3c441c1 Bug 1153822: Adjust Marionette responses to match WebDriver protocol
Introduce protocol version levels in the Marionette server.
On establishing a connection to a local end, the remote will return a
`marionetteProtocol` field indicating which level it speaks.

The protocol level can be used by local ends to either fall into
compatibility mode or warn the user that the local end is incompatible
with the remote.

The protocol is currently also more expressive than it needs to be and
this expressiveness has previously resulted in subtle inconsistencies
in the fields returned.

This patch reduces the amount of superfluous fields, reducing the
amount of data sent.  Aligning the protocol closer to the WebDriver
specification's expectations will also reduce the amount of
post-processing required in the httpd.

Previous to this patch, this is a value response:

    {"from":"0","value":null,"status":0,"sessionId":"{6b6d68d2-4ac9-4308-9f07-d2e72519c407}"}

And this for ok responses:

    {"from":"0","ok":true}

And this for errors:

    {"from":"0","status":21,"sessionId":"{6b6d68d2-4ac9-4308-9f07-d2e72519c407}","error":{"message":"Error loading page, timed out (onDOMContentLoaded)","stacktrace":null,"status":21}}

This patch drops the `from` and `sessionId` fields, and the `status`
field from non-error responses.  It also drops the `ok` field in non-value
responses and flattens the error response to a simple dictionary with the
`error` (previously `status`), `message`, and `stacktrace` properties,
which are now all required.

r=jgriffin

--HG--
extra : commitid : FbEkv70rxl9
extra : rebase_source : 3116110a0d197289cc95eba8748be0a33566c5a5
2015-05-21 11:26:58 +01:00
Nathan Froyd
17c37f82b5 Bug 1195767 - part 5 - use signaling instead of broadcast when work items are placed in nsEventQueue; r=gerald
There's no reason to wake up all the threads in a thread pool when one
item gets placed in the queue.  Waking up one will serve the same
purpose and is significantly more efficient for thread pools with large
numbers of threads.
2015-09-03 16:38:18 -04:00
Nathan Froyd
8502eaeea7 Bug 1195767 - part 4 - remove nsEventQueue::GetReentrantMonitor; r=gerald
The last commit eliminated the only client of this method, so we can
remove it now.
2015-09-03 16:37:51 -04:00
Nathan Froyd
aafe5d489a Bug 1195767 - part 3 - modify nsThreadPool to use a non-reentrant monitor; r=gerald
There's no reason nsThreadPool needs to use a reentrant monitor for
locking its event queue.  Having it use a non-reentrant one should be
slightly more efficient, both in the general operation of the monitor,
and that we're not performing redundant locking in methods like
nsThreadPool::Run.  This change also eliminates the only usage of
nsEventQueue::GetReentrantMonitor.
2015-09-03 15:38:28 -04:00
Nathan Froyd
92e6eccda2 Bug 1195767 - part 2 - create an nsEventQueueBase templated over the monitor type; r=gerald
Clients of nsEventQueue don't always need fully reentrant monitors.
Let's account for that by having a base class templated on the monitor
type.  This change also opens up the possibility of having the monitor
for the event queue not owned by the event queue itself, but by the
client class, which makes a lot more sense than the current design.
2015-08-28 13:26:17 -04:00
Nathan Froyd
1e05c1710d Bug 1195767 - part 1 - remove nsCOMPtr temporary from nsEventQueue::PutEvent; r=gerald
The comment here suggests that we might AddRef/Release, but we really do
no such thing.  Let's deal with the transfer of ownership directly,
rather than going through nsCOMPtr.  This change makes the code slightly
smaller, and it also makes later refactorings to pull the lock out of
this function easier to do, since we don't have to consider how to hold
the lock within the lifetime of the nsCOMPtr temporary.
2015-08-28 14:19:49 -04:00
Masayuki Nakano
2b42662c53 Bug 895274 part.114 Rename NS_SVG_ZOOM to eSVGZoom r=smaug 2015-09-07 23:55:52 +09:00
Masayuki Nakano
04de99392e Bug 895274 part.113 Rename NS_SVGZOOM_EVENT_START to eSVGZoomEventFirst r=smaug 2015-09-07 23:55:52 +09:00
Masayuki Nakano
3de217ee34 Bug 895274 part.112 Rename NS_SVG_SCROLL to eSVGScroll r=smaug 2015-09-07 23:55:52 +09:00
Masayuki Nakano
e2a83acfa5 Bug 895274 part.111 Rename NS_SVG_RESIZE to eSVGResize r=smaug 2015-09-07 23:55:52 +09:00
Masayuki Nakano
77d538e64c Bug 895274 part.110 Rename NS_SVG_UNLOAD to eSVGUnload r=smaug 2015-09-07 23:55:51 +09:00
Masayuki Nakano
a677e96719 Bug 895274 part.109 Rename NS_SVG_LOAD to eSVGLoad r=smaug 2015-09-07 23:55:51 +09:00
Masayuki Nakano
89394bc5c4 Bug 895274 part.108 Rename NS_SVG_EVENT_START to eSVGEventFirst r=smaug 2015-09-07 23:55:51 +09:00
Masayuki Nakano
46ce914957 Bug 895274 part.107 Get rid of NS_SVG_ABORT and NS_SVG_ERROR due to unused r=smaug 2015-09-07 23:55:51 +09:00
Masayuki Nakano
eab0f61b15 Bug 895274 part.106 Rename NS_PAGE_HIDE to ePageHide r=smaug 2015-09-07 23:55:51 +09:00
Masayuki Nakano
4403ce5b2b Bug 895274 part.105 Rename NS_PAGE_SHOW to ePageShow r=smaug 2015-09-07 23:55:51 +09:00
Masayuki Nakano
0ed26b6e82 Bug 895274 part.104 Rename NS_PAGETRANSITION_START to ePageTransitionEventFirst r=smaug 2015-09-07 23:55:51 +09:00
Masayuki Nakano
de2ad54f6b Bug 895274 part.103 Rename NS_MUTATION_END to eLegacyMutationEventLast r=smaug 2015-09-07 23:55:51 +09:00
Masayuki Nakano
25e0050d19 Bug 895274 part.102 Rename NS_MUTATION_ATTRMODIFIED to eLegacyAttrModified r=smaug 2015-09-07 23:55:51 +09:00
Masayuki Nakano
fbba1e8b07 Bug 895274 part.101 Rename NS_MUTATION_NODEREMOVED to eLegacyNodeRemoved r=smaug 2015-09-07 23:55:51 +09:00
Masayuki Nakano
8c49cf7363 Bug 895274 part.100 Rename NS_MUTATION_NODEINSERTED to eLegacyNodeInserted r=smaug 2015-09-07 23:55:51 +09:00
Masayuki Nakano
26cb9fd5f6 Bug 895274 part.99 Rename NS_MUTATION_SUBTREEMODIFIED to eLegacySubtreeModified r=smaug 2015-09-07 23:55:51 +09:00
Masayuki Nakano
0cff7052de Bug 895274 part.98 Rename NS_MUTATION_CHARACTERDATAMODIFIED to eLegacyCharacterDataModified r=smaug 2015-09-07 23:55:50 +09:00
Masayuki Nakano
4ed6ebbbe0 Bug 895274 part.97 Rename NS_MUTATION_NODEREMOVEDFROMDOCUMENT to eLegacyNodeRemovedFromDocument r=smaug 2015-09-07 23:55:50 +09:00
Masayuki Nakano
f39e20ec37 Bug 895274 part.96 Rename NS_MUTATION_START to eLegacyMutationEventFirst r=smaug 2015-09-07 23:55:50 +09:00
Masayuki Nakano
1636a8eba2 Bug 895274 part.95 Rename NS_MUTATION_NODEINSERTEDINTODOCUMENT to eLegacyNodeInsertedIntoDocument r=smaug 2015-09-07 23:55:50 +09:00
Heiher
9c08f9674b Bug 1199535 - IonMonkey: MIPS: Implement AtomicOperations shared. r=lth
Author: Heiher <r@hev.cc>
    IonMonkey: MIPS: Implement AtomicOperations-mips-shared.
2015-08-31 19:44:28 +08:00