Boris Zbarsky
fa578d8179
Bug 803129. Convert DOMStringMap to WebIDL. r=peterv
2012-11-05 11:58:03 -05:00
Justin Lebar
c001680f59
Backed out changeset a6a847452dbf (bug 802366)
2012-10-30 21:36:29 -04:00
Justin Lebar
df1f088009
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
b6d3d98908
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
5dde530864
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
0e375de354
Bug 805301 - Rename iframe.mozallowfullscreen to allowfullscreen. r=jlebar
2012-10-30 11:02:24 +13:00
Peter Van der Beken
e86cd8818c
Fix for bug 801083 (Remove old proxy-based list bindings). r=bz.
2012-10-13 14:50:24 +02:00
Kyle Huey
1b7f932c6e
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
0159561890
Bug 799905 - .URL and .compatMode should be defined on Document, not HTMLDocument; r=bz
2012-10-11 14:48:31 +02:00
Ms2ger
593776c335
Bug 795610 - Part f: Prepare HTMLElement.innerHTML for WebIDL bindings; r=mounir
2012-10-06 09:19:52 +02:00
Ms2ger
78b0b4db97
Bug 795610 - Part e: Prepare HTMLElement.focus() for WebIDL bindings; r=mounir
2012-10-06 09:19:52 +02:00
Ms2ger
a1e441d39c
Bug 795610 - Part d: Prepare HTMLElement.click() for WebIDL bindings; r=mounir
2012-10-06 09:19:52 +02:00
Robert O'Callahan
dabf591389
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
73a519e185
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
3de0423419
Bug 601912. Implement <ol reversed>. r=dholbert
2012-09-07 22:30:24 -04:00
Brendan Dahl
e5b3162f1a
Bug 745025 - Part 1 - Adds mozPrintCallback for canvas. r=smaug
2012-08-31 10:45:45 -07:00
Boris Zbarsky
8597074ce2
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
d78f231cff
Bug 746142 - Part 1 - Add inputmode attribute to HTMLInputElement. r=mounir sr=smaug
2012-08-17 11:53:44 +02:00
Nathan Froyd
4c779437cc
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
8c296bbcd4
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ian Melven
915cb4516e
Bug 341604 - Implement HTML5 sandbox attribute for IFRAMEs r=smaug r=jst
2012-08-20 11:34:32 -07:00
Ed Morley
7435db4163
Backout 506268f7735e & ea163112807d (bug 746142) for Android build failures
2012-08-17 12:30:02 +01:00
Zoe Bellot
92b9e29b2d
Bug 746142 - Part 1 - Add inputmode attribute to HTMLInputElement. r=mounir sr=smaug
2012-08-17 11:53:44 +02:00
Mike Hommey
c1b35e7b2a
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02: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
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
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
Trevor Saunders
e1169a2685
bug 683855 implement width and height attributes for html inputs r=bz
2012-06-27 01:17:31 -04: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
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
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
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
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Paul Adenot
f814bb5630
Bug 449363 - Support media attribute of <source> elements. r=cpearce,bz
2012-05-15 08:56:51 -04: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
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
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
David Humphrey (:humph)
5f9892f336
Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc,smaug
2012-04-11 17:55:21 -04:00