Commit Graph

16658 Commits

Author SHA1 Message Date
Ms2ger
44a5f9403c Merge m-c to inbound. 2013-08-22 11:25:07 +02:00
Ms2ger
1a58e5982b Bug 904831 - Followup: clobber 2013-08-22 11:22:03 +02:00
Ms2ger
dd3ed79f0d Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger
da7aa79847 No bug - Use Unix line endings in nsSandboxFlags.h. 2013-08-22 08:56:07 +02:00
Ms2ger
d54dfa0c57 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
19f3e043e3 Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
cb6087d9f7 Bug 883284 - Part g: Move conditional LIBXUL_LIBRARY assignments into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
fa65b962f6 Bug 883284 - Part b: Move LIBXUL_LIBRARY into moz.build (a-c); r=joey 2013-08-22 08:55:59 +02:00
Ms2ger
5c981f7ca9 Bug 906412 - Cleanup some random parts of the build system; r=mshal 2013-08-22 08:55:59 +02:00
Ms2ger
66214743ad Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Ms2ger
0d4cf13f01 Bug 907606 - Remove BindingUtils.h include from WebGLContext.h; r=mounir 2013-08-22 08:34:54 +02:00
Ms2ger
97bb27fbf6 Bug 905230 - Use LinkedList for nsXBLJSClass; r=mrbkap 2013-08-22 08:34:44 +02:00
Ms2ger
516ce5fe88 Bug 899705 - Give SetDoubleAttr an ErrorResult argument; r=dzbarsky 2013-08-22 08:34:39 +02:00
Ms2ger
4da6920eb5 Bug 907364 - Remove the unused nsContentUtils::sDOMScriptObjectFactory; r=bholley 2013-08-22 08:34:25 +02:00
Ms2ger
584215995c Bug 903844 - Add/update include-what-you-use annotations for various files; r=ehsan+khuey 2013-08-22 08:31:21 +02:00
Ms2ger
badb581ba0 Bug 904178 - Part f: Remove some includes from nsPIDOMWindow.h; r=mounir 2013-08-22 08:30:55 +02:00
Ms2ger
047b191ace 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
c590a6ce46 Bug 903778 - Move dom::Date into its own files; r=khuey 2013-08-22 08:30:38 +02:00
Ms2ger
a47f57f344 Bug 905747 - Reduce includes in nsXMLHttpRequest.h; r=khuey 2013-08-22 08:29:30 +02:00
Masayuki Nakano
0a2073c931 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
b9f1d1af1a Bug 906281 part.3 Create nsEventStateManager::Prefs for capsuling the preferences management r=smaug 2013-08-22 11:31:26 +09:00
Masayuki Nakano
c150c2d4a1 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
ed5fe75117 Bug 906281 part.1 Make nsEventStateManager::mClickHoldContextMenu static variable r=smaug 2013-08-22 11:31:26 +09:00
Guillaume Abadie
0c828225cf bug 903480 - [WebGL 2.0] implement TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN - r=jgilbert 2013-08-21 21:11:03 -04:00
Ryan VanderMeulen
908be1856b Merge inbound to m-c. 2013-08-21 17:14:32 -04:00
John Schoenick
bfef5ec19c Bug 902375 - Actually use the optional parameter added explicitly for this purpose. r=bsmedberg 2013-08-21 14:47:53 -07:00
Stephen Pohl
137e8534cd Revert 366e6a39d71a from bug 673875 for causing bug 907275. r=smichaud 2013-08-21 12:22:03 -04:00
Olli Pettay
157f78e913 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
01b99f2af9 Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical 2013-08-21 13:28:53 +12:00
Ms2ger
4af9d89266 Merge m-c to inbound 2013-08-22 10:38:48 +02:00
Ed Morley
6e9119b21e Merge mozilla-central and b2g-inbound 2013-08-21 13:10:57 +01:00
Daniel Holbert
b839bcc1af Bug 907565: Remove redundant (unused) copy of nsISVGPoint.cpp. r=dzbarsky 2013-08-20 22:10:43 -07:00
Wes Kocher
2a9e21a70f Backed out changeset 315c9f0af9bb (bug 902929) 2013-08-20 20:50:20 -07:00
Nicholas Cameron
8acfeaece0 Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical 2013-08-21 13:28:53 +12:00
Ryan VanderMeulen
63ae93c3cb Merge m-c to inbound. 2013-08-21 17:17:18 -04:00
Eitan Isaacson
a7011bca77 Bug 858529 - Add nsISpeechTask.SendAudioNative. r=smaug 2013-08-21 12:39:27 -07:00
Daniel Holbert
e176529eae 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
2a87c95927 Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst 2013-08-21 15:28:26 -04:00
Martijn Wargers
3d65d093d0 Bug 907648 - test_bug379959.html and test_bug369814.html should use SpecialPowers. r=jmaher 2013-08-21 18:11:26 +02:00
Gavin Sharp
8cf0a610cf 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
b89a8ac1c0 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
b8fca425b6 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
d111da916d 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
Hsin-Yi Tsai
2ea077b16b Bug 772765 - part2 - Telephony DOM. r=bent 2013-07-06 18:24:55 +08:00
Eitan Isaacson
b64475c4fc 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
f54c0d20fb bug 903481_- step 3 - [WebGL 2.0] implement TRANSFORM_FEEDBACK_BUFFER - r=jgilbert 2013-08-20 11:36:20 -04:00
Guillaume Abadie
3175b5af43 bug 903481 - step 1 - Move WebGL buffers function into GLContextBuffers.cpp - r=jgilbert 2013-08-20 11:36:19 -04:00
Rick Eyre
cc0a3a7eac 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
7b90a3a973 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
b306fdba14 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
4e0f1d69d4 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
17c2bda537 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
bd19c859e0 Bug 901106 - Stop implementing nsIScriptGlobalObjectOwner in nsXULPrototypeDocument. r=smaug 2013-08-19 16:24:27 -07:00
Bobby Holley
f105b0820c 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
d2b2614903 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
2947d0c4f8 Bug 901106 - Inline and remove nsIScriptContext::{Serialize,Deserialize}. r=smaug 2013-08-19 16:24:27 -07:00
Bobby Holley
e49c7c295a 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
32a4c9234d Bug 865253 - Part 5: Shorten a comment to fit in 80 columns. r=ehsan 2013-08-19 11:58:00 -07:00
Ralph Giles
b2a2d1d336 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
b6cd82c798 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
8ac7f2d7eb Bug 865253 - Part 2: Implement the alternate enum values for OscillatorNode; r=roc 2013-08-19 11:54:00 -07:00
Ehsan Akhgari
d323ec880a Bug 865253 - Part 1: Implement the DOM bindings for OscillatorNode; r=roc 2013-08-19 11:53:00 -07:00
Randell Jesup
5a2c890c2d Bug 905002: backout bug 879717 until we can fix the mac-only regression rs=roc 2013-08-19 18:30:15 -04:00
Olli Pettay
36eeda0bef Bug 906684, make sure to access the right EventTargetChainItem when forwarding events to chrome, r=jst
--HG--
extra : rebase_source : afb2b457c422585e85d7abccfd76f0b6f85315a4
2013-08-20 00:12:56 +03:00
Cervantes Yu
06fc4f787a Bug 897741 - Limit the CSP cache key size to reduce memory usage. r=fabrice 2013-08-19 09:43:44 -04:00
Rick Eyre
c1cfcbff53 Bug 880064 - Change HTMLTrackElement::Kind to a DOMString value. r=Ms2ger
This was originally in the spec as an enumerated value, but due to the current
problems with reflecting enumerated values it had to be changed to a DOMString.
This has been changed in the HTML5 spec as well.
2013-07-04 14:16:05 -04:00
Mina Almasry
a87af7052e Bug 717181 - Make <fieldset> invalid if they contain an invalid form control; r=mounir
This adds a CSS psuedo class to fieldset that acts much in the same way as the one
on form.
2013-08-16 20:32:47 -04:00
David Zbarsky
46c6e64d77 Bug 903283: Don't include EventTarget.h in headers r=Ms2ger 2013-08-19 06:15:55 -04:00
Phil Ringnalda
78bbb02c92 Merge m-c to m-i 2013-08-18 17:51:12 -07:00
Phil Ringnalda
486b4deb9e Merge fx-team to m-c 2013-08-18 17:44:05 -07:00
Tanvi Vyas
3bf47f8be6 Bug 902350 - Mochitest. r=smaug 2013-08-18 12:32:09 -07:00
Phil Ringnalda
dca3d35d2b Merge m-c to fx-team 2013-08-17 08:42:11 -07:00
Mark Capella
d531c0d7aa Bug 864589 - Show/hide text selection handles if a selection is programatically added/removed, r=margaret, ehsan 2013-08-16 21:51:41 -04:00
Wes Kocher
26a0024de1 Backed out changeset 2404f5888de3 (bug 864589) 2013-08-16 16:09:46 -07:00
Mark Capella
0bd933ae38 Bug 864589 - Show/hide text selection handles if a selection is programatically added/removed, r=margaret, ehsan 2013-08-16 16:45:42 -04:00
Ehsan Akhgari
477c24d934 Bug 905444 - Do not attempt that we can handle empty channels when mixing; r=roc 2013-08-16 10:42:50 -04:00
Olli Pettay
b74af2cf58 Bug 887241, Use strings, not atoms, for worker events, r=khuey
--HG--
extra : rebase_source : 3e294b1bde05a127db0a9fa1c31c48e9a514e11d
2013-08-16 13:06:24 +03:00
Olli Pettay
37da35ff10 Bug 902481 - Make EventTargetChainItem pool thread agnostic, v2, r=jst
--HG--
extra : rebase_source : e1e9d9b87a29fd1d3ad6645f87a7075295c3c91d
2013-08-16 13:00:00 +03:00
Chris Double
1a460ea6ef Bug 905070 - Fix uninitialized value use in HTML media element - r=kinetik 2013-08-16 21:57:17 +12:00
Honza Bambas
5c7819fda9 Bug 892488 - Get rid of the offline application cache prompt, r=ehsan+jonas 2013-08-16 11:34:21 +02:00
Carsten "Tomcat" Book
59ec523b5e merge fx-team to mozilla-central 2013-08-16 10:29:59 +02:00
Guillaume Abadie
204c1119e6 bug 903455 - [WebGL 2.0] Implement transform feedback: RASTERIZER_DISCARD - r=jgilbert 2013-08-15 20:43:47 -04:00
Guillaume Abadie
91426ae90f bug 902488 - [WebGL 2.0] Occlusion queries optimizations - r=jgilbert 2013-08-15 19:47:26 -04:00
Ehsan Akhgari
1bb70455b6 Bug 905409 - Minimize the Web Audio #includes; r=roc 2013-08-15 15:44:14 -04:00
Blake Kaplan
ca211ecbfc Bug 851353 - Make sure the incoming node's JSObject is up to date. r=bzbarsky 2013-08-15 14:39:28 -07:00
Brian Hackett
dbe559cdac Bug 897655 - Use off thread parsing when loading scripts from XUL documents, r=billm,bz,luke. 2013-08-15 14:14:43 -07:00
Guillaume Abadie
cd03bdb26a bug 902063 - GLContext complete extension group queries - r=bjacob,jgilbert 2013-08-15 15:58:20 -04:00
Ehsan Akhgari
c0a07f27fe Bug 905353 - Minimize the #includes in dom/base; r=jst
--HG--
extra : rebase_source : e7a1d2262bf6d8c9b78057b8eb6cdbfd98262f68
2013-08-15 14:17:48 -04:00
Christoph Kerschbaumer
6c9aabf033 Bug 802872 - Mochitest verifying that CSP restricts EventSource using the connect-src directive. r=grobinson 2013-08-12 17:22:44 -07:00
Christoph Kerschbaumer
211fabf11b Bug 663567 - Mochitest verifying that content added by XSLT stylesheet is subject to document's CSP. r=grobinson, r=sstamm 2013-08-12 14:54:12 -07:00
Nicholas Nethercote
a3ff92e03c Bug 904962 (part 1) - Don't #include js/CharacterEncoding.h in jsapi.h. r=luke.
--HG--
extra : rebase_source : abe40ea3e55059dc6271d0f7c9f4d19ed9413186
2013-08-13 18:34:24 -07:00
Robert Longson
b76cfc4979 Bug 905151 - eChildToUserSpace transform wrong for inner svg elements. r=jwatt 2013-08-15 11:49:06 +01:00
L. David Baron
d0c5182318 Back out changeset 2454e6a5edbd (Bug 904926) on CLOSED TREE for lots of fatal assertions in Windows debug builds in MediaDecoder::IsDataCachedToEndOfResource. 2013-08-14 22:36:17 -07:00
Robert O'Callahan
d79d0821c2 Bug 904926. Remove unnecessary lock. r=cpearce 2013-08-15 16:24:00 +12:00
Robert O'Callahan
413c4d1501 Bug 902320. Prevent untimely destruction of mElement during HTMLMediaElement::StreamListener callbacks. r=smaug 2013-08-15 16:23:52 +12:00
Wes Kocher
0e341ba80c Backed out changeset 016fa89e49b0 (bug 905409) on a CLOSED TREE 2013-08-14 17:21:45 -07:00
Ehsan Akhgari
e73f6e995f Bug 905409 - Minimize the Web Audio #includes; r=roc 2013-08-14 18:46:00 -04:00
Nathan Froyd
f2686f1332 Bug 903543 - eliminate static constructors for SMIL type singletons; r=dholbert
Add MOZ_CONSTEXPR to the constructors to inform the compiler the constructors
can be folded away.  Remove protected/private destructors so that static
destructors don't have to be registered with static constructors.
2013-08-12 10:13:34 -04:00
Nathan Froyd
400a5f7467 Bug 905135 - move zero values to their point of use in nsSMILCSSValueType.cpp; r=dholbert 2013-08-14 08:45:49 -04:00
Ryan VanderMeulen
c292f445e7 Merge m-c to inbound. 2013-08-14 17:11:30 -04:00