Commit Graph

9568 Commits

Author SHA1 Message Date
Adam Dane [:hobophobe]
f6bfd29afb Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-19 21:09:50 -05:00
Nicholas Nethercote
5524d35c04 Bug 711895 - Tweak the warning options used for GCC builds (2nd attempt). r=waldo,derf,khuey,mhommey,jwatt. 2012-03-15 19:40:00 -07:00
Robert O'Callahan
c80165838e Bug 712836. Make MediaResources which have ended abnormally ineligible for cloning. r=cpearce 2012-03-20 20:55:40 +13:00
Igor Bukanov
fbeb82e29f bug 730221 - delegating serialization of script principals to the embedding. r=:luke,:bz
Currently to serialize principals stored in JSScript we have a rather complex
schema. First there is the transcode callback that the embedding must provide
to transcode principals using XDR API. Second we use rather complex glue code
to implement that callback in terms of writing/reading nsIObjectOutputStream/
nsIObjectInputStream. This glue code is duplicated in 3 places. All this can
be avoided if we simply delegate transcoding of principals to the caller. In
addition, at least in the case of the cached startup scripts we do not even
need to transcode the principals as the the cached scripts always have the
system principal so we can skip all the transcode complexity there.

The patch implemnts this idea. In particular, the code in JS engine
responsible for transcoding of principals is replaced by the single API
function JS_XDRSetPrincipals that the embedding can use to set principals for
decoded scripts and functions. Then the startup cache uses this to set the
principals for the decoded script to the system principals. The other two
places in nsJSContext::Serialize and  XBL_SerializeFunction that need to
serialize principals together with a function or script now uses common
utilities in nsXPConnect so the serialization complexity resides in the single
 place.
