Commit Graph

4666 Commits

Author SHA1 Message Date
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