Commit Graph

20267 Commits

Author SHA1 Message Date
Nathan Froyd
b2b2d28887 Bug 1003306 - part 2 - use services::GetPermissionManager everywhere that's appropriate; r=ehsan 2014-04-29 13:27:26 -04:00
Jeff Gilbert
a17c533abb Bug 978407 - Mark as cleared after glClearing. - r=kamidphish 2014-04-30 14:30:28 -07:00
Jeff Gilbert
fce42b593e Bug 978407 - Static constants should have 'k' prefix. - r=kamidphish 2014-04-30 14:30:23 -07:00
Jeff Gilbert
b6b6673b4c Bug 978407 - Use glClear to clear deferred-init textures. - r=kamidphish 2014-04-30 14:30:21 -07:00
Ryan VanderMeulen
03fd67e400 Backed out changeset 6c2f46733945 (bug 1003380) for frequent Android mochitest-2 failures.
CLOSED TREE
2014-04-30 14:08:44 -04:00
Benoit Jacob
39fdb5705c Bug 920292 - Fix a bad MOZ_ASSERT("message") in OmxTrackEncoder - r=ehsan 2014-04-30 12:46:51 -04:00
Rik Cabanier
1cffb8cb98 Bug 1003380 - Implementation + test for createPattern with a broken image. r=bas 2014-04-30 01:21:00 -04:00
Birunthan Mohanathas
80da21dedb Bug 1001966 - Part 2: Change uses of numbered NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE macro to the variadic variant. r=smaug 2014-04-29 04:57:00 -04:00
Bob Owen
62a79729a4 Bug 973837 - Check that view-source is not allowed for <object>s. r=johns 2014-04-25 12:05:44 +01:00
Bob Owen
4d762db166 Bug 973837 - Don't allow view-source in <object>s. r=johns 2014-04-25 11:19:21 +01:00
Geoff Brown
c20164fac2 Bug 999429 - Allow up to 4 assertions in Android test_bug682592.html; r=snorp 2014-04-30 09:23:05 -06:00
Paul Adenot
2e00926d9d Bug 998711. r=jesup 2014-04-25 15:15:21 +02:00
Jon Coppeard
e52714cca7 Bug 959787 - Handlify remaining JS APIs r=terrence r=bz r=bholley 2014-04-30 10:10:33 +01:00
JW Wang
759f973d2d Bug 995090 - test if cloned media element should be able to play till the end even after the src attribute of the original is changed. r=cpearce 2014-04-29 18:59:00 +02:00
Benjamin Chen
a4dbd8f201 Bug 999364 : Fix the cluster length for WebM. r=rillian 2014-04-30 10:08:41 +08:00
Giovanni Sferro
0ae500127b Bug 952982 - Submit inputs are subject to constraint validation and match :valid/:invalid as needed. r=bz 2014-04-29 18:58:00 +02:00
Ryan VanderMeulen
e83cf6f997 Merge m-c to inbound. 2014-04-30 00:05:34 -04:00
Ryan VanderMeulen
cf1b20c20b Merge b2g-inbound to m-c. 2014-04-29 23:58:05 -04:00
Ben Kelly
fe2327fcbb Bug 999841: Adjust max skia canvas size for typical mobile content and high dpi screens. r=snorp 2014-04-29 22:19:48 -04:00
William Chen
9506f41dd2 Bug 996151 - Clear out XBL binding and insertion parent of content even if nsBindingManager is destroyed. r=mrbkap 2014-04-29 11:37:02 -07:00
Nicholas Nethercote
fc00ac2ea6 Bug 952650 (part 13) - Remove JSVAL_IS_PRIMITIVE. r=till.
--HG--
extra : rebase_source : 450ba0261ef5a8546c81f9f645605e312585d6c6
2014-04-27 20:27:54 -07:00
Nicholas Nethercote
1a17f84079 Bug 952650 (part 12) - Remove JSVAL_TO_OBJECT. r=till.
--HG--
extra : rebase_source : 60dcaa2b778d3cf6eb7dc1a4949aab010ed8c130
2014-04-27 19:58:52 -07:00
Rodrigo Rodriguez Jr.
f307a82a31 Bug 952650 (part 11) - Remove JSVAL_TO_INT. r=njn.
--HG--
extra : rebase_source : 41923458bbf8fd957c9a57685df4969f1190bd9f
2014-04-27 19:55:08 -07:00
Rodrigo Rodriguez Jr.
34da22f61e Bug 952650 (part 9) - Remove JSVAL_IS_INT. r=njn.
--HG--
extra : rebase_source : dc0c170914c2370c218cdbbe671d2a68628f5a87
2014-04-27 19:47:02 -07:00
Rodrigo Rodriguez Jr.
89c7e7697a Bug 952650 (part 5) - Remove JSVAL_TO_DOUBLE. r=njn.
--HG--
extra : rebase_source : b1d9ba218fd1126f486f686ec5754dfaedac8b3c
2014-04-27 19:38:31 -07:00
Rodrigo Rodriguez Jr.
d083f24b3c Bug 952650 (part 4) - Remove JSVAL_IS_DOUBLE. r=njn.
--HG--
extra : rebase_source : 3c7065d9e487db70a1afed0a4143ae7b0cd23af9
2014-04-27 19:35:40 -07:00
Rodrigo Rodriguez Jr.
e1c05e08db Bug 952650 (part 2) - Remove JSVAL_IS_VOID. r=evilpies.
--HG--
extra : rebase_source : 0ae81cd69dc13d944927de906abc656536b4d425
2014-04-27 19:32:05 -07:00
Rodrigo Rodriguez Jr.
413ffc41d6 Bug 952650 (part 1) - Remove JSVAL_IS_NULL. r=terrence.
--HG--
extra : rebase_source : 83d1cdaf71260fd99b688c23303ceb2de7b00031
2014-04-27 19:30:51 -07:00
Ryan VanderMeulen
6f8a68ec66 Merge b2g-inbound to m-c. 2014-04-29 17:07:34 -04:00
Mike Habicher
d3f5ccb4f1 Bug 985496 - rationalize camera error reporting, r=dhylands 2014-04-25 16:28:15 -04:00
Randell Jesup
4d8009b536 Bug 1003003: Hold B2G camera callback monitor if we're going to call Notify() on it r=mikeh 2014-04-29 13:20:43 -04:00
Matthew Gregan
de200f83f4 Bug 1002404 - Register subdecoders earlier to avoid missing initialization. r=cajbir 2014-04-28 23:07:00 +12:00
Matthew Gregan
4805614e27 Bug 1002994 - Remove array of old decoders from SourceBuffer, just keep a reference to the current decoder. r=cajbir 2014-04-28 23:12:00 +12:00
Matthew Gregan
b59ab2a4b3 Bug 1002987 - Forward subdecoder frame stats to parent decoder. r=cajbir 2014-04-28 23:09:00 +12:00
Matthew Gregan
7f8c248b40 Bug 1002320 - Switch video readers at the earliest possible point rather than the latest. r=cajbir 2014-04-27 22:11:00 +12:00
Randy Lin
0e71ce4628 Bug 1000736 - Throw a error if an app tries to record a video from a video file being transcoded into a stream. r=tterribe. 2014-04-29 11:34:43 +08:00
Michael Shuen
9d2370cb2f Bug 972385 - Make JS::AutoValueVector subscript operator return handles. r=jonco, smaug 2014-04-28 16:53:00 +02:00
Matthew Gregan
66b0590c4d Backout 07196a58650f (bug 1002320) so it can be relanded with a follow-up fix. 2014-04-29 18:52:18 +12:00
JW Wang
ed8bcc1248 Bug 916399 - autoplay fails to activate due to Bug 1001317, call play() instead, r=cpearce 2014-04-28 00:59:00 -07:00
Matthew Gregan
d168ded517 Bug 1002320 - Switch video readers at the earliest possible point rather than the latest. r=cajbir 2014-04-27 22:11:00 +12:00
Wes Kocher
b8a88e345d Merge b2g-inbound to m-c 2014-04-28 16:10:59 -07:00
Wes Kocher
5d1dbae78a Backed out changeset c2c65691e01d (bug 996508) for possibly making Android J3 tests flaky 2014-04-28 15:55:53 -07:00
Carsten "Tomcat" Book
3cd23332f4 Merge m-c to b2g-inbound 2014-04-28 14:35:09 +02:00
Hsin-Yi Tsai
dfb62ca348 Bug 1000670 - part 3 - DOM: create and dispatch clirmodechange event. r=smaug 2014-04-24 14:37:49 +08:00
Matthew Gregan
45416e1091 Bug 881512 - Restrict MSE codec whitelist to WebM for now. r=cajbir 2014-04-23 21:25:00 +12:00
Dan Glastonbury
2880a027c4 Bug 994755 - Part 1. Fix the source of MOZ_CRASH in GetWebGLTexelFormat(). r=jgilbert 2014-04-28 09:54:13 +10:00
Anuj Agarwal
24181d67ff Bug 995278 - JS_NewArrayBufferContents frees user data on error. r=sfink 2014-04-27 01:22:00 -04:00
Birunthan Mohanathas
504b581650 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Henry Chang
5e9a78040a Bug 996508 - Don't deliver async messages which were already received. r=smaug 2014-04-16 11:38:15 +08:00
Matthew Gregan
7ad29231e2 Bug 946027 - Expose subdecoder's owner to avoid breaking DXVA decoding in MSE. r=cpearce 2014-04-27 17:36:00 +12:00
Matthew Gregan
ed0799ddb8 Bug 1000180 - Disallow seeking SourceBufferResource to offsets that have been evicted from the input buffer. r=cajbir 2014-04-27 20:35:00 +12:00
Chris Double
d7db9fde1c Bug 1002294 - Fix ContainsTime in SourceBuffer to allow for gaps in time ranges - r=kinetik
--HG--
extra : rebase_source : 6f872c3cd3757f57832cd0797338a1f93b4fa977
2014-04-28 14:39:50 +12:00
Chris Double
26ba4a3040 Bug 1002290 - Set MediaSource duration when read by MediaSourceReader - r=kinetik
--HG--
extra : rebase_source : 07ac1618cf17fd09b72b4fcf7d1fd2973f989999
2014-04-28 14:39:27 +12:00
Chris Pearce
23592d98c2 Bug 1002266 - Access MediaQueues from MediaDecoderStateMachine through accessors. r=kinetik 2014-04-28 13:12:50 +12:00
Andrew McCreight
510ae624e0 Bug 1001562 - Make SetXBLInsertionParent(nullptr) and SetXBLBinding(nullptr, ...) lazier. r=smaug 2014-04-28 06:15:08 -07:00
Andrew McCreight
2da264c3e1 Bug 1001587 - nsGenericDOMDataNode's Traverse method doesn't need to call nsBindingManager::Traverse. r=smaug
The stuff from nsBindingManager::Traverse that is used for data nodes
was removed in bug 796061, so it now just returns immediately for
non-elements, so we don't need to call it any more in data nodes.
2014-04-28 06:15:08 -07:00
Giovanni Sferro
bbf2260755 Bug 343444 - Fix HTMLFormElement::GetNextRadioButton to return only radio buttons. r=jst 2014-04-26 21:55:00 -04:00
Ehsan Akhgari
ce353a11c2 Bug 997805 - Correctly restore the placeholder text after the editor object is re-attached to a text control as a result of a reframe; r=bzbarsky
Recomputing the placeholder visibility does not require the placeholder div
itself to be present, as the only information required for that is the current
value of the text control which is present either way.  This patch fixes
nsTextEditorState::ValueWasChanged and nsTextEditorState::UpdatePlaceholderVisibility
to that effect.

