Commit Graph

1130 Commits

Author SHA1 Message Date
Boris Zbarsky
667e3189a2 Bug 778128. Make putImageData and createImageData on non-Azure canvas work with Xrays. r=peterv 2012-07-31 11:35:25 -04:00
Chris Pearce
174ba270dc Bug 684620 - Implement cross process fullscreen API for B2G apps and web content. r=jlebar
* * *
Bug 684620 - Fix in-process fullscreen in B2G. r=?
2012-07-31 14:09:31 +12:00
Ralph Giles
a81a17e866 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
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Olli Pettay
555347dbf5 Bug 776986 - Implement MozApplicationEvent using codegenerator, r=fabrice 2012-07-26 13:23:22 +03:00
Olli Pettay
2c67e04427 Bug 776971 - codegen DeviceLightEvent impl, r=dougt 2012-07-26 00:26:51 +03:00
Olli Pettay
a90431f527 Bug 776966 - Generate DeviceOrientationEvent implementation, r=dougt 2012-07-26 00:17:14 +03:00
Olli Pettay
4fcbc28cca Bug 776929 - Let event implementation codegen to generate MozContactChangeEvent, r=gwagner 2012-07-24 22:28:26 +03:00
Joshua Cranmer
e1cdfe2f05 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Olli Pettay
2280255d92 Bug 765766 - Convert more event interface implementations to be autogenerated, r=jst 2012-07-20 19:58:28 +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
Mounir Lamouri
6e7f2253ad Bug 758258 - Part 2 - Add GetExtendedOrigin(), NO_APP_ID and UNKNOWN_APP_ID. r=sicking 2012-07-18 21:25:19 -07:00
Steve Fink
cd96c07f2c Backed out changeset afc1cf222996 2012-07-19 15:22:32 -07:00
Mounir Lamouri
a849186201 Bug 758258 - Part 2 - Add GetExtendedOrigin(), NO_APP_ID and UNKNOWN_APP_ID. r=sicking 2012-07-18 21:25:19 -07:00
Ed Morley
bb507d18ac Backout ea6db8f420c0 (bug 770831), b51c79ee0883 (bug 774957), 020f6ed5958b (bug 758258), 11d8e19e1fca (bug 758258), 707fc51bfe2e (bug 775354), 489d944a6fe6 (bug 327244), be7df3c9d50f (bug 327244) for m-oth orange 2012-07-19 08:29:48 +01:00
Mounir Lamouri
147b74c44a Bug 758258 - Part 2 - Add GetExtendedOrigin(), NO_APP_ID and UNKNOWN_APP_ID. r=sicking 2012-07-18 21:25:19 -07:00
Ed Morley
a2bf606a9d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-18 13:32:24 +01:00
Ms2ger
8e6fe375ab Bug 579638 - Reinstate Range.intersectsNode; r=smaug 2012-07-18 12:36:08 +02:00
Ehsan Akhgari
f6b0fa0481 Bug 774556 - Remove nsIDOMWindowPerformance* XPCOM interfaces; r=bzbarsky 2012-07-16 22:44:22 -04:00
Justin Lebar
1a8eb2a46c 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
Fabrice Desré
ee4a6af8e2 Bug 772363 - Implement installation API for packaged apps [r=vingtetun] 2012-07-11 08:38:33 -07:00
Mounir Lamouri
b87b2782d5 Bug 770832 - Add 'localeId' to WebApps registry. r=fabrice 2012-07-09 12:25:41 +02:00
Emmanuele Bassi
06a1c689ee Bug 762303 - Unprefix CSS Transition properties and provide temporary aliases for -moz-transition and exposed subproperties. r=dbaron 2012-07-08 21:25:10 -04:00
Emmanuele Bassi
98c084c55f Bug 762302 - Unprefix CSS Animation properties and @keyframes rule and provide temporary aliases for -moz-animation and exposed subproperties. r=dbaron 2012-07-08 21:25:10 -04:00
Daniel Holbert
b3030a87b0 Bug 696253, patch 8: implement parsing/computation for CSS shorthand property 'flex'. r=dbaron 2012-07-06 17:06:23 -07:00
Daniel Holbert
b8243ce2a2 Bug 696253, patch 7: implement parsing/computation for CSS property 'flex-basis'. r=dbaron 2012-07-06 17:06:23 -07:00
Daniel Holbert
240b1f795a Bug 696253, patch 6: implement parsing/computation for CSS properties 'flex-grow' and 'flex-shrink'. r=dbaron 2012-07-06 17:06:22 -07:00
Daniel Holbert
31ad14ad8d Bug 696253, patch 5: implement parsing/computation for CSS property 'align-self'. r=dbaron 2012-07-06 17:06:21 -07:00
Daniel Holbert
b95bbf1e06 Bug 696253, patch 4: implement parsing/computation for CSS property 'align-items'. r=dbaron 2012-07-06 17:06:21 -07:00
Daniel Holbert
be5b7b1e6b Bug 696253, patch 3: implement parsing/computation for CSS property 'flex-direction'. r=dbaron 2012-07-06 17:06:20 -07:00
Daniel Holbert
ddeaa7a0d3 Bug 696253, patch 2: implement parsing/computation for CSS property 'order'. r=dbaron 2012-07-06 17:06:19 -07:00
Daniel Holbert
d71777623e Bug 696253, patch 1: implement parsing/computation for CSS property 'justify-content'. r=dbaron 2012-07-06 17:06:19 -07:00
Masayuki Nakano
7ac1e9bb32 Bug 769190 part.1 Rename Scroll and Win to ScrollLock and OS for the argument of getModifierState() r=smaug, sr=jst 2012-07-06 09:42:05 +09:00
Ehsan Akhgari
79b4ec6fdf Merge mozilla-central into mozilla-inbound 2012-07-05 11:13:45 -04:00
Mounir Lamouri
c84d60f166 Bug 769571 - Unprefix Vibrator API. r=jlebar sr=smaug 2012-07-05 12:04:45 +02:00
Mounir Lamouri
c0c5b1a1f3 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
16dc6731cb 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
eaae5e727b 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
1891be27db 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
3af7244f4b 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
Gregor Wagner
f9a398b235 Bug 769245 - Contacts API: Add ContactEmail Type. r=sicking 2012-07-03 11:00:53 -07:00
Ed Morley
9a14c15f43 Backout e29885f8f290 (bug 769245) for M3 failures 2012-07-03 18:15:45 +01:00
Gregor Wagner
6900c6e7e5 Bug 769245 - Contacts API: Add ContactEmail Type. r=sicking 2012-07-03 09:34:22 -07:00
Fabrice Desré
9bc82b5cb5 Bug 755245 - Implement System Message Handler : Part 2, Add a getApp() method to nsGlobalWindow [r=mounir] 2012-07-02 17:16:55 -07:00
Ms2ger
ee0dec95b8 Bug 745523 - Part b: Unprefix transforms; r=dbaron
This patch introduces unprefixed 'transform', 'transform-origin', 'perspective',
'perspective-origin', 'transform-style' and 'backface-visibility' properties, and
updates the mochitests in layout/style to use them.
2012-07-02 08:23:54 +02:00
Ms2ger
aae562ed57 Merge m-c to m-i. 2012-06-30 14:50:23 +02:00
Kyle Huey
d3b6b42885 Bug 726378: Unprefix IndexedDB. r=sicking 2012-06-29 09:48:35 -07:00
Trevor Saunders
e1169a2685 bug 683855 implement width and height attributes for html inputs r=bz 2012-06-27 01:17:31 -04:00
Felipe Gomes
a54e4e432d Bug 768276. Part 3 - Implement mozApps.getNotInstalled. r=jst 2012-06-29 13:46:21 -07:00
Peter Van der Beken
52a7369c47 Fix for bug 762652 (Add the new DOM bindings API to CanvasRenderingContext2D). r=bz. 2012-06-13 17:14:15 +02:00
Bonnie Surender
6dcaba353f Fixing bug 715041. Add support for Idle API. r=bent, jst 2012-06-29 01:32:21 -07:00
Matt Brubeck
250881f221 Back out 438c192e561b and d6f341e77b68 (bug 762652, bug 762654) on suspicion of breaking Windows PGO tests 2012-06-27 16:24:53 -07:00
Peter Van der Beken
61a79011e0 Fix for bug 762652 (Add the new DOM bindings API to CanvasRenderingContext2D). r=bz.
--HG--
extra : rebase_source : 8e7a2722aa1fb089baa6c1aa8604dcd0e91c1ff2
2012-06-13 17:14:15 +02:00
Kartikaya Gupta
ed7f268354 Bug 766937 - Add scrollLeftMax/scrollTopMax properties to DOM elements. r=roc 2012-06-26 22:30:14 -07:00
Masayuki Nakano
716e1fb23c Bug 768736 Define constants for system native virtual keys for nsIDOMWindowUtils::SendNativeKeyEvent() r=roc 2012-06-27 11:26:38 +09:00
Justin Lebar
d3330a4d40 Bug 767654 - Fix out-of-date comment in nsIDOMMozBrowserFrame.idl. DONTBUILD r=mounir 2012-06-23 07:53:08 -04:00
Jignesh Kakadiya
72c51b4d5b Bug 765590 - CSSNameSpaceRule.type should be 10, not 0. r=dbaron 2012-06-21 12:58:19 -07:00
Fabrice Desré
d3b1c03e32 Bug 702369 - ensure that web app install caches them into app cache on B2G [r=jonas,vingtetun,felipe] 2012-06-11 11:41:46 -07:00
Peter Van der Beken
b02a1ce6f4 Fix for bug 762657 (Fix canvas tests and drop support for fake ImageData in putImageData to comply with spec). r=Ms2ger. 2012-05-25 16:27:18 +02:00
Gregor Wagner
690cbd60df Bug 764682 - Implement wifi events in c++. r=smaug 2012-06-16 11:14:12 -07:00
Fabrice Desré
e703351031 Bug 761729 - Either implement mozIDOMApplicationEvent in C++, or make WebApps use CustomEvent [r=smaug] 2012-06-14 16:03:55 -07:00
Jim Mathies
d0b684c0ba Bug 764355 - Add a new edge swipe simple gesture and add a click count value to existing tap gestures for Win8. r=felipe 2012-06-14 12:40:12 -05:00
Gregor Wagner
b8dd529aa2 Bug 764667 - Implement ContactChangeEvent in C++. r=smaug 2012-06-14 10:13:12 -07:00
Peter Van der Beken
794b8397b5 Fix for bug 734503 (Add new DOM binding for TouchList). r=jst.
--HG--
extra : rebase_source : 332bf497cd68c9ea5c8a443c64c2884d4e18d2ea
2012-05-03 19:01:49 +02:00
Masatoshi Kimura
5e1cdc109a Bug 743888 - Part 1: Remove SVGException and XPathException. r=jonas 2012-06-13 21:12:37 -04:00
Scott Johnson
d4d53d2412 Bug 733614: Backout changes from bug 695222 for mozilla 16 branch [r=dbaron]. 2012-06-13 11:00:56 -05:00
Justin Lebar
13518ec124 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
Phil Ringnalda
f14d72dae8 Back out 3eded0507a6e (bug 702369) for mochitest-chrome bustage on a CLOSED TREE 2012-06-11 15:57:56 -07:00
Fabrice Desré
31b95880b1 Bug 702369 - ensure that web app install caches them into app cache on B2G [r=jonas,vingtetun] 2012-06-11 11:41:46 -07:00
Doug Turner
346de6afda Bug 758273 - Device Storage - enumeration option to filter based on last modification date. r=smaug 2012-06-10 22:50:44 -07:00
Olli Pettay
94414ed431 Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
Doug Turner
8934eee23b Backed out changeset 401edab3831f - Bug 758273.
--HG--
extra : rebase_source : 8ce201cd3fe6a2d6405be2548927f65dab5cbb39
2012-06-08 21:33:16 -07:00
Doug Turner
24e6e84abb Bug 758273 - Device Storage - enumeration option to filter based on last modification date. r=smaug 2012-06-08 20:15:04 -07:00
Mounir Lamouri
5b981afc86 Bug 762092 - Remove MPL 1.1 boilerplate from meter-related files. rs=Ms2ger 2012-06-07 20:47:44 +02:00
Mounir Lamouri
f40c8a09fa 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
Gregor Wagner
e5425e2401 Bug 757614 - Settings API: allow to observe a single setting. r=sicking 2012-06-07 14:23:55 -07:00
Ed Morley
13b33a03ed Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-07 10:32:36 +01:00
Olli Pettay
0771efa747 Bug 762007 - mozIDOMApplication* interfaces shouldn't inherit builtinclass interfaces, r=fabrice
--HG--
extra : rebase_source : 8d5a71cde92635ee84ec022f3edddc19156f6bc8
2012-06-06 19:42:54 +03:00
Olli Pettay
8a62837fdb Bug 761621 - interfaces inheriting a builtinclass-interface should be builtinclass too, r=khuey
--HG--
extra : rebase_source : 5b3379e0c8263846177aa7854547b3809f4b0109
2012-06-06 19:30:58 +03:00
Mounir Lamouri
65040cbb94 Bug 760848 - Make select.size reflection follow the specifications. r=smaug 2012-06-07 01:27:53 +02:00
Laurent Dulary
7b00eb233d 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
fd086e43bf Bug 591467 - Implement HTML5 Microdata API r=bz 2012-06-04 16:49:57 -07:00
Jan Varga
f5f6531fb7 Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02:00
Fabrice Desré
e1c9758dde Bug 723206 - Constructors implemented in JS from IDL should be allowed to have arguments [r=mrbkap] 2012-06-01 14:40:14 -07:00
Gregor Wagner
a3345160be Bug 751052 - Contacts: Support SIM contacts synchronization. r=sicking 2012-06-01 10:07:07 -07:00
Robert Longson
a690ae42ab Bug 759124 - Implement useCurrentView. r=dholbert 2012-05-31 11:39:12 +01:00
L. David Baron
1cfabfe8f6 Unprefix the border-image-* properties and add a temporary alias for -moz-border-image (but not for its subproperties, which we haven't shipped prefixed). (Bug 713643, patch 5) r=bzbarsky 2012-05-30 22:19:49 -07:00
Gervase Markham
638c878b13 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Olli Pettay
21a0239f65 Bug 758401 - Add a way to get message manager from docshell, r=jst 2012-05-28 12:27:25 +03:00
Josh Matthews
a913bc7bf5 Bug 722857 - Determine private browsing status for DOMStorage from owning docshell if available, and receive updates if its privacy status changes. r=mayhemer 2012-05-26 09:37:58 +01:00
Ed Morley
f02fdecdaf Backout 70cde80fa095 & 5a903d496ab0 (bug 722857) for crashes in 646184.html 2012-05-25 12:51:32 +01:00
Josh Matthews
21239cef76 Bug 722857 - Determine private browsing status for DOMStorage from owning docshell if available, and receive updates if its privacy status changes. r=mayhemer 2012-05-25 12:20:31 +01:00
Ms2ger
2d6f04146c Merge m-c to m-i. 2012-05-25 11:15:32 +02:00
Ms2ger
e4489d38a1 Bug 756066 - Make StorageEventInit.key nullable; r=mayhemer 2012-05-25 09:18:31 +02:00
Kartikaya Gupta
132e18cafc Bug 748384 - Propagate the page bounds in via browser.js. r=Cwiiis,mats 2012-05-23 10:49:59 -04:00
Gregor Wagner
fe8ae7d0bc Bug 755796 - Contacts API: multiple sorting fields. r=fabrice 2012-05-23 16:58:47 -07:00
Ehsan Akhgari
375277f4b6 Merge mozilla-central into mozilla-inbound on a CLOSED TREE 2012-05-23 17:31:12 -04:00
Benoit Jacob
e81c3b2e13 Bug 757526 - Use stdint instead of PRInt types in WebGL implementation - r=Ms2ger 2012-05-23 12:07:01 -04:00
Olli Pettay
3a99713780 Bug 749920 - Unprefix MozMutationObserver and add a warning about use of mutation events, r=sicking 2012-05-23 13:45:14 +03:00
Doug Turner
f4e1e809f4 Bug 717103 - Implement Device Storage. r=sicking 2012-05-21 09:18:30 -07:00
Justin Lebar
d6e5466d4e Bug 754997 - For <iframe mozbrowser>, override window.{top,parent,frameElement} in C++. r=bz
--HG--
extra : rebase_source : 66d2ef018234eaa71e49d927eefdd3a8aa01bb41
2012-05-23 11:27:10 -04:00
Kartikaya Gupta
04a457fab1 Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage 2012-05-23 11:08:19 -04:00
Kartikaya Gupta
a17147cd57 Bug 748384 - Propagate the page bounds in via browser.js. r=Cwiiis,mats 2012-05-23 10:49:59 -04:00
Ed Morley
7bdae23f76 Backout 027ed1748c81 (bug 740485) for M3 orange 2012-05-21 19:36:43 +01:00
Doug Turner
23116ffc7c Bug 740485 - Implement Device Storage. r=sicking 2012-05-21 09:18:30 -07:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Robert Longson
165f6890cf Bug 528332 - Implement non-scaling-stroke vector-effect. Part 1 - style system changes r=dbaron 2012-05-18 09:33:40 +01:00
Robert Longson
a067109b15 Bug 512525 - Implement SVG Fragment Identifier parsing and animation hyperlinking - Part 2 main implementation. r=jwatt 2012-05-17 11:02:41 +01:00
Masayuki Nakano
44dee2b0b0 Bug 447757 part.4 Clean up modifier keycode mapping on GTK r=karlt, sr=smaug 2012-05-17 16:04:16 +09:00
Masayuki Nakano
027002988f Bug 677252 part.2 Add Eisu keycode for Japanese keyboard layout of Mac r=smichaud, sr=smaug 2012-05-17 16:04:16 +09:00
Masayuki Nakano
63bc2c9262 Bug 630810 part.1 Should convert from native keycode to DOM keycode for every keys on Windows r=smaug+jimm, sr=roc 2012-05-17 16:04:16 +09:00
Doug Turner
8313ba6d13 Bug 751663 - Implement new device proximity like event that fires only when the screen is close to the user's face. r=smaug 2012-05-16 13:27:54 -07:00
Mounir Lamouri
f8a14d2a40 Bug 754141 (3/4) - Get the application object from an AppsService based on the manifest URL and save it on the window object. r=fabrice,jlebar 2012-05-16 12:40:47 +02:00
Mounir Lamouri
c98b0f25fc Bug 754141 (2/4) - Add a SetApp() method that takes the manifest URL value. r=jlebar 2012-05-16 12:40:09 +02:00
Justin Lebar
f31dc2cbab Bug 754997 - Followup to remove .orig file. r=me DONTBUILD
--HG--
extra : rebase_source : 49c9832bc0cbecf229bcd8deeb8d4b78297b039f
2012-05-24 13:14:32 -04:00
Paul Adenot
f814bb5630 Bug 449363 - Support media attribute of <source> elements. r=cpearce,bz 2012-05-15 08:56:51 -04:00
Gregor Wagner
a5e0c8d934 Bug 746066 - Contacts API: Add v1 and v2 fields. r=fabrice,sicking 2012-05-10 21:51:48 -07:00
Mounir Lamouri
18041509b8 Bug 753978 - Be able to know if a window is part of an application. r=jlebar 2012-05-10 17:56:21 -07:00
Gregor Wagner
828b0d93d4 Bug 750768 - Contacts API: add DB modification event. r=fabrice 2012-05-08 11:42:41 -07:00
Jon Buckley
f4f2e1efb0 Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00
Ed Morley
8a8e40fff3 Backout ba7cf6fd10ae (bug 728017) for failing to compile 2012-05-08 18:50:45 +01:00
Jon Buckley
56d33b746c Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00
Makoto Kato
6bbd48cb4a Bug 249159 - Part 2 Implement CSS3 Text word-break property. r=dbaron, smontagu 2012-05-07 12:18:23 -07:00
Ms2ger
25be92c77d Bug 732708 - Part d: Remove StorageEventObsolete, NS_NewDOMStorage; r=mayhemer 2012-05-05 11:00:05 +02:00
Boris Zbarsky
ab17ec6502 Bug 745897. Add the new DOM bindings APIs to WebGLContext. r=bjacob
This adds APIs suitable for calling from the new DOM bindings to WebGLContext and makes the XPCOM
versions of the WebGL context API call through to the new-binding versions.
2012-05-04 12:38:44 -04:00
Doug Turner
9eaa2d7486 Bug 738465 - implement device light sensor. r=smaug 2012-05-02 09:43:45 -07:00
Doug Turner
f158836867 Bug 738131 - implement device proximity. r=smaug
* * *
Bug 738131 - implement device proximity. gonk implementation. r=mwu
2012-05-02 09:43:45 -07:00
Ed Morley
2d35fc9b56 Merge mozilla-central to mozilla-inbound 2012-05-03 20:13:41 +01:00
Olli Pettay
f6017848af Bug 751286 - eventPhase NONE constant, r=sicking 2012-05-03 13:59:51 +03:00
Paul ADENOT
d674bb8057 Bug 462959 - Implement nsIDOMHTMLMediaElement::GetPlayed(). r=cpearce, kinetik 2012-04-30 20:29:24 -04:00
Robert O'Callahan
54a29c01d8 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
135656e0c4 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
70eca6f58d Bug 480376 - Implement mozHasAudio to indicate when there's no audio track available. r=cpearce 2012-04-28 11:01:10 -04:00
Gregor Wagner
8785ab0303 Bug 743336 - Settings API: Add service. r=fabrice 2012-04-27 16:21:31 -07:00
Gijs Kruitbosch
bdf19a4af3 Bug 539095 - Expose high-res timers to web content (performance.now()). r=bz, sr=smaug
--HG--
extra : transplant_source : o%9F%061%D4%B5%7D%5C%FB%95%5D%16%27%DEKU%EC%21%3AR
2012-04-27 09:22:06 +02:00
Masayuki Nakano
0a7ff20ae3 Bug 166240 part.8 Add tests for KeyboardEvent.location (synthesized events) r=smaug, sr=jst 2012-05-03 17:35:02 +09:00
Masayuki Nakano
1ecd4d10e9 Bug 166240 part.1 Add D3E KeyboardEvent.location r=smaug, sr=jst 2012-05-03 17:35:01 +09:00
Ehsan Akhgari
55fc171cde Merge the last green PGO changeset from mozilla-inbound to mozilla-central 2012-04-25 10:06:04 -04:00
Ms2ger
af9b9b29cb Bug 731832 - Backout bug 587021 for breaking a specific web page; r=bz 2012-04-24 21:04:37 +02:00
Matthew Schranz
d4f85eab49 Bug 686913 - HTMLProgressElement should no longer be a form control. r=mounir a=mfinkle 2012-04-24 12:03:21 +02:00
Joe Drew
3019e4b61c Backout 492d12fa8b65 (bug 732016) for regressions. a=regression
--HG--
extra : rebase_source : cda0401baa2c3e5f6192f76c1cd25eca8187a9a0
2012-04-23 11:13:33 -07:00
Masayuki Nakano
eab74edd47 Bug 630811 part.7 Add getModifierState() to DOM KeyboardEvent and DOM MouseEvent r=smaug, sr=jst 2012-04-25 12:00:02 +09:00
Masayuki Nakano
cea6824fb9 Bug 630811 part.3 Improve nsDOMWindowUtils::send*Event() for new modifiers r=smaug 2012-04-25 12:00:02 +09:00
Masayuki Nakano
faa22dcf29 Bug 731878 part.2 Implement D3E MouseEvent.buttons attribute r=smaug, sr=jst 2012-04-25 12:00:01 +09:00
Timothy Nikkel
b9a7468478 Bug 732016 Allow override of the scroll port size used for clamping scroll positions. r=roc 2012-04-24 13:52:35 -05:00
Boris Zbarsky
224115946f Bug 742217. Reduce the use of nested namespaces in our binding code. r=peterv,bent
In the new setup, all per-interface DOM binding files are exported into
mozilla/dom.  General files not specific to an interface are also exported into
mozilla/dom.

In terms of namespaces, most things now live in mozilla::dom.  Each interface
Foo that has generated code has a mozilla::dom::FooBinding namespace for said
generated code (and possibly a mozilla::bindings::FooBinding_workers if there's
separate codegen for workers).

IDL enums are a bit weird: since the name of the enum and the names of its
entries all end up in the same namespace, we still generate a C++ namespace
with the name of the IDL enum type with "Values" appended to it, with a
::valuelist inside for the actual C++ enum.  We then typedef
EnumFooValues::valuelist to EnumFoo.  That makes it a bit more difficult to
refer to the values, but means that values from different enums don't collide
with each other.

The enums with the proto and constructor IDs in them now live under the
mozilla::dom::prototypes and mozilla::dom::constructors namespaces respectively.
Again, this lets us deal sanely with the whole "enum value names are flattened
into the namespace the enum is in" deal.

The main benefit of this setup (and the reason "Binding" got appended to the
per-interface namespaces) is that this way "using mozilla::dom" should Just
Work for consumers and still allow C++ code to sanely use the IDL interface
names for concrete classes, which is fairly desirable.

--HG--
rename : dom/bindings/Utils.cpp => dom/bindings/BindingUtils.cpp
rename : dom/bindings/Utils.h => dom/bindings/BindingUtils.h
2012-05-03 00:35:38 -04:00
Tom Schuster
0fe26d128c Bug 711843 - Update JSAPI for typed arrays, remove uses of jstypedarray.h outside the engine [r=Waldo,bz,Ms2ger,bholley,bjacob,philikon,evilpie,bent,yourmama] [a=mfinkle thanks to gkw] 2012-01-14 09:43:00 -08:00
Ryan VanderMeulen
748a97a1ee Back out 149a80dafcb8 (bug 686913) due to build failures. a=YUNoTry? 2012-04-21 17:48:31 -04:00
Matthew Schranz
6d3d2ebee0 Bug 686913 - HTMLProgressElement and HTMLMeterElement should not be form controls. r=mounir, a=mfinkle 2012-04-21 17:35:42 -04:00
Timothy Nikkel
e472248f52 Bug 732016 Allow override of the scroll port size used for clamping scroll positions. r=roc 2012-04-19 20:54:54 -05:00
Olli Pettay
2547761e2e Bug 731875 - Geolocation doorhanger might cause a zombie compartment, GeoPositionOptions part, r=dougt 2012-04-16 22:08:48 +03:00
Ms2ger
f9cec820ad Bug 732708 - Part b: Devirtualize BroadcastChangeNotification and remove a dead implementation; r=honzab 2012-04-14 15:06:30 +02:00
Ms2ger
b8ae2456b2 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
4baa902d14 Bug 743573 - Fix a number of build warnings in dom/; r=volkmar 2012-04-14 15:09:47 +02:00
Ms2ger
82c52d6ef5 Bug 732708 - Part b: Devirtualize BroadcastChangeNotification and remove a dead implementation; r=honzab 2012-04-14 15:06:30 +02:00
Mark Finkle
06836e9d32 Bug 737050 - Add support for the WEBAPP intent r=blassey r=bnicholson r=gavin 2012-04-13 22:45:25 -04:00
Gregory Szorc
24ce7aadaf Merge mozilla-central into inbound 2012-04-11 18:51:10 -07:00
Olli Pettay
9e236a1d43 Bug 742482 - Add support for MutationObserver.takeRecords(), r=sicking 2012-04-11 08:24:18 +03:00
David Humphrey (:humph)
5f9892f336 Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc,smaug 2012-04-11 17:55:21 -04:00
Aryeh Gregor
ce926d8719 Bug 742261 - Remove useless queryCommandText/execCommandShowHelp methods; r=ehsan 2012-04-04 15:30:33 +03:00
Boris Zbarsky
a25922d009 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
Brad Lassey
d0e11c8d01 backout b51259905d85 because it needs sr 2012-04-05 02:02:52 -04:00
Brad Lassey
4a02ab3916 bug 738528 - still photo support for getUserMedia r=dougt 2012-04-04 23:32:38 -04:00
Nathan Froyd
648b4d2f3d Bug 732708 - remove nsIDOMStorageList; r=honzab 2012-03-28 12:33:41 -04:00
Kan-Ru Chen
bcddd7d2c9 Bug 710135 - Move screen.enabled/brightness to mozPower. r=jlebar,mounir sr=cjones,sicking 2012-04-03 01:51:00 -04:00
Ms2ger
baf72711e7 Bug 740771 - Stringify null for Storage.getItem/setItem/removeItem; r=mayhemer 2012-04-03 09:25:39 +02:00
Gregor Wagner
bee86ad93d Bug 734198 - Contacts API: Add Sorting. r=bent 2012-04-02 16:39:57 -07: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
Ed Morley
c7a3740e33 Merge mozilla-central to mozilla-inbound 2012-03-31 15:28:55 +01:00
Peter Van der Beken
09128a75d3 Fix for bug 740069 (Generate JS bindings in C++ with a python script for DOM objects on the main thread and in workers. Infrastructure and new bindings for XMLHttpRequest). Patch by bent/bz/bholley/jst/khuey/peterv, r=bent/bz/bholley/jlebar/khuey/peterv/sicking/smaug.
--HG--
rename : js/xpconnect/tests/mochitest/test_bug462428.html => dom/bindings/test/test_lookupGetter.html
2012-03-30 21:42:20 -07:00
Mounir Lamouri
d8342fc658 Bug 740188 - Screen Orientation API locking (1/3): DOM/HAL boilerplate. r=smaug sr=sicking 2012-03-29 12:43:16 -07:00
Ms2ger
a7ad2e10a7 Bug 738647 - DOMStorageImpl::GetKey shouldn't throw; r=honzab 2012-03-29 23:09:09 +02:00
Phil Ringnalda
b4da60b42d Back out 0cb85ff0f764 (bug 738568), 9949bb092303 (bug 730209), 095fd525afa7 (bug 729924), dcf8929a8115 (bug 633602) because of widely scattered and unclear bustage on a CLOSED TREE 2012-03-28 22:37:46 -07:00
David Humphrey
03dc4eeeee Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc, smaug 2012-03-28 21:00:14 -04:00
Justin Lebar
3be96b596d Bug 736688 - Part 5: Remove window.{top,parent,frameElement} mozbrowser changes in nsGlobalWindow (undoes changes from bug 725796). r=smaug
--HG--
extra : rebase_source : fdeccb7e995229cdbc6ebd945109fe8441f9f525
2012-03-28 11:36:49 -07:00
Jared Wein
642a4f48c0 Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-28 08:53:56 -07:00
Jared Wein
e34baf2131 Backed out changeset 8e42ba558f07 (bug 730318) CLOSED TREE 2012-03-27 15:23:53 -07:00
Matt Brubeck
fbe5dd5a57 Bug 743325 - Back out 554ab0a2f470 (bug 734503) because it broke touch events in XUL Fennec [r=peterv] 2012-04-24 07:51:56 -07:00
Jared Wein
5c1c03e064 Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-27 13:50:50 -07:00
Gregor Wagner
746c6fda8d Bug 678695 - Settings API. r=sicking, fabrice, smaug 2012-03-26 14:49:38 -07:00
Diogo Golovanevsky Monteiro
5b721c04cf Bug 735031 - Make Fullscreen API work with DOMElements rather than only HTML Elements. r=cpearce,smaug 2012-03-24 17:37:04 +13:00
Jared Wein
4920fd9f8d Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage 2012-03-23 11:46:12 -07:00
Marco Bonardo
d525c9e71e Merge last green PGO from inbound to central 2012-03-23 12:49:57 +01:00
Jared Wein
589f9135f9 Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-22 13:53:59 -07:00
Masayuki Nakano
445d98cb9e Bug 672175 part.16 Implement nsIWidget::SynthesizeNativeMouseScrollEvent() on Windows r=jimm 2012-03-22 09:59:12 +09:00
Masayuki Nakano
6ca839eb6c Bug 672175 part.15 Add new API nsIDOMWindowUtils.sendNativeMouseScrollEvent() r=roc, sr=smaug 2012-03-22 09:59:12 +09:00
Ms2ger
16bb75fefb Bug 736752 - Compartment mismatch in JetPack 'test-content-proxy.testTypedArrays', r=bholley 2012-03-20 13:57:00 -07:00
Neil Deakin
6c9d8bc0e7 Bug 605991, prevent drops on a parent content page from a child frame from a different domain, r=smaug 2012-03-20 11:21:41 -04:00
Mounir Lamouri
e1b61ee6bf Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking 2012-03-14 11:10:48 +01:00
Mark Finkle
2f256bcc57 Backout 7e28d1a2c648, 330b210f503d, 2421d39e0ab3, aa978ffa44bc, 38a71ae7e06d, b94319584a7a, 7e8278f5e814, 0b4e3c7608ab, 329c07609ca8, 0d61a0d8dba4, Due to Ts regression on Android 2012-03-17 21:51:39 -04:00
Mounir Lamouri
db3fd2663b Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking 2012-03-14 11:10:48 +01:00
Ms2ger
a494664e3f Bug 722154 - Part f: Remove custom quickstubs for vertexAttrib[1-4]fv; r=bjacob 2012-03-16 10:53:41 +01:00
Ms2ger
3456d2d5e4 Bug 722154 - Part e: Remove custom quickstubs for uniform[1-4][i,f]v and uniformMatrix[2-4]fv; r=bjacob 2012-03-16 10:52:42 +01:00
Ms2ger
d5d2b74974 Bug 722154 - Part d: Remove custom quickstub for readPixels; r=bjacob 2012-03-16 10:50:51 +01:00
Ms2ger
58d4fde71b Bug 722154 - Part c: Remove custom quickstubs for compressedTexImage2D and compressedTexSubImage2D; r=bjacob 2012-03-16 10:50:33 +01:00
Ms2ger
3850828e22 Bug 722154 - Part b: Remove custom quickstub for bufferSubData; r=bjacob 2012-03-16 10:50:18 +01:00
Ms2ger
b3ff1e4405 Bug 722154 - Part a: Remove custom quickstub for bufferData; r=bjacob 2012-03-16 10:50:00 +01:00
Ms2ger
090a26ea3d Bug 550309 - Part e: Remove custom quickstub for getImageData and return an actual ImageData; r=bz 2012-03-16 10:48:55 +01:00
Ms2ger
7ea9d494ee Bug 550309 - Part c: Implement ImageData; r=bz 2012-03-16 10:44:08 +01:00