Commit Graph

11164 Commits

Author SHA1 Message Date
Ed Morley
991653b152 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-09 12:46:05 +01:00
Robert O'Callahan
17835a1702 Bug 779721. Part 6: Add a flag to track whether the main thread has called Destroy on a stream, and check that flag when sending a message to it. r=jesup 2012-08-09 23:30:09 +12:00
Robert O'Callahan
6622457020 Bug 779721. Part 5: Add a comment explaining more about how MediaStream lifetimes are managed. r=jesup 2012-08-09 23:30:02 +12:00
Ms2ger
1964812e04 Bug 727547 - Add test. 2012-08-09 09:10:43 +02:00
Ms2ger
b3d4060c1a Bug 780993 - Reinstate support for setting indexed properties on HTMLSelectElement to null; r=bz 2012-08-09 09:10:21 +02:00
Ms2ger
a51e9be374 Bug 780387 - Part f: Stop using PRBool & PRPackedBool; r=bsmedberg 2012-08-09 09:10:13 +02:00
Ms2ger
8fcd7f8f16 Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg 2012-08-09 09:09:42 +02:00
Ms2ger
331accfcb4 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Robert O'Callahan
7037667a9f Bug 779721. Part 4: Fix lock ordering inversion when running control messages during a forced shutdown. r=jesup 2012-08-01 00:17:22 +12:00
Robert O'Callahan
c069a47ae8 Bug 779721. Part 3: Don't clean up streams on the MediaGraph thread during a forced shutdown. r=jesup
This is actually a better fix for bug 774597. We can rely on main thread code to call
Destroy on all the MediaStreams normally. These Destroy calls can be handled even when the
MediaGraph thread has been shut down, since MediaStreamGraphImpl::AppendMessage will
call RunDuringShutdown on the Destroy messages.
2012-08-09 23:29:47 +12:00
Robert O'Callahan
c9fbc641f1 Bug 779721. Part 2: Don't block a stream just because it has no consumers. r=jesup
There is actually no reason to do this.
2012-08-01 00:17:21 +12:00
Robert O'Callahan
78f550e377 Bug 779721. Part 1: Simplify MediaStreamGraph's invariants around when messages are processed. r=jesup
Rename mBlockingDecisionsMadeUntilTime to mStateComputedTime. The invariant is that
all graph state is known up to mStateComputedTime but not beyond it (except for some
stream contents that may be buffered beyond it).
Get rid of mMessageAffectedTime and all the code around computing "affected times" and "action times".
Instead, all messages take effect at mStateComputedTime.
Get rid of the two-phase execution of messages. Everything can just happen in a single Run() method.
2012-08-01 00:17:21 +12:00
Ed Morley
dff9775aae Merge mozilla-central to mozilla-inbound 2012-08-08 19:13:29 +01:00
Ed Morley
36e594f3ce Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-08 17:18:26 +01:00
Kyle Huey
8af04e9d81 Bug 754759: Unannotate tests now that Bug 774770 is fixed. 2012-08-07 13:54:46 -07:00
Ms2ger
aad4f39f58 Merge m-c to m-i. 2012-08-07 10:30:48 +02:00
Ms2ger
c861fd0028 Bug 743573 - Fix a number of build warnings in dom/; r=mounir 2012-08-07 09:06:29 +02:00
Andrew McCreight
bf9a1b75ba Bug 779669 - Return error in GetMozDash. r=peterv 2012-08-06 08:12:06 -07:00
Aryeh Gregor
5662d18449 Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz 2012-08-06 15:02:08 +03:00
Aryeh Gregor
25502f2a70 Bug 780070 - Remove unnecessary includes from FragmentOrElement.h; r=bz 2012-08-05 12:11:24 +03:00
Ed Morley
a9fda23889 Backout ec46cfa51bf8, 4a54f06efee8, de811fbd27b0 & 67ea1314c777 (bug 567077) for causing bug 781141 2012-08-08 13:11:34 +01:00
Cameron McCormack
3fb52ca30e Bug 655877 - Part 31a: Atom for new frame class nsSVGTextFrame2. r=roc 2012-08-08 21:37:13 +10:00
Phil Ringnalda
2400fbd6d1 Backout 5439489dc320, 983f76488e59, 7a92558a8dec (Bug 714358) for debug build assertions and leaks 2012-08-07 22:18:27 -07:00
Ed Morley
e652569507 Backout b4a63a0b90c2 (bug 778420), b849f1b3859a (bug 778420), d522b5a13b27 (bug 72964), 3a12c64bf53a (bug 778420), c07148142675 (bug 726053) for failures in test_bug435425.html on a CLOSED TREE 2012-08-07 00:57:27 +01:00
Kyle Huey
71f61d7dfb Bug 689328: Ensure that lengthComputable is always the same for a given series of progress events by claiming that it is false even if all the data has been received. r=sicking 2012-08-06 13:56:28 -07:00
John Schoenick
dfeeba5d0a Bug 745030 - Followup, consider capabilities when checking content policy. r=josh 2012-08-06 13:48:26 -07:00
John Schoenick
81cc0804f5 Bug 745030 - Refactor nsObjectLoadingContent fallback paths. r=josh,sr=jst 2012-08-06 13:48:26 -07:00
John Schoenick
49352588c2 Bug 745030 - Refactor nsObjectLoadingContent loading paths. r=josh,sr=jst 2012-08-06 13:48:25 -07:00
Bobby Holley
6e8f328744 Bug 778420 - Fix up tests that don't like the new enablePrivilege, r=jmaher.
--HG--
extra : rebase_source : 07565c66b279ba5a58b5902b697110f940c255fd
2012-08-06 22:38:19 +02:00
William Chen
f706938203 Bug 778420 - Initial stab at the tests. v2 r=bholley
--HG--
extra : rebase_source : e014ba90baa75ba3146f4e3fb5c447b87a8e83c0
2012-08-06 22:15:49 +02:00
Gijs Kruitbosch
1b4d81fc07 Bug 778420 - Fix test_bug372964. v1 r=bholley
--HG--
extra : rebase_source : 1c2e55604e0cd8dc0476463ed58346a1e326d7e4
2012-08-06 22:15:28 +02:00
Camilo Viecco
5a871630bc Bug 726053 This patch removes all forms of 'obj instanceof Components.interfaces' for the new specialpowersAPI call. r=bholley
--HG--
extra : rebase_source : 8a246ed35698c4da3f8a4a5202dcce949121d722
2012-08-06 22:13:46 +02:00
Jim Mathies
418325cf8d Bug 780511 - Pipe additional debug output to the Windows debugger, r=neil. 2012-08-06 15:41:40 -05:00
Chris Jones
063981263a Bug 776649, part 2: Refactor content-process/browser creation to use mozIApplication for passing app info. r=jlebar 2012-08-08 19:58:06 -07:00
Chris Jones
237a0abf01 Back out bug 776649. r=bustage 2012-08-08 20:13:12 -07:00
Chris Jones
8c8f551b1f Bug 776649, part 2: Refactor content-process/browser creation to use mozIApplication for passing app info. r=jlebar 2012-08-08 19:58:06 -07:00
Bobby Holley
943789da00 Bug 778420 - Fix up tests that don't like the new enablePrivilege. r=jmaher
--HG--
extra : rebase_source : 1158df4a4eb917074204e649efd8f2b8e699f115
2012-08-03 22:19:54 +02:00
William Chen
60fc0f1ee6 Bug 778420 - Initial stab at the tests. v2 r=bholley
--HG--
extra : rebase_source : c24abc031c82a87f2f669e4b708f8ee364a9682b
2012-08-06 22:15:49 +02:00
Gijs Kruitbosch
24690a0849 Bug 778420 - Fix test_bug372964. r=bholley
--HG--
extra : rebase_source : 7d87cacdf187e743f40b6d56741e7d71101b58ec
2012-08-03 22:19:54 +02:00
Nicholas Cameron
dbbe8d097a Bug 780392. Crashtest. r=bas
--HG--
extra : rebase_source : b2761827d90ceb99818b7beda5bcc596de90d7a3
2012-08-09 08:17:03 +12:00
Jared Wein
60897a9544 Bug 756419 - White standalone image background flashes into view when switching tabs. r=roc,bholley 2012-08-08 12:42:37 -07:00
Luqman A.
774b060f9c Bug 775049 - DeCOMtaminate nsIRadioGroupContainer; f=Ms2ger r=mounir 2012-08-03 12:38:52 +02:00
Paul Adenot
2c9f2a9c6b Bug 774357 - Fix a crash in nsHTMLMediaElement::EndMediaStreamPlayback r=roc 2012-07-18 18:27:43 -04:00
Matthew Gregan
a0be501c49 Bug 779187 - Fix nsBufferedAudioStream's sample format selection for big endian machines. r=doublec 2012-08-06 15:26:41 +12:00
David Zbarsky
a8ba5502f2 [Bug 780439] Kill off the remains of nsIBox r=roc 2012-08-05 23:00:57 -04:00
David Zbarsky
fe804d085c [Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc 2012-08-05 23:00:56 -04:00
David Zbarsky
d505b382d4 Bug 779684: Create a stack-based nsFrameIterator class out of nsIFrameTraversal and nsIFrameEnumerator r=roc
--HG--
rename : layout/base/nsFrameTraversal.cpp => layout/base/nsFrameIterator.cpp
rename : layout/base/nsFrameTraversal.h => layout/base/nsFrameIterator.h
2012-08-05 23:00:55 -04:00
Andrew McCreight
0385c11354 Bug 777806 - rename RootResultArrayBuffer to RootJSResultObjects. r=bz 2012-08-05 08:41:13 -07:00
Ms2ger
a22c7801cb Bug 780164 - Make nsAttrAndChildArray::GetModifiableMapped infallible; r=bz 2012-08-04 09:44:01 +02:00
Ms2ger
26ec93ab7a Bug 780165 - Part c: Use nsPIDOMWindow::GetDoc() in drag&drop; r=smaug 2012-08-04 09:44:01 +02:00
Ms2ger
5af349e193 Bug 777306 - Remove NS_NewHTMLStyleSheet; r=dbaron 2012-08-04 09:44:01 +02:00
Ms2ger
1e53e4af55 Bug 777293 - Remove NS_NewCSSStyleSheet; r=dbaron 2012-08-04 09:44:01 +02:00
Ms2ger
98e86f287a Bug 600111 - Throw the correct exceptions in XMLHttpRequest.setRequestHeader(); r=sicking 2012-08-04 09:44:01 +02:00
Ms2ger
22b67e1f96 Bug 714279 - range.compareBoundaryPoints should throw NOT_SUPPORTED_ERR when called with an invalid 'how' argument; r=smaug 2012-08-04 09:44:00 +02:00
Ms2ger
75456bc06c Bug 636123 - Part b: Don't null-check the result of nsDocument::GetOrCreateRadioGroup; r=mounir 2012-08-04 09:44:00 +02:00
Ms2ger
3c04315f82 Bug 636123 - Part a: Split nsDocument::GetRadioGroup in two methods: one to get the radio group and one to create it; r=mounir 2012-08-04 09:44:00 +02:00
Ms2ger
cb4d106015 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Ms2ger
09f8cdd61a Bug 771934 - Throw NOT_FOUND_ERR instead of HIERARCHY_REQUEST_ERR from nsINode::RemoveChild; r=bz 2012-08-04 09:43:59 +02:00
Ms2ger
47cc33d531 Bug 768310 - Don't throw from Event.initEvent if it's called during event dispatch; r=smaug 2012-08-04 09:43:59 +02:00
Ms2ger
bc466959a1 Bug 672814 - Part e: Expand the set of JS mime types we support; r=bz 2012-08-04 09:43:59 +02:00
Ms2ger
d6c5c01c15 Bug 672814 - Part d: Move the type attribute parsing in nsScriptLoader::ProcessScriptElement into a helper function; r=bz 2012-08-04 09:43:59 +02:00
Ms2ger
e749ecb172 Bug 672814 - Part c: Remove the typeID variable in nsScriptLoader::ProcessScriptElement; r=bz 2012-08-04 09:43:59 +02:00
Ms2ger
22c224dfc2 Bug 672814 - Part b: Introduce nsContentUtils::IsJavascriptMIMEType; r=bz 2012-08-04 09:43:59 +02:00
Ms2ger
66cf41f9e9 Bug 672814 - Part a: Move nsJSRuntime::ParseVersion to nsContentUtils; r=bz 2012-08-04 09:43:59 +02:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley
4eb11bee72 Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Ms2ger
e6463200a3 Merge m-c to m-i. 2012-08-04 13:02:15 +02:00
Mike Hommey
be451c22dc Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE 2012-08-04 10:38:41 +02:00
Ms2ger
d6ae086c2a Bug 780164 - Make nsAttrAndChildArray::GetModifiableMapped infallible; r=bz 2012-08-04 09:44:01 +02:00
Ms2ger
e42a65abcc Bug 780165 - Part c: Use nsPIDOMWindow::GetDoc() in drag&drop; r=smaug 2012-08-04 09:44:01 +02:00
Ms2ger
6ed6ef3405 Bug 777306 - Remove NS_NewHTMLStyleSheet; r=dbaron 2012-08-04 09:44:01 +02:00
Ms2ger
a1a20f374b Bug 777293 - Remove NS_NewCSSStyleSheet; r=dbaron 2012-08-04 09:44:01 +02:00
Ms2ger
e4f17021c9 Bug 600111 - Throw the correct exceptions in XMLHttpRequest.setRequestHeader(); r=sicking 2012-08-04 09:44:01 +02:00
Ms2ger
596febcbe1 Bug 714279 - range.compareBoundaryPoints should throw NOT_SUPPORTED_ERR when called with an invalid 'how' argument; r=smaug 2012-08-04 09:44:00 +02:00
Ms2ger
81d133c604 Bug 636123 - Part b: Don't null-check the result of nsDocument::GetOrCreateRadioGroup; r=mounir 2012-08-04 09:44:00 +02:00
Ms2ger
ac082f4d3f Bug 636123 - Part a: Split nsDocument::GetRadioGroup in two methods: one to get the radio group and one to create it; r=mounir 2012-08-04 09:44:00 +02:00
Ms2ger
b927c10310 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Ms2ger
5c5ea9ab03 Bug 771934 - Throw NOT_FOUND_ERR instead of HIERARCHY_REQUEST_ERR from nsINode::RemoveChild; r=bz 2012-08-04 09:43:59 +02:00
Ms2ger
a09f691532 Bug 768310 - Don't throw from Event.initEvent if it's called during event dispatch; r=smaug 2012-08-04 09:43:59 +02:00
Ms2ger
a5373d660b Bug 672814 - Part e: Expand the set of JS mime types we support; r=bz 2012-08-04 09:43:59 +02:00
Ms2ger
68c9315ce5 Bug 672814 - Part d: Move the type attribute parsing in nsScriptLoader::ProcessScriptElement into a helper function; r=bz 2012-08-04 09:43:59 +02:00
Ms2ger
c68877f9b7 Bug 672814 - Part c: Remove the typeID variable in nsScriptLoader::ProcessScriptElement; r=bz 2012-08-04 09:43:59 +02:00
Ms2ger
2df498e0e9 Bug 672814 - Part b: Introduce nsContentUtils::IsJavascriptMIMEType; r=bz 2012-08-04 09:43:59 +02:00
Ms2ger
37e07936d4 Bug 672814 - Part a: Move nsJSRuntime::ParseVersion to nsContentUtils; r=bz 2012-08-04 09:43:59 +02:00
Mike Hommey
e79d87471e Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 08:48:56 +02:00
Ed Morley
7834e2c1f0 Bug 760770 - Mark test_timeupdate_small_files.html's "got unexpected stalled after ended" as todo for seek.webm, for frequent intermittent failures; r=cpearce 2012-08-03 11:28:12 +01:00
Ed Morley
25a45239b4 Bug 620598, Bug 661076 & Bug 687972 - Disable frequently intermittent media tests on Linux; r=cpearce 2012-08-03 11:28:12 +01:00
Ben Turner
98a57bfb9c Bug 778968 - 'Avoid stat-ing remote blobs on the main thread'. r=janv.
--HG--
extra : transplant_source : %90%87%047%07BA%97%E0%F1n%1DY%08D%7C%E39%20%0F
2012-08-02 23:25:30 -07:00
Ben Turner
f8dee3f4cb Backed out changeset 46653198caac 2012-08-02 21:53:03 -07:00
Ben Turner
b77c1c5db1 Bug 778968 - 'Avoid stat-ing remote blobs on the main thread'. r=janv. 2012-08-02 13:42:30 -07:00
Robert O'Callahan
36e9494fb6 Bug 646331. Specify correct duration for 320x240.ogv. r=cpearce 2012-08-03 15:22:24 +12:00
Ed Morley
5815384247 Backout 14245bf85a3d (bug 778420), b9f603d3eef4 (bug 778420), e9bc27234022 (bug 72964), d5aa53121d29 (bug 778420), 959cc7ef5f5a (bug 726053) for m1 failures in test_offline_gzip.html 2012-08-03 23:29:10 +01:00
Ben Turner
c719084418 Bug 780048 - 'Some input stream types cannot be transferred via IPC'. r=khuey.
--HG--
extra : transplant_source : %C5m%04S%92%9F%E6%A7%02%0D%7E%CCz%8B%BBW%AA%C5%81%06
2012-08-03 13:37:58 -07:00
Ed Morley
c8e2787cff Backout 21d92e8dd85a (bug 780048) for bustage 2012-08-03 21:26:23 +01:00
Bobby Holley
dfdcb801d5 Bug 778420 - Fix up tests that don't like the new enablePrivilege. r=jmaher 2012-08-03 22:19:54 +02:00
William Chen
d1fa2a97bc Bug 778420 - Initial stab at the tests. r=bholley 2012-08-03 22:19:54 +02:00
Gijs Kruitbosch
12d0810b14 Bug 778420 - Fix test_bug372964. r=bholley 2012-08-03 22:19:54 +02:00
Ben Turner
f01b3ab659 Bug 780048 - 'Some input stream types cannot be transferred via IPC'. r=khuey.
--HG--
extra : transplant_source : K%881/0%0DV%D9m%D3%D6%F3O%15%1CX%9E%22%18%DE
2012-08-03 13:10:15 -07:00
Andrew McCreight
499dcbc2f3 Bug 777806. r=bent 2012-08-03 09:29:53 -07:00
Benoit Jacob
055434264a Bug 617453 - lose the least-recently-used WebGL context when a certain limit is exceeded - r=vladv
The current limits are:

#ifdef MOZ_GFX_OPTIMIZE_MOBILE
    // some mobile devices can't have more than 8 GL contexts overall
    const size_t kMaxWebGLContextsPerPrincipal = 2;
    const size_t kMaxWebGLContexts             = 4;
#else
    const size_t kMaxWebGLContextsPerPrincipal = 8;
    const size_t kMaxWebGLContexts             = 16;
#endif
2012-08-02 17:28:02 -04:00
Benoit Jacob
503e9e0853 Bug 749678 - re-add missing MakeCurrent call in certain WebGL uniform setters - r=jgilbert 2012-08-02 17:28:02 -04:00
Wes Johnston
7fe524d43a Bug 777706 - Backout new dom bindings for touchlists. r=smaug 2012-08-02 10:41:42 -07:00
Ed Morley
e8272185fa Merge mozilla-central to mozilla-inbound 2012-08-02 14:20:05 +01:00
Ed Morley
531252f669 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-02 14:19:18 +01:00
Cameron McCormack
d63a0ddfaa Bug 655877 - Part 15: Don't treat SVG text frames as being positioned. r=roc 2012-08-02 21:38:50 +10:00
Olli Pettay
f06835f558 Bug 772966 - force XBL parameter names to be non-zero, r=sicking 2012-08-02 09:12:34 +03:00
Ben Turner
1ef4c0de5b Bug 759427 - 'Multiprocess blob support for MessageManager and IndexedDB'. r=smaug+janv+khuey (rs=sicking for nsBlobURI changes).
--HG--
extra : transplant_source : %95%B5y%11%C5%AB%D9%CF%FF%7C%5E%BB%E5%DA%F5j%83o%29%EB
2012-08-01 23:02:29 -07:00
Matthew Gregan
ecf5adaec3 Bug 779416 - Shrink some unnecessarily large char arrays used for codec types. r=cpearce 2012-08-01 18:15:27 +12:00
Matthew Gregan
7825395ee4 Bug 779412 - Iterate over correct test array in test_info_leak. r=cpearce 2012-08-01 17:58:09 +12:00
Ryan VanderMeulen
263263202d Bustage fix for bug 779535 follow-up. 2012-08-01 18:40:24 -04:00
Oleg Romashin
aee12c8242 Bug 779535 - readability followup. r=jgilbert 2012-08-01 15:13:49 -07:00
Oleg Romashin
7a20b9b98b Bug 779535 - defaultNoAlpha preference is not used in case if nsIPropertyBag argument is 0. r=vlad 2012-08-01 11:58:44 -07:00
Nicholas Cameron
666c8e4e67 Bug 776802; Give better info about Azure. r=Bas 2012-07-31 18:30:10 +12:00
Nicholas Cameron
8c560786c6 Bug 776685; throw TypeError exceptions from Azure canvas bindings. r=bz 2012-07-26 14:31:26 +12:00
Ed Morley
d6d42179d1 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-01 18:36:33 +01:00
Olli Pettay
4f6e139505 Bug 777278 - Implement nsIDOMStorageEvent using event implementation codegen, r=mayhemer 2012-08-01 19:17:19 +03:00
Olli Pettay
fb67655737 Bug 777285 - Autogenerate SettingsEvent implementation, r=anygregor
--HG--
extra : rebase_source : 038f38a4f9efae15a3fbf4236c4456bf9cfa4577
2012-08-01 12:48:35 +03:00
Eric Faust
2456ed4b53 Bug 749535 - Part 2: Rewrite dom::TypedArray to use JS_UnwrapObjectAs*Array(). (r=bz) 2012-07-31 20:45:20 -07:00
Eric Faust
921d44b1c5 Backout changesets 6e78bc0145ee, 97a1463cde9c, and 9097d0b3acc6 (Bug 749535) for
erroneous bug number (r=me).
2012-07-31 20:24:32 -07:00
Eric Faust
edf460e8a0 Bug 747935 - Part 2: Rewrite dom::TypedArray to use JS_UnwrapObjectAs*Array(). (r=bz) 2012-07-31 20:06:35 -07:00
Chris Pearce
ee625140f8 Bug 778105 - Fix an nsOggReader::GetBuffered() return value type mismatch. r=doublec 2012-08-01 13:24:25 +12:00
Matthew Gregan
bcba799559 Bug 768333 - Follow up: remove redundant call to GetPositionInFrames. r=cpearce 2012-07-31 21:11:52 +12:00
Aryeh Gregor
f1325b8b9a Bug 563659 part 6 - Remove #if 0'd code; r=bz 2012-07-31 18:36:21 +03:00
Aryeh Gregor
68f2a58424 Bug 563659 part 5 - Move things from FragmentOrElement to nsGenericElement; r=bz 2012-07-24 11:10:25 +03:00
Aryeh Gregor
1bd66e6e52 Bug 563659 part 4 - Make nsDocumentFragment stop inheriting from nsGenericElement; r=bz 2012-07-02 16:31:49 +03:00
David Zbarsky
8c734bee81 Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron 2012-07-31 10:28:22 -07:00
David Zbarsky
bde306fdca Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron 2012-07-31 10:28:21 -07:00
Boris Zbarsky
667e3189a2 Bug 778128. Make putImageData and createImageData on non-Azure canvas work with Xrays. r=peterv 2012-07-31 11:35:25 -04:00
Andrew McCreight
fbad72d18c Bug 776213 - don't forget about sortedControls. r=smaug 2012-07-31 07:00:13 -07:00
Aryeh Gregor
d7d206d4e3 Bug 778681 part 5 - Convert nsXULTemplateQueryProcessorRDF::mBindingDependencies from nsCOMArray to nsTArray; r=bz 2012-07-30 16:48:02 +03:00
Aryeh Gregor
64852ca5cf Bug 778681 part 3 - Convert nsXULTemplateQueryProcessorRDF::mQueries from nsCOMArray to nsTArray; r=bz 2012-07-30 16:48:02 +03:00
Aryeh Gregor
54dd66bf37 Bug 778681 part 2 - Convert nsXULDocument::mUnloadedOverlays from nsCOMArray to nsTArray; r=bz 2012-07-30 16:48:02 +03:00
Aryeh Gregor
894629321f Bug 778681 part 1 - Make some nsHTMLSelectElement methods infallible; r=bz 2012-07-30 16:48:02 +03:00
Nicholas Cameron
18785cc98b Merge backout, a=bustage fix 2012-07-31 18:17:53 +12:00
Nicholas Cameron
45704eb121 Back out bug 779001, bug 746883, bug 778595, bug 776803, bug 7118849 2012-07-31 18:17:23 +12:00
Nicholas Cameron
3570f3ac38 Bug 776802; Give better info about Azure. r=Bas 2012-07-31 13:45:59 +12:00
Matthew Gregan
47efc774e3 Bug 761274 - Work around buffer sizing bug in PulseAudio ALSA plugin. r=doublec 2012-07-16 17:15:24 -04:00
Matthew Gregan
fea4fa6a84 Bug 768333 - nsBufferedAudioStream::GetPositionInFrames miscompiled with Win32 PGO. r=cpearce 2012-07-16 17:21:04 -04:00
Aryeh Gregor
afc1681fc9 Bug 563659 part 3 - Make Element inherit from FragmentOrElement; r=bz 2012-06-27 16:01:55 +03:00
Aryeh Gregor
8fc61bd8fb Bug 563659 part 2 - Create FragmentOrElement and move all nsGenericElement functionality to it; r=bz
--HG--
rename : content/base/src/nsGenericElement.h => content/base/public/FragmentOrElement.h
rename : content/base/src/nsGenericElement.cpp => content/base/src/FragmentOrElement.cpp
2012-06-27 16:01:55 +03:00
Neil Deakin
b960ff246c Bug 582719, use nsQueryFrame for menus and popups rather than GetType, r=neil 2012-07-30 20:43:28 -04:00
Chris Pearce
174ba270dc Bug 684620 - Implement cross process fullscreen API for B2G apps and web content. r=jlebar
* * *
Bug 684620 - Fix in-process fullscreen in B2G. r=?
2012-07-31 14:09:31 +12:00
David Zbarsky
fa3cb43e08 Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones 2012-07-30 17:42:26 -07:00
Ralph Giles
619fdc8bf8 Bug 763010 - Add a mochitest for mozGetMetadata(). r=cpearce
Add a few Ogg files which have non-trivial tag metadata in their Vorbis streams, and verify they are returned correctly by the media.mozGetMetadata() extention.

Add a file with no comments to test {} output as well.

Verify that mozGetMetadata() throws an InvalidStateError if called immediately, before the loadedmetadata event fires.
2012-07-30 20:14:29 -04:00
Ralph Giles
a81a17e866 Bug 763010 - Expose media element metadata. r=cpearce
Implements a media.mozGetMetadata() method returning a new javascript object whose properties are key value pairs respresenting metadata tags from the media resource. This data is available after readystate enters METADATA_LOADED.

Currently this is only implemented for Ogg Vorbis streams.

Media format metadata is parsed out by the media decoders. In the nsCodecStateMachine::ReadMetadata subclasses we fill in an nsDataHashtable pointer using the format-specifc api.

The hash pointer is passed up to the media element as part of the MetadataLoaded event.

The hash is deleted if the load is aborted. The audio metadata is also reset to zero (as in the constructor), resolving a todo comment.
2012-07-30 20:14:29 -04:00
Ryan VanderMeulen
26da6164d3 Merge m-c to inbound. 2012-07-30 20:14:22 -04:00
Mark Finkle
a4d33f44cf Backout 169ff207ed19, a34baed70c1b, f9ccdd490bd7, 39550ed860e6, 2194a2dd66b2, 908eb2e26843, a76e0a267f26 due to mobile viewport bustage (bug 778580) 2012-07-30 14:36:12 -04:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Jonathan Watt
63d0422ab7 Bug 776747 - Talos Regression :( SVG, Opacity Row Major increase 4.54%. r=roc. 2012-07-30 01:35:26 +01:00
Ted Shroyer
4211119139 Bug 765890 - Alter mochitests/jsreftests to pass when javascript.options.xml.content defaults to false. r=jorendorff.
--HG--
extra : rebase_source : 12bd1c7b597c4834424876ac797cf7c118434d5e
2012-07-20 14:00:53 -05:00
Aryeh Gregor
1968458188 Bug 778104 - NS_IMPL_STRING_ATTR incorrectly uses bool as nsresult; r=bz 2012-07-30 16:48:02 +03:00
Aryeh Gregor
2e7996f8d1 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Landry Breuil
88d4abfc50 Bug 777696: Fix gstreamer backend on big endian architectures. r=doublec 2012-07-30 17:57:15 +02:00
Ehsan Akhgari
c80897316e Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Masatoshi Kimura
b858849f0c Bug 750241 - Filter console messages to prevent intermittent orange; r=hsivonen 2012-07-30 12:47:19 +01:00
Brian Hackett
4da0b7720d Use HandleValue and MutableHandleValue in API hooks where possible, bug 776579. r=billm, sr=dmandelin 2012-07-30 05:19:09 -06:00
Aryeh Gregor
17bdf11678 Bug 777292 - Annotate some incorrect conversions to nsresult; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
58769bb9d6 Bug 777292 - Don't use |= on nsresult; r=ehsan 2012-07-27 17:03:08 +03:00
Robert Longson
42a531f78a Tests for Bug 710974 - extraneous commas should be rejected by number list parser. r=dholbert 2012-07-30 10:02:50 +01:00
Tim Taubert
9007cd0287 Bug 710974 - extraneous commas should be rejected by number list parser. r=dholbert 2012-07-30 10:02:46 +01:00
David Zbarsky
2d67ac5273 Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron 2012-07-27 13:23:45 -07:00
David Zbarsky
c76cb082e0 Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron 2012-07-27 13:23:44 -07:00
Henri Sivonen
ee51a2e035 Bug 775467 - Make readyState progress through all states without duplicate transitions. r=bzbarsky. 2012-07-27 16:35:09 +03:00
Robert Longson
e24aff5d55 Bug 777476 - text bounding boxes should ignore whitespace-only nodes when whitespace compression suppresses them. r=jwatt 2012-07-27 09:07:32 +01:00
Makoto Kato
3f38c4d3bc Bug 777304 - Don't use freed pointer after destructor of NS_ConvertUTF16toUTF8. r=bsmedberg 2012-07-27 12:13:51 +09:00
Bugmenot
73e7dee094 Bug 777166 - Use CFLAGS from pkgconfig for system libvpx, r=derf
From c445b9ab36a0c79aa1be2dfbd91438e994bccb4e Mon Sep 17 00:00:00 2001
---
 config/autoconf.mk.in          | 2 +-
 configure.in                   | 8 +++++---
 content/media/webm/Makefile.in | 2 +-
 3 files changed, 7 insertions(+), 5 deletions(-)
2012-07-25 19:54:23 +00:00
Benoit Jacob
56b126b4bc Bug 777943 - Let WebGL getRenderbufferParameter return the WebGL format rather than re-querying the GL and tweaking - r=jgilbert 2012-07-26 19:58:53 -04:00
Benoit Jacob
60faad2875 Bug 777883 - Avoid calling glLinkProgram when we know that a bad shader is attached - r=jgilbert 2012-07-26 19:58:52 -04:00
Aryeh Gregor
f883ab5d81 Bug 563659 part 1 - Override GetNameSpaceElement in nsDocumentFragment; r=bz 2012-06-15 15:16:20 +03:00
William Chen
9028db81f9 Bug 746855 - Be more careful when checking for a carry during number format evaluation. r=sicking 2012-06-11 13:31:35 -04:00
Nicholas Cameron
067366aaee Bug 764125; remove AzureEnabled from gfxInfo and replace with backend check. r=roc 2012-07-26 13:56:42 +12:00
Nicholas Cameron
ec9d1e95ee Bug 764125; mochitest for isPointInPath and multiple transforms. r=Bas 2012-07-25 12:46:24 +12:00
Nicholas Cameron
e115a7a16e Bug 764125; sort out preferred and fallback Azure backends for all platforms (canvas and prefs). r=Bas 2012-07-24 22:18:40 +12:00
Nicholas Cameron
5a6045fc8c Bug 748116; Get windows taskbar tab previews working with Skia/Azure canvas; r=roc 2012-04-26 10:04:36 +12:00
Nicholas Cameron
5e7721090d Bug 748116; nsCanvasRenderingContext2DAzure::InitializeWithSurface. r=roc 2012-07-24 22:18:39 +12:00
Nicholas Cameron
95a274068b Bug 746883; tidying up some nits I found along the way; r=gw280 2012-04-26 10:04:35 +12:00
Nicholas Cameron
cadb8239d0 Bug 764125; changes to tests; r=jrmuizel 2012-07-24 22:18:39 +12:00
Nicholas Cameron
6720ecdb04 Bug 764125; changes to nsCanvasRenderingContext2DAzure. r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron
ee280adfe3 Bug 764125; Add DrawTarget arg to GetScaledFontForFont. r=Bas 2012-07-24 22:18:37 +12:00
Simon Montagu
3e005dc1f4 Add support for :dir(ltr/rtl) CSS selector, content part, Bug 562169, r=bz 2012-04-17 07:03:10 +03:00
Simon Montagu
1c6ba0a43d Add support for :dir(ltr/rtl) CSS selector, layout/style part. Bug 562159, r=bz 2012-08-07 21:44:24 -07:00
Simon Montagu
4a67200814 Tests for dir(ltr/rtl) CSS selector. bug 562169, r=bz 2012-04-17 07:01:29 +03:00
Steven Lee
dd1279bf1b Bug 714358: Time manager implementation. r=jlebar 2012-08-07 19:11:00 -04:00
Paul Adenot
74744647d4 Bug 567077 - Fix an assertion failure when the decoder was cloned. r=cpearce 2012-08-07 18:00:28 -07:00
Paul Adenot
f1f8700189 Bug 567077 - Sniff types of media files that are served with no Content-Type -- Tests r=cpearce 2012-08-07 15:56:25 -07:00
Paul Adenot
73eea5d7e2 Bug 567077 - Avoid sniffing when recreating a channel. r=cpearce 2012-08-07 15:56:01 -07:00
Paul Adenot
5a763d83cf Bug 567077 - Sniff types of media files that are served with no Content-Type r=cpearce 2012-08-07 15:54:30 -07:00
Paul Adenot
eb3129b6c8 Bug 775319 - Determine the sample format at compile time for all media code. r=kinetik
--HG--
extra : rebase_source : 4e8a2a4544895c9234ccd3992e1cafe82b8cf365
2012-08-07 16:01:02 -07:00
Paul Adenot
d8b9c5d56b Bug 778902 - When a video finished playing, "pause" should be fired, and |paused| should be true. r=cpearce
--HG--
extra : rebase_source : 2866707bd6b61d0225952ff49b858011d79e04ed
2012-08-06 10:27:55 -07:00
Paul Adenot
247369a604 Bug 774084 - Fix a crash in nsBuiltinDecoder::GetSeekable. r=kinetik
--HG--
extra : rebase_source : f05e051cc9ab850381d138e944f2cc3ea5b3e2f7
2012-07-15 10:57:41 -07:00
Benjamin Peterson
82fd98ee23 Bug 779724 - Use finer-grain source controls in the browser. r=jorendorff, sr=jst 2012-08-07 10:39:47 -07:00
Nicholas Cameron
1b0ed26abc Bug 746883; misc bits and pieces for getting Skia/Azure canvases going. r=gw280 2012-04-10 13:18:53 +12:00
Mark Capella
01ce4b48b1 Bug 730925 - XHR.getAllResponseHeaders should use CRLF, not LF per spec, r=jst, r=jonas, f=ms2ger 2012-07-26 11:55:23 -04:00
Ed Morley
7c29aed7d0 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-26 13:04:00 +01:00
Olli Pettay
555347dbf5 Bug 776986 - Implement MozApplicationEvent using codegenerator, r=fabrice 2012-07-26 13:23:22 +03:00
Nicholas Cameron
9e4ceaecb8 Back out bug 746883, bug 764125, bug 761895, bug 746883, bug 748116 2012-07-26 18:48:24 +12:00
Nicholas Cameron
65cef0593d Bug 764125; remove AzureEnabled from gfxInfo and replace with backend check. r=roc 2012-07-26 13:56:42 +12:00
Olli Pettay
2c67e04427 Bug 776971 - codegen DeviceLightEvent impl, r=dougt 2012-07-26 00:26:51 +03:00
Olli Pettay
a90431f527 Bug 776966 - Generate DeviceOrientationEvent implementation, r=dougt 2012-07-26 00:17:14 +03:00
Nicholas Cameron
2b54f3b5fd Bug 764125; mochitest for isPointInPath and multiple transforms. r=Bas 2012-07-25 12:46:24 +12:00
Nicholas Cameron
6a8d4a8317 Bug 764125; sort out preferred and fallback Azure backends for all platforms (canvas and prefs). r=Bas 2012-07-24 22:18:40 +12:00
Patrick McManus
5452bacad0 bug 767005 backout bug 235853 r=jduell
--HG--
extra : rebase_source : c5aee6699ad20b85c11d52ca70365d6adebaec7c
2012-07-24 22:40:34 -04:00
Olli Pettay
4fcbc28cca Bug 776929 - Let event implementation codegen to generate MozContactChangeEvent, r=gwagner 2012-07-24 22:28:26 +03:00
Matt Brubeck
091f852d76 Back out f4f5189b1d0c, 3b4f0606c547, b8a5a1ab8a5f, 5078933d6954, 7e0260c45de9 (bug 768440, bug 755084, bug 706179) because of reftest failures 2012-07-23 20:25:51 -07:00
Makoto Kato
3ddf67296b Bug 776488 - content/base/src/nsFrameLoader.cpp(1987) : warning C4305: 'return' : truncation from 'nsresult' to 'bool'. r=jlebar 2012-07-24 11:56:50 +09:00
David Zbarsky
f1b8756af2 Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron 2012-07-23 17:34:49 -07:00
David Zbarsky
730141f891 Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron 2012-07-23 17:34:46 -07:00
Benjamin Peterson
7c366fa6f0 Bug 776317 - Separate the body of a constructed function from its braces with newlines. r=luke 2012-07-23 17:03:41 -07:00
Joshua Cranmer
de30491499 Bug 773637 - Kill NS_SCRIPTABLE attributes, Part 2: Remove NS_SCRIPTABLE. r=ehsan
--HG--
extra : rebase_source : 83020e0a1961ed5b33d5e0599419c6b7b82caa87
2012-07-06 15:31:49 -05:00
Joshua Cranmer
e1cdfe2f05 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Joshua Cranmer
4a5b32fae2 Bug 702877 - Replace NS_OVERRIDE with MOZ_OVERRIDE. r=ehsan
--HG--
extra : rebase_source : 1843575683c3897f96f3966cbce26140ff1a7d90
2012-07-06 13:15:45 -05:00
Aryeh Gregor
0c8f5adf50 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Mark Capella
7103242b4f Bug 775041 - Make nsIWidget::IsEnabled return bool, r=roc, f=ms2ger 2012-07-23 01:19:08 -04:00
Boris Zbarsky
ace95218b3 Bug 761278. Remove the non-standard uploadprogress event on XMLHttpRequest. r=sicking 2012-07-21 22:28:26 -04:00
Jason Duell
fe2a88a9e3 Backout f142f32a98a3 (Bug 775317) and ef14686c31d0 (Bug 761278). r=bustage 2012-07-21 20:05:37 -07:00
Boris Zbarsky
cd30d8c6c6 Bug 761278. Remove the non-standard uploadprogress event on XMLHttpRequest. r=sicking 2012-07-21 22:28:26 -04:00
Jonathan Watt
1adb494274 Bug 776250 - Rename nsISVGChildFrame::UpdateBounds to nsISVGChildFrame::ReflowSVG to make it easier for non-SVG devs to understand the SVG code. r=roc.
--HG--
extra : rebase_source : 9c2d8f3d76dab1a842d6cc5607a13a49703061d6
2012-07-21 20:01:44 -04:00
Mounir Lamouri
77caa7b002 Bug 770532 - Make new nsIPrincipal and nsIDocShell attributes work in content process. r=jlebar 2012-07-21 17:16:11 -07:00
Mounir Lamouri
38a7f3af0d Bug 775408 - Rename nsIDocShell::SetIsBrowser() to SetIsBrowserElement(). r=jlebar 2012-07-21 17:39:41 -07:00
Jonas Sicking
334d4312d7 Bug 769594: Make nsObjectLoadingContent use principals when calling into permission manager. r=josh 2012-07-21 00:29:40 -07:00
Jonas Sicking
690071fc50 Bug 774585: Rename getCodebasePrincipal to getSimpleCodebasePrincipal since the behavior has semantically changed. r=mounir 2012-07-21 00:29:40 -07:00
Ryan VanderMeulen
ef318bebea Merge m-c to inbound. 2012-07-20 20:19:31 -04:00
Olli Pettay
407132a3d4 Bug 775972 - crash in nsGenericElement::BindToTree, r=bz 2012-07-21 00:55:19 +03:00
Olli Pettay
2280255d92 Bug 765766 - Convert more event interface implementations to be autogenerated, r=jst 2012-07-20 19:58:28 +03:00
Olli Pettay
c992398490 Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey 2012-07-20 19:42:08 +03:00
Jonas Sicking
0bed47c306 Bug 774585 - Make GetChannelPrincipal get the correct app principal. r=mounir 2012-07-20 00:07:49 -07:00
Wes Johnston
1946972d98 Bug 775162 - Turn on touch events tests for all platforms. r=smaug 2012-07-19 16:37:19 -07:00
Mounir Lamouri
b66d71f27e Bug 770831 - Make nsIDocShell carry the app id. r=jlebar sr=sicking 2012-07-19 10:32:49 -07:00
Mounir Lamouri
fe2bf13acd Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking 2012-07-18 22:26:21 -07:00
Steve Fink
196cc9b6ff Backed out changeset 060a9d9fc1c6 from a CLOSED TREE since it seems to depend on afc1cf222996 or 1bafff5720a8 that I just backed out 2012-07-19 15:45:27 -07:00
Steve Fink
4c45ee3054 Backed out changeset c2ffcbf39231 from a CLOSED TREE since it seems to depend on afc1cf222996 or 1bafff5720a8 that I just backed out 2012-07-19 15:45:19 -07:00
Felipe Gomes
545c5f337b Bug 775403: When touch events are being consumed by a remote frame, continue to dispatch synthesized mouse events *only* in the parent process, for the focus manager. r=cjones 2012-07-19 12:40:24 -07:00
Mounir Lamouri
c9b18819a5 Bug 770831 - Make nsIDocShell carry the app id. r=jlebar sr=sicking 2012-07-19 10:32:49 -07:00
Mounir Lamouri
d9542ba6f0 Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking 2012-07-18 22:26:21 -07:00
Mounir Lamouri
8b371aed8a Bug 327244 (2/2) - Remove nsIScriptSecurityManager::CheckLoadURI(). r=sicking,jlebar 2012-07-18 15:27:02 -07:00
Mounir Lamouri
ff9d427dc7 Bug 327244 (1/2) - Remove nsIScriptSecurityManager::CheckLoadURIStr(). r=sicking 2012-07-19 10:49:17 -07:00
Matthew Gregan
8c0319a11c Bug 775170 - Use naming convention from coding style guide for static member of StateMachineTracker. r=doublec
--HG--
extra : rebase_source : 4dacfc1e600fe1ba00c16a235032f7e52a1cd10a
2012-07-18 13:26:24 -04:00
Aryeh Gregor
3d174435dd Bug 768756 part 2 - Make nsComputedDOMStyle Init infallible and merge into constructor; r=bz 2012-07-06 15:28:33 +03:00
Ehsan Akhgari
a6b1e13a2d Merge mozilla-central into mozilla-inbound 2012-07-19 08:44:19 -04:00
Ed Morley
e7ea406198 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-19 13:25:37 +01:00
Jacek Caban
6fa45a6330 Bug 472799 - Undefine GetCurrentTime in nsDOMMediaStream.h r=cpearce 2012-07-19 11:58:48 +02:00
Olli Pettay
7a23f78fd5 Bug 773945, remove nsXULElement::mPrototype, part 6, r=bz 2012-07-19 12:21:40 +03:00
Olli Pettay
4901839542 Bug 773945, remove nsXULElement::mPrototype, part 5, r=bz 2012-07-19 12:18:01 +03:00
Olli Pettay
213d7fe4ca Bug 773945, remove nsXULElement::mPrototype, part 4, r=bz 2012-07-19 12:14:27 +03:00
Ed Morley
bb507d18ac Backout ea6db8f420c0 (bug 770831), b51c79ee0883 (bug 774957), 020f6ed5958b (bug 758258), 11d8e19e1fca (bug 758258), 707fc51bfe2e (bug 775354), 489d944a6fe6 (bug 327244), be7df3c9d50f (bug 327244) for m-oth orange 2012-07-19 08:29:48 +01:00
Mounir Lamouri
c91e40fe75 Bug 770831 - Make nsIDocShell carry the app id. r=jlebar sr=sicking 2012-07-18 22:28:05 -07:00
Mounir Lamouri
ea02e3ec30 Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking 2012-07-18 22:26:21 -07:00
Masayuki Nakano
588dd9f9f3 Bug 751749 part.2 Support Win key for a modifier of shortcut key and access key r=smaug, enn 2012-07-19 10:28:16 +09:00
Mounir Lamouri
30741d2c3a Bug 327244 (2/2) - Remove nsIScriptSecurityManager::CheckLoadURI(). r=sicking,jlebar 2012-07-18 15:27:02 -07:00
Mounir Lamouri
2b7700d07d Bug 327244 (1/2) - Remove nsIScriptSecurityManager::CheckLoadURIStr(). r=sicking 2012-07-18 13:35:15 -07:00