Commit Graph

9432 Commits

Author SHA1 Message Date
CJKu
7fa109db0b Bug 1000722 - Rollback close reftest in bug 981477. r=ahal 2014-06-21 01:22:00 +02:00
Eric Phan
297a9b2844 Bug 1015985 - Set decoder seekable members outside of ReadMetadata by StateMachine. r=cpearce 2014-06-23 22:08:34 +12:00
Benoit Jacob
db2eb3cc06 Bug 1028588 - Fix dangerous public destructors in content/ - r=khuey 2014-06-24 22:09:15 -04:00
Ed Morley
736101e1e8 Merge mozilla-central and fx-team 2014-06-24 17:24:53 +01:00
Paolo Amadini
9fde0e4ab8 Bug 1023484 - Improvements and test for the initial requestAutocomplete stub. r=MattN
--HG--
rename : toolkit/components/formautofill/AutofillController.js => toolkit/components/formautofill/FormAutofillContentService.js
rename : toolkit/components/formautofill/nsIAutofillController.idl => toolkit/components/formautofill/nsIFormAutofillContentService.idl
2014-06-24 12:15:02 +01:00
Yuki Sekiguchi
f7ce3d30ca Bug 664104 - Part 2: Make ruby related element HTMLElement. r=wchen 2014-06-20 17:08:31 -07:00
Ms2ger
bad4ca4d29 Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Ms2ger
451c7edf83 Backout revision 308e51eae10c for build bustage.
--HG--
rename : layout/style/CSSStyleSheet.cpp => layout/style/nsCSSStyleSheet.cpp
rename : layout/style/CSSStyleSheet.h => layout/style/nsCSSStyleSheet.h
2014-06-20 13:00:08 +02:00
Ms2ger
9fb7f507f0 Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Daniel Holbert
240f4e7f0d Bug 1024328: Remove unnecessary #includes of nsFrameManager.h. r=jwatt 2014-06-19 22:07:46 -04:00
Kyle Huey
b1e3198eed Bug 737976: Remove nsINodeInfo. r=smaug
--HG--
rename : content/base/src/nsNodeInfo.cpp => dom/base/NodeInfo.cpp
rename : content/base/public/nsINodeInfo.h => dom/base/NodeInfo.h
rename : content/base/src/nsNodeInfo.h => dom/base/NodeInfoInlines.h
2014-06-19 19:01:40 -07:00
Benjamin Chen
303b54cc27 Bug 969372: part1: Change the prototype of FreezableElementEnumerator in nsIDocument from nsIContent to nsISupports, and rename it to ActivityObservers. r=roc 2014-06-19 10:09:35 +08:00
Ed Morley
69e146bee2 Backed out changeset d346871db5f6 (bug 1020697) for intermittent test failures 2014-06-19 13:19:56 +01:00
Birunthan Mohanathas
bc0233fe47 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Kyle Huey
8141a83378 Bug 1015662: Drop the edge from <track> to its channel once the load is completed. r=bz 2014-06-18 13:10:24 -07:00
Giovanni Sferro
2c4043716f Bug 1020697 - Implement @autocomplete for <select>. r=smaug 2014-06-17 19:50:00 +02:00
Masayuki Nakano
d6f9e801a9 Bug 976673 part.3 Don't synthesize mouse events while another mouse event is being synthesized r=smaug 2014-06-18 15:13:00 +09:00
Ehsan Akhgari
3ea7f0f045 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
e6b190e7a8 merge fx-team to mozilla-central a=merge 2014-06-17 14:09:46 +02:00
Olli Pettay
08774e4ba4 Bug 902618 - Parser notifies about subtree roots, but not their descendants, r=hsivonen,bz 2014-06-17 02:01:22 +03:00
Gijs Kruitbosch
e07b6ed7da Bug 1022025, r=bholley,mfinkle 2014-06-14 22:01:55 +01:00
Giovanni Sferro
71cc0169a0 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
d8710ad720 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
dfe8c38082 Bug 1009675 part 3. Return WebIDL 'object' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Boris Zbarsky
bc1e511e33 Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
"Kan-Ru Chen (陳侃如)"
9ed870c153 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
d6e3f67015 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
8b30e40485 Bug 1013662 - Fix bad implicit conversion constructors in MFBT; r=froydnj,Waldo 2014-06-06 23:17:06 -04:00
Gijs Kruitbosch
8c909b4cd5 Bug 1021969 - fix bustage on a CLOSED TREE rs=firebot 2014-06-07 00:11:03 +01:00
Gijs Kruitbosch
ee2a420fc8 Bug 1021969, r=bholley,jaws
--HG--
extra : rebase_source : f8bc835a5bfcd62e1d59b31d75841d1cc6339634
2014-06-06 17:33:50 +01:00
Chris Pearce
8e19fdd5f4 Bug 1016162 - Base EME DOM APIs, not connected to a CDM yet. r=bz 2014-06-07 08:52:15 +12:00
Brian Nicholson
c77681267b Bug 1020440 - Create DOM interfaces and stub for requestAutocomplete. r=smaug,MattN 2014-06-06 13:06:15 -07:00
Hallvord R. M. Steen
032f277d67 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
e2b922a824 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
e67418d048 Bug 1009935 - Implement the @autocomplete attribute for values other than off/on. r=smaug 2014-06-06 00:25:02 -07:00
John Daggett
861e272110 Bug 280443 p2 - parse font family lists into fontlist structs. r=heycam 2014-06-06 15:09:23 +09:00
Gabor Krizsanits
d0ec15b409 Bug 1019319 - part 2: Import as link type should be prefed. r=mrbkap 2014-06-05 14:46:56 +02:00
William Chen
667b68b711 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
f13d351a57 Backed out changeset c15e59678a60 (bug 1017896) for reftest failures 2014-06-04 08:55:59 +02:00
William Chen
3d94034ff8 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
7ffb8ff042 Bug 1019248: Convert ProgressEvent to WebIDL codegen. r=smaug 2014-06-03 15:52:36 -07:00
Kyle Huey
4118dbe6e7 Back out bug 1019248 due to test failures. 2014-06-02 20:18:17 -07:00
Kyle Huey
38ae93d63c Bug 1019248: Convert ProgressEvent to WebIDL codegen. r=smaug 2014-06-02 19:02:37 -07:00
Chris Double
1d1a56c87a Bug 1002297 - Seek in unbuffered ranges with MSE - r=kinetik 2014-06-02 22:25:42 +00:00
Tim Taubert
7185561a51 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
db7080c070 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
cbb8fdebfc Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
Gabor Krizsanits
0a0f6be6f6 Bug 1015576 - fixing performance regression on android. r=mrbkap 2014-06-02 13:28:55 +02:00
Phil Ringnalda
3e5340dd29 Merge f-t to m-c 2014-05-31 20:31:07 -07:00
Victor Porof
9ce7e9c089 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Ms2ger
a39cee4de3 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
7008e17308 Merge mozilla-central to mozilla-inbound 2014-05-26 15:32:24 +02:00
Carsten "Tomcat" Book
5f4bdd154a merge b2g-inbound to mozilla-central 2014-05-26 15:26:11 +02:00
Wes Kocher
4fef3cddfb Merge m-c to b2g-inbound 2014-05-23 17:39:48 -07:00
Vincent Chen
c53b5f77a8 Bug 981477 - Disable B2G emulator reftests that fail oop, r=ahal 2014-05-23 15:56:15 -04:00
Boris Zbarsky
f65d94f073 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
fc3c69f427 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
35342606f7 Bug 891952. Named getters for HTMLCollection should never return anything for "". r=smaug 2014-05-22 00:23:51 -04:00
Carsten "Tomcat" Book
73b3171eda 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
d5e3b7e734 Backed out changeset c0cf2e5d7c56 (bug 1013316) 2014-05-22 08:22:30 +02:00
William Chen
ccc506dc38 Bug 999271 - Implement web components getDestinationInsertionPoints() extension to Element interface. r=mrbkap 2014-05-21 23:11:53 -07:00
Boris Zbarsky
deaae1898e 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
a06b36141b Bug 891952. Named getters for HTMLCollection should never return anything for "". r=smaug 2014-05-22 00:23:51 -04:00
Birunthan Mohanathas
58641805f1 Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
f65339b9ff Bug 869836 - Part 5: Use AssignLiteral instead of Assign where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
189593520f Bug 869836 - Part 4: Use EqualsLiteral instead of Equals(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:51 +03:00
Ryan VanderMeulen
29d0dd7695 Merge b2g-inbound to m-c. 2014-05-21 16:17:37 -04:00
Ryan VanderMeulen
e93e623678 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
9b5a153e09 Bug 877072 - HTML Imports part1. r=mrbkap 2014-05-21 19:08:12 +02:00
Vincent Chen
ae94d263e5 Bug 981477 - Disable B2G emulator reftests that fail oop, r=ahal 2014-05-21 12:19:54 -04:00
Ryan VanderMeulen
a17ca0a2c9 Bug 881443 - Disable test_video_wakelock.html on B2G debug emulator builds. 2014-05-21 10:02:35 -04:00
Tim Taubert
0032b00e5d 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
a6feda0f22 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
e07a2e6821 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
8c5cca136c Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
Arnaud Bienner
8da02158b7 Bug 826185 - Remove now useless method in HTMLInputElement. r=jwatt 2014-03-13 15:08:08 +01:00
Boris Zbarsky
f1b813f113 Bug 985135 - Test that sandboxed origin flag is honoured across redirects. r=bobowen 2014-03-18 17:24:46 -04:00
John Schoenick
1a87d43ea5 Bug 870021 - Part 6 - Add getCurrentSrc to HTMLImageElement. r=jst, sr=jst 2014-05-30 13:03:08 -07:00
John Schoenick
5c64992870 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
b60ee0537a Bug 870021 - Part 4 - Move HTMLImageElement::GetNatural{Height,Width} up to ImageLoadingContent. r=jst 2014-05-30 13:03:06 -07:00
John Schoenick
ab8925043d Bug 870021 - Part 3 - Support basic srcset in HTMLImageElement via ResponsiveSelector. r=jst 2014-05-30 13:03:05 -07:00
John Schoenick
32c77198c6 Bug 870021 - Part 1.3 - Add srcset to HTMLImageElement & atoms. r=jst, sr=jst 2014-05-30 13:03:04 -07:00
Ms2ger
7d5dc0457f 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
42ad93c2a2 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
f37518beb7 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
679902d427 Backed out changeset 1f34d528c0f1 (bug 979692) 2014-05-19 15:36:36 +01:00
Rik Cabanier
1ceeb9ec46 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
252c68c45e Bug 1011510 - Codegen.py: Add EndGuard to enum generation; r=bz 2014-05-16 19:41:31 +02:00
Olli Pettay
3c1d40d1f6 Bug 1009160, don't leak via SVGIFrame.sandbox, r=bz 2014-05-15 12:05:42 +03:00
Nick Lebedev
c49e263d0f 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
efa76c75e5 Bug 1009445 - Support AsyncEventDispatcher on non-node interfaces, r=masayuki 2014-05-14 12:48:37 +03:00
Ryo HIKOSAKA
e033b922d6 Bug 949435, part 2 - Create a base class of nsGenericHTMLFrameElement and SVGIFrameElement. r=bz 2014-02-18 10:19:52 +09:00
Ryo HIKOSAKA
fa93b6989d Bug 949435, Part 1 - Move nsGenericHTMLElement::GetTokenList to Element. r=bz 2014-02-18 10:12:54 +09:00
Chris Peterson
6ee6a846e8 Bug 990764 - Replace MOZ_ASSUME_UNREACHABLE in content. r=smaug 2014-04-20 22:00:33 -07:00
Benoit Jacob
60d536773a 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
e017b754d7 Bug 1005593 - Test keypress event for numbers on a number control input. r=ehsan 2014-05-07 17:28:00 +02:00
Giovanni Sferro
cd94cc2419 Bug 942321 - Changing a select option field via javascript updates validity state. r=bz 2014-05-06 19:19:00 +02:00
Bobby Holley
5a3bee8d99 Bug 997987 - Remove usage of nsIScriptSecurityManager::GetSubjectPrincipal. r=Ms2ger 2014-05-06 15:43:03 -07:00
Ryan VanderMeulen
3eb4656bf3 Merge b2g-inbound to m-c. 2014-05-06 16:31:58 -04:00
Giovanni Sferro
50fc553974 Bug 1003741 - nsNumberControlFrame implements nsITextControlFrame. r=ehsan 2014-05-05 18:21:00 -04:00
Ben Turner
ee54000826 Bug 982779 - Ensure that child->parent IPC blobs are never mysterious, r=baku. 2014-04-29 13:02:41 -07:00
Arnaud Bienner
30cf61925e Bug 1005675 - s/telephone/tel/ in some tests. r=bz 2014-05-05 02:17:31 +02:00
Ophir LOJKINE
dba74c3b3a 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
84041459a1 Bug 1003306 - part 2 - use services::GetPermissionManager everywhere that's appropriate; r=ehsan 2014-04-29 13:27:26 -04:00
Birunthan Mohanathas
a85cd37de4 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
1216544376 Bug 959787 - Handlify remaining JS APIs r=terrence r=bz r=bholley 2014-04-30 10:10:33 +01:00
Giovanni Sferro
2493cb4b02 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
c15c9f6bc6 Bug 1001383 - HTMLMediaElement::UpdateAudioChannelPlayingState() should use system principal because calling AudioChannel API, r=bz 2014-04-28 11:22:16 +01:00
Birunthan Mohanathas
5f1fde8824 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
e15b005a7d Bug 343444 - Fix HTMLFormElement::GetNextRadioButton to return only radio buttons. r=jst 2014-04-26 21:55:00 -04:00
Ehsan Akhgari
298702866a 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
5820a8c792 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
7ac92ae5ea 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
2eece5c24d Bug 881512 - Hide MediaSourceResource implementation details from HTMLMediaElement. r=cajbir 2014-04-14 23:24:00 +12:00
Matthew Gregan
c3621f0329 Bug 881512 - Add start (and rename end) time helper to TimeRanges. r=cajbir 2014-04-14 23:23:00 +12:00
Wes Kocher
f08090e9a9 Backed out changeset 669fdba2ceef (bug 997805) for reftest bustage on a CLOSED TREE 2014-04-25 15:12:22 -07:00
Jason Orendorff
4740c9dea6 Bug 547140, part 4 - Remove flags argument from resolve hooks. r=Waldo. 2014-04-25 16:11:02 -05:00
Ehsan Akhgari
c8f5bacca6 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
ea19195f6e Bug 998729 - Mark nsIPhonetic as non-scriptable; r=smaug 2014-04-24 17:10:40 -04:00
Aryeh Gregor
780bdf4c9b Bug 950386 - Move mozilla::Selection to mozilla::dom::Selection; r=ehsan 2014-04-10 19:09:40 +03:00
Robert O'Callahan
38c751230b 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
0f67e8fe14 Bug 969201 - HTMLLinkElement sizes attribute, f=ms2ger, r=bz 2014-04-17 12:50:54 +01:00
Matt Woodrow
5f57c2e041 Bug 997014 - Part 4: Remove the external canvas API. r=roc 2014-04-17 17:31:12 +12:00
Matt Woodrow
86b6375508 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
ba19928c26 Backed out changeset 20b75bf44c1e (bug 997014) 2014-04-17 08:43:43 +02:00
Carsten "Tomcat" Book
6660a44984 Backed out changeset 29ed3c34af5e (bug 997014) 2014-04-17 08:43:40 +02:00
Matt Woodrow
b67c6c7a20 Bug 997014 - Part 4: Remove the external canvas API. r=roc 2014-04-17 17:31:12 +12:00
Matt Woodrow
09beb252fa 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
581c606391 Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Boris Zbarsky
9c3392475d 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
ad59a21b39 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
200e95e9eb 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
720fac2327 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
3de1018bbe Bug 989528 - Rename AutoSystemCaller to AutoNoJSAPI, and assert against pre-existing exceptions. r=bz 2014-04-14 20:27:00 -07:00
Andrea Marchesini
4266c27429 Bug 987064 - Remove AudioChannelType. r=roc, r=mchen, r=bent 2014-04-10 18:39:20 +01:00
Giovanni Sferro
b032f1eb92 Bug 982189 - Fix Input type="number" immutability. r=jst 2014-04-13 14:42:40 -04:00
Rick Eyre
ca1c5aecfa 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
0c709bd84f Bug 968835 - Cleanup nsHTMLDocument::GetSelection; r=smaug 2014-04-12 10:15:56 +02:00
Ehsan Akhgari
16c3058c54 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
1f6cb07200 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
fd2961dce2 Bug 950308 - TextTrack, TextTrackCue, TextTrackList should BindToOwner. r=smaug 2014-04-07 13:58:38 -04:00
Ms2ger
08f301a40e Bug 968835 - Cleanup nsHTMLDocument::GetSelection; r=smaug 2014-04-10 13:24:24 +02:00
Carsten "Tomcat" Book
ae409227bd 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
190cf6a2a2 Bug 987064 - Remove AudioChannelType, r=roc, r=mchen, r=bent 2014-04-10 11:49:23 +01:00
Vasanthakumar Pandurangan
0f755350a7 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
ecab2beca9 Bug 993253 Implement DOM InputEvent interface with isComposing attribute r=smaug+ehsan 2014-04-10 16:11:37 +09:00
Boris Zbarsky
e74e09a7f2 Bug 993889 part 6. Remove the "scope" argument of dom::WrapObject methods. r=bholley 2014-04-10 00:58:43 -04:00
Boris Zbarsky
2105713bd6 Bug 993889 part 2. Remove the duplicated WrapNative methods in HTMLAllCollection. r=bholley 2014-04-10 00:58:42 -04:00
Boris Zbarsky
79dab91ff6 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
846fc2fd78 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