Commit Graph

15376 Commits

Author SHA1 Message Date
Boris Zbarsky
6a7b47964f Bug 877281 part 6. Replace ${jsvalPtr} with a MutableHandle ${jsvalHandle}. r=peterv
It's a little unfortunate that we need both ${jsvalHandle} and
${jsvalRef}, but the only other option is to consistently have a
MutableHandle in this code.  If the thing we have to work with is a
Rooted, that means doing JS::MutableHandle<JS::Value>(&myRooted) as
the thing to substitute for ${jsvalHandle}.  Just using "&myRooted"
doesn't work, because things like "&myRooted.set()" or
"&myRooted.address()" fail, even if parenthesized as
"(&myRooted).set()", because &myRooted is actually a Rooted*, not a
MutableHandle.

We could go the JS::MutableHandle<JS::Value>(&myRooted) route if
desired; it would primarily uglify dictionary and sequence to-js
conversions.  With the setup in this patch, ideally it looks pretty
idiomatic except for the use of .set() instead of operator= on Rooted.
2013-06-07 22:45:46 -04:00
Trevor Saunders
b2546f7648 bug 877886 - get rid of a number of static constructors in content/ and dom/ r=smaug 2013-05-30 18:34:53 -04:00
David Zbarsky
bdf2a2f2ed [Bug 879998] Remove some dead code in content/ r=Ms2ger, emk 2013-06-07 14:05:57 -07:00
David Zbarsky
ca3ddd10cc Bug 880037: Don't try to mark message managers when we're not in the root process r=jlebar 2013-06-07 14:05:36 -07:00
David Zbarsky
936b80da0d Bug 879998 - Remove some dead code in content/events r=smaug 2013-06-07 11:42:13 -07:00
David Zbarsky
b52e2a3f6a Bug 798438 - Use a dictionary to set context options instead of an nsIPropertyBag r=bz 2013-06-07 11:42:12 -07:00
Paul Adenot
58b0235609 Bug 878875 - Port Blink's LayoutTest for PannerNode to mochitest-plain. r=ehsan 2013-06-07 20:06:40 +02:00
Paul Adenot
9b4fefabf4 Bug 878875 - Import PannerNode tests from Blink. r=ehsan
Imported from Blink SVN revision 152035
2013-06-07 20:06:40 +02:00
Ehsan Akhgari
69dd040cef Test case for bug 880724 2013-06-07 13:22:40 -04:00
Ehsan Akhgari
b0f5abb2d1 Test case for bug 880404 2013-06-07 11:29:25 -04:00
Ehsan Akhgari
021d3cb4b8 Test case for bug 880384
--HG--
extra : rebase_source : a77b7f0c32555d645c1903164e0a7740ac61ca19
2013-06-07 11:22:46 -04:00
Ehsan Akhgari
0260d850c7 Test case for bug 880342 2013-06-07 11:14:51 -04:00
Ryan VanderMeulen
f5c3e7c7b7 Merge inbound to m-c. 2013-06-07 11:10:54 -04:00
Ehsan Akhgari
1391c0772c Bug 880129 - Correctly handle AnalyserNodes with a buffer size smaller than 128; r=roc 2013-06-07 07:33:00 -04:00
Ryan VanderMeulen
24f3657c0a Merge m-c to fx-team. 2013-06-06 15:21:01 -04:00
Tim Taubert
0b02403a61 Bug 878747 - part 1 - implement 'nodefaultsrc' attribute for XUL frames; r=smaug 2013-06-06 21:05:21 +02:00
James Willcox
91c353d366 Bug 848482 - Make SourceSurface work with SkiaGL r=mattwoodrow
--HG--
extra : rebase_source : ef4a315401edfad5e574ffd387c9951b12f1e9d7
2013-06-06 10:58:45 -04:00
Andrea Marchesini
74860e8fe9 Bug 857116 - Remove nsIDOMHTMLCommandElement; r=Ms2ger 2013-06-06 15:57:26 +02:00
Ed Morley
c55145e3be Merge mozilla-central and inbound 2013-06-06 10:46:45 +01:00
Ed Morley
ba374cc04b Merge latest green birch changeset and mozilla-central 2013-06-06 10:44:11 +01:00
Michael Wu
a6e67842ea Bug 771551 - Add CSS Media Query for physical home buttons, r=heycam 2013-06-05 22:42:02 -04:00
David Bolter
db7f4014bd Bug 577727 - Make pinned tabs distinguishable from other tabs for accessibility. r=marcoz 2013-06-05 17:03:52 +02:00
Vladimir Vukicevic
903320a647 b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel 2013-05-27 10:12:13 -04:00
Peter Van der Beken
5eba9021ed Bug 877654 - Remove thisptr offset tables - Remove offset tables from non-HTMLElement objects and remove offset table macros. r=Ms2ger.
--HG--
extra : rebase_source : 6d6fbb260c564d295d33c76a1b21ffd7187eeae2
2013-05-21 21:59:27 +02:00
Peter Van der Beken
f4faf57e53 Bug 877654 - Remove thisptr offset tables - Replace HTML element QI map end macro with generic macros. r=Ms2ger.
--HG--
extra : rebase_source : 1a425102a6d183814e4afbb16ee3416e138567ff
2013-05-21 15:38:33 +02:00
Peter Van der Beken
e7eb39bee5 Bug 877654 - Remove thisptr offset tables - Replace HTML element table to map segue macros with generic macros. r=Ms2ger.
--HG--
extra : rebase_source : 9acc316cbf68bc841f6751603aa512138e2f6de6
2013-05-21 15:38:15 +02:00
Peter Van der Beken
d8f14564ed Bug 877654 - Remove thisptr offset tables - Replace HTML element offset table macros with generic QI macros. r=Ms2ger.
--HG--
extra : rebase_source : a90cbb2d5b25c6e8dee96d206dd6e4951d2b3cab
2013-05-21 15:07:38 +02:00
Peter Van der Beken
9512f5d3d4 Bug 877654 - Remove thisptr offset tables - Refactor HTML element QI macros. r=Ms2ger.
--HG--
extra : rebase_source : a4e166501aaf35617f369648155b566b6bac5761
2013-05-21 13:55:29 +02:00
Phil Ringnalda
d22d45ebed Back out 1ba9dc37c2ef:c6bc2193a72b (bug 877461) for b2g build bustage
CLOSED TREE
2013-06-05 23:38:04 -07:00
Robert O'Callahan
ad4b16ef20 Bug 877461. Part 3: Retry libstagefright audio/video decoding if it fails due to a timeout. r=sotaro 2013-06-06 11:43:43 +12:00
Robert O'Callahan
e2d82f6a04 Bug 877461. Part 2: Initialize VideoFrame members to 0. r=doublec 2013-06-06 10:48:25 +12:00
Robert O'Callahan
96f749ac49 Fix build bustage for bug 877461 2013-06-07 20:16:17 +12:00
Robert O'Callahan
ee22922f7e Bug 865537. Part 2: The Range used to track the source element pointer for a media element should not gravitate outside the media element. r=cpearce
--HG--
extra : rebase_source : 6d4d5de2f0841fe602821013f0a33bb035d1cb76
2013-06-07 16:26:55 +12:00
Robert O'Callahan
8c99c9f5e0 Bug 865537. Part 1: Add nsRange::SetEnableGravitationOnElementRemoval to suppress 'gravitation' behavior on node removal. r=smaug
--HG--
extra : rebase_source : 3823c3a0400c80b6f22021f22195f73febd5d85e
2013-06-07 16:26:28 +12:00
Robert O'Callahan
54857756c2 Bug 877461. Part 3: Retry libstagefright audio/video decoding if it fails due to a timeout. r=sotaro
--HG--
extra : rebase_source : 2ccd8afaca1e4055eb0105f25754176b0ff37034
2013-06-06 11:43:43 +12:00
Robert O'Callahan
30c4640f2a Bug 877461. Part 2: Initialize VideoFrame members to 0. r=doublec
--HG--
extra : rebase_source : d447561e74bc760c2ccbcba925e54579e3a15088
2013-06-06 10:48:25 +12:00
Peter Van der Beken
78659f5642 Bug 871849 - Correctly trace expando objects for OverrideBuiltin proxies. r=bzbarsky.
--HG--
extra : rebase_source : 0c848e1c18a366ecd95b1a9acc4b517d108131fe
2013-05-17 17:04:08 +02:00
Paul Adenot
558b667bdb Bug 878765 - Add missing incrementation in AudioBlockPanStereoToStereo. r=ehsan 2013-06-04 15:51:23 +02:00
Paul Adenot
d9670a9a90 Bug 877527. 2013-06-04 15:07:01 +02:00
Alfredo Yang
0709aa6320 Bug 855741 - Add test case for FocusEvent webidl. r=smaug 2013-06-05 08:02:51 -04:00
Alfredo Yang
f3f1eae58a Bug 855741 - Update Focus webidl from Event to FocusEvent. r=smaug 2013-06-05 08:02:51 -04:00
Bobby Holley
2efb065754 Bug 877478 - Fix tests that depend on creating verboten instances in content. r=mrbkap
XPConnect generally throws when trying to create instances of non-DOM objects
in content. Due to some bugs this has historically worked in certain cases, but
we're fixing those now. So we need to fix the tests that do this sort of thing.
2013-06-04 19:56:42 -07:00
Bobby Holley
30b74b2c6b Bug 877478 - Fix mochitests with problematic callbacks to use the new API. r=mrbkap 2013-06-04 19:56:41 -07:00
Bobby Holley
91c205adb7 Bug 877478 - Move crashtests that now error-out to chrome tests. r=mrbkap
These crashtests now throw, because we run XUL tests in content, and they create
forbidden objects and fail the CanCreateWrapper check. Unfortunately, the
crashtest harness isn't set up to catch onerror. And even if they were, they
wouldn't be testing what they wanted to, because all of the relevant work here
happens in onload.

