Commit Graph

21286 Commits

Author SHA1 Message Date
Mark Capella
8721036540 Bug 734023 - Remove language arguments from nsIScriptGlobalObject methods, r=jst, f=ms2ger 2012-03-23 18:13:29 +01:00
Ehsan Akhgari
2df3a82068 Bug 737889 - Make sure that clearing the readonly attribute does not disable spell checking; r=roc 2012-03-23 11:35:40 -04:00
Ehsan Akhgari
45a106cae1 Bug 738649 - Incorrect return value check in nsHTMLDocument::EditingStateChanged; r=khuey 2012-03-23 11:19:57 -04:00
Josh Aas
064885cfdf Bug 726734: Reload plugin instances when the src/data URL changes. r=jst 2012-03-23 08:33:15 -04:00
Marco Bonardo
2b24ab86ca Merge last green PGO from inbound to central 2012-03-23 12:49:57 +01:00
Patrick McManus
5090fe4d7b bug 599164 pipeline with type and state r=honzab 2012-03-22 19:39:31 -04:00
Jared Wein
8810c145ca Bug 730318 - Forgot to add braces to if condition. r=khuey 2012-03-22 14:03:04 -07:00
Jared Wein
97c6f75ef3 Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-22 13:53:59 -07:00
Andrew McCreight
80d210f308 Bug 732495 - clean up refcounting for nsXBLDocumentInfo creation to fix leak. r=smaug 2012-03-22 13:46:03 -07:00
Aryeh Gregor
c061caef54 Bug 366944 - Range.surroundContents should throw InvalidNodeTypeError early; r=smaug 2012-03-21 14:06:50 -04:00
Andrew McCreight
3c84bc8767 Bug 736459 - make WantAllTraces disable node and content list CC optimizations. r=smaug
* * *
Bug 736459, part 2 - add NS_LIKELY for new branches. r=smaug
2012-03-22 08:37:54 -07:00
Andrew McCreight
02ff288585 Bug 737060 - don't traverse nsXULTemplateBuilder with observed document. r=bent 2012-03-22 08:37:18 -07:00
Henri Sivonen
31192f4b01 Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
Jim Mathies
71cea19097 Bug 737983 - win8 fixup for generic keyword collision, r=smaug. 2012-03-22 09:18:41 -05:00
Boris Zbarsky
3dd66596fa Bug 738108. When restricting to the element subtree in querySelector(All), make sure to disallow the element itself. r=smaug 2012-03-22 03:09:18 -04:00
Henri Sivonen
d51764b632 Bug 737814 - Mark nsIHTMLContentSink as obsolete. r=smaug. DONTBUILD 2012-03-22 08:34:29 +02:00
Nicholas Nethercote
1dae898653 merge 2012-03-21 21:48:40 -07:00
Nicholas Nethercote
7ac3a573ad Backed out changeset 0124795a8cbb (bug 711895) due to i10n build bustage. r=me. 2012-03-21 21:46:27 -07:00
Boris Zbarsky
291c1ee048 Bug 700981 part 5. Reduce the amount of time spent calling GetBindingParent(). r=smaug 2012-03-22 00:10:51 -04:00
Boris Zbarsky
2932c886ad Bug 700981 part 4. Add a fast-path to IsAllowedAsChild for the case of a child that has no kids. r=smaug 2012-03-22 00:10:51 -04:00
Boris Zbarsky
5a5007f95f Bug 700981 part 3. Inline nsNodeUtils::ParentChainChanged. r=smaug 2012-03-22 00:10:51 -04:00
Boris Zbarsky
922ddb8a25 Bug 700981 part 2. Get rid of nsStyledElement::BindToTree/UnbindFromTree. r=smaug 2012-03-22 00:10:51 -04:00
Boris Zbarsky
378d3ead3e Bug 700981 part 1. Get rid of nsMappedAttributeElement::BindToTree and inline some of the things it used to call so they're faster. r=sicking 2012-03-22 00:10:51 -04:00
Andrew McCreight
0152690e7f Backout ca353538c7f9 (bug 736459) for Linux64 Dromaeo regressions 2012-03-21 19:36:25 -07:00
Sid Stamm
f65eb324a7 Bug 672961 - CSP blocks domains incorrectly when on a site with non-standard port. r=mrbkap 2012-03-21 19:52:24 -04:00
Andrew McCreight
c17217a77a Bug 736459 - do WantAllTraces for nodes and base lists. r=smaug 2012-03-21 15:38:58 -07:00
Ms2ger
33ab87c978 Bug 736752 - Compartment mismatch in JetPack 'test-content-proxy.testTypedArrays', r=bholley 2012-03-20 13:57:00 -07:00
Nicholas Nethercote
e2181e8fb2 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
5bfbed0b5b Bug 712836. Make MediaResources which have ended abnormally ineligible for cloning. r=cpearce 2012-03-20 20:55:40 +13:00
Daniel Holbert
d61f415d15 Bug 737754: Change guaranteed-to-succeed IndexOf() checks to Contains() checks in assertions within nsScriptLoader::PrepareLoadedRequest. r=hsivonen 2012-03-21 14:06:10 -07:00
Hessam Salehi
2bda7efc98 Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg 2012-03-21 14:07:31 -04:00
Aryeh Gregor
18007ca69a Bug 735805 part 1 - Fix DOM and layout mochitests that run no tests; r=bz 2012-03-16 16:07:09 -04:00
Aryeh Gregor
660bfc0de9 Bug 737612 - Range.insertNode() on a detached text node should throw standard exception type; r=smaug 2012-03-20 16:32:01 -04:00
Aryeh Gregor
0874f9e17c Bug 737565 - Range.comparePoint() should throw exceptions per spec; r=smaug 2012-03-20 15:54:38 -04:00
Mounir Lamouri
972d90ca7e Bug 673853 - Fix "ASSERTION: Form control should have a parent". r=bz 2012-03-21 15:47:04 +01:00
Henri Sivonen
e56e83cebb Bug 650776 part 3 - Remove mozSanitizingSerializer from mozilla-central. r=jst. 2012-03-21 12:43:54 +02:00
Paul O’Shannessy
0f018487d9 Bug 639705 (Lion Full Screen) Part 4: Fix content tests [r=cpearce]
--HG--
extra : rebase_source : 52bafed68c81c56aab0fe520dc51cb4a04103886
2012-03-20 16:21:15 -07:00
Matt Brubeck
40f3f77d22 Back out 1bbe7ea3a01e through 672cc4ee2dd9 because of mochitest-browser-chrome leaks 2012-03-20 12:53:10 -07:00
Mats Palmgren
addd9dcfb4 Bug 732951 - Propagate nsContentUtils::ASCIIToLower/ASCIIToUpper error. r=bz 2012-03-20 19:02:38 +01:00
Mats Palmgren
345eb869e8 Bug 732951 - Make nsContentUtils::ASCIIToLower/ASCIIToUpper return NS_ERROR_OUT_OF_MEMORY when string allocation fails. r=bz 2012-03-20 19:02:38 +01:00
Mats Palmgren
e003657f4a Bug 735943 - Don't crash if nsSMILAnimationController::FlushResampleRequests destroyed the pres shell. r=bz 2012-03-20 19:02:38 +01:00
Patrick McManus
28c3c87c12 bug 599164 pipeline with type and state r=honzab
--HG--
extra : rebase_source : b060665a1726eab3e3ef0ab0d94c34cfea5c1460
2012-03-20 13:11:32 -04:00
Neil Deakin
ff64a01729 Bug 605991, prevent drops on a parent content page from a child frame from a different domain, r=smaug 2012-03-20 11:21:41 -04:00
Henri Sivonen
c8ab4ee986 Bug 737314 - Avoid using nsIURI when checking for cid: URIs in order to route around comm-central cid: hacks. r=smaug. 2012-03-20 11:25:43 +02:00
Jonathan Watt
c4e6b7547e Bug 736890 - Speed up building of layout/svg/base/src by cleaning up #include directives in its header files. r=dholbert. 2012-03-20 12:15:55 +00:00
Jonathan Watt
607557fa95 Bug 734079, part 2 - Use a mark and asynchronously sweep scheme (similar to HTML reflow) to invalidate and update SVG frame bounds. r=longsonr. 2012-03-20 12:15:53 +00:00
Jonathan Watt
858e883080 Bug 734079, part 1 - Remove the SuspendRedraw code and make SVGSVGElement.suspendRedraw a no-op. r=longsonr. 2012-03-20 12:15:53 +00:00
Cameron McCormack
19b598c34c Bug 711043 - Make filters code more consistent in performance. r=roc 2012-03-20 22:20:21 +11:00
Adam Dane [:hobophobe]
a4e77c0d40 Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-19 21:09:50 -05:00
Igor Bukanov
c8154dcd0e 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