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

1304 Коммитов

Автор SHA1 Сообщение Дата
Vicamo Yang ff216055f0 Bug 834193: Implement USSDReceivedEvent, DataErrorEvent and CFStateChangeEvent using codegenerator. r=smaug 2013-02-07 19:02:12 +08:00
Vicamo Yang 0ef4a47ec4 Bug 835148: Implement SmsEvent using event generator. r=smaug
--HG--
rename : dom/sms/interfaces/nsIDOMSmsEvent.idl => dom/sms/interfaces/nsIDOMMozSmsEvent.idl
rename : dom/sms/interfaces/nsIDOMSmsMessage.idl => dom/sms/interfaces/nsIDOMMozSmsMessage.idl
2013-02-07 18:43:22 +08:00
Ms2ger 97185321af Bug 838182 - Part b: Remove dead code handling outer windows in nsDOMClassInfo::PreCreate; r=mrbkap 2013-02-07 09:08:57 +01:00
Ms2ger aa376cde8e Bug 838182 - Part a: Remove nsWindowSH::SecurityCheckOnAddDelProp and nsWindowSH::SecurityCheckOnSetProp; r=mrbkap 2013-02-07 09:08:57 +01:00
Andrea Marchesini d2702a1f80 Bug 838124 - Convert BatteryManager to WebIDL. r=peterv 2013-02-05 07:54:49 -05:00
Vicamo Yang 0817867fa4 Bug 833278 - Part 2/2: Implement MozVoicemailEvent using codegenerator. r=gwagner,smaug 2013-02-05 17:02:18 +08:00
Vicamo Yang f749d57c57 Bug 833278 - Part 1/2: move voicemail sources to dom/voicemail. r=mounir
--HG--
rename : dom/telephony/Makefile.in => dom/voicemail/Makefile.in
rename : dom/telephony/Voicemail.cpp => dom/voicemail/Voicemail.cpp
rename : dom/telephony/Voicemail.h => dom/voicemail/Voicemail.h
rename : dom/telephony/VoicemailEvent.cpp => dom/voicemail/VoicemailEvent.cpp
rename : dom/telephony/VoicemailEvent.h => dom/voicemail/VoicemailEvent.h
rename : dom/telephony/nsIDOMVoicemail.idl => dom/voicemail/nsIDOMMozVoicemail.idl
rename : dom/telephony/nsIDOMVoicemailEvent.idl => dom/voicemail/nsIDOMMozVoicemailEvent.idl
rename : dom/telephony/nsIDOMVoicemailStatus.idl => dom/voicemail/nsIDOMMozVoicemailStatus.idl
rename : dom/telephony/nsIDOMNavigatorTelephony.idl => dom/voicemail/nsINavigatorVoicemail.idl
rename : dom/telephony/test/marionette/pdu_builder.js => dom/voicemail/test/marionette/pdu_builder.js
rename : dom/telephony/test/marionette/test_voicemail_number.js => dom/voicemail/test/marionette/test_voicemail_number.js
rename : dom/telephony/test/marionette/test_voicemail_statuschanged.js => dom/voicemail/test/marionette/test_voicemail_statuschanged.js
rename : dom/telephony/test/marionette/test_voicemail_statuschanged.py => dom/voicemail/test/marionette/test_voicemail_statuschanged.py
2013-02-05 17:02:15 +08:00
Bobby Holley 3c1bba8bca Bug 831076 - Add assertSameCompartment to JS_ObjectToOuterObject, and clean up classinfo hook. r=mrbkap 2013-02-04 15:13:14 +00:00
David Zbarsky 0c1e8d7ef6 Bug 833446: Remove nsIDOMSVGStyleElement r=peterv 2013-02-02 15:23:19 -05:00
David Zbarsky a9a7aac680 Bug 833446: Remove nsIDOMSVGStopElement r=peterv 2013-02-02 15:23:18 -05:00
David Zbarsky e1ecd02323 Bug 833446: Remove nsIDOMSVGScriptElement r=peterv 2013-02-02 15:23:18 -05:00
David Zbarsky 866cb6df5e Bug 833446: Remove nsIDOMSVGRectElement r=peterv 2013-02-02 15:23:18 -05:00
David Zbarsky 4914157510 Bug 833446: Remove nsIDOMSVGPolylineElement r=peterv 2013-02-02 15:23:18 -05:00
David Zbarsky 23bc3145f3 Bug 833446: Remove nsIDOMSVGPolygonElement r=peterv 2013-02-02 15:23:17 -05:00
David Zbarsky 5788f2a0a5 Bug 833446: Remove nsIDOMSVGPatternElement r=bz 2013-02-02 15:23:17 -05:00
David Zbarsky 2b74734bac Bug 833446: Remove nsIDOMSVGPathElement r=peterv 2013-02-02 15:23:17 -05:00
David Zbarsky 536375ddf7 Bug 833446: Remove nsIDOMSVGMPathElement r=peterv 2013-02-02 15:23:17 -05:00
David Zbarsky 64099f7809 Bug 833446: Remove nsIDOMSVGMetadataElement r=peterv 2013-02-02 15:23:16 -05:00
David Zbarsky b34c1415ef Bug 833446: Remove nsIDOMSVGLineElement r=peterv 2013-02-02 15:23:16 -05:00
David Zbarsky e46ee1bca2 Bug 833446: Remove nsIDOMSVGGradientElement and subclasses r=peterv 2013-02-02 15:23:16 -05:00
David Zbarsky 789b05db43 Bug 833446: Remove nsIDOMSVGGElement r=peterv 2013-02-02 15:23:15 -05:00
David Zbarsky ccd995fec8 Bug 833446: Remove nsIDOMSVGForeignObjectElement r=peterv 2013-02-02 15:23:15 -05:00
David Zbarsky 1e25a54c2f Bug 833446: Remove nsIDOMSVGEllipseElement r=peterv 2013-02-02 15:23:15 -05:00
David Zbarsky 08a5a13ddd Bug 833446: Remove nsIDOMSVGDescElement r=peterv 2013-02-02 15:23:15 -05:00
David Zbarsky 573a670bb8 Bug 833446: Remove nsIDOMSVGDefsElement r=peterv 2013-02-02 15:23:14 -05:00
David Zbarsky 1a76b6259b Bug 833446: Remove nsIDOMSVGCircleElement r=peterv 2013-02-02 15:23:14 -05:00
David Zbarsky 48e6da7ce8 Bug 833446: Remove nsIDOMSVGAnimationElement r=peterv 2013-02-02 15:23:11 -05:00
David Zbarsky af6d742311 Bug 833446: Remove nsIDOMSVGSetElement r=peterv 2013-02-02 15:22:37 -05:00
David Zbarsky 1578ebcd03 Bug 833446: Remove nsIDOMSVGAnimateTransformElement r=peterv 2013-02-02 15:22:36 -05:00
David Zbarsky c33518f27e Bug 833446: Remove nsIDOMSVGAnimateMotionElement r=peterv 2013-02-02 15:22:36 -05:00
David Zbarsky 37e485b47b Bug 833446: Remove nsIDOMSVGAnimateElement r=peterv 2013-02-02 15:22:36 -05:00
David Zbarsky 353c1d24c5 Bug 833446: Remove nsIDOMSVGAltGlyphElement r=peterv 2013-02-02 15:22:36 -05:00
Boris Zbarsky 9b45ffdc77 Bug 824589. Convert XULElement to WebIDL. r=peterv
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.

