Commit Graph

4937 Commits

Author SHA1 Message Date
Ehsan Akhgari
35e9bd1fe7 Fix the places where we forward declare mozilla::dom::Nullable as a class, no bug, r=I'm-sick-and-tired-of-MSVC-stupidity 2014-06-17 11:03:42 -04:00
Carsten "Tomcat" Book
f72b2aa35a merge fx-team to mozilla-central a=merge 2014-06-17 14:09:46 +02:00
Olli Pettay
837c622779 Bug 902618 - Parser notifies about subtree roots, but not their descendants, r=hsivonen,bz 2014-06-17 02:01:22 +03:00
Gijs Kruitbosch
a774e2ed55 Bug 1022025, r=bholley,mfinkle 2014-06-14 22:01:55 +01:00
Giovanni Sferro
4f5b08d3ab Bug 597650 - Label controls don't apply to input controls with type="hidden". r=smaug 2014-06-09 21:51:00 -04:00
Karl Tomlinson
979579bad3 b=1023697 use MediaStream to convert stream time to seconds in HTMLMediaElement r=roc
--HG--
extra : transplant_source : %7D%AF%00%8F%0F4%E3%3C.%F7%E2%92%BA%CB%92%0E/%19%CFM
2014-06-12 16:44:57 +12:00
Boris Zbarsky
b6c8784504 Bug 1009675 part 3. Return WebIDL 'object' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Boris Zbarsky
1284410aa0 Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
"Kan-Ru Chen (陳侃如)"
0896e79e4f Bug 879475 - Part 005. Implement ContentBridge r=jlebar
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:13 +08:00
William Chen
ed34839e51 Bug 992521 - Part 3: Make script run when not in document, but contained by a ShadowRoot with a host in document. r=smaug 2014-06-07 01:42:54 -07:00
Ehsan Akhgari
d0ca596588 Bug 1013662 - Fix bad implicit conversion constructors in MFBT; r=froydnj,Waldo 2014-06-06 23:17:06 -04:00
Gijs Kruitbosch
6534eb8910 Bug 1021969 - fix bustage on a CLOSED TREE rs=firebot 2014-06-07 00:11:03 +01:00
Gijs Kruitbosch
b75fbd4b78 Bug 1021969, r=bholley,jaws
--HG--
extra : rebase_source : f8bc835a5bfcd62e1d59b31d75841d1cc6339634
2014-06-06 17:33:50 +01:00
Chris Pearce
a6aa98ac0e Bug 1016162 - Base EME DOM APIs, not connected to a CDM yet. r=bz 2014-06-07 08:52:15 +12:00
Brian Nicholson
c5f1180f79 Bug 1020440 - Create DOM interfaces and stub for requestAutocomplete. r=smaug,MattN 2014-06-06 13:06:15 -07:00
Hallvord R. M. Steen
2652eea04b Bug 377413 - Add a regression test for the named getter on form elements; r=Ms2ger 2014-06-06 10:06:27 +02:00
Matthew Noorenberghe
3f3576d915 Bug 1009935 - Tests - Implement the @autocomplete attribute for values other than off/on. r=smaug 2014-06-06 00:25:08 -07:00
Matthew Noorenberghe
5a86849d06 Bug 1009935 - Implement the @autocomplete attribute for values other than off/on. r=smaug 2014-06-06 00:25:02 -07:00
John Daggett
3b6d3045d3 Bug 280443 p2 - parse font family lists into fontlist structs. r=heycam 2014-06-06 15:09:23 +09:00
Gabor Krizsanits
1eaf3d1ccc Bug 1019319 - part 2: Import as link type should be prefed. r=mrbkap 2014-06-05 14:46:56 +02:00
William Chen
cbf53ad0d6 Bug 1017896 - Ensure there is a template contents owner when creating template elements. r=bz 2014-06-04 14:47:31 -07:00
Carsten "Tomcat" Book
2903e0bb47 Backed out changeset c15e59678a60 (bug 1017896) for reftest failures 2014-06-04 08:55:59 +02:00
William Chen
3cff255f24 Bug 1017896 - Ensure there is a template contents owner when creating template elements. r=bz 2014-06-03 16:09:41 -07:00
Kyle Huey
081cb57b98 Bug 1019248: Convert ProgressEvent to WebIDL codegen. r=smaug 2014-06-03 15:52:36 -07:00
Kyle Huey
937895df76 Back out bug 1019248 due to test failures. 2014-06-02 20:18:17 -07:00
Kyle Huey
70244d48b8 Bug 1019248: Convert ProgressEvent to WebIDL codegen. r=smaug 2014-06-02 19:02:37 -07:00
Chris Double
69b9628fc0 Bug 1002297 - Seek in unbuffered ranges with MSE - r=kinetik 2014-06-02 22:25:42 +00:00
Tim Taubert
9f16c3f9cb Bug 1012221 - Setting browser.send_pings.max_per_link to -1 should allow for an unlimited number of pings r=jst 2014-05-18 10:06:42 +02:00
Jonathan Watt
0a6de6d1c6 Bug 1016931 - Provide better messages to users for range underflow/overflow of HTML number, date and time inputs. r=smaug 2014-06-02 14:53:56 +01:00
Robert O'Callahan
915297325e Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
Gabor Krizsanits
3dcd10150f Bug 1015576 - fixing performance regression on android. r=mrbkap 2014-06-02 13:28:55 +02:00
Phil Ringnalda
cb35da9c6d Merge f-t to m-c 2014-05-31 20:31:07 -07:00
Victor Porof
928e1cef59 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Ms2ger
8775440177 Bug 741295 - Treat 'id' and 'class' as global attributes for all elements; r=bz 2014-05-30 09:36:53 +02:00
Carsten "Tomcat" Book
5e6bf5aef6 Merge mozilla-central to mozilla-inbound 2014-05-26 15:32:24 +02:00
Carsten "Tomcat" Book
47658629d0 merge b2g-inbound to mozilla-central 2014-05-26 15:26:11 +02:00
Wes Kocher
ba20852950 Merge m-c to b2g-inbound 2014-05-23 17:39:48 -07:00
Vincent Chen
4f8581f3b6 Bug 981477 - Disable B2G emulator reftests that fail oop, r=ahal 2014-05-23 15:56:15 -04:00
Boris Zbarsky
496b8e47f2 Bug 1013316. Implement GetSupportedNames on HTMLAllCollection. r=smaug
This also fixes the GetSupportedNames on nsContentList HTMLCollections to follow the spec.
2014-05-22 00:23:51 -04:00
Rik Cabanier
7d16363b71 Bug 979692 - Calculate hit detection and fill in region parameter to mouse events. r=bz, r=roc 2014-05-20 00:54:00 -04:00
Boris Zbarsky
ab32b94b5d Bug 891952. Named getters for HTMLCollection should never return anything for "". r=smaug 2014-05-22 00:23:51 -04:00
Carsten "Tomcat" Book
1507d6cf86 Backed out changeset 91dad1e50118 (bug 891952) for m1 and m3 test failures on a CLOSED TREE 2014-05-22 08:24:17 +02:00
Carsten "Tomcat" Book
ddf193ed51 Backed out changeset c0cf2e5d7c56 (bug 1013316) 2014-05-22 08:22:30 +02:00
William Chen
5c4b43981d Bug 999271 - Implement web components getDestinationInsertionPoints() extension to Element interface. r=mrbkap 2014-05-21 23:11:53 -07:00
Boris Zbarsky
18526a329e Bug 1013316. Implement GetSupportedNames on HTMLAllCollection. r=smaug
This also fixes the GetSupportedNames on nsContentList HTMLCollections to follow the spec.
2014-05-22 00:23:51 -04:00
Boris Zbarsky
e998368d7b Bug 891952. Named getters for HTMLCollection should never return anything for "". r=smaug 2014-05-22 00:23:51 -04:00
Birunthan Mohanathas
fa0eb27120 Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
e5b0697f13 Bug 869836 - Part 5: Use AssignLiteral instead of Assign where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
53a11ecbdf Bug 869836 - Part 4: Use EqualsLiteral instead of Equals(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:51 +03:00
Ryan VanderMeulen
452e164d8b Merge b2g-inbound to m-c. 2014-05-21 16:17:37 -04:00
Ryan VanderMeulen
2f63b74d07 Backed out changeset d8d0a93e6d54 (bug 981477) and changeset 14713f296ec1 (bug 922680) for frequent B2G crashtest failures.
CLOSED TREE
2014-05-21 15:23:08 -04:00
Gabor Krizsanits
3ddd53889b Bug 877072 - HTML Imports part1. r=mrbkap 2014-05-21 19:08:12 +02:00
Vincent Chen
2193e9e5f1 Bug 981477 - Disable B2G emulator reftests that fail oop, r=ahal 2014-05-21 12:19:54 -04:00
Ryan VanderMeulen
3679eda393 Bug 881443 - Disable test_video_wakelock.html on B2G debug emulator builds. 2014-05-21 10:02:35 -04:00
Tim Taubert
2f60775588 Bug 953360 - Test that <a ping> attribute splits on white space not only space r=jst 2014-05-18 10:34:18 +02:00
Mats Palmgren
29e4d7d512 Bug 508665 - part 1, Change the signature of SetParent/GetParent from nsIFrame* to nsContainerFrame*. r=roc 2014-05-24 22:20:39 +00:00
Jonathan Watt
5dcf597768 Bug 1013936, part 1 - Add various methods to nsIDocument to help determine its type. r=bz 2014-05-24 20:28:48 +01:00
Kyle Huey
941a5ee91b Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
Arnaud Bienner
acb1880b85 Bug 826185 - Remove now useless method in HTMLInputElement. r=jwatt 2014-03-13 15:08:08 +01:00
Boris Zbarsky
ac9dfd670a Bug 985135 - Test that sandboxed origin flag is honoured across redirects. r=bobowen 2014-03-18 17:24:46 -04:00
John Schoenick
ae85a71d20 Bug 870021 - Part 6 - Add getCurrentSrc to HTMLImageElement. r=jst, sr=jst 2014-05-30 13:03:08 -07:00
John Schoenick
4835ecf8b1 Bug 870021 - Part 5.1 - HTMLImageElement responsive-aware overrides for GetNatural{Width,Height}. r=jst 2014-05-30 13:03:06 -07:00
John Schoenick
04aa4ed984 Bug 870021 - Part 4 - Move HTMLImageElement::GetNatural{Height,Width} up to ImageLoadingContent. r=jst 2014-05-30 13:03:06 -07:00
John Schoenick
a597354b1e Bug 870021 - Part 3 - Support basic srcset in HTMLImageElement via ResponsiveSelector. r=jst 2014-05-30 13:03:05 -07:00
John Schoenick
394baa5b51 Bug 870021 - Part 1.3 - Add srcset to HTMLImageElement & atoms. r=jst, sr=jst 2014-05-30 13:03:04 -07:00
Ms2ger
729320d026 Bug 874212 - Move document.all to WebIDL; r=bz
The static jsids in nsDOMClassInfo are newly unused, except for sEnumerate_id,
which was unused before.

This also removes the test_nondomexception.html test, which relied on an
obscure detail of the exception being thrown from document.all; I haven't
found another API which does something equally silly.
2014-05-20 21:52:21 +02:00
Trevor Saunders
c913b8d558 bug 1004746 - part 1 - Remove a bunch of usage of nsAutoPtr's copy ctor r=froydnj 2014-05-07 18:05:37 -04:00
Boris Zbarsky
22db30d2de Bug 996095. All 32-bit integers are valid values for tabindex; don't restrict it to the int16_t range during parsing. r=smaug 2014-05-19 16:37:59 -04:00
Ed Morley
8940524124 Backed out changeset 1f34d528c0f1 (bug 979692) 2014-05-19 15:36:36 +01:00
Rik Cabanier
d16837034a Bug 979692 - Calculate hit detection and fill in region parameter to mouse events. r=roc 2014-05-12 15:52:00 +02:00
Jan Varga
5b11d8b79b Bug 1011510 - Codegen.py: Add EndGuard to enum generation; r=bz 2014-05-16 19:41:31 +02:00
Olli Pettay
e5fc05777e Bug 1009160, don't leak via SVGIFrame.sandbox, r=bz 2014-05-15 12:05:42 +03:00
Nick Lebedev
7d585aca9e Bug 998002 - Rename nsContentUtils::Get{Subject,Object}Principal to nsContentUtils::{Subject,Object}Principal. r=bholley 2014-05-13 11:58:00 +02:00
Olli Pettay
9f2b492364 Bug 1009445 - Support AsyncEventDispatcher on non-node interfaces, r=masayuki 2014-05-14 12:48:37 +03:00
Ryo HIKOSAKA
b5d7248d07 Bug 949435, part 2 - Create a base class of nsGenericHTMLFrameElement and SVGIFrameElement. r=bz 2014-02-18 10:19:52 +09:00
Ryo HIKOSAKA
0fd5238936 Bug 949435, Part 1 - Move nsGenericHTMLElement::GetTokenList to Element. r=bz 2014-02-18 10:12:54 +09:00
Chris Peterson
48e406d8a2 Bug 990764 - Replace MOZ_ASSUME_UNREACHABLE in content. r=smaug 2014-04-20 22:00:33 -07:00
Benoit Jacob
472e4472e0 Bug 1004098 - Make nsTArray use size_t in its interface (32bitness is fine as an internal detail) - r=froydnj, sr=bsmedberg 2014-05-08 21:03:35 -04:00
Giovanni Sferro
aa51d61f09 Bug 1005593 - Test keypress event for numbers on a number control input. r=ehsan 2014-05-07 17:28:00 +02:00
Giovanni Sferro
523b57b309 Bug 942321 - Changing a select option field via javascript updates validity state. r=bz 2014-05-06 19:19:00 +02:00
Bobby Holley
0a5fb33d0a Bug 997987 - Remove usage of nsIScriptSecurityManager::GetSubjectPrincipal. r=Ms2ger 2014-05-06 15:43:03 -07:00
Ryan VanderMeulen
d41554e25e Merge b2g-inbound to m-c. 2014-05-06 16:31:58 -04:00
Giovanni Sferro
1810b4b59d Bug 1003741 - nsNumberControlFrame implements nsITextControlFrame. r=ehsan 2014-05-05 18:21:00 -04:00
Ben Turner
0778e9dad3 Bug 982779 - Ensure that child->parent IPC blobs are never mysterious, r=baku. 2014-04-29 13:02:41 -07:00
Arnaud Bienner
849425a212 Bug 1005675 - s/telephone/tel/ in some tests. r=bz 2014-05-05 02:17:31 +02:00
Ophir LOJKINE
ba35dedd06 Bug 1003539 - change HTMLTableElement::insertRow so that it when no row is present, it adds a row to the last TBODY element of the table; r=bzbarsky 2014-05-01 21:29:23 -04:00
Nathan Froyd
b2b2d28887 Bug 1003306 - part 2 - use services::GetPermissionManager everywhere that's appropriate; r=ehsan 2014-04-29 13:27:26 -04:00
Birunthan Mohanathas
80da21dedb Bug 1001966 - Part 2: Change uses of numbered NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE macro to the variadic variant. r=smaug 2014-04-29 04:57:00 -04:00
Jon Coppeard
e52714cca7 Bug 959787 - Handlify remaining JS APIs r=terrence r=bz r=bholley 2014-04-30 10:10:33 +01:00
Giovanni Sferro
0ae500127b Bug 952982 - Submit inputs are subject to constraint validation and match :valid/:invalid as needed. r=bz 2014-04-29 18:58:00 +02:00
Andrea Marchesini
dc99945d5f Bug 1001383 - HTMLMediaElement::UpdateAudioChannelPlayingState() should use system principal because calling AudioChannel API, r=bz 2014-04-28 11:22:16 +01:00
Birunthan Mohanathas
504b581650 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Giovanni Sferro
bbf2260755 Bug 343444 - Fix HTMLFormElement::GetNextRadioButton to return only radio buttons. r=jst 2014-04-26 21:55:00 -04:00
Ehsan Akhgari
ce353a11c2 Bug 997805 - Correctly restore the placeholder text after the editor object is re-attached to a text control as a result of a reframe; r=bzbarsky
Recomputing the placeholder visibility does not require the placeholder div
itself to be present, as the only information required for that is the current
value of the text control which is present either way.  This patch fixes
nsTextEditorState::ValueWasChanged and nsTextEditorState::UpdatePlaceholderVisibility
to that effect.

But the real fix is in nsTextEditorState::UpdatePlaceholderText, where after
setting the placeholder text on the anonymous div, we redo the placeholder
visibility computation.  Since this function can be called from
HTMLTextAreaElement::CreatePlaceholderNode during frame construction, the
GetValue function may return the wrong value since the editor has not properly
been set up yet, resulting in this bug.  And this function call is useless
anyway, because changing the placeholder text does not really affect the
result of the visibility computation, so there is no need to do this work
in the first place.
2014-04-25 16:40:44 -04:00
Ehsan Akhgari
3addc01700 Bug 1001936 - Clear the value cache when the editor is being destroyed because it won't get updated when we don't have a bound frame; r=bzbarsky 2014-04-27 09:33:24 -04:00
Birunthan Mohanathas
c8c6722bb4 Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug 2014-04-25 12:49:00 -04:00
Matthew Gregan
9a651158f2 Bug 881512 - Hide MediaSourceResource implementation details from HTMLMediaElement. r=cajbir 2014-04-14 23:24:00 +12:00
Matthew Gregan
d5e8d28fdf Bug 881512 - Add start (and rename end) time helper to TimeRanges. r=cajbir 2014-04-14 23:23:00 +12:00
Wes Kocher
5fb9a7146e Backed out changeset 669fdba2ceef (bug 997805) for reftest bustage on a CLOSED TREE 2014-04-25 15:12:22 -07:00
Jason Orendorff
409179b8a6 Bug 547140, part 4 - Remove flags argument from resolve hooks. r=Waldo. 2014-04-25 16:11:02 -05:00
Ehsan Akhgari
baf2940c9a Bug 997805 - Correctly restore the placeholder text after the editor object is re-attached to a text control as a result of a reframe; r=bzbarsky
Recomputing the placeholder visibility does not require the placeholder div
itself to be present, as the only information required for that is the current
value of the text control which is present either way.  This patch fixes
nsTextEditorState::ValueWasChanged and nsTextEditorState::UpdatePlaceholderVisibility
to that effect.

But the real fix is in nsTextEditorState::UpdatePlaceholderText, where after
setting the placeholder text on the anonymous div, we redo the placeholder
visibility computation.  Since this function can be called from
HTMLTextAreaElement::CreatePlaceholderNode during frame construction, the
GetValue function may return the wrong value since the editor has not properly
been set up yet, resulting in this bug.  And this function call is useless
anyway, because changing the placeholder text does not really affect the
result of the visibility computation, so there is no need to do this work
in the first place.
2014-04-25 16:40:44 -04:00
Ehsan Akhgari
ccccebc4dc Bug 998729 - Mark nsIPhonetic as non-scriptable; r=smaug 2014-04-24 17:10:40 -04:00
Aryeh Gregor
57e61e9d15 Bug 950386 - Move mozilla::Selection to mozilla::dom::Selection; r=ehsan 2014-04-10 19:09:40 +03:00
Robert O'Callahan
299ea95ae7 Bug 821307. Ensure nsTextEditorState::SetValue does nothing when the new value equals the old value, even for password inputs. r=ehsan
If nsTextEditorState::SetValue is allowed to rebuild the editor DOM even when
the new value is the same as the old value, then during PrepareEditor we can
remove the content that's the current target of the event triggering the
PrepareEditor, which prevents important code from running such as the code that
focuses the text input. Normally this isn't a problem but
nsTextEditorState::SetValue's code for getting the current value is broken
for password controls when !mEditorInitialized. So we remove that broken code
path.

We have to make sure that the password text, if any, is set on the edit-rules
during their initialization so the regular path for getting the current
value returns the right thing.

--HG--
extra : rebase_source : 81a01a957b4b1e0cf868505a1b23c9110a2f4b3a
2014-04-15 00:33:47 +12:00
Andrea Marchesini
d848197189 Bug 969201 - HTMLLinkElement sizes attribute, f=ms2ger, r=bz 2014-04-17 12:50:54 +01:00
Matt Woodrow
6fd7bb378f Bug 997014 - Part 4: Remove the external canvas API. r=roc 2014-04-17 17:31:12 +12:00
Matt Woodrow
8006e4b32d Bug 997014 - Part 2: Make SurfaceFromElement use GetSurfaceSnapshot instead of the external API. r=roc 2014-04-17 17:29:52 +12:00
Carsten "Tomcat" Book
502139c768 Backed out changeset 20b75bf44c1e (bug 997014) 2014-04-17 08:43:43 +02:00
Carsten "Tomcat" Book
9a457afe93 Backed out changeset 29ed3c34af5e (bug 997014) 2014-04-17 08:43:40 +02:00
Matt Woodrow
941a17d27c Bug 997014 - Part 4: Remove the external canvas API. r=roc 2014-04-17 17:31:12 +12:00
Matt Woodrow
b0d6dd3888 Bug 997014 - Part 2: Make SurfaceFromElement use GetSurfaceSnapshot instead of the external API. r=roc 2014-04-17 17:29:52 +12:00
Terrence Cole
21e586caba Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Boris Zbarsky
22f64a2913 Bug 843840 part 2. Add a way to ask DOM proxies for only their enumerable property names, and use that in the enumerate hook. r=peterv 2014-04-15 22:58:44 -04:00
Boris Zbarsky
b730833389 Bug 843840 part 1. Add a way to ask DOM proxies with a named getter whether a property is enumerable or not and use that information in getOwnPropertyDescriptor. r=peterv 2014-04-15 22:58:44 -04:00
Jonathan Watt
61a8971526 Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow 2014-04-16 01:41:40 +01:00
Giovanni Sferro
00b61a29d3 Bug 856265 - Fix HTMLInputElement::GetValueAsDate to accept long string of numbers as input. r=jst 2014-04-15 10:45:05 -04:00
Bobby Holley
a81ce7e83c Bug 989528 - Rename AutoSystemCaller to AutoNoJSAPI, and assert against pre-existing exceptions. r=bz 2014-04-14 20:27:00 -07:00
Andrea Marchesini
8204cc0528 Bug 987064 - Remove AudioChannelType. r=roc, r=mchen, r=bent 2014-04-10 18:39:20 +01:00
Giovanni Sferro
7ca2029ee0 Bug 982189 - Fix Input type="number" immutability. r=jst 2014-04-13 14:42:40 -04:00
Rick Eyre
5433bf6d01 Bug 976580 - Set cue state to dirty when video resize happens. r=rillian, r=bz
This way when the video is resized the rendering algorithm for the cues
will run again and hence, the caption size will be increased/decreased
for the new size of the video.
2014-04-07 15:42:33 -04:00
Ms2ger
1297bbd8e9 Bug 968835 - Cleanup nsHTMLDocument::GetSelection; r=smaug 2014-04-12 10:15:56 +02:00
Ehsan Akhgari
290e167468 Bug 994940 - Lazily initialize the editor for input elements that have overflown text; r=roc 2014-04-11 11:09:40 -04:00
Ed Morley
18eac2ba4e Backed out changeset c80f64bfb7b7 (bug 968835) for Android failures in test_getWebIDLCaller.html; CLOSED TREE 2014-04-10 15:48:42 +01:00
Rick Eyre
47dcbf2ce9 Bug 950308 - TextTrack, TextTrackCue, TextTrackList should BindToOwner. r=smaug 2014-04-07 13:58:38 -04:00
Ms2ger
d6b1a972d6 Bug 968835 - Cleanup nsHTMLDocument::GetSelection; r=smaug 2014-04-10 13:24:24 +02:00
Carsten "Tomcat" Book
c3dea3f373 Backed out changeset ac06eacc2206 (bug 987064) for B2G ICS Emulator Debug Bustage on a CLOSED TREE 2014-04-10 13:18:18 +02:00
Andrea Marchesini
af24d3be6d Bug 987064 - Remove AudioChannelType, r=roc, r=mchen, r=bent 2014-04-10 11:49:23 +01:00
Vasanthakumar Pandurangan
c9894c6b30 Bug 976172 - Part 1 Changes in MediaOmxDecoder to enable audio offloading r=roc
This adds support in MediaOmxDecoder to dynamically switch between
MediaDecoderStateMachine and AudioOffloadPlayer
2014-04-08 20:59:07 +05:30
Masayuki Nakano
61d6abba29 Bug 993253 Implement DOM InputEvent interface with isComposing attribute r=smaug+ehsan 2014-04-10 16:11:37 +09:00
Boris Zbarsky
7038a736e9 Bug 993889 part 6. Remove the "scope" argument of dom::WrapObject methods. r=bholley 2014-04-10 00:58:43 -04:00
Boris Zbarsky
ead18bfd6a Bug 993889 part 2. Remove the duplicated WrapNative methods in HTMLAllCollection. r=bholley 2014-04-10 00:58:42 -04:00
Boris Zbarsky
fdbb455d4f Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
f8d52c30a9 Bug 991742 part 7. Remove the "aScope" argument of WrapNode() methods. r=bholley
This patch was generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapNode(JSContext/ {; N; s/\(WrapNode(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and an additional manual change to nsINode.cpp.
2014-04-08 18:27:17 -04:00
Boris Zbarsky
3f26a82832 Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
This patch was mostly generated with this command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""

plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Boris Zbarsky
3b4c77d08b Bug 991742 part 1. Enter the compartment of the current wrapper before we try to reparent objects. r=bholley
This lets us preserve some invariants about our current compartment matching the scope we want to wrap into.
2014-04-08 18:27:15 -04:00
Peter Van der Beken
94d6fed69a Bug 984497 - Use SpecialPowers more and change SpecialPower usage to deal with Window on WebIDL bindings. r=bz.
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : 687daf9d78e69fe6ae21f7c1a26503cf88a18b97
2014-02-15 22:12:34 +01:00
Peter Van der Beken
f8dd810da5 Back out 75c95dac7fe0 (bug 984497) and f1b0d3d13755 (bug 990475) to fix bustage on a CLOSED TREE.
--HG--
extra : rebase_source : a63315cd428faeb95464f6ad76946d1c0c6d36c3
2014-04-07 22:18:53 +02:00
Peter Van der Beken
3d1f466234 Bug 984497 - Use SpecialPowers more and change SpecialPower usage to deal with Window on WebIDL bindings. r=bz.
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : 3662ae8b0f35fefb250c9cd048e848d662863855
2014-02-15 22:12:34 +01:00
xKhorasan
9f69e62b5f Bug 859095 - URL property of document returned by XMLHttpRequest does not follow the spec. r=smaug 2013-09-25 06:56:52 +09:00
Masayuki Nakano
852403f45d Bug 990855 part.2 Remove dom/events from local includes of moz.build files r=smaug 2014-04-03 13:18:38 +09:00
Masayuki Nakano
5c4524957a Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug
--HG--
rename : dom/events/nsEventStates.h => dom/events/EventStates.h
2014-04-03 13:18:36 +09:00
Matthew Gregan
ced956736c Bug 927245 - Remove deprecated Audio Data API implementation. r=cajbir,smaug 2014-04-03 10:53:39 +13:00
Rick Eyre
f81ce9b4cf Bug 882677 - Part 1: Dispatch loaded and error events to the HTMLTrackElement. r=cpearce 2014-03-14 12:13:41 -04:00
Mark Hammond
763885adb1 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Olli Pettay
edd346a668 Bug 989210 - Consistently make cycle collector to deal with TextTrackManager's member variables. r=reyre 2014-04-01 08:37:13 -04:00
Bob Owen
3c5aa92686 Bug 986439 - Enable tests that now pass with e10s. r=bz 2014-03-31 10:17:02 +01:00
Masayuki Nakano
3d27c3d4fb Bug 989213 part.2 Rename nsEventNameList.h to mozilla/EventNameList.h r=smaug
--HG--
rename : dom/events/nsEventNameList.h => dom/events/EventNameList.h
2014-04-01 20:42:12 +09:00
JW Wang
4432156f43 Bug 945475 - clear |mVideoFrameContainer| to stop staled callbacks which give incorrect videoWidth/videoHeight. r=roc 2014-03-27 07:27:01 +08:00
Masayuki Nakano
a63f35fff1 Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug
--HG--
rename : dom/events/nsEventStateManager.cpp => dom/events/EventStateManager.cpp
rename : dom/events/nsEventStateManager.h => dom/events/EventStateManager.h
2014-04-01 13:09:23 +09:00
Chris Pearce
8b18788355 Bug 631058 - Don't preroll as many media samples when loading preload="metadata" media. r=cajbir 2014-04-01 16:43:57 +13:00
Chris Pearce
a8e52798ff Bug 778077 - Implement HTMLMediaElement.fastSeek(time). r=cajbir
Implement HTMLMediaElement.fastSeek(), basically by changing all the
MediaDecoderReader::Seek() overrides to not call
MediaDecoderReader::DecodeToTarget(), and have MediaDecoderReader::DecodeSeek()
call DecodeToTarget() if we're doing an accurate (non-fast) seek.

Update gizmo.mp4 to have a keyframe every second, instead of only 1 keyframe at
the start of stream. This makes the unit test I added more useful for mp4...

I pushed most of the seek target clamping logic in MediaDecoder up into
HTMLMediaElement, so that we're clamping in fewer places. Note
MediaDecoderStateMachine::Seek() still sanity checks the seek target.

We have to update the currentTime/MediaDecoder playback position after a seek
completes now, rather than assuming the seek always got it exactly right.

Removed those pesky assertions about seek target lying in the first frame after
seek, since actually sometimes the media doesn't have samples for all streams
after a seek (either due to the media being encoded like that, or because of a
bug in the platform's decoder, not entirely sure).

Green: https://tbpl.mozilla.org/?tree=Try&rev=b028258565e2
* * *
Bug 778077 - Fix up MediaOMXReader fastseek to ensure audio stream stays in sync with video stream. r=cajbir
2014-04-01 16:39:04 +13:00
Phil Ringnalda
6568fe36c4 Backed out changeset 0779a3cf6075 (bug 856265)
CLOSED TREE
2014-03-28 19:09:54 -07:00
Giovanni Sferro
6ac19691b5 Bug 856265 -- Fix HTMLInputElement::GetValueAsDate to accept long string of numbers as input r=jst 2014-03-28 17:33:39 -07:00
Olli Pettay
879a58f5d8 Bug 987433 - DOMTokenList should have a strong reference to its owner so that the API doesn't suddenly start returning empty string. r=khuey 2014-03-28 10:36:47 -04:00
Ed Morley
9d7a5cff30 Backed out changeset 00fa39c23b44 (bug 778077) for reftest failures 2014-03-28 12:31:29 +00:00
Chris Pearce
c9cd61eb5d Bug 778077 - Implement HTMLMediaElement.fastSeek(time). r=cajbir
Implement HTMLMediaElement.fastSeek(), basically by changing all the
MediaDecoderReader::Seek() overrides to not call
MediaDecoderReader::DecodeToTarget(), and have MediaDecoderReader::DecodeSeek()
call DecodeToTarget() if we're doing an accurate (non-fast) seek.

Update gizmo.mp4 to have a keyframe every second, instead of only 1 keyframe at
the start of stream. This makes the unit test I added more useful for mp4...

I pushed most of the seek target clamping logic in MediaDecoder up into
HTMLMediaElement, so that we're clamping in fewer places. Note
MediaDecoderStateMachine::Seek() still sanity checks the seek target.

We have to update the currentTime/MediaDecoder playback position after a seek
completes now, rather than assuming the seek always got it exactly right.

Removed those pesky assertions about seek target lying in the first frame after
seek, since actually sometimes the media doesn't have samples for all streams
after a seek (either due to the media being encoded like that, or because of a
bug in the platform's decoder, not entirely sure).

Green: https://tbpl.mozilla.org/?tree=Try&rev=b028258565e2
2014-03-28 22:36:10 +13:00
Neil Rashbrook
fe80fce47a Bug 514280 Consistently declare and define IID accessors r=bsmedberg 2014-03-28 08:45:02 +00:00
Phil Ringnalda
1a6280a756 Backed out 2 changesets (bug 778077, bug 631058)
CLOSED TREE

Backed out changeset dda301682977 (bug 631058)
Backed out changeset 25b633e7dcd5 (bug 778077)
2014-03-27 21:50:02 -07:00
Chris Pearce
b26d467d58 Bug 778077 - Implement HTMLMediaElement.fastSeek(time). r=cajbir
Implement HTMLMediaElement.fastSeek(), basically by changing all the
MediaDecoderReader::Seek() overrides to not call
MediaDecoderReader::DecodeToTarget(), and have MediaDecoderReader::DecodeSeek()
call DecodeToTarget() if we're doing an accurate (non-fast) seek.

Update gizmo.mp4 to have a keyframe every second, instead of only 1 keyframe at
the start of stream. This makes the unit test I added more useful for mp4...

I pushed most of the seek target clamping logic in MediaDecoder up into
HTMLMediaElement, so that we're clamping in fewer places. Note
MediaDecoderStateMachine::Seek() still sanity checks the seek target.

We have to update the currentTime/MediaDecoder playback position after a seek
completes now, rather than assuming the seek always got it exactly right.

Removed those pesky assertions about seek target lying in the first frame after
seek, since actually sometimes the media doesn't have samples for all streams
after a seek (either due to the media being encoded like that, or because of a
bug in the platform's decoder, not entirely sure).

Green: https://tbpl.mozilla.org/?tree=Try&rev=b028258565e2
2014-03-28 15:50:28 +13:00
Ms2ger
b765dd44d3 Bug 984006 - Remove xpcom/ds from local includes; r=ehsan 2014-03-27 21:05:14 +01:00
Ryan VanderMeulen
c7bbaba022 Backed out changeset fea9904b6dec (bug 987433) for leaks on a CLOSED TREE. 2014-03-26 19:44:54 -04:00
Olli Pettay
f04add4e26 Bug 987433 - DOMTokenList should have a strong reference to its owner so that the API doesn't suddenly start returning empty string. r=khuey 2014-03-26 16:04:57 -04:00
Olli Pettay
fe87f850f3 Bug 987140 - Return width/height from the most recent image request. r=bz 2014-03-26 14:43:27 -04:00
Wes Kocher
0db346b4d5 Merge inbound to m-c 2014-03-25 19:54:55 -07:00
Star Cheng
fa999c63d6 Bug 975955 - Hold a cpu wakelock while playing video. r=roc 2014-03-18 16:44:41 +08:00
L. David Baron
a085fede18 Bug 986409 - Skip fewer entire reftest directories on B2G. r=roc 2014-03-23 18:44:50 -07:00
Nathan Froyd
da3c647bbd Bug 942411 - Set the src of the iframe after adding it to the document 2014-03-21 13:36:11 -04:00
Birunthan Mohanathas
7ac995a949 Bug 987320 - Remove unnecessary null checks for do_QueryFrame arguments. r=bz 2014-03-25 11:36:49 -04:00
Rick Eyre
651c0fd8e0 Bug 987076 - Construct HTMLMediaElement::mTextTrackManager lazily. r=roc
* Remove the TextTrackManager's initialization from the MediaElement's
ctor and add a getter that creates it if we don't have it yet. The public
functions exposed on the MediaElement's IDL now call this getter.
* Also remove the const qualifier from HTMLMediaElement::TextTracks()
as we don't really need it and this function now needs to call
GetOrCreateTextTrackManager() which is non-const.
2014-03-24 11:48:37 -04:00
Rick Eyre
07af79b144 Bug 977299 - Don't display subtitles if their mode is 'hidden'. r=rillian
I've renamed TextTrackList::GetAllActiveCues to
UpdateAndGetShowingCues to make it a bit more clear what
this function is doing.
2014-02-27 10:02:40 -05:00
Alessio Placitelli
93c7f6ceef Bug 950076 - Use the return value of GetNodeTextContent for OOM checks. r=jst 2014-03-20 20:51:16 +01:00
Alessio Placitelli
ccd66ec5c9 Bug 950076 - Propagate OOM errors to innerHTML getters. r=jst 2014-03-19 13:05:03 -04:00
Gorman Ho
f829937556 Bug 983285 - Add a generic destructor for property values allocated with new. r=kats, r=bz 2014-03-25 09:25:47 -04:00
Rick Eyre
59ba14791c Bug 977302 - Perform automatic text track selection. r=rillian
This takes care of automatic track selection for tracks with
the default attribute specified. However, it does not take
into account any user preferences set through Firefox such
as default language.
2014-02-28 15:40:00 -05:00
Andrea Marchesini
d849d65073 Bug 983984 - Default AudioChannel from a pref, r=ehsan, r=roc, r=mchen 2014-03-20 10:45:55 +00:00
Ryan VanderMeulen
a902b4a4c8 Backed out changesets a17ee88f1fe7, 6e3aee4a9650, 07e5ed676919 (bug 950076) for Werror bustage. 2014-03-19 14:00:10 -04:00
Rick Eyre
4b465b49a2 Bug 983293 - Part 4: Pass ReadyState variables to AddTextTrack methods and TextTrack ctors. r=cpearce
This makes it more clear what part of the code is triggering the ReadyState
to be what it is. I.E. Tracks added through the HTMLMediaElement::AddTextTrack
method should have a ReadyState of "Loaded" and so it's more clear for
function to specify that. Vice versa for TrackElements which add TextTracks
with a default ReadyState of "None".
2014-03-13 14:41:21 -04:00
Rick Eyre
fffd5328cf Bug 983293 - Part 3: Rename the READY_STATE enum to TextTrackReadyState. r=cpearce
- This allows us to pass around ReadyState values. It also makes the type
explicit which will save us from potentially shooting ourselves in
the foot.
- I also renamed 'READY_STATE_NONE' and 'READY_STATE_ERROR' to
'NotLoaded' and 'FailedToLoad' respectively in the enum. This is to
avoid some name collision errors we were having. It also makes it more
clear where in the spec this is as these names are the spec's names
for the TextTrack enum.
2014-03-13 14:29:32 -04:00
Rick Eyre
70894a38c2 Bug 983293 - Part 2: Move the READY_STATE enum to Track instead of HTMLTrackElement. r=cpearce
This makes more sense as the READY_STATE values in the spec are always
referred to be 'text track readiness states' not HTMLTrackElement
readiness states.
2014-03-13 13:48:09 -04:00
Alessio Placitelli
a0352e2e61 Bug 950076 - Use the return value of GetNodeTextContent for OOM checks. r=jst 2014-03-19 13:05:03 -04:00
Alessio Placitelli
6d5ed59b33 Bug 950076 - Propagate OOM errors to innerHTML getters. r=jst 2014-03-19 13:05:03 -04:00
Bobby Holley
5749541604 Bug 825392 - Generate anonymous content reflectors in the XBL scope. r=bz 2014-03-19 13:35:45 -03:00
Andrew McCreight
a21c06ada6 Bug 975746 - Remove GATHER_ELEMENT_USEAGE_STATISTICS. r=jst 2014-03-19 06:05:17 -07:00
Ryan VanderMeulen
4634205c83 Bug 940203 - Annotate test_bug622558.html as 0-1 assertions on Windows.
CLOSED TREE
2014-03-18 10:34:29 -04:00
Rick Eyre
2e37168e82 Bug 983207 - Tracks created through a TrackElement should have a default mode of 'disabled'. r=cpearce
- I've refactored the way we set modes as well, making it a part
of the TextTrack ctors.
- I've also changed TextTracks in the track tests to have their
mode set to 'hidden' in order to be able to call TextTrack::Cues.
This is correct since TextTracks with a mode of 'disabled' do not
return null for their cue lists.
2014-03-13 13:18:06 -04:00
Masayuki Nakano
b7a8d4a392 Bug 983049 part.5 Rename nsEventDispatcher to mozilla::EventDispatcher r=smaug
--HG--
rename : dom/events/nsEventDispatcher.cpp => dom/events/EventDispatcher.cpp
rename : dom/events/nsEventDispatcher.h => dom/events/EventDispatcher.h
2014-03-18 13:48:21 +09:00
Masayuki Nakano
6e0a5b3333 Bug 983049 part.3 Rename nsEventChainPostVisitor to mozilla::EventChainPostVisitor r=smaug 2014-03-18 13:48:20 +09:00
Masayuki Nakano
84f7d80b11 Bug 983049 part.2 Rename nsEventChainPreVisitor to mozilla::EventChainPreVisitor r=smaug 2014-03-18 13:48:19 +09:00
Masayuki Nakano
6ae1c47e9f Bug 983049 part.1 Rename nsEventChainVisitor to mozilla::EventChainVisitor r=smaug 2014-03-18 13:48:18 +09:00
Masayuki Nakano
aa64da45fb Bug 982602 Rename ns(LoadBlocking)AsyncDOMEvent to mozilla::(LoadBlocking)AsyncEventDispatcher r=smaug
--HG--
rename : dom/events/nsAsyncDOMEvent.cpp => dom/events/AsyncEventDispatcher.cpp
rename : dom/events/nsAsyncDOMEvent.h => dom/events/AsyncEventDispatcher.h
2014-03-17 15:56:54 +09:00
Masayuki Nakano
6461de2a4d Bug 981261 part.5 Rename nsEventListenerManager to mozilla::EventListenerManager r=smaug
--HG--
rename : dom/events/nsEventListenerManager.cpp => dom/events/EventListenerManager.cpp
rename : dom/events/nsEventListenerManager.h => dom/events/EventListenerManager.h
2014-03-17 15:56:53 +09:00
Masayuki Nakano
f5d90add5d Bug 981261 part.4 Move EventListenerFlags from mozilla::dom:: to mozilla:: r=smaug 2014-03-17 15:56:52 +09:00
Rik Cabanier
88be9d21db Bug 982480 - Add support + test case for context alpha attribute. r=roc 2014-03-16 15:34:14 -04:00
Ehsan Akhgari
cb1914fbb4 Bug 942411 - Request the full log in the test 2014-03-16 10:29:35 -04:00
Ryan VanderMeulen
d02b7842fb Backed out changeset 9a2aab98a8d0 (bug 982480) for reftest failures. 2014-03-15 19:18:13 -04:00
Rik Cabanier
4af0f0178d Bug 982480 - Add support + test case for context alpha attribute. r=roc 2014-03-15 17:29:24 -04:00
Ehsan Akhgari
75ad693fbf Bug 942411 - Try to ensure that the test window has focus before running the test 2014-03-15 17:22:00 -04:00
Kyle Huey
567b9398be Bug 981150: Use nsTArrayForwardDeclare.h more. r=ehsan 2014-03-15 12:00:17 -07:00
Kyle Huey
a5ae9a4da3 Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg 2014-03-15 12:00:17 -07:00
Kyle Huey
f7eafc09a9 Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Masayuki Nakano
7179f50754 Bug 977959 part.3 Hide nsINativeKeyBindings with nsIWidget::ExecuteNativeKeyBinding() r=roc+karlt+smichaud 2014-03-14 22:13:31 +09:00
Masayuki Nakano
12f45f8af4 Bug 977959 part.2 Remove nsINativeKeyBindings::KeyDown() and nsINativeKeyBindings::KeyUp() r=roc, sr=roc 2014-03-14 22:13:31 +09:00
Masayuki Nakano
27bddb1157 Bug 977959 part.1 Define constants for each command which may be caused by native key bindings r=roc 2014-03-14 22:13:30 +09:00
Bill McCloskey
d960718b48 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 21:38:19 -07:00
Wes Kocher
62d61f05a8 Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
cff466f79f Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Bill McCloskey
624ffda758 Backed out changeset d6261f65070a 2014-03-13 15:52:27 -07:00
Bill McCloskey
a23e0f8633 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Rick Eyre
cf709f8952 Bug 882664 - Part 2: Perform sorting on TextTrackLists. r=rillian
- This implements sorting on the MediaElement's list of TextTracks as
described in: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#text-track-model
This is important as automatically positioned cues will have a line
position that is relative to their TextTrack's position in the
MediaElement's list of TextTracks.
- Added a TextTrackSource enum which all TextTracks have. This helps
distinguish where a TextTrack came from.
2014-02-27 12:47:23 -05:00
Rick Eyre
e05bee01c8 Bug 882664 - Part 1: TextTrack should hold a ref to its TrackElement, if any. r=rillian 2014-02-27 14:07:39 -05:00
Olli Pettay
185fc1eed0 Bug 982909 - Consistently use inner window when calling OpenJS. r=jst, r=mrbkap 2014-03-13 12:22:07 -04:00
Ehsan Akhgari
828675c66b Bug 981652 - Dispatch "select" events from HTMLInputElement/HTMLTextAreaElement.setSelectionRange() and selection setters; r=smaug 2014-03-12 21:44:33 -04:00
Giovanni Sferro
839ad4fdb9 Bug 968637 - Add "rel" and "relList" to HTMLAreaElement and "relList" to HTMLLinkElement, HTMLAnchorElement. r=bz 2014-03-11 08:04:26 -04:00
Andrea Marchesini
7c2d706f91 Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc 2014-03-11 10:46:55 +00:00
Andrea Marchesini
dff9be0a40 Bug 923247 - patch 1 - window in the AudioChannelAgent, r=mchen 2014-03-11 10:46:04 +00:00
Boris Zbarsky
747c9148b1 Bug 980243. Make sure that image src sets do something even if the src is being set to the value it already has. r=sicking 2014-03-10 17:38:02 -04:00
Ed Morley
a43bffd607 Backed out changeset d86a702e24c0 (bug 923247) for build failures; CLOSED TREE 2014-03-10 17:04:25 +00:00
Ed Morley
301dd385b6 Backed out changeset 98f7e8789561 (bug 923247) 2014-03-10 17:04:04 +00:00
Andrea Marchesini
19518c8a2c Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc 2014-03-10 16:36:15 +00:00
Andrea Marchesini
18de276757 Bug 923247 - patch 1 - window in the AudioChannelAgent, r=mchen 2014-03-10 16:36:07 +00:00
Andrew McCreight
3ceac964bd Bug 979993 - Free the old input data in SetValueInternal. r=bz 2014-03-06 20:27:52 -08:00
Vaibhav Agarwal
b192b2603d Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-06 13:42:43 -05:00
Kartikaya Gupta
97ae4a1c9c Bug 977625 - Robustify test_formaction_attribute to run on a local b2g-emulator setup. r=mounir 2014-03-06 10:02:22 -05:00
Boris Zbarsky
2f267e39eb Bug 951887 followup. Adjust tests to deal with the new reality. 2014-03-06 00:22:43 -05:00
Boris Zbarsky
f5e48ed89d Bug 951887. Treat form controls as mutable for purposes of constraint validation whether they're in a document tree or not. r=smaug 2014-03-05 22:48:04 -05:00
Masayuki Nakano
66706f5a6e Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug
--HG--
rename : dom/events/nsDOMEvent.cpp => dom/events/Event.cpp
rename : dom/events/nsDOMEvent.h => dom/events/Event.h
2014-03-05 09:37:43 +09:00
Jonathan Watt
4b4f8a0994 Bug 977310 - Don't update the validity states of HTMLInputElement until the parser has finished creating it. r=smaug 2014-02-27 08:41:46 +00:00
Jonathan Watt
e795a8dd06 Bug 976739 - Allow user initiated stepping of <input type=number> when its value is the empty string (even if it is invalid due to the 'required' attribute being present) and step correctly if the value 0 (the default for the empty string) is not on a step. r=smaug 2014-02-26 23:04:31 +00:00
Chris Pearce
9be1d4b017 Bug 975270 - Fire 'emptied' and 'abort' asynchronously in media load algorithm, as per spec. r=roc 2014-02-28 15:01:47 +13:00
Matthew Gregan
1ee282dbfe Bug 962353 - Remove totalFrameDelay from VideoPlaybackQuality. r=chris.double
It's not implemented by other vendors and marked as "at risk" in the spec.
Easy to add back if there's real demand/a concrete spec.
2014-03-04 15:31:57 +13:00
William Chen
d7b1cca710 Bug 976318 - Template element contents owner document should be an inert template document. r=mrbkap 2014-03-03 12:03:23 -08:00
Carsten "Tomcat" Book
cf79e4a70d Backed out changeset 0ca230c9d79a (bug 975270) for m4 b2g-ics opt permanent test failure 2014-03-03 11:09:25 +01:00
Chris Pearce
7aad77cff1 Bug 975270 - Fire 'emptied' and 'abort' asynchronously in media load algorithm, as per spec. r=roc 2014-02-28 15:01:47 +13:00
Mats Palmgren
5bd85e6c56 Bug 978443 - Rename NS_STYLE_CLEAR_LEFT_AND_RIGHT to NS_STYLE_CLEAR_BOTH. r=dholbert
Rename NS_STYLE_CLEAR_LEFT_AND_RIGHT to NS_STYLE_CLEAR_BOTH.  Also fix whitespace and remove unnecessary parens in a few places and enumerate the possible break types in an assertion so that it doesn't make assumptions on the actual property values.
2014-03-02 17:42:16 +00:00
Arnaud Bienner
8ec5c40d3b Bug 977029 - when color value changes, refresh color control frame instead of (wrongly) changing value attribute. r=bz 2014-02-28 20:52:42 +01:00
Masayuki Nakano
51a7c631e3 Bug 975688 part.20 Rename nsDOMTouchEvent and nsDOMTouchList to mozilla::dom::TouchEvent and TouchList r=smaug
--HG--
rename : dom/events/nsDOMTouchEvent.cpp => dom/events/TouchEvent.cpp
rename : dom/events/nsDOMTouchEvent.h => dom/events/TouchEvent.h
2014-02-28 23:58:42 +09:00
Reuben Morais
b672cdc604 Bug 458300 - Rename nsINameSpaceManager.h to nsNameSpaceManager.h. r=jst r=hsivonen
--HG--
rename : content/base/public/nsINameSpaceManager.h => content/base/public/nsNameSpaceManager.h
2014-02-27 20:04:46 -03:00
Benjamin Bouvier
7a3e028e1e Bug 939843: Required changes in the rest of the tree; r=froydnj
--HG--
extra : rebase_source : 5757eb2b73755c8da08112b91b025a8fa860d7e8
2014-02-27 16:23:16 +01:00
Peter Van der Beken
fa5238349a Bug 803106 part 2. Convert DOMStringList to WebIDL bindings - add WebIDL API and switch. r=bzbarsky 2013-07-09 13:54:21 -04:00
Peter Van der Beken
6ab81671cc Bug 803106 part 1. Convert DOMStringList to WebIDL bindings - move files and rename class. r=bzbarsky
--HG--
rename : content/base/src/nsDOMLists.cpp => content/base/src/DOMStringList.cpp
rename : content/base/src/nsDOMLists.h => content/base/src/DOMStringList.h
2013-07-09 13:51:03 -04:00
Boris Zbarsky
fe2a748f4b Bug 977553. Use an enum instead of macros for the nsStyleLinkElement rel types, so they won't collide with macros in wingdi.h. r=smaug 2014-02-27 08:44:52 -05:00
Masayuki Nakano
7c828621b9 Bug 975688 part.17 Rename dom/events/MutationEvent.h to dom/Events/InternalMutationEvent.h r=smaug+roc
--HG--
rename : dom/events/MutationEvent.h => dom/events/InternalMutationEvent.h
2014-02-27 19:51:15 +09:00
Boris Zbarsky
30573f3ce1 Bug 976272. Use DOMString for HTMLElement.className, and mark it as [Pure]. r=smaug 2014-02-25 17:26:16 -05:00
John Schoenick
b2a962217f Bug 971273 - Remove some dead code from HTMLSharedObjectElement. r=bsmedberg 2014-02-25 13:30:03 -08:00
Ralph Giles
a4ec495736 Bug 964559 - Remove MOZ_OGG. r=doublec,ted
We are unable to maintain all the --disable-foo build-time options
for the media code. Just support ogg unconditionally.
2014-02-20 18:01:00 -08:00
Carsten "Tomcat" Book
57081c9a50 merge b2g-inbound to mozilla-central 2014-02-24 12:55:53 +01:00
William Chen
7d7470aa8a Bug 856140 - Sync our document.registerElement implementation to the current version of the spec. r=mrbkap 2014-02-23 13:01:26 -08:00
Cameron McCormack
da7f69d332 Bug 975658 - Move kTrackKind into HTMLTrackElement.cpp. r=reyre 2014-02-22 14:06:48 +11:00
Kan-Ru Chen (陳侃如)
921cc73733 Bug 942411 - Force reflow to trigger MozAfterPaint. r=smaug 2014-02-21 15:57:02 +08:00
Carsten "Tomcat" Book
771699f78b Backed out changeset 97c8c8491b17 (bug 926830) for mochitest memory leak on a CLOSED TREE 2014-02-21 14:32:57 +01:00