But the real fix is in nsTextEditorState::UpdatePlaceholderText, where after
setting the placeholder text on the anonymous div, we redo the placeholder
visibility computation.  Since this function can be called from
HTMLTextAreaElement::CreatePlaceholderNode during frame construction, the
GetValue function may return the wrong value since the editor has not properly
been set up yet, resulting in this bug.  And this function call is useless
anyway, because changing the placeholder text does not really affect the
result of the visibility computation, so there is no need to do this work
in the first place.
2014-04-25 16:40:44 -04:00
Ehsan Akhgari
3addc01700 Bug 1001936 - Clear the value cache when the editor is being destroyed because it won't get updated when we don't have a bound frame; r=bzbarsky 2014-04-27 09:33:24 -04:00
Jan-Ivar Bruaroey
ad82ff725b Bug 907352 - Part 7: Width/height/frameRate gUM constraints. r=mt 2014-04-18 15:15:37 -04:00
Jan-Ivar Bruaroey
dc758ea8d1 Bug 907352 - Part 6: Change media.navigator.video.default_width to 0. r=mt 2014-04-24 19:30:08 -04:00
Jan-Ivar Bruaroey
398687e6de Bug 907352 - Part 5: Wiring for width/height/frameRate gUM constraints. r=mt 2014-04-18 15:15:10 -04:00
Jan-Ivar Bruaroey
27c5ae175d Bug 907352 - Part 4: Normalized constraints to relieve downstream width/height/frameRate implementation. r=mt 2014-04-18 15:16:08 -04:00
Jan-Ivar Bruaroey
c601ff3ab9 Bug 907352 - Part 1: Update to most recent constraints syntax. r=mt 2014-04-18 14:00:16 -04:00
Birunthan Mohanathas
c8c6722bb4 Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug 2014-04-25 12:49:00 -04:00
JW Wang
6af09e55b3 Bug 843265 - Remove the check for 'canplaythrough' since the purpose of this test is test the 3 ways to register an event handler. r=kinetik 2014-04-24 23:49:00 -04:00
Andrea Marchesini
dc99945d5f Bug 1001383 - HTMLMediaElement::UpdateAudioChannelPlayingState() should use system principal because calling AudioChannel API, r=bz 2014-04-28 11:22:16 +01:00
Matthew Gregan
4c550743ce Bug 881512 - Use MediaTaskQueue to run MSE tasks rather than a per-MSE thread. r=cajbir 2014-04-25 22:42:00 +12:00
JW Wang
47401db519 Bug 969392 - remove the check for 'canplaythrough' in 'ended' event handler r=kinetik 2014-04-26 00:46:32 -04:00
cajbir
135d3941b8 Bug 1000608 - Populate active source buffers and fix/rename ContainsTime - r=kinetik 2014-04-23 19:44:00 +12:00
cajbir
b81f0f225a Bug 1000608 - Implement cue-less seeking on WebM Reader - r=kinetik 2014-04-23 19:47:00 +12:00
cajbir
4d29c12a1e Bug 1000608 - Implement seeking on MediaSourceDecoder - r=kinetik 2014-04-23 19:46:00 +12:00
cajbir
f18b46a7c3 Bug 1000608 - Allow querying source buffers to see if they contain data for a given time - r=kinetik 2014-04-23 19:45:00 +12:00
Matthew Gregan
837965a872 Bug 881512 - Make sure any released decoders are destroyed on the main thread. r=cajbir 2014-04-24 00:44:00 +12:00
Matthew Gregan
58c234429f Bug 881512 - Explicitly initialize ReadMetadata's aTags parameter to null. Also add some null deref tests. r=cajbir 2014-04-22 23:59:00 +12:00
Matthew Gregan
a4d36900ce Bug 881512 - Fix bogus indexing of audio/video readers by ditching audio/video reader arrays and using the parent decoder directly. r=cajbir 2014-04-22 23:59:00 +12:00
Matthew Gregan
e4d00f5317 Bug 881512 - Delay decoder initialization by indicating that we're waiting for subdecoders to be created. r=cajbir 2014-04-22 23:58:00 +12:00
Matthew Gregan
495008b09a Bug 881512 - Don't mix refcounting with auto ptr use. Rather than try to hang on to the reader, punch the appropriate holes through via the state machine class. r=cajbir 2014-04-22 23:58:00 +12:00
Matthew Gregan
c87e04de54 Bug 881512 - Remove useless static_casts. r=cajbir 2014-04-22 23:58:00 +12:00
Matthew Gregan
d7d55bf01a Bug 881512 - Use the base video and audio queues. Currently works by shifting media data from the sub-reader queues on each decode call. Future work could allow the sub-readers to use the base queues directly. r=cajbir 2014-04-22 01:33:00 +12:00
Matthew Gregan
ca85bfa15a Bug 881512 - Don't pretend the entire resource is always completely cached. r=cajbir 2014-04-22 01:32:00 +12:00
Matthew Gregan
bf6ac6392d Bug 881512 - Temp fix: don't call mParentDecoder functions while SBD runs off decode thread. Revert when SBD runs on state machine's task queue. r=cajbir 2014-04-22 01:32:00 +12:00
Matthew Gregan
1857e519a3 Bug 881512 - Crude attempt at segment parser for WebM. r=cajbir 2014-04-22 01:31:00 +12:00
Matthew Gregan
3f9b03d9fd Bug 881512 - Switch video readers on EOF. r=cajbir 2014-04-22 01:31:00 +12:00
Matthew Gregan
3f1675029f Bug 881512 - Start processing multiple decoders. r=cajbir 2014-04-22 01:30:00 +12:00
Matthew Gregan
a6701ff814 Bug 881512 - Add hidden pref to ignore MIME type in AddSourceBuffer and IsTypeSupported. For experimental/debugging use only. r=cajbir 2014-04-14 23:24:00 +12:00
Matthew Gregan
9a651158f2 Bug 881512 - Hide MediaSourceResource implementation details from HTMLMediaElement. r=cajbir 2014-04-14 23:24:00 +12:00
Matthew Gregan
f007185b6f Bug 881512 - Allow a SourceBuffer to own multiple subdecoders. Switch decoders on abort(). r=cajbir 2014-04-14 23:24:00 +12:00
Matthew Gregan
d5e8d28fdf Bug 881512 - Add start (and rename end) time helper to TimeRanges. r=cajbir 2014-04-14 23:23:00 +12:00
Benoit Jacob
065c46bd6f Bug 989325 - Make WebGLExtensionID a typed enum, and WebGLContext::mExtensions an enumerated array - r=jgilbert 2014-04-25 22:34:07 -04:00
Benoit Jacob
47176d06f7 Bug 989337 - 3/3 - Convert Canvas2D to typed enums and EnumeratedArray, final manual changes - r=Bas 2014-04-25 22:34:07 -04:00
Benoit Jacob
be789304dc Bug 989337 - 2/3 - Convert Canvas2D to typed enums and EnumeratedArray, auto regex changes - r=Bas 2014-04-25 22:34:07 -04:00
Benoit Jacob
d1d06da7c8 Bug 989337 - 1/3 - Convert Canvas2D to typed enums and EnumeratedArray, initial manual changes - r=Bas 2014-04-25 22:34:07 -04:00
Bobby Holley
0286188e22 Bug 1001662 - Enter the compilation scope before retrieving off-main-thread-compiled scripts. r=billm 2014-04-25 16:57:28 -07:00
Wes Kocher
5fb9a7146e Backed out changeset 669fdba2ceef (bug 997805) for reftest bustage on a CLOSED TREE 2014-04-25 15:12:22 -07:00
Jason Orendorff
409179b8a6 Bug 547140, part 4 - Remove flags argument from resolve hooks. r=Waldo. 2014-04-25 16:11:02 -05:00
Jason Orendorff
009c8c80e0 Bug 547140, part 2 - Remove flags argument from JS_GetPropertyDescriptor and friends. r=Waldo. 2014-04-25 16:11:01 -05:00
Ehsan Akhgari
baf2940c9a Bug 997805 - Correctly restore the placeholder text after the editor object is re-attached to a text control as a result of a reframe; r=bzbarsky
Recomputing the placeholder visibility does not require the placeholder div
itself to be present, as the only information required for that is the current
value of the text control which is present either way.  This patch fixes
nsTextEditorState::ValueWasChanged and nsTextEditorState::UpdatePlaceholderVisibility
to that effect.