The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.

The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID.  We've run into this before, sadly.

I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.

The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces.  Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props.  I don't see
an obviously better way.  We should work on killing off uses of
"instanceof someinterface".

The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Boris Zbarsky f17cd371b2 Back out bug 824589 (rev 22695cac3896) on suspicion of Ts regression 2013-01-29 17:18:06 -05:00
David Zbarsky 57fe33546c Bug 835195: Remove nsIDOMSVGFitToViewBox r=bz 2013-01-29 17:11:45 -05:00
David Zbarsky 9480d80714 Bug 835195: Remove nsIDOMSVGTests r=bz 2013-01-29 17:11:45 -05:00
Boris Zbarsky 1d5a36a375 Bug 824589. Convert XULElement to WebIDL. r=peterv
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.

The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.

The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID.  We've run into this before, sadly.

I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.

The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces.  Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props.  I don't see
an obviously better way.  We should work on killing off uses of
"instanceof someinterface".

The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Robert O'Callahan 4b6c8d2400 Backing out 306003528e10, 335160d7855a, dfc9d5651175, 0559d630dd89, 03c3ae8323bd: bug 835195, bug 832154, bug 831561 ... in a CLOSED TREE
--HG--
rename : content/svg/content/src/SVGMarkerElement.cpp => content/svg/content/src/nsSVGMarkerElement.cpp
rename : content/svg/content/src/SVGMarkerElement.h => content/svg/content/src/nsSVGMarkerElement.h
2013-01-29 22:45:50 +13:00
David Zbarsky 85d1fd3baf Bug 835195: Remove nsIDOMSVGFitToViewBox r=bz 2013-01-29 03:50:57 -05:00
David Zbarsky eb9afe3706 Bug 835195: Remove nsIDOMSVGTests r=bz 2013-01-29 03:50:56 -05:00
Gina Yeh c65148f7ec Bug 811569 - Patch 1: Remove unused files in bluetooth, r=echou 2013-01-29 14:52:30 +08:00
Kyle Machulis f5a63e01fb Bug 777271 - Re-implement nsIDOMCallEvent using event implementation codegen. r=bent,vicamo,hsinyi 2013-01-28 15:39:50 +08:00
Doug Turner 3e86f60063 Bug 834595 - Factor stat() such that there are 3 independent methods. r=sicking
--HG--
rename : dom/devicestorage/test/test_stat.html => dom/devicestorage/test/test_freeSpace.html
rename : dom/devicestorage/test/test_stat.html => dom/devicestorage/test/test_usedSpace.html
2013-01-25 11:05:24 -08:00
Jose Antonio Olivera Ortega ad0f35e96b Bug 827280 - Part 2: DOMEvent. r=philikon a=tef+ 2013-01-25 19:45:16 +01:00
Bobby Holley c865dc3ca6 Bug 833412 - Remove AddBinding/RemoveBinding and remove dead code. r=bz 2013-01-24 18:45:50 +01:00
Andrew McCreight 8e97e8e581 Bug 826471. Add JSAutoCompartment in nsWindowSH::NewResolve. r=bholley 2013-01-17 16:30:41 -08:00
Boris Zbarsky 06072bf404 Bug 823228 part 2. Move indexed property access on windows from nsWindowSH::GetProperty to the outer window proxy. r=bholley 2013-01-17 12:30:37 -05:00
David Zbarsky 8826c06ce1 Bug 827174 - Remove nsIDOMSVGLocatable and nsIDOMSVGTransformable r=bz 2013-01-16 15:51:00 -05:00
David Zbarsky e10b65b185 Bug 827172 - Convert SVGPathElement to WebIDL r=bz 2013-01-16 15:50:59 -05:00
Trevor Saunders 84fd122dde bug 830396 - add back nsIDOMCSSValueList r=bz 2013-01-14 12:29:27 -05:00
David Zbarsky de74b8ded9 Bug 830231 - Remove nsIDOMDOM(Settable)TokenList r=bz 2013-01-15 03:35:59 -05:00
David Zbarsky 5d03b3664d Bug 827724 - Remove nsIDOMSVGAnimatedPoints r=bz 2013-01-12 17:21:53 -05:00
David Zbarsky 9e33835feb Bug 827200 - Remove nsIDOMSVGZoomAndPan r=bz, longsonr 2013-01-10 00:24:37 -05:00
Robert Longson fb1b950710 Bug 825411 - clipPaths, masks, etc. with failing conditional processing attributes cause referencing elements not to be rendered r=cam 2013-01-08 13:14:04 +00:00
Gene Lian 47b06e6852 Bug 821671 - Check alarm API parameters in the parent (part 2, provide assertContainApp() for checking manifest URL). r=sicking 2012-12-22 20:00:10 +08:00
David Zbarsky 35604d01d3 Bug 825147: Convert SVGImageElement to WebIDL r=bz
--HG--
rename : content/svg/content/src/nsSVGImageElement.cpp => content/svg/content/src/SVGImageElement.cpp
rename : content/svg/content/src/nsSVGImageElement.h => content/svg/content/src/SVGImageElement.h
2013-01-06 04:32:01 -05:00
David Zbarsky 9e024fb017 Bug 824229 Part 2: SVGGraphicsElement should implement SVGTests r=longsonr 2013-01-06 01:25:52 -05:00
Peter Van der Beken 77ad96a303 Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableSectionElement to WebIDL. r=bz.
--HG--
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.cpp
rename : content/html/content/src/nsHTMLTableSectionElement.cpp => content/html/content/src/HTMLTableSectionElement.cpp
rename : content/html/content/src/nsHTMLTableSectionElement.cpp => content/html/content/src/HTMLTableSectionElement.h
rename : dom/interfaces/html/nsIDOMHTMLTableSectionElem.idl => dom/interfaces/html/nsIDOMHTMLTableSectionElement.idl
extra : rebase_source : b9c1d7dea38653452b44b2033cf2c0140f7b39b1
2012-12-29 15:07:48 +01:00
David Zbarsky 4bbe6e8a41 Bug 826947: Convert HTMLScriptElement to WebIDL r=bz 2013-01-05 04:41:28 -05:00
Vicamo Yang 1fc7a9c0a6 Bug 820780 - Part 2/5: DOM, IPC changes, r=bent 2013-01-04 14:26:20 +08:00
Jeff Walden e9191e095f Bug 824217 - Remove the JSRESOLVE_ASSIGNING test that guards definition of DOM Worker constructors and Gecko-specific script namespace manager constructors. r=bz 2013-01-03 12:29:16 -06:00
Ehsan Akhgari 8cc491fe91 Bug 825527 - Part 5: Turn on the WebIDL bindings for HTMLImageElement; r=bzbarsky 2013-01-02 12:28:14 -05:00
Boris Zbarsky 71e5c36a75 Bug 823225. Move .wrappedJSObject from nsWindowSH::GetProperty to the outer window get hook. r=mrbkap 2013-01-02 22:03:41 -05:00
Jeff Walden 998e1a3d66 Bug 824217 - Remove some easy-to-remove tests of JSRESOLVE_ASSIGNING. r=bz
--HG--
extra : rebase_source : 2605d559d48b9ccd985bd860f13ab7b1b53ab048
2012-12-19 19:32:34 -05:00
Josh Matthews 4d6b6b5de0 Backed out changeset 40c1df07b407 (bug 824217) 2012-12-28 19:13:36 -05:00
Jeff Walden fd937151e0 Bug 824217 - Remove some easy-to-remove tests of JSRESOLVE_ASSIGNING. r=bz 2012-12-19 19:32:34 -05:00
Benjamin Chen f016ff4111 Bug 805746 - Send CustomScroll domevent to browser.js. r=cjones 2012-12-25 14:09:34 +08:00
David Zbarsky 7d32181339 Bug 823394 Part 1:Merge nsSVGStylableElement/nsSVGElement and nsIDOMSVGStylable/nsIDOMSVGElement r=bz
--HG--
rename : layout/reftests/svg/style-property-not-on-script-element-01.svg => layout/reftests/svg/style-property-on-script-element-01.svg
2012-12-23 03:22:22 -05:00
Ms2ger 87280862b0 Backout bug 823394 for reftest oranges. 2012-12-23 13:44:04 +01:00
David Zbarsky 8aefa3fddd Bug 823394 Part 1:Merge nsSVGStylableElement/nsSVGElement and nsIDOMSVGStylable/nsIDOMSVGElement r=bz 2012-12-23 03:22:22 -05:00
David Zbarsky 560c469c19 Bug 817442 Part 11: Remove nsIDOMSVG(Animated)LengthList r=bz 2012-12-22 23:54:26 -05:00
David Zbarsky 8cbc728d2f Bug 817442 Part 6: Remove nsIDOMSVG(Animated)NumberList r=bz 2012-12-22 23:54:25 -05:00
David Zbarsky f88a3e128d Bug 817442 Part 10: Remove nsIDOMSVGPoint r=bz 2012-12-22 23:54:25 -05:00
David Zbarsky 9b30e90f8c Bug 817442 Part 9: Remove nsIDOMSVGMatrix r=bz 2012-12-22 23:54:24 -05:00
David Zbarsky ecea0f9145 Bug 817442 Part 8: Remove nsIDOMSVGTransform r=bz 2012-12-22 23:54:24 -05:00
David Zbarsky ea24b37661 Bug 817442 Part 7: Remove nsIDOMSVG(Animated)TransformList r=bz 2012-12-22 23:54:24 -05:00
David Zbarsky 3879a4e943 Bug 817442 Part 5: Remove nsIDOMSVG(Animated)Angle r=bz 2012-12-22 23:54:23 -05:00
David Zbarsky 071334be2f Bug 817442 Part 4: Remove nsIDOMSVGPathSegList r=bz, jwatt 2012-12-22 23:54:23 -05:00
David Zbarsky 9829ee3081 Bug 816778 Part 10: Convert SVGPathSeg and subclasses to WebIDL and remove XPIDL r=bz 2012-12-22 23:54:22 -05:00
David Zbarsky 72dac6b632 Bug 817442 Part 3: Remove nsIDOMSVGAnimatedBoolean r=bz, jwatt 2012-12-22 23:54:22 -05:00
David Zbarsky 4d100c70db Bug 817442 Part 2: Remove nsIDOMSVG(Animated)PreserveAspectRatio r=bz, jwatt 2012-12-22 23:54:21 -05:00
David Zbarsky 27aca98d8e Bug 817442 Part 1: Remove nsIDOMSVGPointList r=bz, jwatt 2012-12-22 23:54:21 -05:00
Ms2ger 8dd150af35 Merge PGO-green changeset from inbound to m-c. 2012-12-22 12:06:37 +01:00
Ms2ger 5a0d506bc4 Bug 819639 - Part b: Move EventSource to Paris bindings; r=bz 2012-12-22 09:17:05 +01:00
Ms2ger be5e991601 Bug 819639 - Part a: Rename nsEventSource to dom::EventSource; r=bz
--HG--
rename : content/base/src/nsEventSource.cpp => content/base/src/EventSource.cpp
rename : content/base/src/nsEventSource.h => content/base/src/EventSource.h
2012-12-22 09:17:05 +01:00
Jeff Walden 136d40a160 Bug 823283 - Don't do anything special for writable [Replaceable] properties, a Gecko-specific abomination. r=bz 2012-12-19 15:57:18 -05:00
Olli Pettay 68fe3c1606 Bug 790978 - Convert MutationObserver to webidl, r=bz
--HG--
extra : rebase_source : 86b4120ef1f3bedc6554761af715de8413f01343
2012-12-18 16:50:52 +02:00
Jeff Walden ac06f32c75 Bug 823283 - Don't query for JSRESOLVE_QUALIFIED when determining whether to check for an undeclared variable, when possibly adding a fast-path expando to the global object for assignment to a non-existent property. Instead examine the current bytecode to see if it's an undeclared variable access. r=bz, r=luke
--HG--
rename : dom/encoding/TextDecoderBase.h => dom/encoding/TextDecoder.h
rename : dom/encoding/TextEncoderBase.h => dom/encoding/TextEncoder.h
extra : rebase_source : aa656c52edc95cd95bb109dbfe2c40d8303dbe34
2012-12-19 16:49:30 -05:00
Gavin Sharp daab774d8a Back out bug 783129 / b0788a95a2bd (merged with e01ca7212c8a) due to test failures 2012-12-21 18:50:00 -05:00
William Chen de026650c9 Bug 783129 - Implementation of document.register without shadow DOM support. r=mrbkap, bent 2012-11-01 11:18:08 -07:00
Jeff Walden 54d1925f8b Bug 823283 - Don't query for JSRESOLVE_QUALIFIED when resolving document.all. r=bz
--HG--
extra : rebase_source : 3e3661f1fc6539ed885c91eed12bc9636d266f28
2012-09-15 11:19:55 -07:00
Jeff Walden c6182723a8 Bug 792108 - Implement JSCLASS_EMULATES_UNDEFINED to allow objects of a given class to act like the value |undefined| in certain contexts. Also add a TI flag for such objects, permitting us to assume that no objects use the flag until one is observed, also speeding up object-is-truthy tests when no falsy object is observed. r=jandem, r=bz
--HG--
extra : rebase_source : a76167661fffc26adf0e631d0b87c842b5fc0ed5
2012-09-15 11:19:54 -07:00
Ed Morley 55542c23dd Backout bc98fdc051f5 (bug 792108) for assertions on a CLOSED TREE 2012-12-17 21:35:12 +00:00
Jeff Walden 37bd17d951 Bug 792108 - Implement JSCLASS_EMULATES_UNDEFINED to allow objects of a given class to act like the value |undefined| in certain contexts. Also add a TI flag for such objects, permitting us to assume that no objects use the flag until one is observed, also speeding up object-is-truthy tests when no falsy object is observed. r=jandem, r=bz
--HG--
extra : rebase_source : 0081cf0155a2ca30cee859db9dd9bf2e3374b204
2012-09-15 11:19:54 -07:00
Trevor Saunders 6a29c71231 bug 821593 - remove dom classinfo stuff r=bz 2012-12-14 03:01:04 -05:00
Masatoshi Kimura b92c391adc Bug 818281 - Remove DOMClassInfo remnants from XMLHttpRequest. r=bz 2012-12-16 19:57:12 -05:00
Boris Zbarsky 4c6b53a57f Bug 816380. Convert XPathEvaluator to WebIDL. r=peterv 2012-12-14 14:10:49 -05:00
Trevor Saunders 2d1d432957 bug 798567 - convert css values to webidl r=bz 2012-10-01 12:49:41 -04:00
Bobby Holley 65be2969d3 Bug 818716 - Move XBL detection into nsContentUtils and remove filename hack. r=mrbkap 2012-12-12 17:09:37 -08:00
Kyle Huey 452869c48c Bug 811615: Enable chrome code to create a new File object by wrapping an existing Blob and provide a custom name/type. r=sicking a=basecamp-blocking 2012-12-11 13:21:03 -08:00
Ms2ger 8fc67dfff7 Bug 776539 - Move FormData to Paris bindings; r=bz 2012-12-11 19:09:56 +01:00
Ed Morley b3f233b860 Backout 194d8f675d2d & 251a18603db4 (bug 811615) for xpcshell and mochitest failures 2012-12-11 13:09:38 +00:00
Kyle Huey 316dfb7a2c Bug 811615: Enable chrome code to create a new File object by wrapping an existing Blob and provide a custom name/type. r=sicking a=basecamp-blocking 2012-12-11 03:54:08 -08:00
Masatoshi Kimura 9a25c4e704 Bug 818281 - Remove legacy XHR constructor. r=bz 2012-12-10 09:04:30 -05:00
David Zbarsky e03cc0d901 Bug 817332 - Remove XPIDL for HTMLPropertiesCollection/PropertyNodeList r=bz 2012-12-08 17:06:42 -05:00
John Schoenick 6e8178b713 Bug 810082 - Part 0.5 - Add script access event for CTP'd plugins r=joshmoz 2012-12-07 14:50:10 -08:00
Boris Zbarsky d23130821b Bug 817473 part 2. Remove no-longer-needed nsNodeSH::PostCreatePrototype. r=peterv 2012-12-06 15:21:18 -05:00
Masatoshi Kimura 64bc10205a Bug 817844 - Remove DOMClassInfo remnants from DOMParser/XMLSerializer. r=bz 2012-12-05 19:49:32 -05:00
Vicamo Yang e96950839d Bug 778093 - Part 3/9: complete onreceived event handling, r=mounir,hsinyi,bent 2012-12-04 10:40:47 +08:00
Vicamo Yang 4da257d7fb Bug 778093 - Part 2/9: add navigator.mozCellBroadcast, r=mounir 2012-12-04 10:38:25 +08:00
Masatoshi Kimura 724149ded1 Bug 816410 - Part 2: Remove legacy constructor functions. r=bz 2012-12-03 20:26:16 -05:00
Ms2ger 79846abbee Bug 817276 - Part c: Remove dead definition of the nsContractIDMapData struct; r=jst 2012-12-02 09:59:54 +01:00
Ms2ger 87a980808c Bug 817276 - Part b: Return the pointer directly from nsScriptNameSpaceManager::LookupNavigatorName; r=jst 2012-12-02 09:59:51 +01:00
Ms2ger 28b59cc1af Bug 817276 - Part a: Remove some unused jsids from nsDOMClassInfo; r=jst 2012-12-02 09:59:49 +01:00
Steven Lee c4ba48ecb6 Bug 809106 - [music] Unplugging headphones while playing music should pause it. Part2-AudioChannelManager implemenentation. r=jlebar, r=sicking 2012-11-29 17:52:03 -05:00
Boris Zbarsky 489c78e5dc Bug 812392. Make sure we don't allow descendant protoss to confuse whether a proto corresponds to a DOM type. r=bhackett,peterv 2012-11-21 11:19:26 -05:00
Bobby Holley 1824d3f494 Bug 808608 - Implement shadowing protection in nsDOMClassInfo. r=mrbkap
This allows us to remove the same-compartment Location wrappers. This can
go away when we move Location to the new bindings and get access to
[Unforgeable].
2012-11-21 13:20:05 -08:00
Ryan VanderMeulen 8dd0402085 Backed out changesets 1a8b11ae0f4b, e02a02fd1208 (bug 776443), 86a3edf2960d (bug 812392), 26c59f23fd8f, and 288c74d7f87d (bug 812744) for mochitest orange.
CLOSED TREE
2012-11-21 12:47:40 -05:00
Boris Zbarsky 3d096a6c38 Bug 812392. Make sure we don't allow descendant protoss to confuse whether a proto corresponds to a DOM type. r=bhackett,peterv 2012-11-21 11:19:26 -05:00
Brendan Dahl 6adcd0523c Bug 115199 - CSS2 @page rule style support. r=dbaron 2012-08-31 14:21:28 -07:00
Boris Zbarsky 05ba9f02c1 Bug 811449 part 8. Get rid of nsGenericElement. r=peterv 2012-11-14 14:10:08 -08:00
Ryan VanderMeulen 9cb0f91d55 Backed out changesets 0b6b3d2856a4 and 30776e402787 (bug 115199) for reftest failures. 2012-11-13 20:19:18 -05:00
Brendan Dahl ec5ca0d279 Bug 115199 - CSS2 @page rule style support. r=dbaron 2012-08-31 14:21:28 -07:00
Peter Van der Beken b2ba5959ec Fix for bug 804950 (New DOM binding APIs for Element). r=bz.
--HG--
extra : rebase_source : a8691ead07dfa8ecca812396047627dc15474d83
2012-10-16 13:51:00 +02:00
Andrea Marchesini 64d6829083 Bug 795930 - Hide ArchiveReader feature behind a pref (disabled by default), r=mounir
--HG--
extra : rebase_source : fc267035c0eb85bb08b9da91bf79ecbb816da1b3
2012-11-08 15:57:17 +00:00
Mounir Lamouri 3e7ccdc3eb Backed out changeset 3566ba4296f7 because of wrong bug number.
--HG--
extra : rebase_source : c5d189308a555c7235d6cd405aa44d36c9b7db9a
2012-11-08 15:56:48 +00:00
Andrea Marchesini 6e439d8833 Bug 809567 - Hide ArchiveReader feature behind a pref (disabled by default), r=mounir 2012-11-08 15:54:26 +00:00
Robert O'Callahan ab861f5738 Bug 792675. Part 1: Make the URL interface use WebIDL. r=bz
--HG--
extra : rebase_source : dbb7a3158b71446930400ad523a2896b6306de40
2012-09-25 15:24:43 +12:00
Mounir Lamouri 5a334278ca Bug 795715 - Remove B2G-specific stuff from nsIDOMWindow. r=khuey,fabrice sr=smaug 2012-11-07 18:10:40 +00:00
Boris Zbarsky ba9815c96a Bug 807222 part 6. Fix getOwnPropertyNames to work correctly on Window. r=jst
One note: it might be better to change the signature of Enumerate() to
indicate whether we're enumerating just the enumerable properties or
all of them, so we can skip doing this when someone does for...in on
the window.
2012-11-01 13:51:57 -04:00
Boris Zbarsky 1ab893634e Bug 803129. Convert DOMStringMap to WebIDL. r=peterv 2012-11-05 11:58:03 -05:00
Boris Zbarsky 17e8e17ce0 Back out rev 6d36471ab3ca (part 5 of bug 807222) because now Android is shipping busted stuff on the global. 2012-11-05 11:54:37 -05:00
Boris Zbarsky 8fc14742bc Bug 807222 part 5. Fix getOwnPropertyNames to work correctly on Window. r=jst
One note: it might be better to change the signature of Enumerate() to
indicate whether we're enumerating just the enumerable properties or
all of them, so we can skip doing this when someone does for...in on
the window.
2012-11-01 13:51:57 -04:00
Boris Zbarsky 6fc19ec25b Bug 807222 part 3. Make sure we enter the right compartment before we try to define interface constants on a constructor. r=bholley 2012-11-05 10:20:04 -05:00
Boris Zbarsky 404d9ab987 Bug 807222 part 2. Condition MozTimeManager classinfo so we don't stick it on the global in builds that don't ship the xpt for it. r=jlebar 2012-11-05 10:20:03 -05:00
Boris Zbarsky b0d460cbbb Bug 807222 part 1. Propertly condition MozActivity so we don't stick it on the global in builds that we don't ship the xpt for it in. r=fabrice 2012-11-05 10:20:03 -05:00
Ms2ger 1494a04258 Bug 807926 - Don't handle outer windows in nsWindowSH::NewResolve; r=bholley 2012-11-04 09:00:06 +01:00
Boris Zbarsky a14a96d2cf Bug 801819. Remove nsIDOMCSS2Properties and the classinfo bits for CSS declarations. r=peterv,dbaron 2012-10-30 17:14:06 -04:00
Jan Varga 3557fae1a7 Bug 786688 - Part 2: Code cleanup. r=sicking 2012-10-30 07:11:58 +01:00
Jonas Sicking d508822340 Bug 786688 - Part 1: Add chrome only openForPrincipal() and deleteForPrincipal(). r=bent 2012-10-30 07:07:09 +01:00
Jacek Szpot 761b11160f Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Peter Van der Beken 669602b5e0 Fix for bug 778152 (Content window does not have an XMLHttpRequest property when accessed via an Xray wrapper in a subscript). r=bz.
Switch from using the interface objects from the Xrays compartment to wrapping
interface objects and interface prototype objects in Xrays. Make dom binding
Xrays deal with both instance objects and interface and interface prototype
objects.
2012-10-09 20:50:27 +02:00
Tim Taubert c0ec641283 merge m-c to fx-team 2012-10-25 21:23:58 +02:00
Mihai Sucan bdae941449 Bug 803964 - Cannot show window object with inspect viewer in remote web console; r=bz 2012-10-24 13:01:54 +03:00
Randell Jesup 4fda85ac3e Bug 803976: Implementation of LocalMediaStreams for .stop() r=roc,anant 2012-10-24 19:21:32 -04:00
Ehsan Akhgari fec8894f04 Backed out changeset 165208ecd591 (bug 803976) 2012-10-24 20:29:32 -04:00
Randell Jesup d6cc9a88c2 Bug 803976: Implementation of LocalMediaStreams for .stop() r=roc,anant 2012-10-24 19:21:32 -04:00
Olli Pettay 6b74bf4b06 Bug 802243 - WrapperCache DOMStringMap, r=bz
--HG--
extra : rebase_source : e908d30b301fc478c843b9c32c1b1846606fd6d2
2012-10-17 04:09:42 +03:00
Chuck Lee 6a13b77a08 Bug 780142 - Rewrite MozWifiConnectionInfoEvent. r=smaug 2012-10-22 18:18:26 +08:00
Chuck Lee c686d1e157 Bug 780142 - Rewrite WifiStatusChangeEvent. r=smaug 2012-10-22 17:17:18 +08:00
Boris Zbarsky b598ec354c Bug 801712 part 2. Switch ImageData to WebIDL bindings. r=peterv 2012-10-22 13:08:52 -04:00
Boris Zbarsky ee485de6e8 Bug 776242. Remove now-unused 2d canvas classinfo. r=peterv 2012-10-22 13:08:52 -04:00
Bobby Holley 66fe81e49a Bug 789224 - Remove miscellaneous UniversalXPConnect checks sprinkled throughout gecko. r=mrbkap 2012-10-22 08:29:55 +02:00
Ms2ger bf2b5f9bda Bug 796903 - Part b: Remove classinfo from DOMImplementation; r=bz 2012-10-21 09:38:41 +02:00
Andrew McCreight 61bccd06eb Bug 792405 - move sTop_id case in nsWindowSH::NewResolve. r=mrbkap 2012-10-20 08:14:04 -07:00
Peter Van der Beken 9af14c557f Fix for bug 801083 (Remove old proxy-based list bindings). r=bz. 2012-10-13 14:50:24 +02:00
Boris Zbarsky 91b717e786 Bug 799875. Make the global scope polluter work even for qualified lookups. r=jst
--HG--
rename : dom/base/test/test_gsp-standards.html => dom/base/test/test_gsp-qualified.html
2012-10-15 14:00:09 -04:00
Benoit Jacob 902a0dd738 Bug 800657 - Fix WebGL typedefs, WebGLintptr was wrong on 32bit systems, caused index-validation.html regression - r=bz 2012-10-15 12:57:14 -04:00
Nicholas Cameron 7eb091b2eb Bug 734668; remove some more canvas stuff; r=Ms2ger
--HG--
extra : rebase_source : 3950da41e60016c08c6eeb8ea4e8394335091471
2012-10-12 22:42:52 +13:00
Nicholas Cameron 1cccb0d825 Bug 734668; remove Thebes canvas. r=roc
--HG--
extra : rebase_source : 57b08c33f72cd611deb30dc1639060a719747849
2012-10-12 22:42:51 +13:00
Olli Pettay 76ea6cb8e7 Bug 733305, add a way to hide XBL, r=bz, a=abillings
--HG--
extra : rebase_source : df18273ecdbf013138e8e6f1f4ef8082ac4f410c
2012-10-10 22:04:42 +03:00
Benoit Jacob ee49c790ba Bug 779611 - part 9: port WebGLActiveInfo to WebIDL bindings - r=bz 2012-10-09 14:39:49 -04:00
Benoit Jacob 7240725ea8 Bug 779611 - reland parts 5-8 - port WebGLTexture, WebGLBuffer, WebGLFramebuffer, WebGLRenderbuffer, WebGLShader, WebGLProgram to WebIDL bindings - r=bz 2012-10-04 16:35:54 -04:00
Benoit Jacob f0343cef01 Bug 797526 - some assertions in nsDOMClassInfo should be fatal in debug builds - r=bz 2012-10-04 16:03:49 -04:00
Benoit Jacob 0d5a123372 back out 6f3714945438, 5732dca84958, bfb93cf89612, e697a832c60b for Mac build error 2012-10-04 15:06:31 -04:00
Benoit Jacob d0d8da9931 Bug 779611 - part 8 - port WebGLShader and WebGLProgram to WebIDL bindings - r=bz 2012-10-04 14:45:35 -04:00
Benoit Jacob 19d4659685 Bug 779611 - part 7 - port WebGLFramebuffer and WebGLRenderbuffer to WebIDL bindings - r=bz 2012-10-04 14:45:33 -04:00
Benoit Jacob 61562913f0 Bug 779611 - part 6 - port WebGLBuffer to WebIDL bindings - r=bz 2012-10-04 14:45:32 -04:00
Benoit Jacob 15fe2b859a Bug 779611 - part 5 - port WebGLTexture to WebIDL bindings - r=bz 2012-10-04 14:45:25 -04:00
Randell Jesup 5acf59b824 Bug 733002: DataChannel DOM implementation w/ m3 fix r=smaug 2012-10-03 19:51:47 -04:00
Ryan VanderMeulen 54897418b3 Backout a9ab0881ebe2 (bug 729512) and ed6491f2335e (bug 733002) due to M3 orange. 2012-10-03 21:03:16 -04:00
Randell Jesup 188b3cb558 Bug 733002: DataChannel DOM implementation r=smaug 2012-10-03 19:51:47 -04:00
Benoit Jacob 40e567c53c Bug 779611 - part 3 - port WebGL extensions to WebIDL bindings, refactor them - r=bz,jgilbert 2012-10-03 17:13:05 -04:00
Benoit Jacob 8da7053199 Bug 779611 - part 2 - drop old bindings for WebGLUniformLocation - r=bz 2012-10-03 17:13:05 -04:00
Benoit Jacob df20918e33 Bug 779611 - part 1 - port WebGLShaderPrecisionFormat to WebIDL bindings - r=bz 2012-10-03 17:13:05 -04:00
Ed Morley accb05d7c8 Merge mozilla-central to mozilla-inbound 2012-10-02 11:19:03 +01:00
Fabrice Desré 7a201418a4 Bug 782524 - window.navigator instanceof window.Window throws unexpected error [r=bz] 2012-10-01 15:30:44 -07:00
Ms2ger fc5a75281c Bug 793314 - Remove PtrBits; r=mounir,roc 2012-10-02 10:24:11 +02:00
Ms2ger c963f73f3b Bug 756897 - Don't use XPCStringConvert::ReadableToJSVal directly in nsDOMClassInfo.cpp; r=bz 2012-10-02 10:24:10 +02:00
Ms2ger a682ed1ae7 Bug 780151 - Part b: Don't hand out ThisTranslators; r=bz 2012-10-02 10:24:08 +02:00
Ms2ger cb811c0db7 Bug 780151 - Part a: Remove unused arguments to TranslateThis; r=bz 2012-10-02 10:22:32 +02:00
Ms2ger 71ea38005c Bug 780146 - Part d: Inline mozilla::dom::binding::DefineConstructor; r=bz 2012-10-02 10:07:36 +02:00
Ms2ger 29e93229d9 Bug 780161 - Part c: Introduce nsGlobalWindow::IndexedGetter(); r=bz 2012-10-02 10:07:36 +02:00
Ms2ger f479d0161a Bug 780161 - Part b: Introduce nsGlobalWindow::GetLength(); r=bz 2012-10-02 10:07:35 +02:00
Peter Van der Beken 6cf9f896da Fix for bug 791774 (Hook DOM lists up to the new DOM bindings). r=bz.
--HG--
extra : rebase_source : 873020edd9cd3defc932d77bd26b5d65ebf263cb
2012-06-13 17:18:30 +02:00
James Kitchener 27526026f8 Bug 718293 - Anchor string in nsHTMLDocumentSH::CallToGetPropMapper. r=jorendorff 2012-09-29 12:32:56 -04:00
Isaac Aggrey 481e7dfb0b Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Philipp von Weitershausen 44fd6174fa Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug 2012-09-27 22:43:12 -07:00
Ed Morley ea1b946dd2 Backout 52be204da1cf (bug 776663), 965397b043c0 (bug 777508), 182c763efa68 (bug 776832), a2a509184b07 & cba5ba69091f (bug 789973) for failures in test_child_process_shutdown_message.html and friends / conflicting with the backout on a CLOSED TREE 2012-09-28 14:08:04 +01:00
Philipp von Weitershausen aeb0b41fb3 Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug 2012-09-27 22:43:12 -07:00
Ryan VanderMeulen 53afb60c6f Backout 93b39d0f7d17 for build bustage. 2012-09-27 23:25:13 -04:00
James Kitchener eb4391dbbe Bug 718293 - Anchor string in nsHTMLDocumentSH::CallToGetPropMapper. r=jorendorff 2012-09-27 23:05:58 -04:00
Terrence Cole 3eda1202a1 Bug 791322 - Move Rooted to js:: namespace; r=billm
These should not be part of the public API.

