Граф коммитов

28379 Коммитов

Автор SHA1 Сообщение Дата
Kyle Huey 987e066167 Bug 903772: Part 6 - Remove TextDecoderBase. r=emk 2013-08-22 22:17:09 -07:00
Kyle Huey a4c454d166 Bug 903772: Part 4 - Harmonize main thread and worker dictionary implementations. r=peterv 2013-08-22 22:17:09 -07:00
Kyle Huey d2e93ff015 Bug 903772: Part 3 - Refactor GlobalObject. r=peterv 2013-08-22 22:17:08 -07:00
Kyle Huey 0428823e52 Bug 903772: Part 1 - Add an API for creating typed arrays that doesn't require the caller to be wrapper cached. r=peterv 2013-08-22 22:17:07 -07:00
Guillaume Abadie 26127c2eb2 bug 908232 - step 2 - [WebGL 2.0] Add RASTERIZER_DISCARD tracking - r=jgilbert 2013-08-22 20:11:40 -04:00
Guillaume Abadie e2f8566e17 bug 908232 - step 1 - Refactor the WebGL state tracking - r=jgilbert 2013-08-22 20:11:27 -04:00
Tom Schuster 38480fe542 Bug 900707 - Disable two tests. r=smaug 2013-08-22 15:52:07 -04:00
Ryan VanderMeulen bea62d67bd Merge m-c to inbound. 2013-08-22 15:44:40 -04:00
Ryan VanderMeulen 8dfeba9208 Merge inbound to m-c. 2013-08-22 15:42:18 -04:00
Ryan VanderMeulen 554fb2747e Merge fx-team to m-c. 2013-08-22 15:33:42 -04:00
Ryan VanderMeulen de0f1ec5d2 Bug 908306 - Disable more Web Audio crashtests on B2G due to frequent timeouts. 2013-08-22 14:04:41 -04:00
Ehsan Akhgari baf3a129ad Bug 907883 - Minimize #includes in layout/generic; r=roc
--HG--
extra : rebase_source : 5e87b764a12b05aff477c71547e2131be67ca93b
2013-08-22 14:32:52 -04:00
Guillaume Abadie 35912f7684 bug 904330 - step 03 - Uses mozilla::GLFeature instead of old extension group queries - r=jgilbert 2013-08-22 13:42:05 -04:00
Mina Almasry f070b83288 Bug 728629 - canvas2D fillText & strokeText do not throw exceptions when non-finite doubles are passed for the position. r=vlad 2013-08-22 10:16:06 -04:00
Boris Zbarsky 4fa095c3f4 Bug 907892. Disallow setting document.domain in sandboxed iframes. r=smaug 2013-08-22 09:46:27 -04:00
David Zbarsky 6415dbe041 Remove an extra include of nsContentUtils that I somehow added in bug 903819 2013-08-22 09:26:19 -04:00
Ms2ger 5ed1871e08 Merge m-c to inbound. 2013-08-22 11:25:07 +02:00
Ms2ger b1b7669c2b Bug 904831 - Followup: clobber 2013-08-22 11:22:03 +02:00
Ms2ger 913bab58b0 Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger 506173515d No bug - Use Unix line endings in nsSandboxFlags.h. 2013-08-22 08:56:07 +02:00
Ms2ger db8e00e85f Bug 904831 - Part c: Move conditional MSVC_ENABLE_PGO definitions into moz.build and remove empty makefiles; r=mshal 2013-08-22 08:56:01 +02:00
Ms2ger bdfaa84f5b Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger 987ec661d3 Bug 883284 - Part g: Move conditional LIBXUL_LIBRARY assignments into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger 6d473220dc Bug 883284 - Part b: Move LIBXUL_LIBRARY into moz.build (a-c); r=joey 2013-08-22 08:55:59 +02:00
Ms2ger af2c13c793 Bug 906412 - Cleanup some random parts of the build system; r=mshal 2013-08-22 08:55:59 +02:00
Ms2ger 4807f1c86c Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Ms2ger c33067d172 Bug 907606 - Remove BindingUtils.h include from WebGLContext.h; r=mounir 2013-08-22 08:34:54 +02:00
Ms2ger 930728b3e2 Bug 905230 - Use LinkedList for nsXBLJSClass; r=mrbkap 2013-08-22 08:34:44 +02:00
Ms2ger f021b01688 Bug 899705 - Give SetDoubleAttr an ErrorResult argument; r=dzbarsky 2013-08-22 08:34:39 +02:00
Ms2ger a69d93e14a Bug 907364 - Remove the unused nsContentUtils::sDOMScriptObjectFactory; r=bholley 2013-08-22 08:34:25 +02:00
Ms2ger 18cd92e9b4 Bug 903844 - Add/update include-what-you-use annotations for various files; r=ehsan+khuey 2013-08-22 08:31:21 +02:00
Ms2ger c6ed78509a Bug 904178 - Part f: Remove some includes from nsPIDOMWindow.h; r=mounir 2013-08-22 08:30:55 +02:00
Ms2ger 504d76004b Bug 904178 - Part e: Make it possible to include nsIDocument.h on its own; r=ehsan 2013-08-22 08:30:44 +02:00
Ms2ger 40829a23d0 Bug 903778 - Move dom::Date into its own files; r=khuey 2013-08-22 08:30:38 +02:00
Ms2ger af8841fe56 Bug 905747 - Reduce includes in nsXMLHttpRequest.h; r=khuey 2013-08-22 08:29:30 +02:00
Masayuki Nakano a24a19c1e4 Bug 906281 part.4 Use Preferences::AddIntVarCache() for accesskey prefs in nsEventStateManager::Prefs r=smaug 2013-08-22 11:31:26 +09:00
Masayuki Nakano 71a65ed4ba Bug 906281 part.3 Create nsEventStateManager::Prefs for capsuling the preferences management r=smaug 2013-08-22 11:31:26 +09:00
Masayuki Nakano 94c7b8a98e Bug 906281 part.2 Get rid of "nglayout.events.dispatchLeftClickOnly" due to not used r=smaug 2013-08-22 11:31:26 +09:00
Masayuki Nakano 196b59a548 Bug 906281 part.1 Make nsEventStateManager::mClickHoldContextMenu static variable r=smaug 2013-08-22 11:31:26 +09:00
Guillaume Abadie 166bf211b3 bug 903480 - [WebGL 2.0] implement TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN - r=jgilbert 2013-08-21 21:11:03 -04:00
Ryan VanderMeulen 78bcb8af18 Merge inbound to m-c. 2013-08-21 17:14:32 -04:00
John Schoenick 201d869637 Bug 902375 - Actually use the optional parameter added explicitly for this purpose. r=bsmedberg 2013-08-21 14:47:53 -07:00
Stephen Pohl fd7f083936 Revert 366e6a39d71a from bug 673875 for causing bug 907275. r=smichaud 2013-08-21 12:22:03 -04:00
Olli Pettay ad716fdb82 Bug 906301, follow the DOM specs more strictly in case of mutations, r=peterv
--HG--
extra : rebase_source : 775b570151782223cf69705e2225e4f1da4014e7
2013-08-21 19:08:23 +03:00
Nicholas Cameron ac95649e48 Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical 2013-08-21 13:28:53 +12:00
Ms2ger f805d8d6eb Merge m-c to inbound 2013-08-22 10:38:48 +02:00
Ed Morley ed092d660e Merge mozilla-central and b2g-inbound 2013-08-21 13:10:57 +01:00
Daniel Holbert d9aaafc1b8 Bug 907565: Remove redundant (unused) copy of nsISVGPoint.cpp. r=dzbarsky 2013-08-20 22:10:43 -07:00
Wes Kocher 5f8374e407 Backed out changeset 315c9f0af9bb (bug 902929) 2013-08-20 20:50:20 -07:00
Nicholas Cameron 01348ed72b Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical 2013-08-21 13:28:53 +12:00
Ryan VanderMeulen 2e280da7aa Merge m-c to inbound. 2013-08-21 17:17:18 -04:00
Eitan Isaacson 1bc00a6469 Bug 858529 - Add nsISpeechTask.SendAudioNative. r=smaug 2013-08-21 12:39:27 -07:00
Daniel Holbert ab58b5ad66 Bug 907539: Use sizeof(PRUnichar) instead of magic number 2, when converting from bytes to wide-string-length in nsCheapString constructor. r=ehsan 2013-08-21 12:31:36 -07:00
Ehsan Akhgari f9b077c0c8 Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst 2013-08-21 15:28:26 -04:00
Martijn Wargers a9e9e27117 Bug 907648 - test_bug379959.html and test_bug369814.html should use SpecialPowers. r=jmaher 2013-08-21 18:11:26 +02:00
Gavin Sharp 1c4f38a7c3 Bug 907430: XBL constructors/destructors should have names, r=bz
--HG--
extra : transplant_source : G%E8%B6%A4%9D%E3%A2%F8C%81%1Dc%3E%FC%CD%13%5Ea%8A%E0
2013-08-21 16:45:52 -07:00
Nicholas Nethercote 2585de9a07 Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Jason Smith f1ec175ce4 Bug 899878 - Mochitest for recording media with no timeslice for media recording API. r=roc 2013-08-20 23:40:29 -07:00
Michael Harrison a5fb538393 Bug 897491 - Update the display when the alt attribute of an image is added or removed. r=bz 2013-08-21 08:44:14 -04:00
Trevor Saunders 54fb4bac29 bug 899210 - convert camera control to WebIDL r=bz 2013-07-06 16:55:10 -04:00
James Willcox 0837eb5096 Bug 902651 - Restore the DrawTarget transform and clip when demoting r=mattwoodrow,bz
--HG--
rename : browser/config/mozconfigs/win64/common-opt => browser/config/mozconfigs/win64/nightly
extra : rebase_source : 1f1438d54fb97935c9186b69afc37a5d17028dbb
2013-08-23 09:52:32 -04:00
Trevor Saunders 7ec442fab8 bug 908347 - rename CloseContainer() to CloseBody() r=mrbkap 2013-08-17 15:26:48 -04:00
Trevor Saunders a0f3076c40 bug 908347 - remove logging stuff for html content sink r=mrbkap
It hardly seems useful to have debug logging for creating about:blank
2013-08-17 15:18:03 -04:00
Trevor Saunders a6328074f0 bug 908347 - remove AddLeaf() r=mrbkap 2013-08-17 14:48:06 -04:00
Trevor Saunders 618cc871fb bug 908347 - remove text handling from html content sink r=mrbkap 2013-08-17 14:42:20 -04:00
Trevor Saunders d878929bbf bug 908347 - make a bunch of html content sink stuff explicitly only deal with html:body r=mrbkap 2013-08-17 11:39:34 -04:00
Trevor Saunders b2a552be0c bug 908347 - rm nsIDebugDumpContent r=mrbkap 2013-08-17 10:46:38 -04:00
Trevor Saunders 15092f8b87 bug 908347 - remove OpenHeadContext() r=mrbkap 2013-08-17 09:11:18 -04:00
Trevor Saunders 0c205298fc bug 908347 - make Open / Close Container() take an enum with only html and body elements r=mrbkap 2013-08-17 08:06:23 -04:00
Trevor Saunders afea806bce bug 908347 - remove nsIHTMLCOntentSink::IsEnabled r=mrbkap 2013-08-17 07:45:46 -04:00
Trevor Saunders 39875cb047 bug 908347 - kill nsIParserNode r=mrbkap 2013-08-16 22:19:32 -04:00
Trevor Saunders 3eec5c1468 bug 908347 - rm the bits of nsIHTMLContentSink nobody calls r=mrbkap 2013-08-16 22:02:26 -04:00
Trevor Saunders c44bd61930 bug 908347 - HTMLContentSink::OpenContainer() doesn't need a parser node either r=mrbkap 2013-08-16 21:20:57 -04:00
Trevor Saunders dbec94e16b bug 908347 - OpenBody() doesn't need a parser node r=mrbkap 2013-08-16 21:00:33 -04:00
Trevor Saunders 821f912748 bug 908347 - SinkContext::OpenContainer() only needs a tag r=mrbkap 2013-08-16 20:45:39 -04:00
Trevor Saunders a044a3c0f1 bug 908347 - CreateContentObject() doesn't need a parser node r=mrbkap 2013-08-16 20:29:23 -04:00
Trevor Saunders fa4593394a bug 908347 - remove HTMLContentSink::AddAttribute() r=mrbkap
the first thing it does is to return if nsIParserNode.GetAttributeCount()
returned 0 which the one impl always does, so its all dead code we can remove.
2013-08-16 19:51:58 -04:00
Trevor Saunders af70a91e16 bug 908347 - rm nsIElementObserver r=mrbkap 2013-08-16 16:39:22 -04:00
Ivan Alagenchev f8985f80ad Bug 875456 - DOM patch. Modifies Mixed Content Blocker, so that its messages are appropriately logged to the security console. r=bz 2013-08-26 11:27:00 -04:00
Jeff Gilbert cc1485b44f Bug 783674 - WebGLContext::Render to use ReadScreen* and mark its surfaces as dirty. r=bjacob 2013-08-26 11:26:27 -04:00
Randell Jesup d093043b4d Bug 909187: Part 2 - Allow DOM MediaStreams to intercept SetTrackEnabled calls r=roc (reland) 2013-08-26 02:07:19 -04:00
Randell Jesup ed90712171 Bug 909187: Part 1-Refactor MediaStreamTrack disabling so we can call it directly and access from other threads r=roc (reland) 2013-08-26 02:07:17 -04:00
Hsin-Yi Tsai 6e0cccb036 Bug 772765 - part2 - Telephony DOM. r=bent 2013-07-06 18:24:55 +08:00
Eitan Isaacson 717f0a744d Bug 906867 - Include speech synth ipdls regardless of it being enabled at build time. r=gps 2013-08-20 09:24:04 -07:00
Guillaume Abadie b34f7bed28 bug 903481_- step 3 - [WebGL 2.0] implement TRANSFORM_FEEDBACK_BUFFER - r=jgilbert 2013-08-20 11:36:20 -04:00
Guillaume Abadie 2e13b97e43 bug 903481 - step 1 - Move WebGL buffers function into GLContextBuffers.cpp - r=jgilbert 2013-08-20 11:36:19 -04:00
Rick Eyre 03bbf26171 Bug 905320 - Add regression tests to make sure we don't leak again. r=khuey
Original test comes from bug 895305 which is a duplicate of 905320.
2013-08-15 18:30:13 -04:00
Rick Eyre 75a54dece9 Bug 905320 - Fix TextTrack classes to utilize cycle collection correctly. r=khuey
We were incorrectly using the wrapper cache cycle collection macros when that
functionality was already implemented by the base classes. Therefore, we
should instead use the inherited version of the cycle collection macros.
2013-08-15 11:11:15 -04:00
Bobby Holley b1f301a7a7 Bug 901106 - Make nsJSRuntime initialization infallible and do it implicitly in the nsJSContext constructor. r=mrbkap
We also move the runtime out of the namespace, which requires some updates.
2013-08-19 16:24:29 -07:00
Bobby Holley b4dde9a0ba Bug 901106 - Remove nsIScriptRuntime. r=mrbkap
All this stuff is now for nsGlobalWindow's use only.
2013-08-19 16:24:28 -07:00
Bobby Holley ea43b1e71f Bug 901106 - Stop using nsIScriptContext for XUL prototype documents. r=smaug
This patch is roughly analagous to what I did for XBL compilation scopes in
https://hg.mozilla.org/mozilla-central/rev/26898c90f9cc.