But the real fix is in nsTextEditorState::UpdatePlaceholderText, where after
setting the placeholder text on the anonymous div, we redo the placeholder
visibility computation.  Since this function can be called from
HTMLTextAreaElement::CreatePlaceholderNode during frame construction, the
GetValue function may return the wrong value since the editor has not properly
been set up yet, resulting in this bug.  And this function call is useless
anyway, because changing the placeholder text does not really affect the
result of the visibility computation, so there is no need to do this work
in the first place.
2014-04-25 16:40:44 -04:00
Ryan VanderMeulen
82a330dd5d Merge b2g-inbound to m-c. 2014-04-25 16:12:25 -04:00
Andrew McCreight
caf4246635 Bug 1000974 - Don't do cycle collector optimization for nodes in the shadow tree. r=smaug 2014-04-25 09:12:26 -07:00
JW Wang
b4adac8b06 Bug 981153 - Fix and re-enable test_seek.html. r=cpearce
* Enable test on Windows.
* Longer timeout for it could take over 10 mins on B2G.
* Release decoder to avoid timeout on waiting for decoding resource.
2014-04-24 20:45:00 -04:00
Benjamin Chen
5a3efe88d4 Bug 990908 - Revert the change of bug 938512 and let the RTSP's code flow align to others. r=cpearce 2014-04-24 14:45:31 +08:00
Carsten "Tomcat" Book
f7b3ad6627 Merge m-c to b2g-i 2014-04-25 13:55:53 +02:00
Carsten "Tomcat" Book
b5a06b43c4 merge fx-team to mozilla-central 2014-04-25 13:18:39 +02:00
Dave Townsend
b5f4a53623 Backing out bug 990685 as it changes some assumptions for XBL bindings. 2014-04-24 13:05:38 -07:00
Paul Adenot
bbf8c9bb33 Bug 998179 - Refactor how MediaStreamGraph get and use their sample rate. r=roc
Use the sample rate passed to the OfflineAudioContext constructor in
MediaStreamGraph::CreateOfflineInstance, and pass the preferred mixer sample
rate to the (real time) MediaStreamGraph constructor.

