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

510 Коммитов

Автор SHA1 Сообщение Дата
Gregory Szorc df453f8483 Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00
Ryan VanderMeulen fab2c2a3c8 Backed out changesets 1fa1f28c6edf and e74f694f31c4 (bug 850380) for PGO bustage on a CLOSED TREE. 2013-08-14 15:12:20 -04:00
Gregory Szorc d87c91cf0c Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00
David Zbarsky 7e67aa6146 Bug 901060 - Make nsGenericHTMLElement implement nsIDOMHTMLElement r=bz 2013-08-07 16:23:08 -04:00
David Zbarsky 2ee4931d46 Bug 893117: Remove nsIDOMHTMLDListElement r=bz 2013-08-01 15:24:25 -07:00
David Zbarsky 08edbc4f4a Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-08-01 15:24:24 -07:00
David Zbarsky f30a5268e1 Bug 893117: Remove nsIDOMHTMLParamElement r=bz 2013-08-01 15:24:24 -07:00
David Zbarsky 91a1233b73 Bug 893117: Remove nsIDOMHTMLFontElement r=bz 2013-08-01 15:24:24 -07:00
David Zbarsky a6ceba11ad Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-08-01 15:24:24 -07:00
David Zbarsky a34512c9de Bug 893117: Remove nsIDOMHTMLModElement r=bz 2013-08-01 15:24:23 -07:00
David Zbarsky 297c5152c3 Bug 893117: Remove xpidl for nsIDOMHTMLDirectoryElement r=bz 2013-08-01 15:24:23 -07:00
David Zbarsky efe4d5c852 Bug 893117: Remove nsIDOMHTMLOutputElement r=bz 2013-08-01 15:24:23 -07:00
David Zbarsky 8a7d0afa72 Bug 893117: Remove nsIDOMHTMLDataListElement r=bz 2013-08-01 15:24:23 -07:00
David Zbarsky f150ab59c6 Bug 893117: Remove nsIDOMHTMLUnknownElement r=peterv 2013-08-01 15:24:23 -07:00
David Zbarsky 8423ce77eb Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-08-01 15:24:22 -07:00
David Zbarsky 11ddcf9986 Bug 893117: Remove nsIDOMHTMLTableColElement r=peterv 2013-08-01 15:24:22 -07:00
David Zbarsky 2085533186 Bug 893117: Remove nsIDOMHTMLTableRowElement r=peterv 2013-08-01 15:24:22 -07:00
David Zbarsky 01578bfa77 Bug 893117: Remove nsIDOMHTMLTableSectionElement r=peterv 2013-08-01 15:24:22 -07:00
David Zbarsky 52a72611be Bug 893117: Remove xpidl for nsIDOMHTMLTableElement r=peterv 2013-08-01 15:24:21 -07:00
Masatoshi Kimura a2d7f5d92e Bug 673919 - Remove routeEvent, enableExternalCapture and disableExternalCapture. r=smaug 2013-08-01 23:48:18 +09:00
David Zbarsky 3d161603d7 backout Bug 893117 for mochitest failure 2013-08-01 01:54:09 -07:00
David Zbarsky 239d7c7d1c Bug 893117: Remove nsIDOMHTMLDListElement r=bz 2013-07-31 23:12:41 -07:00
David Zbarsky a8e04c91cc Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-07-31 23:12:40 -07:00
David Zbarsky 9805a4d3d0 Bug 893117: Remove nsIDOMHTMLParamElement r=bz 2013-07-31 23:12:40 -07:00
David Zbarsky 12faf238a4 Bug 893117: Remove nsIDOMHTMLFontElement r=bz 2013-07-31 23:12:40 -07:00
David Zbarsky f8699dfe4e Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-07-31 23:12:40 -07:00
David Zbarsky 8273fe7d29 Bug 893117: Remove nsIDOMHTMLModElement r=bz 2013-07-31 23:12:39 -07:00
David Zbarsky 473e16f1ad Bug 893117: Remove xpidl for nsIDOMHTMLDirectoryElement r=bz 2013-07-31 23:12:39 -07:00
David Zbarsky 5c8cff1add Bug 893117: Remove nsIDOMHTMLOutputElement r=bz 2013-07-31 23:12:39 -07:00
David Zbarsky ec351678ef Bug 893117: Remove nsIDOMHTMLDataListElement r=bz 2013-07-31 23:12:39 -07:00
David Zbarsky a7199cbe1c Bug 893117: Remove nsIDOMHTMLUnknownElement r=peterv 2013-07-31 23:12:39 -07:00
David Zbarsky d52c9a362c Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-31 23:12:38 -07:00
David Zbarsky d2f7764079 Bug 893117: Remove nsIDOMHTMLTableColElement r=peterv 2013-07-31 23:12:38 -07:00
David Zbarsky dc95f7e4ec Bug 893117: Remove nsIDOMHTMLTableRowElement r=peterv 2013-07-31 23:12:38 -07:00
David Zbarsky 667388c2d1 Bug 893117: Remove nsIDOMHTMLTableSectionElement r=peterv 2013-07-31 23:12:38 -07:00
David Zbarsky 5a436a45ff Bug 893117: Remove xpidl for nsIDOMHTMLTableElement r=peterv 2013-07-31 23:12:37 -07:00
Masatoshi Kimura dc1ac1fe9c Backed out changeset 2aa62db58f24 (bug 673919) due to Web compat 2013-08-01 06:44:51 +09:00
Nicholas Cameron 6a449045ab Bug 895873 - backout bug 893117 for Win8 mc bustage 2013-07-30 23:32:35 -04:00
David Zbarsky 685ad9fca2 Bug 893117: Remove nsIDOMHTMLDListElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky aeb27e1255 Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky 3fc1f45c00 Bug 893117: Remove nsIDOMHTMLParamElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky 019b465894 Bug 893117: Remove nsIDOMHTMLLabelElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky 6f10942061 Bug 893117: Remove nsIDOMHTMLFontElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky faf159a4f8 Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-07-30 14:55:12 -07:00
David Zbarsky 77f5c02605 Bug 893117: Remove nsIDOMHTMLHeadingElement r=bz 2013-07-30 14:55:12 -07:00
David Zbarsky e806648961 Bug 893117: Remove nsIDOMHTMLModElement r=bz 2013-07-30 14:55:12 -07:00
David Zbarsky 7749682554 Bug 893117: Remove xpidl for nsIDOMHTMLDirectoryElement r=bz 2013-07-30 14:55:12 -07:00
David Zbarsky 4d1aa06dec Bug 893117: Remove nsIDOMHTMLOutputElement r=bz 2013-07-30 14:55:11 -07:00
David Zbarsky 67c8079b37 Bug 893117: Remove nsIDOMHTMLDataListElement r=bz 2013-07-30 14:55:11 -07:00
David Zbarsky 7e66128ffc Bug 893117: Remove nsIDOMHTMLUnknownElement r=peterv 2013-07-30 14:55:11 -07:00
David Zbarsky 9c0441b53f Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-30 14:55:11 -07:00
David Zbarsky b201163fc0 Bug 893117: Remove nsIDOMHTMLTableColElement r=peterv 2013-07-30 14:55:11 -07:00
David Zbarsky 0f7477cec9 Bug 893117: Remove nsIDOMHTMLTableRowElement r=peterv 2013-07-30 14:55:10 -07:00
David Zbarsky 08732280f1 Bug 893117: Remove nsIDOMHTMLTableSectionElement r=peterv 2013-07-30 14:55:10 -07:00
David Zbarsky 753bdd48e3 Bug 893117: Remove xpidl for nsIDOMHTMLTableElement r=peterv 2013-07-30 14:55:10 -07:00
David Zbarsky 2c4b6577e1 Bug 893117: Remove nsIDOMHTMLTableCellElement r=peterv 2013-07-30 14:55:10 -07:00
David Zbarsky c72818ae5a Bug 898947 - Remove nsIInlineEventHandlers from nodes r=bz 2013-07-30 01:47:28 -07:00
David Zbarsky 71f25aac13 Backout a0868fe02c2a because I suspect it caused the debug mochitest failures resulting in the CLOSED TREE 2013-07-29 19:51:39 -07:00
David Zbarsky 1c42b9acd0 Bug 898947 - Remove nsIInlineEventHandlers from nodes r=bz 2013-07-29 16:04:09 -07:00
Dale Harvey 7da778d013 Bug 891884 - toBlob should support the quality parameter as toDataURL does r=joedrew sr=mrbkap
--HG--
extra : rebase_source : 6b12921bf06a2ccf4154222bf19b2779d3bc68b3
2013-07-24 12:17:00 +01:00
Carsten "Tomcat" Book 860503ece1 Backed out changeset 1bbc7f3de64c (bug 891884) 2013-07-23 10:30:08 +02:00
Julien Wajsberg 6cc840ad79 Bug 891884 - toBlob should support the quality parameter as toDataURL does r=joedrew sr=mrbkap
--HG--
extra : rebase_source : 22574a2852a6147019cc787ab1a8711adca7c0b2
2013-07-19 20:19:48 +01:00
James Kitchener 97d9e25ced Bug 802895 - Implement srcdoc attribute for iframe r=bz 2013-06-28 23:13:23 -04:00
David Zbarsky f26c8e26b6 Bug 798438 - Use a dictionary to set context options instead of an nsIPropertyBag r=bz 2013-06-07 11:42:12 -07:00
Andrea Marchesini 3c565b553e Bug 857116 - Remove nsIDOMHTMLCommandElement; r=Ms2ger 2013-06-06 15:57:26 +02:00
Robert O'Callahan aa60d410a4 Bug 877135. Remove HTMLMediaElement::mozLoadFrom since it's nonstandard and no longer needed (setting 'src' to another element's 'currentSrc' works just as well). r=doublec
--HG--
extra : rebase_source : f1e04fe469a1757bfabfcf79bbf0fec29faee1c7
2013-06-04 15:28:23 +12:00
Gregory Szorc 1b12175ba0 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Masatoshi Kimura de5b4fd388 Bug 673919 - Remove captureEvents, releaseEvents, and routeEvent. r=smaug 2013-05-14 21:18:39 +09:00
Boris Zbarsky 91afbd4476 Bug 742206 part 4. Start using the new Date stuff for HTMLInputElement.valueAsDate. r=smaug 2013-05-02 14:38:20 -04:00
Andrea Marchesini a16c235c84 Bug 844462 - Update the nsIDOMMozBrowserFrame.mozbrowser docs to reflect the fact that mozbrowser is not exposed on HTMLFrameElement; r=ehsan
DONTBUILD since it's a comment only change.
2013-04-29 12:53:38 -04:00
Ms2ger b3380bd0d9 Bug 856629 - Part b: Implement ChildNode.remove(); r=bz 2013-04-13 09:08:47 +02:00
Ms2ger 096dddd2e4 Bug 826740 - Part d: Use implicit_jscontext to simplify nsIDOMHTMLCanvasElement.getContext; r=khuey 2013-04-13 09:05:33 +02:00
Ms2ger a0616a7d2a Bug 826740 - Part c: Pass a JS::Value instead of an nsIVariant to nsIDOMHTMLCanvasElement.toDataURL; r=khuey 2013-04-13 09:05:22 +02:00
Ms2ger bd2685689e Bug 826740 - Part b: Remove unused arguments from nsIDOMHTMLCanvasElement; r=khuey 2013-04-13 09:04:53 +02:00
Ms2ger c4090d9585 Bug 858211 - Use more webidl features for HTMLAudioElement; r=bz 2013-04-13 08:59:30 +02:00
Boris Zbarsky 2cb912c299 Bug 856752. Reinstate Node.hasAttributes. r=khuey 2013-04-02 00:04:19 -04:00
Andrew Quartey 1517b703db Bug 742537 - Remove HTMLMediaElement.initialTime attribute. r=cpearce,doublec 2013-04-01 20:38:54 -04:00
Kyle Machulis 72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis 43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis 334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Mike Shal e3efc3a646 Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Aryeh Gregor b4a520d2b8 Bug 849661 - Remove support for Node.hasAttributes(); r=bz 2013-03-21 14:48:32 +02:00
Mike Shal 7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Andrea Marchesini 6d30f2ccbf Bug 847370 - HTMLMediaElement - crossOrigin vs crossorigin, r=bz 2013-03-19 16:18:29 +01:00
Boris Zbarsky cd206cfc4d Bug 846972 part 2. Add the WebIDL APIs for StyleSheet and CSSStyleSheet. r=peterv 2013-03-17 10:42:59 -04:00
Ms2ger 4ec472b450 Bug 844134 - Move the 'attributes' property from Node to Element; r=sicking 2013-03-17 09:51:34 +01:00
Andrea Marchesini beed697112 Bug 850346 - Change inputmode to inputMode for nsHTMLInputElement. r=bz 2013-03-13 15:54:24 -04:00
Ehsan Akhgari 4c5686587f Backed out changeset 2e6f598201ce (bug 850346) because it needs a UUID change 2013-03-13 17:51:09 -04:00
Andrea Marchesini 674e5773f6 Bug 850346 - Change inputmode to inputMode for nsHTMLInputElement. r=bz 2013-03-13 15:54:24 -04:00
Mike Shal b04d88a2f2 Bug 818246 - Part 9: Move XPIDL_FLAGS to moz.build; r=gps 2013-03-11 22:05:00 -07:00
Mike Shal cd4191e248 Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc c865547d94 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Ms2ger 89fffd12a6 Bug 847195 - Make NamedNodeMap only deal with Attrs; r=khuey
--HG--
rename : dom/interfaces/core/nsIDOMNamedNodeMap.idl => dom/interfaces/core/nsIDOMMozNamedAttrMap.idl
2013-03-10 09:00:33 +01:00
Ms2ger 0655b72f9d Bug 821383 - Don't bother with JSAPI magic in nsHTMLMediaElement::{G,S}etMozSrcObject; r=bz+roc 2013-03-10 08:58:18 +01:00
Ms2ger aea301eee3 Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc a0e24e2250 Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Ehsan Akhgari a8f93d6c2f Bug 844169 - Part 2: Rename nsIDOMHTMLIFrameElement.allowfullscreen to allowFullscreen in order to comply with the spec; r=cpearce 2013-02-25 20:59:33 -05:00
Ehsan Akhgari 9d52ece477 Bug 838582 - Part 2: Move HTMLTextAreaElement to Web IDL bindings; r=bzbarsky 2013-02-19 00:54:23 -05:00
Ryan VanderMeulen b30facb288 Backed out 6 changesets (bug 832920, bug 825341, bug 838582, bug 842726, bug 629801, bug 842561) for Linux32 debug mochitest-2 and Windows/OSX mochitest-browser-chrome failures on a CLOSED TREE. 2013-02-22 15:30:06 -05:00
Ehsan Akhgari 84ff151c43 Bug 838582 - Part 2: Move HTMLTextAreaElement to Web IDL bindings; r=bzbarsky
--HG--
extra : rebase_source : f8933c4973220dc8845b9ce2f63e91b366167117
2013-02-19 00:54:23 -05:00
Justin Lebar 4ad2742309 Bug 836654 - Part 5: Add nsIMozBrowserFrame::isExpectingSystemMessage. r=bz 2013-02-14 15:41:30 -05:00
Ms2ger dea722cee9 Bug 831408 - Make two interfaces builtinclass; r=bz 2013-02-07 09:08:57 +01:00
Boris Zbarsky 82c6f6b490 Bug 830992 part 2. Switch DOMTransaction to WebIDL codegen. r=wchen,peterv 2013-02-06 09:42:33 +00:00
David Zbarsky de74b8ded9 Bug 830231 - Remove nsIDOMDOM(Settable)TokenList r=bz 2013-01-15 03:35:59 -05:00
Cameron McCormack 453303213d Bug 508725 - Part 9: Implement HTMLStyleElement.scoped. r=dbaron 2013-01-09 10:25:48 +11:00
Cameron McCormack c067646b00 Backout bug 508725 (d267bb4b58b5, 50f71edffeb9, 6aec8e22fe60, e62e1f33958a, 0f146c435249, eb959b9f4862, 2b0ee42f3aa0, 02db01cd6796, 2ef0e517d43d, b650588e05c9 and a3c916829d56) for build failure on a CLOSED TREE. 2013-01-08 19:36:21 +11:00
Cameron McCormack 450f4357cd Bug 508725 - Part 9: Implement HTMLStyleElement.scoped. r=dbaron 2013-01-08 19:09:23 +11: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
William Chen f34fa488f4 Bug 617532 - Implement UndoManager. r=ehsan 2013-01-03 22:54:26 -08:00
Raphael Catolino 90a26c1967 Bug 769370 - Add valueAsDate attribute and implement valueAsNumber/valueAsDate for date. r=mounir 2012-12-27 18:55:31 +00:00
David Zbarsky e03cc0d901 Bug 817332 - Remove XPIDL for HTMLPropertiesCollection/PropertyNodeList r=bz 2012-12-08 17:06:42 -05:00
Marco Chen e431c12f40 Bug 815322 - Phone rings on incoming call will pause audio. r=kinetik, a=blocking-basecamp
1. Add a new audio channel type called ringer.
  2. Add logic into AudioChannelService for ringer.
2012-12-06 17:11:19 +08:00
Andrea Marchesini d9045177f0 Bug 805333 part 2 - MediaElement connected to AudioChannelService, r=kinetik, a=blocking-basecamp 2012-12-04 11:46:07 -08:00
Tom Schuster 9271842e43 Bug 676619 - Implementation of the download attribute for links. r=smaug 2012-12-02 21:55:52 +01:00
Paul Adenot d37e140816 Bug 495040 - Implement playbackRate and related bits r=kinetik 2012-11-22 11:38:28 +01:00
Marco Chen 8ab4b8ee8d Bug 795237 - Web API for setting audio stream type. Part 1. r=kinetik, a=blocking-basecamp
Add new attribute of mozAudioChannelType for controling audio streams with
  the same channel individully. (ex: adjust volume up on channel type of alarm only)
2012-11-16 11:18:04 +08:00
Peter Van der Beken 0a5f44ada8 Fix for bug 807075 (New DOM binding APIs for HTMLElement). r=bz.
--HG--
extra : rebase_source : 842b9397d2b050f880c44d3366bcc838e6615fd5
2012-11-11 00:30:15 +01:00
Ed Morley 35b84cb08f Backout 54c4f2ff78e3 (bug 807075) for Windows compilation errors 2012-11-14 16:45:28 +00:00
Peter Van der Beken f19ca9b71f Fix for bug 807075 (New DOM binding APIs for HTMLElement). r=bz.
--HG--
extra : rebase_source : 9afce481cd0a5c8a1014c8c9b0aad7d6665aaa82
2012-11-11 00:30:15 +01:00
Justin Lebar a9e6d9a0c8 Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id.  This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process.  I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-10 10:32:37 -08:00
Ryan VanderMeulen 3eff16d324 Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar 785d3c9b2f Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id.  This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process.  I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-09 16:37:39 -08:00
Boris Zbarsky 1ab893634e Bug 803129. Convert DOMStringMap to WebIDL. r=peterv 2012-11-05 11:58:03 -05:00
Justin Lebar 22489f7920 Backed out changeset a6a847452dbf (bug 802366) 2012-10-30 21:36:29 -04:00
Justin Lebar 7b38d49f83 Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones DONTBUILD
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.

(Re-landing changeset a6a847452dbf, backed out in 5091aa6083c4, because it was originally landed with the incorrect bug number.)
2012-10-30 16:13:21 -04:00
Justin Lebar 818638f210 Backed out changeset a6a847452dbf due to incorrect bug number (should be bug 802366, but was bug 802367). DONTBUILD 2012-10-30 16:13:20 -04:00
Justin Lebar af7297481d Bug 802367 - The main event: Let a browser process inherit its app's id. r=bz,cjones
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id.  This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process.  I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.

--HG--
extra : rebase_source : f3ef9475e21204da10bf39c6cca506bc08096949
2012-10-30 15:55:05 -04:00
Chris Pearce 046c7a9a82 Bug 805301 - Rename iframe.mozallowfullscreen to allowfullscreen. r=jlebar 2012-10-30 11:02:24 +13: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
Kyle Huey a78a5f8920 Bug 648610: Implement <canvas>.toBlob. r=smaug
--HG--
rename : content/canvas/test/test_mozGetAsFile.html => content/canvas/test/test_toBlob.html
2012-10-15 14:15:25 -07:00
Aryeh Gregor c24a828b17 Bug 799905 - .URL and .compatMode should be defined on Document, not HTMLDocument; r=bz 2012-10-11 14:48:31 +02:00
Ms2ger 008462c582 Bug 795610 - Part f: Prepare HTMLElement.innerHTML for WebIDL bindings; r=mounir 2012-10-06 09:19:52 +02:00
Ms2ger 7053e6b5df Bug 795610 - Part e: Prepare HTMLElement.focus() for WebIDL bindings; r=mounir 2012-10-06 09:19:52 +02:00
Ms2ger d34370b699 Bug 795610 - Part d: Prepare HTMLElement.click() for WebIDL bindings; r=mounir 2012-10-06 09:19:52 +02:00
Robert O'Callahan f876b8f52e Bug 792665. Stop allowing HTMLMediaElement.src = mediaStream, and support HTMLMediaElement.mozSrcObject = mediaStream instead. r=cpearce,jesup
--HG--
extra : rebase_source : 1986b88dc293939055b12ec7065c37dae394af8c
2012-09-24 15:47:30 +12: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
Boris Zbarsky 942cc93041 Bug 601912. Implement <ol reversed>. r=dholbert 2012-09-07 22:30:24 -04:00
Brendan Dahl c8fe46d4c6 Bug 745025 - Part 1 - Adds mozPrintCallback for canvas. r=smaug 2012-08-31 10:45:45 -07:00
Boris Zbarsky 8bda87996d Bug 786564. Add a crossOrigin IDL attribute on <link>. r=sicking
--HG--
rename : content/html/content/test/test_bug742549.html => content/html/content/test/test_bug786564.html
2012-08-30 14:06:24 -04:00
Zoe Bellot e96e9dacf5 Bug 746142 - Part 1 - Add inputmode attribute to HTMLInputElement. r=mounir sr=smaug 2012-08-17 11:53:44 +02:00
Nathan Froyd 1a9bf63360 Bug 783357 - part 1: add XPIDL_FLAGS to make idl dependencies more explicit; r=khuey 2012-08-24 16:01:30 -04: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
Ian Melven 4f3defdd1a Bug 341604 - Implement HTML5 sandbox attribute for IFRAMEs r=smaug r=jst 2012-08-20 11:34:32 -07:00
Ed Morley f4221cc429 Backout 506268f7735e & ea163112807d (bug 746142) for Android build failures 2012-08-17 12:30:02 +01:00
Zoe Bellot 5cd1fff7f7 Bug 746142 - Part 1 - Add inputmode attribute to HTMLInputElement. r=mounir sr=smaug 2012-08-17 11:53:44 +02:00
Mike Hommey 70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ralph Giles edf533c3f1 Bug 763010 - Expose media element metadata. r=cpearce
Implements a media.mozGetMetadata() method returning a new javascript object whose properties are key value pairs respresenting metadata tags from the media resource. This data is available after readystate enters METADATA_LOADED.

Currently this is only implemented for Ogg Vorbis streams.

Media format metadata is parsed out by the media decoders. In the nsCodecStateMachine::ReadMetadata subclasses we fill in an nsDataHashtable pointer using the format-specifc api.

The hash pointer is passed up to the media element as part of the MetadataLoaded event.

The hash is deleted if the load is aborted. The audio metadata is also reset to zero (as in the constructor), resolving a todo comment.
2012-07-30 20:14:29 -04:00
Justin Lebar b789524ca1 Bug 762802 - Each <iframe mozapp> should get its own process. Part 2: Content/DOM changes. r=mounir
--HG--
extra : rebase_source : 06a6945689c5b112722f461f3cb1d438a94d4030
2012-07-13 17:10:20 -04:00
Mounir Lamouri 3fce1ed8f0 Bug 636737 - Implement valueAsNumber for <input type='number'>. r=sicking
--HG--
extra : rebase_source : 5c77f49a870c6223f46e0259de09b80bbeceef3d
2012-07-05 12:13:41 +02:00
Mounir Lamouri 2e4b9d817e Bug 636627 - Implement stepDown() and stepUp() for <input type='number'>. r=sicking
--HG--
extra : rebase_source : 94d0543e68d5c2aa021e07b8b62d674e280f10dd
2012-07-05 16:33:47 +02:00
Mounir Lamouri d289e5146a Bug 556009 (1/2) - Add the step attribute to HTMLInputElement. r=sicking
--HG--
extra : rebase_source : 7288832870ee9c6a7964f5f8b3e619c2b2b81c70
2012-07-05 12:12:14 +02:00
Mounir Lamouri 42f9886c6f Bug 635553 (1/2) - Add the min attribute to HTMLInputElement. r=sicking
--HG--
extra : rebase_source : 071c211fde723cb8d79f5d85bab58d8ef2631f66
2012-07-05 12:11:53 +02:00
Mounir Lamouri ab5c9037ba Bug 635499 (1/2) - Add the max attribute to HTMLInputElement. r=sicking
--HG--
extra : rebase_source : 4244148c48e837750bb12d809596d8ec18155f73
2012-07-05 12:11:31 +02:00
Trevor Saunders b3d3815263 bug 683855 implement width and height attributes for html inputs r=bz 2012-06-27 01:17:31 -04:00
Justin Lebar 2160f55b11 Bug 767654 - Fix out-of-date comment in nsIDOMMozBrowserFrame.idl. DONTBUILD r=mounir 2012-06-23 07:53:08 -04:00
Justin Lebar 8d7f4a897e Bug 742944 - Part 4: Handle window.open in <iframe mozbrowser>. r=bz, cjones
--HG--
extra : rebase_source : 4c16c86c5be230af22eea89dfb5f893b7c6091dd
2012-06-12 18:01:25 -04:00
Mounir Lamouri 638e5a1ca4 Bug 762092 - Remove MPL 1.1 boilerplate from meter-related files. rs=Ms2ger 2012-06-07 20:47:44 +02:00
Mounir Lamouri bde8663182 Bug 748238 - <meter> should not be a form control. r=bz
--HG--
rename : content/html/content/test/test_bug657938.html => content/html/content/test/forms/test_meter_element.html
2012-06-07 20:42:45 +02:00
Mounir Lamouri d384c795f3 Bug 760848 - Make select.size reflection follow the specifications. r=smaug 2012-06-07 01:27:53 +02:00
Laurent Dulary 9190e002a9 Bug 657938 (1/2) - Implement the content part of the meter element. f=mounir r=smaug,mrbkap 2012-05-16 13:18:33 +02:00
David Zbarsky b6b455f922 Bug 591467 - Implement HTML5 Microdata API r=bz 2012-06-04 16:49:57 -07:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Paul Adenot 5d2667c343 Bug 449363 - Support media attribute of <source> elements. r=cpearce,bz 2012-05-15 08:56:51 -04:00
Paul ADENOT 0c9bd026a9 Bug 462959 - Implement nsIDOMHTMLMediaElement::GetPlayed(). r=cpearce, kinetik 2012-04-30 20:29:24 -04:00
Robert O'Callahan c3c1a7aa31 Bug 664918. Part 8: Add mozCaptureStream()/mozCaptureStreamUntilEnded() APIs to HTML media elements, returning a MediaStream representing the contents of the media element. r=cpearce,jesup
This is currently not fully functional. The MediaStream always ends when the underlying resource ends. You can't use these APIs on a media element
whose src is a MediaStream. Seeking or pausing the resource will cause problems. The media element does not play back in sync with the MediaStream.
2012-04-30 15:12:42 +12:00
Robert O'Callahan b61b0479ed Bug 664918. Part 7: Let the "src" attribute of HTML media elements accept a MediaStream DOM object, to make the media element play back the contents of the given stream. r=cpearce,jesup 2012-04-30 15:12:28 +12:00
Paul ADENOT 7315f8263d Bug 480376 - Implement mozHasAudio to indicate when there's no audio track available. r=cpearce 2012-04-28 11:01:10 -04:00
Ms2ger f87b924f25 Bug 731832 - Backout bug 587021 for breaking a specific web page; r=bz 2012-04-24 21:04:37 +02:00
Matthew Schranz 9a181354aa Bug 686913 - HTMLProgressElement should no longer be a form control. r=mounir a=mfinkle 2012-04-24 12:03:21 +02:00
Ryan VanderMeulen b0b9f6af4c Back out 149a80dafcb8 (bug 686913) due to build failures. a=YUNoTry? 2012-04-21 17:48:31 -04:00
Matthew Schranz 43713e6cef Bug 686913 - HTMLProgressElement and HTMLMeterElement should not be form controls. r=mounir, a=mfinkle 2012-04-21 17:35:42 -04:00
David Humphrey (:humph) e40fc0740c Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc,smaug 2012-04-11 17:55:21 -04:00
Aryeh Gregor 58500691c7 Bug 742261 - Remove useless queryCommandText/execCommandShowHelp methods; r=ehsan 2012-04-04 15:30:33 +03:00
Boris Zbarsky ee79d7d84b Bug 742549. Add a .crossOrigin IDL property. r=sicking
Note that the content attribute is crossorigin (lowercase) in SVG, hence the need to have different
content and IDL property names in the test.
2012-04-05 22:24:42 -04:00
Diogo Golovanevsky Monteiro 24485f6c5c Bug 735031 - Make Fullscreen API work with DOMElements rather than only HTML Elements. r=cpearce,smaug 2012-03-24 17:37:04 +13:00
Aryeh Gregor 6516ccca87 Bug 735059 - Second and third execCommand() parameters should be optional; r=ehsan 2012-03-12 18:12:19 -04:00
Justin Lebar fd4cfccc63 Bug 725796 - Make window.{top,parent,frameElement} respect <iframe mozbrowser>. r=bz 2012-03-04 11:02:00 -05:00
Tim Taubert 97bb2ea404 Bug 720697 - Provide internal API to get canvas image data as nsIInputStream; r=khuey 2012-02-01 01:13:44 +01:00
Jon Buckley d54e4fa42d Bug 682299 - Implement CORS support for the <video> tag. r=roc 2012-01-25 17:31:30 -05:00
Justin Lebar f24ca507db Bug 710231 - Part 3: Add mozbrowserloadstart, mozbrowserloadend, mozbrowserlocationchange events to <iframe mozbrowser>. r=smaug
--HG--
extra : rebase_source : 01d82c02f56afd6aebf94443f223bc537536cc57
2012-01-20 12:02:48 -05:00
Justin Lebar 95259428e1 Bug 710231 - Part 1: Back out bug 708176 part 2 (rev 1bdcd84ae727). r=smaug
--HG--
extra : rebase_source : 1c5768b85524a2c7ad63901e7d1f7acdbc075dcb
2012-01-20 12:02:28 -05:00
Justin Lebar af97d824a1 Bug 708176 - Part 2: Add {i,}frame.queryInnerState(), which allows privileged pages to peer into an iframe's state. r=smaug
--HG--
extra : rebase_source : dfd89eb7d451bac9ae4e4eb05d090c767f42ab8e
2012-01-10 12:57:40 -05:00
Ms2ger 849ea6f2a3 Bug 707576 - Remove nsIDOMNSElement; r=smaug 2011-12-18 11:06:23 +01:00
Andrew Quartey 9d65e2424c Bug 706731: Support for defaultMuted DOM attribute on media elements. r=kinetik,bzbarsky 2011-12-15 14:36:46 -05:00
Matthew Gregan f5f91b3a63 Bug 449157 - Implement loop attribute on media elements. r=roc 2011-11-21 11:59:01 +13:00
Henri Sivonen 3db3f98d07 Bug 92264 - Implement outerHTML. Part of the patch by Ms2ger. r=smaug. 2011-11-10 14:02:22 +02:00
Henri Sivonen 2c1e020e87 Back out changeset 0fb81504b0aa due to Windows build breaking. 2011-11-10 14:49:54 +02:00
Henri Sivonen 87fe96d0dc Bug 92264 - Implement outerHTML. Part of the patch by Ms2ger. r=smaug. 2011-11-10 14:02:22 +02:00
Olli Pettay 2ba8604d78 Bug 698061 - document.importNode's deep attribute should be optional, r=sicking 2011-10-30 23:17:53 +02:00
Ms2ger 6d97442563 Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv 2011-10-29 22:03:55 +02:00
Yazen Ghannam 3ab154a129 Bug 677085 - Merge "nsIDOMNSHTMLFrameElement" into "nsIDOMHTMLFrameElement"; r=bz 2011-10-15 09:34:31 +02:00
Ms2ger 7912a69391 Bug 693162 - Remove Document.xmlVersion; r=sicking 2011-10-15 09:30:07 +02:00
Ms2ger 25d2251ba7 Bug 693154 - Remove Document.xmlStandalone; r=sicking 2011-10-15 09:28:44 +02:00
Ms2ger 129f5ea5a2 Bug 675287 - Make Document.documentURI readonly; r=sicking 2011-10-15 09:27:47 +02:00
Boris Zbarsky 8614a6bea8 Bug 690056. Implement a vendor-prefixed version of the visibility API. r=sicking
The idea is to fire the visibilitychange event synchronously during pageshow and pagehide, since we're
already running script there for the pageshow/pagehide events.  For docshell active state changes, we
fire the event asynchronously.  In all cases, the actual state changes just before the event fires.
2011-10-11 17:29:12 -04:00
Olli Pettay 5feb87bacd Bug 691059, don't throw when setting interface.prototype.onmouseenter/leave, r=bz
--HG--
extra : rebase_source : 0bbc272f1389cda424334a9f5c804c9c70fe7815
2011-10-10 14:42:17 +03:00
Peter Van der Beken 4ca416adf9 Bug 648801 (new DOM list bindings) - Add new dom binding for nsHTMLOptionCollection. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : 2d2f6177031958b61b01f819cb28a4c56861a815
2011-08-20 15:53:34 +02:00
Peter Van der Beken 075926c483 Bug 648801 (new DOM list bindings) - Generate new DOM bindings. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : 6b34182856cbb4ba3fba8d3001de648b10157a29
2011-08-20 15:53:33 +02:00
Olli Pettay ee5000bf9d Bug 681387: backout bug 654352 (caretPositionFromPoint), r=ehsan 2011-10-08 13:49:51 +03:00
Jared Wein dafac434a4 Bug 689058 - Implement document.mozFullScreenEnabled (part 2: Updating UUIDs). r=roc 2011-10-04 12:37:34 -07:00