2012-02-13 14:10:04 +01:00
Ryan VanderMeulen
05d65ad8b8 Backout 47e84e1cc50f (bug 711043) due to crashtest & reftest crashes. 2012-03-19 22:28:30 -04:00
Cameron McCormack
68182d3c91 Bug 711043 - Make filters code more consistent in performance. r=roc 2012-03-20 12:49:13 +11:00
Matt Brubeck
3141d23221 Merge mozilla-central and mozilla-inbound 2012-03-19 16:47:00 -07:00
Matt Brubeck
1acfb437e2 Merge last green changeset from inbound to mozilla-central 2012-03-19 10:15:23 -07:00
Dão Gottwald
950bae49e0 merge backout 2012-03-19 12:54:47 +01:00
Dão Gottwald
098b79e99e Backed out changeset 2cd01fd07ce8 2012-03-19 12:54:32 +01:00
Masatoshi Kimura
add7512617 Bug 736687 - Warn on use of MozBlobBuilder. r=sicking
--HG--
rename : layout/reftests/svg/as-image/img-blobBuilder-1.html => layout/reftests/svg/as-image/img-blobURI-1.html
rename : layout/reftests/svg/as-image/img-blobBuilder-2.html => layout/reftests/svg/as-image/img-blobURI-2.html
2012-03-19 12:00:43 +01:00
Adam Dane [:hobophobe]
395f2b3456 Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-18 14:42:25 -05:00
Henri Sivonen
82c137d953 Bug 650776 part 1 - Introduce a new HTML source to HTML source sanitizer XPCOM API. r=smaug. 2012-03-19 10:16:20 +02:00
Olli Pettay
c0ed89c640 Bug 736058, support createEvent('StorageEvent'), r=sicking
--HG--
extra : rebase_source : f46854524cc27273799d26f662fe5335f32aaeff
2012-03-18 20:55:46 +02:00
Masatoshi Kimura
f8cc2b9fe1 Bug 736804 - Bump iid of MozBlobBuilder. r=smaug 2012-03-18 15:49:45 +01:00
Andrew McCreight
7eaccd1515 Bug 735550 - unmark gray objects held by live nsXBLDocGlobalObjects. r=smaug 2012-03-18 07:17:05 -07:00
Andrew McCreight
1e8506b96f Bug 735342 - CanSkip for unoptimizable nodes held by binding manager. r=smaug 2012-03-18 07:17:05 -07:00
Robert Longson
0d32a0fedf Bug 736791 - translate transforms are not serialised correctly. r=jwatt 2012-03-18 12:25:28 +00:00
Jonathan Watt
4c723d804d Bug 736753 - Fix the includes in layout/svg/base/src so that we can stop including nsSVGSVGElement.h in nsSVGContainerFrame.h. r=longsonr. 2012-03-18 10:32:02 +00:00
aceman
84f565a5bf Bug 736660 - fix compilation: 'source' is not a member of 'nsGkAtoms', if MOZ_MEDIA is not set. r=bz 2012-03-17 20:38:35 +01:00
Robert O'Callahan
159f4c1c21 Bug 646331. Fix duration of big.wav. r=cpearce 2012-03-19 12:36:06 +13:00
Robert Longson
a46069d55c Bug 736791 - translate transforms are not serialised correctly. r=jwatt 2012-03-18 18:24:35 +00:00
aceman
5db7964d7e Bug 737149 - Fix build of nsTreeSanitizer.cpp (error: 'video' is not a member of 'nsGkAtoms') with undefined MOZ_MEDIA. r=bzbarsky 2012-03-19 18:52:08 -04:00
Boris Zbarsky
746cfc7b8c Bug 721659. Update the width/height of an image synchronously when src is set to something that was preloaded. r=bholley 2012-03-19 18:22:02 -04:00
Wes Johnston
73b1812482 Bug 722965 - Remove MOZ_TOUCH ifdefs. r=smaug 2012-03-19 14:34:34 -07:00
Daniel Holbert
bc46788b46 Bug 730587 followup: Make nsINode::OwnerDocAsNode() non-inline to prevent "inline function ... used but never defined" build warnings. rs=khuey 2012-03-16 15:16:41 -07:00
Peter Van der Beken
526e189372 Fix for bug 736229 (Stop storing expando objects in the wrapper cache, store the proxy instead). r=jst. 2012-03-14 15:22:10 +01:00
Marco Bonardo
ff249f47c5 Merge inbound and central 2012-03-16 13:42:16 +01:00
Ms2ger
126a61ae1e Bug 722154 - Part f: Remove custom quickstubs for vertexAttrib[1-4]fv; r=bjacob 2012-03-16 10:53:41 +01:00
Ms2ger
0fa822c551 Bug 722154 - Part e: Remove custom quickstubs for uniform[1-4][i,f]v and uniformMatrix[2-4]fv; r=bjacob 2012-03-16 10:52:42 +01:00
Ms2ger
3cd4c66188 Bug 727590 - uniformMatrix*fv handles its transpose argument incorrectly; r=bjacob 2012-03-16 10:51:04 +01:00
Ms2ger
6c8b1e6b1c Bug 722154 - Part d: Remove custom quickstub for readPixels; r=bjacob 2012-03-16 10:50:51 +01:00
Ms2ger
9fe057f15e Bug 722154 - Part c: Remove custom quickstubs for compressedTexImage2D and compressedTexSubImage2D; r=bjacob 2012-03-16 10:50:33 +01:00
Ms2ger
475f50510f Bug 722154 - Part b: Remove custom quickstub for bufferSubData; r=bjacob 2012-03-16 10:50:18 +01:00
Ms2ger
3b2c005617 Bug 722154 - Part a: Remove custom quickstub for bufferData; r=bjacob 2012-03-16 10:50:00 +01:00
Ms2ger
ea07526c91 Bug 732704 - compressedTexSubImage2D should take 8 arguments, not 7; r=bjacob 2012-03-16 10:49:29 +01:00
Ms2ger
b2bb2520d9 Bug 550309 - Part f: Return real ImageData from CreateImageData; r=bz 2012-03-16 10:49:16 +01:00
Ms2ger
90fe48b371 Bug 550309 - Part e: Remove custom quickstub for getImageData and return an actual ImageData; r=bz 2012-03-16 10:48:55 +01:00
Ms2ger
b114a45e19 Bug 550309 - Part d: Try unwrapping to nsIDOMImageData in GetImageData(); r=bz 2012-03-16 10:44:39 +01:00
Ms2ger
364d2a12d3 Bug 550309 - Part c: Implement ImageData; r=bz 2012-03-16 10:44:08 +01:00
Ms2ger
eaded82b0f Bug 550309 - Part a: Tighten up support for fake ImageData objects; r=bz 2012-03-16 10:41:53 +01:00
Masayuki Nakano
12da403f4d Bug 728103 part.2 Fix new test failures r=smaug 2012-03-16 15:29:15 +09:00
Ed Morley
efdc9a5382 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-15 12:42:01 +00:00
Kyle Huey
fd1ce47377 Bug 730587: Stash a pointer to the subtree root on DOM nodes. r=smaug, sr=jst 2012-03-14 13:14:02 -07:00
Nathan Froyd
70cbaa6b9e Bug 732167 - Eliminate duplicate headers in content. r=mounir 2012-03-06 13:55:37 -05:00
Charles Chan
64daff1dae Bug 729049 - Inline IsXMLLetter, IsXMLNCNameChar, DecodeEntity from nsIParserService. r=hsivonen 2012-03-14 21:56:58 -07:00
Blake Kaplan
7a4eeff601 Bug 727884 - Make nsWrapperCache::WrapObject take a JSObject scope instead of XPCWrappedNativeScope. r=peterv 2012-03-14 16:25:40 +01:00
Jonathan Kew
67782abd95 bug 731536 - text-transform:capitalize should affect the first alphanumeric char in a word, not the first non-punctuation char. r=smontagu 2012-03-14 06:47:14 +00:00
Robert Longson
9c2b5601f7 Bug 736031 - getBBox returns incorrect results with empty containers. r=jwatt 2012-03-15 11:42:54 +00:00
Masatoshi Kimura
94b12178b6 Bug 735268 - Restore StorageEvent test which is accidentally removed. r=sicking
--HG--
extra : rebase_source : 07a34decab41334160ff6314beb76a0c38cf520d
2012-03-13 23:31:55 +01:00