Then, always use this sample rate for the lifetime of the graph.

This patch needed to pass the sample rate to the AudioMixer class to avoid
relying on globals like it was done before.

--HG--
extra : rebase_source : 2802208819887605fe26a7040998fc328b3c9a57
2014-04-23 11:20:56 +02:00
Star Cheng
bb4b02ccc8 Bug 984498: To plumb audiochannel type from AudioContext to MediaStreamGraph r=roc 2014-04-18 17:23:36 +08:00
Carsten "Tomcat" Book
e3186c8910 Backed out changeset c07bced21c89 (bug 984498) for mochitest-1 bustage on a CLOSED TREE 2014-04-25 12:09:54 +02:00
Star Cheng
5fa7e47c34 Bug 984498: To plumb audiochannel type from AudioContext to MediaStreamGraph r=roc 2014-04-18 17:23:36 +08:00
Ehsan Akhgari
ccccebc4dc Bug 998729 - Mark nsIPhonetic as non-scriptable; r=smaug 2014-04-24 17:10:40 -04:00
Ehsan Akhgari
c56dd2ad4d Bug 998727 - Remove nsICanvasGLBuffer and nsICanvasGLTexture; r=smaug 2014-04-24 17:10:00 -04:00
Ehsan Akhgari
efcc9419f8 Bug 998725 - Mark nsIXHRSendable as non-scriptable; r=smaug 2014-04-24 17:09:09 -04:00
Aryeh Gregor
57e61e9d15 Bug 950386 - Move mozilla::Selection to mozilla::dom::Selection; r=ehsan 2014-04-10 19:09:40 +03:00
Robert O'Callahan
dea8b24676 Bug 998284. When entering the buffering state from AdvanceFrame, be prepared to accept a second's delay before reevaluating whether to exit buffering. r=cpearce
--HG--
extra : rebase_source : 2a7aab19c998f6977cb47d6300e2967be69bcbdf
2014-03-25 00:58:11 +13:00
Paul Kerr [:pkerr]
8bc75b1deb Bug 970691 - Part 1: Add timestamp to fake video. r=jesup
Update YuvStamper utility. Add a CRC32 to the encoded
payload and have the decode method us this to verify reception.
Wrap encoded values across multiple lines in the frame buffer
when necessary. Use YuvStamper to encode a timestamp in each fake video frame.
Extract the value in VideoConduit to calculate the video latency
and add this to a running average latency when enabled via config.
2014-03-22 16:35:43 -07:00
Robert O'Callahan
a4997e4704 Bug 998282. Ensure cancellable_request.sjs massively overfills the default 100K media cache size.
This ensures a test can make such a request, receive the event that the
load has been suspended, and cancel the request, all before the load has
completed.

--HG--
extra : rebase_source : c7ea934a1745004872d8529bb99241e2e376759c
2014-03-11 17:30:27 +08:00
Robert O'Callahan
299ea95ae7 Bug 821307. Ensure nsTextEditorState::SetValue does nothing when the new value equals the old value, even for password inputs. r=ehsan
If nsTextEditorState::SetValue is allowed to rebuild the editor DOM even when
the new value is the same as the old value, then during PrepareEditor we can
remove the content that's the current target of the event triggering the
PrepareEditor, which prevents important code from running such as the code that
focuses the text input. Normally this isn't a problem but
nsTextEditorState::SetValue's code for getting the current value is broken
for password controls when !mEditorInitialized. So we remove that broken code
path.

We have to make sure that the password text, if any, is set on the edit-rules
during their initialization so the regular path for getting the current
value returns the right thing.