--HG--
extra : rebase_source : 00a69ee54f06e3f557cd9ec2f3b059df10aa32df
2012-09-24 18:08:22 -07:00
Bill McCloskey c53e57f4b2 Bug 787856 - Convert JS_GetPrototype to support lazy protos (r=bhackett) 2012-09-03 16:42:17 -07:00
Bill McCloskey 1f195f679b Bug 787856 - Convert js::GetObjectProto to support lazy protos (r=bhackett) 2012-09-03 16:42:10 -07:00
Ed Morley a4cb255103 Backout be95f234ff6e (bug 776832) for various mochitest-1 failures 2012-09-26 10:31:19 +01:00
Philipp von Weitershausen 4790e5734f Bug 776832 - Add a scriptable API to assert app permissions of apps through messagemanager. r=smaug 2012-09-26 00:41:51 -07:00
Fernando Rodríguez Sela 1bd3305413 Bug 744700 - B2G 3G: Notify connection errors in the WebMobileConnection API (part 1), r=bent 2012-09-25 12:21:39 -07:00
Benoit Jacob 64b67de1c3 Bug 750862 - Implement WEBGL_compressed_texture_pvrtc - r=jgilbert 2012-09-25 08:49:28 -04:00
Benoit Jacob faf08d911a Bug 790712 - Implement WEBGL_compressed_texture_atc - r=jgilbert 2012-09-25 08:49:28 -04:00
Jim Mathies 063a9840ee Bug 726615 - Completely remove MozTouch event support from mc. r=smaug 2012-09-22 14:28:08 -05:00
Ray Cheung 712265bc79 Bug 779500 - WebFM, r=jlebar,glandium sr=jonas 2012-09-19 11:23:33 -04:00
Anant Narayanan e852b08eb1 Bug 752352: Implement getUserMediaDevices for privileged chrome code; r=smaug, r=jesup 2012-09-20 12:54:00 -07:00
Ms2ger abf742d34d Merge PGO-green changeset from m-i to m-c. 2012-09-20 11:51:47 +02:00
Ms2ger 451f5737e1 Bug 776243 - Unpref WebGL context bindings; r=peterv 2012-09-20 09:55:36 +02:00
Ms2ger c5d1cae66d Bug 744907 - Remove BlobBuilder; r=sicking 2012-09-20 09:55:36 +02:00
Luke Wagner ae449dc39f Bug 792235 - rm JS_SuspendRequest (r=mrbkap)
--HG--
extra : rebase_source : 63484578f26b009c1c6dc555c736aaa1b71d1e4a
2012-09-04 14:43:25 -07:00
Peter Van der Beken 6f38d2708d Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz.
--HG--
extra : rebase_source : 18e21a786b6a9cc2aeada52ba5ca3a2614cb596b
2012-09-05 22:49:53 +02:00
Peter Van der Beken 28cd2bd9a0 Fix for bug 788532 (Add the new DOM bindings API to DOM lists) - Rename nsIDOMHTMLCollection::GetNodeAt to GetElementAt. r=bz.
--HG--
extra : rebase_source : 9bd26842a548580b7ea90a29d2fdba8629a70ef7
2012-09-05 17:42:58 +02:00
Bobby Holley 4ebc250df6 Bug 784792 - Remove IsClosedOrClosing() assertion. r=bz 2012-09-11 10:23:31 -07:00
Steven Lee 5f194e2f32 Bug 714358: Time manager implementation. r=jlebar 2012-09-11 02:05:00 -04:00
Bobby Holley ecaa32c106 Bug 788914 - Kill the XOW flag. r=mrbkap
There are really two questions to be asked: is the caller chrome, and does the
caller subsume the callee. We have other, more precise ways of asking both of
these questions.
2012-09-11 01:05:10 -07:00
Bobby Holley e5ff464782 Bug 788914 - Kill partially transparent wrappers. r=mrbkap 2012-09-11 01:05:10 -07:00
Andrea Marchesini 26d50534e0 Bug 775368 - Porting Websockets to WebIDL, r=bz
--HG--
rename : content/base/src/nsWebSocket.cpp => content/base/src/WebSocket.cpp
rename : content/base/src/nsWebSocket.h => content/base/src/WebSocket.h
2012-09-10 09:48:14 -04:00
Daniel Holbert 1dc8cb22b6 Bug 789382: Change nsIScriptError methods init() and initWithWindowID() to take nsAString, rather than wchar / PRUnichar*. r=bz sr=bsmedberg 2012-09-09 16:29:12 -07:00
Ehsan Akhgari 2e191772f7 Merge backout 2012-09-19 15:42:29 -04:00
Ehsan Akhgari 37b4f5642e Backout bug 792109, bug 749053 and bug 779500 because of leaks in debug tests 2012-09-19 15:42:18 -04:00
Ray Cheung 0577d78a7d Bug 779500 - WebFM, r=jlebar,glandium sr=jonas 2012-09-19 11:23:33 -04:00
Gregor Wagner 9c9eb3a586 Bug 770731 - Expose JS API for modifying app permissions. r=sicking 2012-09-19 11:19:00 -07:00
Ryan VanderMeulen 5c5be9d885 Backout bug 788914 and bug 789494 because they were backed out on inbound. 2012-09-07 19:40:57 -04:00
Bobby Holley cd21ce7e8c Bug 788914 - Kill the XOW flag. r=mrbkap
There are really two questions to be asked: is the caller chrome, and does the
caller subsume the callee. We have other, more precise ways of asking both of
these questions.
2012-09-07 11:28:56 -07:00
Bobby Holley e58c507ac2 Bug 788914 - Kill partially transparent wrappers. r=mrbkap 2012-09-07 11:28:56 -07:00
Ed Morley f66e09e47d Backout 5853df66d488, e8fadd906232, d787279d282c, 8c1ed6327355, 94cfcf5da7c8, 87aa103d7e87 (bug 585922) for failures in test_bug411236.html 2012-09-07 09:15:34 +01:00
Bobby Holley 50f04c89fb Bug 788914 - Kill the XOW flag. r=mrbkap
There are really two questions to be asked: is the caller chrome, and does the
caller subsume the callee. We have other, more precise ways of asking both of
these questions.
2012-09-06 22:55:18 -07:00
Bobby Holley 3cf2fad500 Bug 788914 - Kill partially transparent wrappers. r=mrbkap 2012-09-06 22:55:18 -07:00
Ms2ger 36d93492da Bug 782040 - Move ProgressEvent to event impl codegen; r=smaug 2012-09-06 09:14:49 +02:00
Boris Zbarsky 00e03faa6d Bug 778044. Add a way to pref off Paris binding constructor objects. r=peterv 2012-09-05 13:37:28 -04:00
Mike Habicher 6ae700c29b Bug 779139 - Make DOM-facing camera objects cycle collection participants. r=jst
--HG--
rename : dom/camera/CameraControl.h => dom/camera/CameraControlImpl.h
rename : dom/camera/GonkCameraCapabilities.cpp => dom/camera/DOMCameraCapabilities.cpp
2012-09-04 21:01:56 -04:00
Brendan Dahl c8fe46d4c6 Bug 745025 - Part 1 - Adds mozPrintCallback for canvas. r=smaug 2012-08-31 10:45:45 -07:00
Randell Jesup 65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Yoshi Huang ddd3985dc2 Bug 744714 - Part 4 : DOMEvent. r=smaug 2012-06-11 19:28:16 +08:00
Yoshi Huang fa67b6d687 Bug 744714 - Part 2: MozIccManager. r=smaug 2012-06-28 16:21:48 +02:00
Yoshi Huang f96327248c Bug 785942 - Part 2: Update Impl. r=smaug 2012-08-27 14:34:10 -03:00
Olli Pettay 2b0940bb2d Bug 784259 - nsDOMMutationObserver should inherit nsWrapperCache, r=peterv 2012-08-28 18:25:19 +03:00
Philipp von Weitershausen d158b5747c Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Gabor Krizsanits c1beee85b1 Bug 738244 - Supporting DOM specific collection properties through xray wrappers; r=mrbkap 2012-08-27 15:06:34 +02:00
Andrew McCreight fe0f72dfe5 Bug 765527. r=mrbkap 2012-08-25 14:56:45 -07:00
Kyle Huey 8443a7a8f1 Bug 783162: Make mapped attributes hold the image alive. r=bz
The nsCSSValue in nsGenericHTMLElement::MapBackgroundInto is a temporary.  This causes a problem after Bug 697230 landed, because the nsCSSValue::Image we put into that value is destroyed once we're done doing style stuff.  Previously the nsImageLoader would grab the request off the nsCSSValue::Image and hold it alive.  Bug 697230 changed the behavior here; now when the nsCSSValue::Image is destroyed it tells the image loader to drop the request.  The result is that all the references to the request are dropped and the frame is never told it has a background.