--HG--
rename : content/xul/content/crashtests/236853.rdf => content/xul/content/test/file_bug236853.rdf
rename : content/xul/templates/src/crashtests/330010-1.rdf => content/xul/templates/tests/chrome/file_bug330010.rdf
rename : content/xul/templates/src/crashtests/329335-1.xul => content/xul/templates/tests/chrome/test_bug329335.xul
rename : content/xul/templates/src/crashtests/330010-1.xul => content/xul/templates/tests/chrome/test_bug330010.xul
2013-06-04 19:56:41 -07:00
Robert O'Callahan
cf39cf939f Fix bustage on a CLOSED TREE for bug 877461 2013-06-05 14:44:20 +12:00
Robert O'Callahan
cca52984c0 Bug 877461. Make MediaCache aggressively cache data just behind the current playback position. r=cpearce
This should help with the straight playback, non-seeking case where we get into
trouble because libstagefright video and audio codecs are reading from different
places.
2013-06-05 01:52:57 +12:00
Roberto Agostino Vitillo
9a36d271ff Bug 869703 - Fix failure to retrieve uniform. r=jgilbert 2013-06-04 20:51:58 -04:00
Jeff Gilbert
09828109d6 Bug 877309 - drawImage should copy from default framebuffer, not the currently bound fb. - r=bjacob 2013-06-04 15:25:57 -07:00
Guillaume Abadie
f2699b1354 Bug 879304 - Add "webgl.max-warnings-per-context" preference. r=bjacob 2013-06-04 15:44:08 -04:00
Ryan VanderMeulen
0599716525 Merge inbound to m-c. 2013-06-04 15:01:10 -04:00