--HG--
extra : rebase_source : 81a01a957b4b1e0cf868505a1b23c9110a2f4b3a
2014-04-15 00:33:47 +12:00
John
e8e8b0abc6 Bug 999902 - Enable WebRTC OMX codec only when Android version >= 18. r=jesup 2014-04-23 02:59:00 +02:00
Ben Turner
93e285a83b Bug 999742, Split Blob<> into BlobParent/BlobChild. rs=sicking.
--HG--
extra : transplant_source : %F6%EF%8D%0C%0E%0B7%EFm%7F%15%83%D5%82%19T%BF-%3C%98
2014-04-23 21:43:57 -07:00
Wes Kocher
302d3900c2 Backed out 2 changesets (bug 970691) for build bustage on a CLOSED TREE
Backed out changeset 83f7aec5a083 (bug 970691)
Backed out changeset 94348d189ed5 (bug 970691)
2014-04-23 18:26:05 -07:00
Ehsan Akhgari
164e703836 Bug 491863 - Remove IBMBIDI; r=roc 2014-04-23 21:15:29 -04:00
Paul Kerr [:pkerr]
18d460fcd1 Bug 970691 - Part 1: Add timestamp to fake video. r=jesup
Update YuvStamper utility. Add a CRC32 to the encoded
payload and have the decode method us this to verify reception.
Wrap encoded values across multiple lines in the frame buffer
when necessary. Use YuvStamper to encode a timestamp in each fake video frame.
Extract the value in VideoConduit to calculate the video latency
and add this to a running average latency when enabled via config.
2014-03-22 16:35:43 -07:00
Ben Kelly
357e52440e Bug 987556 Part 12 Remove the nsString ConvertToUTF16() compat shim. r=bz 2014-04-25 10:11:57 -04:00
Ben Kelly
df50d7077f Bug 987556 Part 8 Use JS::SourceBufferHolder in XULDocument. r=bz 2014-04-25 10:11:57 -04:00
Ben Kelly
9b439fd8e4 Bug 987556 Part 7 Use JS::SourceBufferHolder in nsFrameMessageManager. r=bz 2014-04-25 10:11:56 -04:00
Ben Kelly
9ead49c712 Bug 987556 Part 5 Use JS::SourceBufferHolder in nsScriptLoader. r=bz 2014-04-25 10:11:56 -04:00
Henri Sivonen
4265c19aa6 Bug 999349 - Add "DO NOT USE" annotation to nsIPlatformCharset. r=emk 2014-04-22 12:35:44 +03:00
Carsten "Tomcat" Book
ca19232084 Merge m-c to mozilla-inbound 2014-04-23 15:00:31 +02:00
Carsten "Tomcat" Book
2c60876583 merge b2g-inbound to mozilla-central 2014-04-23 14:58:05 +02:00
Ehsan Akhgari
476d42813d Bug 999908 - Remove support for the Web Audio legacy prefs for AudioBufferSourceNode, AudioContext, and AudioParam; r=padenot 2014-04-23 08:56:42 -04:00
JW Wang
ad74eb79fd Bug 998168 - nsITimer functions should be only called in the event target thread of the timer. r=cpearce. 2014-04-23 05:29:14 -04:00
JW Wang
2015191021 Bug 998168 - add decoder pointer to the log message of MediaDecoderStateMachine/MediaDecoder for debugging. r=cpearce 2014-04-23 05:29:04 -04:00
Carsten "Tomcat" Book
4a9ab93246 Backed out changeset 1f410dde84d9 (bug 984498) 2014-04-23 08:20:37 +02:00
Benjamin Chen
b35e578978 Bug 994557 - part2: 1. fix bug in finishCluster function. 2. Can flush metadata only. 3. Ensure the keyframe is placed at the beginning of cluster. r=rillian 2014-04-23 12:04:27 +08:00
Sotaro Ikeda
3b44349efa Bug 994889 - Fix how to get video size from OMXCodec r=cajbir 2014-04-22 20:21:29 -07:00
Benjamin Chen
751a97b766 Bug 994557 - part1:fix formatting, typo, 80 characters. r=rillian 2014-04-23 10:32:46 +08:00
Star Cheng
975949c758 Bug 984498: To plumb audiochannel type from AudioContext to MediaStreamGraph r=padenot 2014-04-23 09:58:38 +08:00
Wes Kocher
af2230c253 Merge inbound to m-c 2014-04-22 17:54:44 -07:00
Ryan VanderMeulen
0af45348c7 Merge b2g-inbound to m-c. 2014-04-22 12:50:29 -07:00
Randell Jesup
c39b1723d8 Bug 996487: don't null out mThread while committing thread suicide r=bsmedberg 2014-04-22 15:32:13 -04:00
Bobby Holley
aaa815d86d Bug 990353 - Make the decision to discard source entirely per-global, rather than per-script. r=luke
This is effectively a policy decision based on the kind of code we expect to be
running somewhere. This is in contrast to lazy source, which is often a practical
per-script consideration of whether or not we can retrieve the source if requested.

More importantly, tracking this information on the global is much easier to
get right than tracking it on the script.
2014-04-22 14:08:27 -07:00
Jefry Lagrange
e1f4424ba4 Bug 939323 - Warn about XMLHttpRequest sendAsBinary usage. r=smaug 2014-04-22 13:59:39 -07:00
Ethan Tseng
bc10b02e93 Bug 992568 - Part 2: Refactor RtspChannel to support redirection. r=sworkman 2014-04-03 19:08:34 +08:00
Martin Thomson
9583f4340e Bug 907770 - Part 2: Test changes for https support on b2g/android. r=jmaher 2014-03-14 11:25:48 -07:00
Ryan VanderMeulen
4fbf07a98b Merge m-c to inbound. 2014-04-22 13:07:17 -07:00
Ethan Tseng
e1617123ad Bug 992568 - Part 1: Render RTSP in the browser. r=sworkman 2014-01-20 18:54:33 +08:00
Ethan Tseng
01a8d34d02 Bug 998239 - [RTSP] Follow up of 877193 to refine RtspTrackBuffer size. r=sworkman 2014-04-18 15:54:00 +08:00
JW Wang
ea24bc48ad Bug 995090 - Update MediaCache again when there are changes in |MediaCache::mStreams|. r=roc 2014-04-22 08:37:01 -04:00
Vasanthakumar Pandurangan
ce40813c70 Bug 994881 - Release audio offload player resources after pause timeout. r=roc 2014-04-21 16:47:04 +05:30
Dan Glastonbury
c334f64c9c Bug 990851 - Fix TexSubImage with cubemap face failure. r=jgilbert 2014-04-22 14:09:33 +10:00
Kearwood (Kip) Gilbert
aa1858b22f Bug 991545 - Update SVGTransformableElement::GetAttributeChangeHint to use nsChangeHint_UpdatePostTransformOverflow. r=longsonr
- When only the transform is changed,
  SVGTransformableElement::GetAttributeChangeHint returns
  nsChangeHint_UpdatePostTransformOverflow to avoid extraneous calls to
  UpdateOverflow in OverflowChangedTracker::Flush.
- nsSVGElement::DidAnimateTransformList now receives a modType parameter
  that is set by callers to either nsIDOMMutationEvent::ADDITION,
  nsIDOMMutationEvent::REMOVAL, or nsIDOMMutationEvent::MODIFICATION.
- SVGTransformableElement::GetAttributeChangeHint uses the passed modType
  to accurately select when to return nsChangeHint_UpdatePostTransformOverflow.
2014-04-07 12:52:12 -07:00
Adrian Lungu
a3166584d9 Bug 822480 - Add in the Resource Timing API. r=honzab, r=jst 2013-10-15 18:35:44 -07:00
Jan Beich
f34bd92e17 Bug 996433 - Sprinkle MOZ_WEBRTC ifdefs to unbreak --disable-webrtc after bug 694814. r=jesup 2014-04-21 09:15:34 +02:00
Bobby Holley
683b0ff5f5 Bug 993772 - Remove nsXULPDGlobalObject. r=mrbkap 2014-04-20 11:48:14 -07:00
Bobby Holley
fe66e85daf Bug 993772 - Switch to the singleton compilation scope for XUL prototype compilation. r=mrbkap 2014-04-20 11:48:14 -07:00
Phil Ringnalda
a80cd06599 Back out 8 changesets (bug 990353) for gaia-integration bustage
CLOSED TREE