According to CC dumps, the gray unmarking during MarkInCCGeneration prevents this
stuff from being traversed during CC.
2013-08-19 16:24:28 -07:00
Bobby Holley 79d09d7777 Bug 901106 - Stop implementing nsIScriptGlobalObjectOwner in nsXULPrototypeDocument. r=smaug 2013-08-19 16:24:27 -07:00
Bobby Holley 2aa5ae896c Bug 901106 - Pass nsXULPrototypeDocuments directly through serialization and use AutoSafeJSContext at the serialization point. r=smaug 2013-08-19 16:24:27 -07:00
Bobby Holley 31ddf22a6f Bug 901106 - Be more direct in nsXULPrototypeScript::Compile. r=smaug
Given that this is just the phony compilation global we're dealing with, the
only thing relevant about this script context is that it defaults to the right
compartment. But we can do that manually with the SafeJSContext.

The CanExecuteScripts check was something I added to address review comments
in bug 901162 comment 8. I now realize that it's effectively a no-op, because
the nsIScriptContext here corresponds to the compilation scope, not the
document, so it will never have script disabled.
2013-08-19 16:24:27 -07:00
Bobby Holley 9ccecb62c8 Bug 901106 - Inline and remove nsIScriptContext::{Serialize,Deserialize}. r=smaug 2013-08-19 16:24:27 -07:00
Bobby Holley 7bef4c6b93 Bug 901106 - Deserialize FastLoad scripts into the compilation scope, rather than the scope of the first document created. r=smaug
This code dates back to 2003, and smaug and I both think it's probably a bug.
In fact, it might cause leaks, because the prototype document would hold the
script alive, the script would hold the document alive, and the document would
hold the prototype document alive in the cache.
2013-08-19 16:24:26 -07:00
Ralph Giles 26f29172b9 Bug 865253 - Part 5: Shorten a comment to fit in 80 columns. r=ehsan 2013-08-19 11:58:00 -07:00
Ralph Giles f429e8e85f Bug 865253 - Part 4: Stop OscillatorNodes on context shutdown. r=ehsan
Like AudioBufferSourceNode and ScriptProcessorNode, OscillatorNode
holds a self-reference in mPlaying. Keep track of all osc nodes
in the AudioContext and explicitly stop them to make sure this
reference is dropped.
2013-08-19 11:57:00 -07:00
Ralph Giles 076262a557 Bug 865253 - Part 3: Direct generation of fixed oscillator types. r=ehsan
Simple direct calculation of the fixed types.

We probably want to use the PeriodicWave machinery to generate
the pre-defined waveforms once it's available. In either case
we can optimize this significantly by caching the generated
waveform when the frequency is stationary over the block.
2013-08-19 11:56:00 -07:00
Ehsan Akhgari f90e61776c Bug 865253 - Part 2: Implement the alternate enum values for OscillatorNode; r=roc 2013-08-19 11:54:00 -07:00