The solution is to keep the nsCSSValue::Image alive longer.  This patch adds two new types of nsAttrValue.  The first is an nsCSSValue::URL.  A ParseBackgroundAttribute method is added on nsGenericHTMLElement that the relevant elements (body/td/th/table/tr/tbody/thead/tfoot) call that parses background into an nsCSSValue::URL.  The second is an nsCSSValue::Image.  nsGenericHTMLElement::MapBackgroundInto attempts to convert the nsCSSValue::URL into an nsCSSValue::Image by kicking off the image load.  The result is that image loads are only started when the element is actually visible.  This also mirrors the way background-image works.  This also allows us to fix two longstanding bugs in this code.  Since MapBackgroundInto doesn't have a pointer to the actual element, it relied on grabbing the principal of the document.  Now we can grab the principal of the node in ParseBackgroundAttribute.  MapBackgroundInto also has no way to get at the element's base URI (to honor xml:base), which is now possible in ParseBackgroundAttribute.

nsCSSValue::[Image|URL] have also been moved to be mozilla::css::[Image|URL]Value.  nsAttrValue.h is included in external linkage code, so it can't include nsCSSValue.h to get the declarations of nsCSSValue::[Image|URL], and nested classes can't be forward declared.  Moving the classes to a namespace solves the problem.