Backed out changeset f6b3c03454a4 (bug 990353)
Backed out changeset 6e1f9b821ae0 (bug 990353)
Backed out changeset 2926ad6c594f (bug 990353)
Backed out changeset 74b75c155205 (bug 990353)
Backed out changeset 394e09fe2da2 (bug 990353)
Backed out changeset 0fdd36b19a51 (bug 990353)
Backed out changeset 0792729890cc (bug 990353)
Backed out changeset 487e6f72fcf7 (bug 990353)
2014-04-19 08:37:32 -07:00
Bobby Holley
3502193900 Bug 990353 - Flag for discarding where appropriate. r=bent 2014-04-18 23:46:27 -07:00
Bobby Holley
51af5cebbd Bug 990353 - Make the decision to discard source entirely per-global, rather than per-script. r=luke
This is effectively a policy decision based on the kind of code we expect to be
running somewhere. This is in contrast to lazy source, which is often a practical
per-script consideration of whether or not we can retrieve the source if requested.

More importantly, tracking this information on the global is much easier to
get right than tracking it on the script.
2014-04-18 23:46:26 -07:00
Ryan VanderMeulen
915c699141 Merge m-c to inbound. 2014-04-18 22:08:16 -04:00
Ryan VanderMeulen
f394fe9b5b Merge inbound to m-c. 2014-04-18 22:00:13 -04:00
Bobby Holley
e8f0ed897a Bug 998377 - Remove mDelayedDisconnect and friends. r=smaug 2014-04-18 16:00:06 -07:00
Bobby Holley
a9371e5350 Bug 998377 - Stop calling ReleaseWrapper in DelayedDisconnect(). r=smaug
AFAICT, nobody ever calls PreserveWrapper. Presumably, the CC machinery should
take care of us here.
2014-04-18 16:00:06 -07:00
Bobby Holley
9ce629e394 Bug 998377 - Stop nulling out nsInProcessTabChildGlobal::mGlobal during DelayedDisconnect. r=smaug
This is already cycle-collected, so no extra work needs to happen.
2014-04-18 16:00:06 -07:00
Ryan VanderMeulen
5b8eaf2cf4 Merge m-c to b2g-inbound. a=merge 2014-04-18 10:03:35 -04:00
Robert Longson
e5eaf64ca5 Bug 974698 - Check that keyPoints and keyTimes numbers match for animateMotion. r=dholbert 2014-04-18 10:47:28 +01:00
Terrence Cole
de2fb98fa3 Bug 807168 - Make JSTracer into a real C++ class and kill the macro accessors; r=jonco,mccr8
--HG--
rename : js/public/Tracer.h => js/public/TracingAPI.h
2014-04-11 15:19:05 -07:00
Ryan VanderMeulen
1fcd6a648b Backed out changesets 1e581e74878d, 7d2138e87ca0, and 7cc66aee4341 (bug 942367) for B2G mochitest failures.
CLOSED TREE
2014-04-17 22:26:07 -04:00
Randell Jesup
ca8fa1686d Bug 996853: handle AUDIO_FORMAT_SILENCE in MediaPipeline and AudioSegment::WriteTo r=roc 2014-04-17 17:45:25 -04:00
Eric Rahm
1e1f443953 Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
Marco Castelluccio
9b8bd037cb Bug 993326 - Automatically restore apps launchable value. r=fabrice 2014-04-17 16:43:04 -04:00
Fabrice Desré
c4f785449c Bug 965970 - Add support to compile asm.js code at install/update time r=luke,bholley,marco 2014-04-17 22:03:03 -07:00
Jeff Gilbert
ec21c1973f Bug 996282 - Cleanup getParameter. - r=kamidphish 2014-04-16 14:36:53 -07:00
Jeff Gilbert
b907ee022e Bug 996269 - Lazily clear the WebGL backbuffer. - r=kamidphish 2014-04-17 13:15:41 -07:00
Randell Jesup
75ad252e32 Bug 997286: Don't depend on NewThread event timing; add test for suicidal initial events r=bsmedberg 2014-04-17 15:13:44 -04:00
Martin Thomson
e1ac0d390b Bug 942367 - Part 3: Stream isolation for WebRTC. r=jib, r=bholley 2014-04-10 11:52:08 -07:00
Martin Thomson
55131befc9 Bug 942367 - Part 2: DOMMediaStream support for PeerIdentity. r=bholley, r=roc 2014-04-10 11:51:29 -07:00
Ryan VanderMeulen
d503f72d54 Backed out changesets d8d01c95be03 and 5fa0c8f5ccb2 (bug 907352) for Linux64 mochitest-3 crashes. 2014-04-18 11:22:21 -04:00
Jan-Ivar Bruaroey
2bbfbe3315 Bug 907352 - Part 1: Update to most recent constraints syntax. r=mt 2014-04-18 03:23:29 -04:00
Ralph Giles
c6a7e9c53c Bug 995289 - Use fmod to wrap custom waveform phase. r=padenot
From 4156df84046e8c0be31f02a9ac0ffac1cb9fe668 Mon Sep 17 00:00:00 2001
2014-04-14 19:12:13 -07:00
Birunthan Mohanathas
7167a1f2d5 Bug 997208 - Remove unnecessary nullptr checks before deleting in content/media. r=cajbir 2014-04-17 09:23:16 -04:00
Andrea Marchesini
d848197189 Bug 969201 - HTMLLinkElement sizes attribute, f=ms2ger, r=bz 2014-04-17 12:50:54 +01:00
Carsten "Tomcat" Book
3a7fcff936 Merge m-c to mozilla-inbound 2014-04-17 12:53:05 +02:00
Carsten "Tomcat" Book
b5c721a037 merge fx-team to mozilla-central 2014-04-17 12:49:25 +02:00
Carsten "Tomcat" Book
35c906cff6 Backed out changeset ce1fe33d58a0 (bug 997014) for mochitest m-1 orange on a CLOSED TREE 2014-04-17 08:44:04 +02:00
Carsten "Tomcat" Book
502139c768 Backed out changeset 20b75bf44c1e (bug 997014) 2014-04-17 08:43:43 +02:00
Carsten "Tomcat" Book
9a457afe93 Backed out changeset 29ed3c34af5e (bug 997014) 2014-04-17 08:43:40 +02:00
Carsten "Tomcat" Book
e0251f4acb Backed out changeset 8681fc7a918b (bug 997014) 2014-04-17 08:43:38 +02:00
Carsten "Tomcat" Book
d9dbca87f4 Backed out changeset 6ba917df6b41 (bug 997014) 2014-04-17 08:43:35 +02:00
Matt Woodrow
c86a13d275 Bug 997014 - Part 6: Remove duplicate code for retreiving a snapshot from a canvas in CanvasRenderingContext2D. r=roc 2014-04-17 17:32:41 +12:00
Matt Woodrow
efb62922b5 Bug 997014 - Part 5: Remove nsICanvasRenderingContextInternal::Render. r=roc 2014-04-17 17:31:44 +12:00
Matt Woodrow
941a17d27c Bug 997014 - Part 4: Remove the external canvas API. r=roc 2014-04-17 17:31:12 +12:00
Matt Woodrow
b0d6dd3888 Bug 997014 - Part 2: Make SurfaceFromElement use GetSurfaceSnapshot instead of the external API. r=roc 2014-04-17 17:29:52 +12:00
Matt Woodrow
3c93570e0d Bug 997014 - Part 1: Improve GetSurfaceSnapshot. r=roc 2014-04-17 17:28:17 +12:00
Ryan VanderMeulen
2b950f9f7f Merge m-c to fx-team. 2014-04-16 22:53:31 -04:00
Randell Jesup
4aa7b8ca86 Bug 997286: Make NS_NewNamedThread safe if the event tries to commit suicide r=bsmedberg 2014-04-16 16:39:16 -04:00
Gabor Krizsanits
91a0c0d068 Bug 996069 - Part1: nsContentUtils::IsSystemOrExpandedPrincipal. r=bz 2014-04-16 22:29:12 +02:00
Jonathan Watt
cc5c8ff0dc Bug 991572 - Stop creating a Thebes backed gfxContext in CanvasRenderingContext2D.cpp, and kill off nsICanvasRenderingContextInternal::GetThebesSurface. r=mattwoodrow 2014-04-17 22:13:34 +12:00
Matt Woodrow
5771ca7992 Bug 997014 - Part 6: Remove duplicate code for retreiving a snapshot from a canvas in CanvasRenderingContext2D. r=roc 2014-04-17 17:32:41 +12:00
Matt Woodrow
30f65e3cc3 Bug 997014 - Part 5: Remove nsICanvasRenderingContextInternal::Render. r=roc 2014-04-17 17:31:44 +12:00
Matt Woodrow
6fd7bb378f Bug 997014 - Part 4: Remove the external canvas API. r=roc 2014-04-17 17:31:12 +12:00
Matt Woodrow
8006e4b32d Bug 997014 - Part 2: Make SurfaceFromElement use GetSurfaceSnapshot instead of the external API. r=roc 2014-04-17 17:29:52 +12:00
Matt Woodrow
0bf873e24d Bug 997014 - Part 1: Improve GetSurfaceSnapshot. r=roc 2014-04-17 17:28:17 +12:00
Paul Adenot
d2d43ae249 Bug 997229 - Don't call IdealAudioRate on an offline MediaStreamGraph r=roc
--HG--
extra : rebase_source : 44aec47b98965a663600a84c630c0f89239842a6
2014-04-17 11:15:47 +02:00
Boris Zbarsky
07009537c7 Bug 996911. Make nsIDOMXUL*Element not inherit from nsIDOMXULElement, so we can make the latter noscript. r=smaug 2014-04-16 15:13:41 -04:00
Olli Pettay
ddbaf239cc Bug 957666 - Send back a huge retry reconnection time in delayedServerEvents.sjs. r=ehsan 2014-04-16 20:56:20 -04:00
Florian Quèze
00c42a4376 Bug 995321 - nsIDocumentEncoder.encodeToString should offer a way to limit the size of the output, r=smaug. 2014-04-17 00:01:55 +02:00
Carsten "Tomcat" Book
48f271a5e0 Backed out changeset 3d0426ac98f1 (bug 942367) 2014-04-16 09:54:33 +02:00
Carsten "Tomcat" Book
b5fc89d249 Backed out changeset e6c72bcaa64c (bug 942367) 2014-04-16 09:54:31 +02:00
Martin Thomson
43558d920e Bug 942367 - Stream isolation for WebRTC. r=jib,bholley 2014-04-15 14:36:00 +02:00
Martin Thomson
59875342fd Bug 942367 - DOMMediaStream supports PeerIdentity. r=bobbyholley 2014-04-15 13:46:00 +02:00
Ethan Tseng
ccd9122f92 Bug 877193 - Reduce memory usage for RTSP streaming. r=sworkman 2014-04-16 21:07:17 +08:00
Boris Zbarsky
22f64a2913 Bug 843840 part 2. Add a way to ask DOM proxies for only their enumerable property names, and use that in the enumerate hook. r=peterv 2014-04-15 22:58:44 -04:00
Boris Zbarsky
b730833389 Bug 843840 part 1. Add a way to ask DOM proxies with a named getter whether a property is enumerable or not and use that information in getOwnPropertyDescriptor. r=peterv 2014-04-15 22:58:44 -04:00
Dan Glastonbury
6076136d6e Bug 966630 - Clamp level to TexImage operations to [0..31]. r=jgilbert
--HG--
extra : rebase_source : 90ba0687cffd63a361f655b89bab077713a8a312
2014-04-16 11:23:41 +10:00
Jonathan Watt
61a8971526 Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow 2014-04-16 01:41:40 +01:00
Kyle Huey
bb4b172be0 Bug 994971: Don't export nsObserverService.h. r=bsmedberg
--HG--
extra : rebase_source : cd5aa136075086a10cfa03d937743d8a5471fd6c
2014-04-14 12:04:27 -07:00
Kyle Huey
c8e649664b Bug 991812: Remove uses of AtomicRefCounted<T> that live in Gecko. r=ehsan
--HG--
extra : rebase_source : 0d14e02c64d548fd3177681248d722683aaa87c3
2014-04-14 12:04:25 -07:00
Steve Singer
325583bbc7 Bug 980891 - #ifdef out usage of Skia objects on non-skia builds. r=gal 2014-04-15 21:07:42 +02:00
Jonathan Watt
0dcb1838b9 Bug 950372 - Convert imgIContainer::GetFrame to return a Moz2D SourceSurface instead of a Thebes gfxASurface. r=mattwoodrow 2014-04-15 19:02:23 +01:00
CJKu
1b0c65e076 Bug 951044 - [MediaEncoder::GTest] Implement unit test of VP8 video track encoder. r=rillian 2014-04-15 12:51:19 -04:00
Giovanni Sferro
00b61a29d3 Bug 856265 - Fix HTMLInputElement::GetValueAsDate to accept long string of numbers as input. r=jst 2014-04-15 10:45:05 -04:00
Robert Longson
0aba97e303 Bug 995813 - Mask and pattern elements should map more attributes to styles. r=dholbert
--HG--
rename : layout/reftests/svg/mask-basic-03.svg => layout/reftests/svg/mask-basic-04.svg
rename : layout/reftests/svg/mask-basic-03.svg => layout/reftests/svg/pattern-basic-01.svg
2014-04-15 11:48:02 +01:00
Ming
e48ee4a3eb Bug 994015 - [tarako]some mp4 video plays not smoothly r=cpearce 2014-04-11 02:10:00 +02:00
Rick Eyre
5d4f93ddb0 Bug 974017 - Update vtt.js r=rillian.
This update contains the optimization for rendering cues
with large line values. It also reverts the change to clamp
parsed line values to between -1000 and 1000.
2014-04-14 07:57:00 +02:00
Robert O'Callahan
91e3ef7f95 Bug 983465. Disable collapsing-text frame construction optimization on a per-document basis. r=bz
--HG--
extra : rebase_source : fc2059ac826e001660fb7233d775f8a046467f6b
2014-04-03 03:48:51 -04:00
Timothy Nikkel
b822efd0cb Bug 964187. Address review comment. 2014-04-15 00:33:45 -05:00
Timothy Nikkel
ec21ac5e74 Bug 964187. When the frame for an image is destroyed remove it from the list of visible images. r=mats
This prevents us from holding onto the image but also doesn't create any more chance that it will be discarded if the frame comes back right away (ie a frame reconstruct, or moving it around in the DOM tree).
2014-04-15 00:24:01 -05:00
Bobby Holley
d39900b36b Bug 993423 - Don't hoist <svg:use> content into the XBL scope. r=smaug 2014-04-14 20:38:54 -07:00
Bobby Holley
a81ce7e83c Bug 989528 - Rename AutoSystemCaller to AutoNoJSAPI, and assert against pre-existing exceptions. r=bz 2014-04-14 20:27:00 -07:00
Chris Pearce
7dc5ed8d90 Bug 993753 - Don't set media decoders idle while seeking. r=kinetik 2014-04-15 15:01:34 +12:00
Jeff Gilbert
1553a0f695 Bug 892990 - Cap waiting time for wait-for-composite in WebGL reftests. - r=bjacob 2014-04-14 15:43:57 -07:00
Ryan VanderMeulen
f6d009af86 Backed out changeset e2d5b2be4142 (bug 994971) for non-unified bustage.
CLOSED TREE
2014-04-14 18:27:52 -04:00
Bobby Holley
6248f153d8 Bug 994335 - Null-check aProtoDoc in nsXULPrototypeScript::Serialize. r=smaug 2014-04-14 14:40:49 -07:00
Randell Jesup
095ff2b262 Bug 919215: Drop queued audio data on low-latency startup, make AudioStream::Init() async r=roc,padenot 2014-04-09 15:59:07 -04:00
L. David Baron
96aafebc66 Bug 995661 followup - Skip mochitest on b2g desktop for now on a CLOSED TREE. 2014-04-14 13:21:28 -07:00
Ryan VanderMeulen
98cf3141ca Backed out changesets ddbac34527fe and fa82f32d0c39 (bug 991812) for B2G bustage.
CLOSED TREE
2014-04-14 16:16:18 -04:00
Kyle Huey
54f8bae9b6 Bug 994971: Don't export nsObserverService.h. r=bsmedberg 2014-04-14 12:04:27 -07:00
Kyle Huey
3fb3aae2f9 Bug 991812: Remove uses of AtomicRefCounted<T> that live in Gecko. r=ehsan 2014-04-14 12:04:25 -07:00
L. David Baron
1b583590cd Bug 995721 patch 2 - Run drawWindow mochitests on a toplevel window. r=mattwoodrow
Without patch 1, the final 4 of the set of 7 tests fail on Linux with
accelerated layers (whereas all the ones they were copied from, added in
bug 995661, pass, given the patches in that bug but not this one).  (I
don't need to enable skia-canvas to see the failures without patch 1.  I
thought that didn't match my earlier testing, but I probably just never
tested that combination.  This means the failures happen even without
CanvasRenderingContext2D::DrawWindow going through the codepath where it
creates a DrawTarget.)

