Commit Graph

500 Commits

Author SHA1 Message Date
Ed Morley
5bd5750ce0 Backout 2044222a3f1d (bug 820230) for build failures on a CLOSED TREE 2012-12-11 16:24:11 +00:00
Mats Palmgren
8fdbfba792 Bug 820230 - Move PaintSVGGlyph and GetSVGGlyphExtents from nsContentUtils to nsSVGUtils. r=roc 2012-12-11 16:45:51 +01:00
Masatoshi Kimura
f72adcc948 Bug 819650 - Remove nsContentUtils::CreateDocument. r=sicking 2012-12-10 09:05:33 -05:00
Andrew McCreight
2fa5d0a9d8 Bug 792861 - Make HoldJSObjects/DropJSObjects infallible. r=smaug 2012-11-12 17:15:00 -08:00
Olli Pettay
f62ac2c85e Bug 811206, Fix JSHolder drop handling, part 3 (fixes), r=mccr8,khuey
--HG--
extra : rebase_source : 7b2726d2aa7f5764a3c4cb750e5a735728069687
2012-11-28 03:37:57 +02:00
Jeff Muizelaar
985473d336 Bug 794957. Use imgLoader instead of imgILoader. r=joe
This makes use of imgLoader instead of imgILoader in more places.

--HG--
extra : rebase_source : 6b391e5ecc2fd9558516c7493116e7e7852b71b3
2012-11-16 10:24:58 -08:00
Ryan VanderMeulen
904b2ad6b8 Merge m-c to inbound. 2012-11-15 20:34:51 -05:00
Ed Morley
28ef3f27d7 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-11-15 16:17:36 +00:00
Olli Pettay
f3ed372614 Bug 749448 - Remove XTF, r=bz 2012-11-15 14:27:13 +02:00
Robert Longson
a94aa7ca71 Bug 811217 - EventNameType_SMIL is wrong. r=dholbert 2012-11-15 22:09:30 +00:00
Boris Zbarsky
b8c79fd938 Bug 809765. Match the HTML spec in terms of which event handler attributes are compiled on which elements. r=smaug 2012-11-14 10:05:41 -08:00
Robert O'Callahan
64eabc5eba Bug 811301. Part 2: Remove saved state IDs now that the root scroll frame state is captured normally. r=mats 2012-11-14 22:40:17 -08:00
Ehsan Akhgari
c47686a18e Bug 800193 - Print a warning when setting nsILoadContext.usePrivateBrowsing in per-window private browsing builds; r=bzbarsky 2012-10-31 00:15:24 -04:00
Nikhil Marathe
44ce273499 Bug 804174 - Inline IsCallerTrustedForWrite with IsCallerChrome. r=mccr8 2012-10-25 16:10:54 -07:00
Nikhil Marathe
5b8c5fd31a Bug 804174 - Inline IsCallerTrustedForRead with IsCallerChrome. r=mccr8 2012-10-25 16:10:53 -07:00
Nikhil Marathe
814dbc2a57 Bug 804174 - Inline CallerHasUniversalXPConnect with IsCallerChrome. r=mccr8 2012-10-25 16:10:53 -07:00
Peter Van der Beken
a69ce442c1 Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz.
--HG--
extra : rebase_source : 5dd51c4ad5274da9235c8c341b0531f234e95a91
2012-10-09 14:31:24 +02:00
Peter Van der Beken
12024180f9 Fix for bug 799464 (Make Element.getElementsBy* return HTMLCollection). r=bz.
--HG--
extra : rebase_source : fe059b8ad3b98df9e611899832584cc866db0479
2012-09-26 16:17:47 +02:00
Bobby Holley
c4465f5bd1 Bug 802557 - Do more direct comparisons with the outer window. r=bz 2012-10-19 01:37:14 +02:00
Bobby Holley
8c277bc6ef Bug 797304 - Replace MoveWrapper nonsense with orphan fixup. r=peterv 2012-10-16 15:07:54 +02:00
Ed Morley
f87439d0bc Merge mozilla-central to mozilla-inbound 2012-10-15 16:09:10 +01:00
Ryan VanderMeulen
1598bd50f0 Merge inbound to m-c. 2012-10-14 16:39:23 -04:00
Ms2ger
7aba8dbea5 Bug 776515 - Move InternalIsSupported to nsContentUtils; r=khuey 2012-10-14 09:47:02 +02:00
Josh Matthews
31e9ef66cd Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe 2012-10-12 12:11:22 -04:00
Ed Morley
f63fc6d67a Backout 3044539fec87 (bug 799465),2dbcd6d16b43 (bug 798264), f7019f73a5f0 (bug 711628), a484a3a904da, 7154061ddc00 & 7e7fc42021c1 (bug 799465) for burning 2012-10-12 14:45:38 +01:00
Peter Van der Beken
86dcdcb94b Fix for bug 799465 (Add complete support for non-nsISupports objects in new DOM bindings) - fix CC traversal and wrapper preservation. r=bz.
--HG--
rename : dom/tests/mochitest/chrome/file_bug800817.xul => dom/tests/mochitest/chrome/file_bug799299.xul
rename : dom/tests/mochitest/chrome/test_bug800817.xul => dom/tests/mochitest/chrome/test_bug799299.xul
extra : rebase_source : bed68ffa15fe5933994c33fbd94ad2b597b5b1b9
2012-09-26 20:12:15 +02:00
Peter Van der Beken
cca0b00f72 Fix for bug 799465 (Add complete support for non-nsISupports objects in new DOM bindings) - fix CC traversal and wrapper preservation. r=bz.
--HG--
extra : rebase_source : 42b0e6db4b418901f253d66e7323ba5a7cd83eea
2012-09-26 20:12:15 +02:00
Robert O'Callahan
018ad419e7 Bug 799078. Part 1: Expose nsContentUtils::FindPresShellForDocument. r=matspal
--HG--
extra : rebase_source : f7e6410637ea70fe2d68fdcc24bcb409816d5bd7
2012-10-09 00:23:11 +13:00
Josh Matthews
e82f309179 Back out bug 585385 for build bustage. 2012-10-11 21:58:24 -04:00
Josh Matthews
d09d8af2a1 Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe 2012-10-11 21:34:23 -04:00
Scott Johnson
fda08248cc Bug 798068: Return sane values for min/max zoom when handheldFriendly, WAP, Mobile, or WML is set in the viewport metadata. [r=mbrubeck,bent] 2012-10-08 15:41:48 -05:00
Bobby Holley
2a794fba31 Bug 798346 - nsContentUtils::PreserveWrapper should explicitly QI its argument to the CC ISupports. r=peterv 2012-10-05 18:59:22 +02:00
Randell Jesup
881c8d06a1 Bug 733002: DataChannel DOM implementation w/ m3 fix r=smaug 2012-10-03 19:51:47 -04:00
Ryan VanderMeulen
e45cae4406 Backout a9ab0881ebe2 (bug 729512) and ed6491f2335e (bug 733002) due to M3 orange. 2012-10-03 21:03:16 -04:00
Randell Jesup
3434c94f2a Bug 733002: DataChannel DOM implementation r=smaug 2012-10-03 19:51:47 -04:00
Antonio Manuel Amaya Calvo
daa36ed6ea Bug 773886: Prevent loading resources from app:// URIs from outside that app. r=sicking 2012-09-25 12:33:01 -07:00
Matt Brubeck
65bfbbc8dc Bug 716575 (3/4) - Move viewport pixel ratio calculations into the platform [r=dbaron,jwir3,mfinkle,roc] 2012-08-22 13:18:10 -07:00
Matt Brubeck
7eeb4d9731 Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron] 2012-08-22 13:17:20 -07:00
Phil Ringnalda
2254d48838 Backout 38052fd23aec, 910406b62ebc, 7b15c079564c, d7c1d26f8bc9 (bug 716575) for probable reftest and certain talos bustage on Android 2012-09-10 20:57:31 -07:00
Matt Brubeck
2cbfd0954f Bug 716575 (3/4) - Move viewport pixel ratio calculations into the platform [r=dbaron,jwir3,mfinkle,roc] 2012-08-22 13:18:10 -07:00
Matt Brubeck
48d9a346ee Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron] 2012-08-22 13:17:20 -07:00
Jan Beich
9f6137fce0 Bug 788108 - Remove FreeBSD workaround for double type wrapper. rs=sicking 2012-09-06 11:32:59 -07:00
Edwin Flores
2ed8553827 Bug 719286 - Include SVG glyphs when calculating glyph extents r=jfkthame 2012-09-06 16:58:46 +12:00
Edwin Flores
87a3a3e8e0 Bug 719286 - Add new gfxTextObjectPaint paint wrapper for use with SVG glyphs r=roc 2012-09-06 16:58:46 +12:00
Edwin Flores
c26e74e98d Bug 719286 - Basic OpenType SVG functionality r=roc 2012-09-06 16:57:54 +12:00
Kyle Machulis
51818e7be4 Bug 764618: Remove IsOnPrefWhitelist and URIIsChromeOrInPref; r=gwagner 2012-09-04 11:53:47 -07:00
Josh Matthews
1c909a96b0 Bug 722861 - Add privacy information to image requests, and use a separate cache for private requests. r=joe 2012-06-26 00:20:12 -04:00
Josh Matthews
9992fafc63 Back out bug 722861. 2012-08-27 15:31:29 -04:00
Josh Matthews
081b3a0cda Bug 722861 - Add privacy information to image requests, and use a separate cache for private requests. r=joe 2012-06-26 00:20:12 -04:00
Matt Brubeck
620ce51571 Bug 784612 - Remove old XUL content autoScale hack from meta viewport code [r=mfinkle,jwir3]
--HG--
extra : rebase_source : 005f0489eb035c3acc43d7fa2e689d5ff27ffa45
2012-08-22 09:42:24 -07:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ian Melven
d09de1cd52 Bug 341604 - modify CheckMayLoad to allow sandboxed workers to load blob and data URIs r=jst 2012-08-20 11:34:33 -07:00
Ian Melven
915cb4516e Bug 341604 - Implement HTML5 sandbox attribute for IFRAMEs r=smaug r=jst 2012-08-20 11:34:32 -07:00
Jan Beich
7c7fb7fb66 Bug 781474 - Don't try to use FP_X_DNML on FreeBSD non-x86. r=bz 2012-08-09 17:35:53 -04: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
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
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
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
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
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +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
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
Boris Zbarsky
afeb4900cc Bug 558516. Make getAttribute faster in the cases when we have no prefix and are in the right case. r=smaug 2012-07-13 19:29:14 -04:00
L. David Baron
71c22b5654 Back out changeset d49beb57db23 (bug 558516) for causing all Mac builds to crash in nsXULElement::GetAttrValue and for causing a single mochitest-1 failure. 2012-07-13 18:01:25 -07:00
Boris Zbarsky
0babbffbf2 Bug 558516. Make getAttribute faster in the cases when we have no prefix and are in the right case. r=smaug 2012-07-13 19:29:14 -04:00
Kyle Huey
d1532c7382 Bug 765936. r=bent,peterv 2012-07-06 10:28:51 -07:00
David Zbarsky
cd3c58ee76 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Bonnie Surender
6dcaba353f Fixing bug 715041. Add support for Idle API. r=bent, jst 2012-06-29 01:32:21 -07:00
Ms2ger
be2608de87 Bug 767130 - Consolidate code duplicated between nsGenericElement.cpp and nsINode.cpp; r=bz 2012-06-23 08:58:04 +02:00
Bobby Holley
4e5a9a98f5 Bug 765168 - Remove the dependency of XHR::send on a cx parameter. r=smaug
Given the new bindings, I think this is dead code anyway modulo the pref.
2012-06-20 12:18:39 +02:00
Mike Hommey
f600664217 Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo 2012-06-04 08:30:26 +02:00
Mike Hommey
2536fb188a Backout changeset a81526647059 and 560c492f81ad (bug 616262) because of Windows Moth perma-orange 2012-06-15 15:50:24 +02:00
Mike Hommey
3acf5d646d Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo 2012-06-04 08:30:26 +02:00
Ryan VanderMeulen
b74e4a29db Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
061d4c2616 Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Aryeh Gregor
8e7de01930 Bug 762862 - Rename nsTypedSelection to mozilla::Selection; r=ehsan
--HG--
rename : layout/generic/nsTypedSelection.h => layout/generic/Selection.h
2012-06-08 17:20:55 +03:00
Aryeh Gregor
a9cd8feaa1 Bug 757771 part 4 - Create new nsContentUtils::GetSelectionInTextControl method; r=ehsan 2012-06-07 18:00:58 +03:00
Jan Varga
f5f6531fb7 Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02:00
Alexander Surkov
05d6b0b663 Bug 757670 - make nsIPresShell::GetLinkLocation faster, r=bz, tbsaunde 2012-05-24 15:57:16 +09:00
Kyle Machulis
d33a38a819 Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 21:02:23 -07:00
Kyle Machulis
9d208f726a Backing out Bug 742044 - Bustage on B2G 2012-05-23 18:27:53 -07:00
Kyle Machulis
c4a1fa5a03 Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 18:21:05 -07:00
Kyle Machulis
1f76f17d72 Backing out Bug 742044 - contained extra patches for another bug 2012-05-23 18:18:24 -07:00
Kyle Machulis
a3821f7a1b Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 18:06:36 -07:00
Chris Pearce
643d598f69 Bug 756992 - Only show fullscreen warning/UI when crossing domain boundaries or when document isn't approved. r=smaug 2012-05-22 08:43:36 +12:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Chris Pearce
cad06a23d5 Bug 716107 part 3 - Don't dispatch 'MozShowFullScreenWarning' event upon keypress in DOM fullscreen mode. r=smaug 2012-05-09 09:47:18 +12:00
Chris Pearce
43c670b220 Bug 716107 part 2 - Remove full-screen-api.key-input-restricted keys pref. r=smaug 2012-05-09 09:47:18 +12:00
Robert O'Callahan
1fe7590d18 Bug 664918. Part 0: Refactor nsMediaCache's handling of principals into a helper method in nsContentUtils. r=bzbarsky 2012-04-30 15:11:00 +12:00
Aryeh Gregor
d9fb0a3314 Bug 480647 part 2 - Move ParseLegacyFontSize to nsContentUtils so editor/ can use it; r=bz 2012-04-24 13:57:23 +03:00
Ms2ger
f58f1b50e0 Bug 742837 - Remove dead code and cleanup around nsDOMScriptObjectFactory; r=bz 2012-04-14 15:03:16 +02:00
Ms2ger
b8ae2456b2 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
7fd5606557 Bug 742837 - Remove dead code and cleanup around nsDOMScriptObjectFactory; r=bz 2012-04-14 15:03:16 +02:00
Jeff Walden
827586c908 Bug 714260 - Implement FloatingPoint.h to consolidate all IEEE-754 floating point operations in a single location. r=dmandelin for the js bits, r=Ms2ger for mfbt and the core bits 2012-01-23 03:43:16 -08:00
Ms2ger
cb0ed3c5ae Bug 738760 - Move nsContentUtils::GetContextAndScope into nsDocument.cpp; r=sicking 2012-04-03 09:25:39 +02:00
Ms2ger
1620e930e4 Bug 738759 - Add nsContentUtils::CheckSameOrigin overload taking two nsINodes; r=jst 2012-04-03 09:25:38 +02:00
Ed Morley
651aa424a1 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-31 22:41:59 +01:00
Olli Pettay
f198500ad9 Bug 641821, MutationObserver, r=sicking
--HG--
extra : rebase_source : a680c883b22976edf38eea23fb516215e081084f
2012-03-31 09:30:13 -07:00