Finally some old inoperative quirks mode code was removed.  This code has done nothing since Bug 273078 was landed in 2004.
2012-08-24 10:50:49 -07:00
Luke Wagner ad90af9ca5 Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Peter Van der Beken ee9eae3141 Fix for bug 768692 (Move DOM list binding generation to the new DOM binding codegen). r=bzbarsky.
--HG--
extra : rebase_source : 651a0fac4c9a87ef1c0a9cd91588c6421fd050c4
2012-05-22 15:46:20 +02:00
Ehsan Akhgari 2d709c2f52 Merge the landing of bug 579517 to mozilla-inbound 2012-08-22 12:12:15 -04:00
Eric Chou c713f87fb5 Bug 783520 - [b2g-bluetooth] follow-up to bug 730992, r=qdot 2012-08-22 18:37:08 +08:00
Gina Yeh 6ba33be90b Bug 783454 - v1: Create devicefound event with event generator, r=qdot 2012-08-21 10:54:28 +08:00
Olli Pettay 711151788a Bug 783856 - Autogen PopupBlockedEvent, r=jst 2012-08-20 11:26:34 -07:00
Ehsan Akhgari e368dc9c85 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
Eric Chou 1353638291 Bug 730992 - Patch 1: The DOM boilerplate for BluetoothPairingEvent, r=qdot, sr=mrbkap
---
 dom/base/nsDOMClassInfo.cpp                   |    9 +++
 dom/base/nsDOMClassInfoClasses.h              |    1 +
 dom/bluetooth/BluetoothPairingEvent.cpp       |   78 +++++++++++++++++++++++++
 dom/bluetooth/BluetoothPairingEvent.h         |   70 ++++++++++++++++++++++
 dom/bluetooth/Makefile.in                     |    2 +
 dom/bluetooth/nsIDOMBluetoothPairingEvent.idl |   15 +++++
 6 files changed, 175 insertions(+), 0 deletions(-)
 create mode 100644 dom/bluetooth/BluetoothPairingEvent.cpp
 create mode 100644 dom/bluetooth/BluetoothPairingEvent.h
 create mode 100644 dom/bluetooth/nsIDOMBluetoothPairingEvent.idl
2012-08-17 18:35:59 +08:00
Aryeh Gregor 4e199a1679 Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Alexander Boldyrev 51cb65d942 Bug 738866 - Implement WEBGL_depth_texture extension - r=jgilbert 2012-08-13 18:17:55 -07:00
Phil Ringnalda 9fa8d2547b Bug 782167 - Downgrade MOZ_ASSERT(win->IsClosedOrClosing()) to an NS_ASSERTION until it stops happening so often, r=khuey
--HG--
extra : rebase_source : 774096aa4cfa058d1aa1a32596ae65e464e1baf9
2012-08-12 20:52:21 -07:00
David Keeler 265553458e Bug 741130 - Attach XBL bindings for html:objects in nsElementSH::PostCreate. r=bz, r=jwein 2012-08-10 09:19:24 -07:00