--HG--
rename : content/canvas/test/test_drawWindow.html => content/canvas/test/chrome/test_drawWindow_widget_layers.html
2014-04-14 11:12:00 -07:00
L. David Baron
b5bb8d4250 Bug 995661 patch 3 - Add mochitest for canvas drawWindow. r=mattwoodrow
This test covers some basic cases, such as drawing the complete window
to a canvas of the same size, drawing a part of the window to a
different offset within the canvas, drawing parts of the window against
different backgrounds and against a transparent background, and doing
multiple such drawWindow calls on the same canvas.

It runs its tests both with an iframe (whose background is transparent)
and content in a new window (which has a white backdrop).

Bug 995721 will add further tests (in mochitest-chrome) that exercise
drawWindow from a toplevel chrome window, which exercises the
DRAWWINDOW_USE_WIDGET_LAYERS codepath, which these tests do not.

The final 4 tests in each set of 7 fail without patch 2 in this bug.
2014-04-14 11:12:00 -07:00
L. David Baron
662312cab0 Bug 995661 patch 2 - Use OP_OVER rather than OP_SOURCE to handle canvas drawWindow calls that don't cover the canvas or (I believe) that contain transparency. r=mattwoodrow
This is needed to allow us to return to using partial-canvas invalidates
in the reftest harness, though only for the platforms that go through
this codepath.
2014-04-14 11:12:00 -07:00
L. David Baron
39f1eb287e Bug 995661 patch 1 - Remove dead code resulting from removal of gfxPlatform::SupportsAzureContent(). r=mattwoodrow
This should have been removed in bug 985049.

The changes here can be understood as a simplification based on drawSurf
always being null.
2014-04-14 11:11:59 -07:00
Terrence Cole
21e586caba Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Robert Longson
e40a4640ac Bug 974710 - Stop incorrectly reporting errors with values attribute on the animateMotion element. r=dholbert 2014-04-16 16:24:22 +01:00
Carsten "Tomcat" Book
13d55daf59 Backed out changeset 5bb0b8d757f4 (bug 974710) for m-3 test failure 2014-04-16 12:44:12 +02:00
Robert Longson
798f6f8230 Bug 974710 - Stop incorrectly reporting errors with values attribute on the animateMotion element. r=dholbert 2014-04-16 10:43:36 +01:00
Jon Coppeard
2c591777e1 Bug 993413 - Remove use of JS_Add/Remove*Root in favour of JS::PersistentRooted where possible r=terrence r=bz r=bholley 2014-04-16 09:47:53 +01:00
Geoff Brown
6fb840f728 Bug 982875 - Accept up to 2 assertions in Android test_bug682592.html; r=snorp 2014-04-14 10:39:04 -06:00
Olli Pettay
78cacdedd1 Bug 994740 - XML parsing error in innerHTML setter causes a large leak. r=hsivonen relanding on a CLOSED TREE 2014-04-10 11:20:00 +02:00
Carsten "Tomcat" Book
d557819852 Backed out changeset 8b8fa0cf1e2f (Bug 994740 ) for causing crashtest failures on a CLOSED TREE 2014-04-14 12:57:43 +02:00