Commit Graph

8305 Commits

Author SHA1 Message Date
Bobby Holley
06f27cde2c Bug 829872 - Return null for cross-origin contentDocument. r=bz 2013-05-03 14:47:09 -07:00
Mounir Lamouri
12abff1ab3 Bug 867950 - Refactor HTMLInputElement::{Clone,RestoreState,SaveState}() to use GetValueMode() instead of mType. r=smaug 2013-05-03 18:17:09 +01:00
Gregory Szorc
522764dec4 Bug 863069 - Part 1: Sort lists in moz.build files; r=mshal 2013-05-03 09:54:45 -07:00
Jonathan Watt
2d3ff5809a Bug 853525 - Mochitests for <input type=range> rounding issues. r=mounir 2013-05-06 00:23:18 +01:00
Jonathan Watt
8df48d0c75 Bug 853525 - Convert much of HTMLInputElement (step handling, validation, events, etc.) to use mozilla::Decimal (a Binary Coded Decimal type) to avoid many rounding issues when it has fractional step values. r=mounir 2013-05-06 00:23:18 +01:00
Peter Van der Beken
70530ae566 Bug 868929 - Convert ImageDocument to WebIDL, consolidate PostCreateWrapper call into nsIDocument::WrapObject. r=bz.
--HG--
rename : content/html/document/src/ImageDocument.cpp => content/html/document/src/ImageDocument.h
extra : rebase_source : 79780765f9e6be8846774344e0218631903478d4
2013-05-06 15:42:00 +02:00
Peter Van der Beken
a340410615 Bug 868929 - Convert ImageDocument to WebIDL, switch to WebIDL. r=bz.
--HG--
rename : content/html/document/src/ImageDocument.cpp => content/html/document/src/ImageDocument.h
extra : rebase_source : 18af4f816c456e9a642f12b504651b19765141dc
2013-05-06 15:42:00 +02:00
Peter Van der Beken
893bf6ac64 Bug 868929 - Convert ImageDocument to WebIDL, move class into a header. r=bz.
--HG--
rename : content/html/document/src/ImageDocument.cpp => content/html/document/src/ImageDocument.h
extra : rebase_source : 080b7c60b131b68528a8bee45c30761cbb0e0278
2013-05-06 15:42:00 +02:00
Peter Van der Beken
dfbadfdb0e Bug 855971 - Switch HTMLDocument to WebIDL bindings. r=bz. 2012-12-11 21:45:36 -05:00
Peter Van der Beken
b33ba06a9d Bug 820846 - Modify the ListBase IC to work with [OverrideBuiltins] bindings, codegen changes and make HTMLDocument OverrideBuiltins. r=bz. 2013-04-20 18:04:09 +02:00
Ehsan Akhgari
75c12cc4b0 Backed out 3 changesets (bug 855971, bug 820846) because of browser-chrome test failures
Backed out changeset a2245b038bcc (bug 855971)
Backed out changeset 2a999f8ee317 (bug 820846)
Backed out changeset 6dba144500f3 (bug 820846)
2013-05-04 19:27:20 -04:00
Peter Van der Beken
1c3055ed84 Bug 855971 - Switch HTMLDocument to WebIDL bindings. r=bz.
--HG--
extra : rebase_source : d5ec9a80442e5b9c8df29f6d5971b61cb9b05778
2012-12-11 21:45:36 -05:00
Peter Van der Beken
1a28e0e54a Bug 820846 - Modify the ListBase IC to work with [OverrideBuiltins] bindings, codegen changes and make HTMLDocument OverrideBuiltins. r=bz.
--HG--
extra : rebase_source : 12dbaff8dd2acfeee87bdfa738a013344cb1977a
2013-04-20 18:04:09 +02:00
Trevor Saunders
bf4396ca60 bug 856779 - outparamdel nsIDocument::CreatePresShell() r=dholbert 2013-04-01 06:26:37 -04:00
Chris Pearce
01b2b87eff Bug 862182. r=roc,doublec 2013-05-03 10:59:18 +12:00
Boris Zbarsky
b6eb99321f Bug 742206 followup. Fix unexpected passes so we can get rid of this CLOSED TREE. 2013-05-02 16:33:17 -04:00
Ryan VanderMeulen
64fdfa6be4 Merge m-c to inbound. 2013-05-02 15:17:39 -04:00
Ryan VanderMeulen
31c5b9121f Merge m-c to birch. 2013-05-02 13:10:42 -04:00
Andrea Marchesini
b2bea803cb Bug 859824 - MediaElement creates a WakeLock when playing audio. r=jlebar 2013-05-02 12:45:35 -04:00
Ryan VanderMeulen
4f99a50331 Backed out changeset 9fd2515981bf (bug 859824) for bustage. 2013-05-02 12:44:49 -04:00
David Zbarsky
ceed6680d6 Bug 866450 Part 7: Root some additional JS::Values found during review r=bz 2013-05-02 05:12:47 -04:00
David Zbarsky
43c59d9684 Bug 866450 Part 5: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:47 -04:00
David Zbarsky
8cdcfa8969 Bug 866450 Part 1: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:45 -04:00
Cykesiopka
d854f8ffdd Bug 541918 - Uncomment head attribute test in content/html/document/test/test_bug324378.html. r=jst 2013-05-02 07:52:25 -04:00
Andrea Marchesini
d1dc25678d Bug 859824 - MediaElement creates a WakeLock when playing audio. r=jlebar 2013-05-02 12:05:00 -04:00
Boris Zbarsky
91afbd4476 Bug 742206 part 4. Start using the new Date stuff for HTMLInputElement.valueAsDate. r=smaug 2013-05-02 14:38:20 -04:00
Ed Morley
cd58a5c447 Backed out changeset ad10907da2d4 (bug 866450) for B2G build failures 2013-05-02 11:58:05 +01:00
Ed Morley
3b749d7033 Backed out changeset c5ba9c0dc252 (bug 866450) 2013-05-02 11:57:04 +01:00
Ed Morley
b957907d9a Backed out changeset e0b51717bb64 (bug 866450) 2013-05-02 11:56:57 +01:00
David Zbarsky
0fcb790866 Bug 866450 Part 7: Root some additional JS::Values found during review r=bz 2013-05-02 05:12:47 -04:00
David Zbarsky
148f96b383 Bug 866450 Part 5: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:47 -04:00
David Zbarsky
1527681014 Bug 866450 Part 1: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:45 -04:00
Boris Zbarsky
2bf051349f Bug 867312. Expose some APIs for working with millisecond timestamps corresponding to JS dates. r=waldo 2013-05-01 23:44:11 -04:00
Ryan VanderMeulen
d1954a4a47 Backed out changeset 088bb497b532 (bug 867950) for mochitest-1 failures. 2013-05-02 11:15:50 -04:00
Mounir Lamouri
82a4a8231b Bug 867950 - Refactor HTMLInputElement::{Clone,RestoreState,SaveState}() to use GetValueMode() instead of mType. r=smaug 2013-05-02 14:26:44 +01:00
Mounir Lamouri
5a4ff80d3f Bug 857355 - Hide HTMLInputElement's inputMode behind a pref and only turn it on for Nightly/Aurora. r=smaug 2013-05-01 16:58:30 +01:00
Jonathan Kew
fd3328acbc bug 857089 - backout changeset b85353b6cc38 pending revised UI for the feature 2013-05-01 10:12:41 +01:00
Chris Pearce
c40495db60 Bug 862182 - Revert bug 862183 due to frequent orange in 459439 crashtest. CLOSED TREE. r=philor 2013-05-01 13:33:33 +12:00
Chris Pearce
3d9c509f4a Bug 862182 - Hold references to MediaResource in nsRefPtrs. r=roc 2013-05-01 11:23:46 +12:00
Ryan VanderMeulen
463e9e1959 Backed out changeset f4da799815da (bug 861689) for mochitest asserts.
CLOSED TREE
2013-04-30 11:12:17 -04:00
Martijn Wargers
3478411501 Bug 861689 - Unable to restore focus, expect failures and timeouts after certain tests in the b2g mochitest run. r=jmaher 2013-04-29 23:14:32 +02:00
Boris Zbarsky
9e0ae56b05 Bug 865961. Root the scope argument of wrap-the-xpconnect-object helpers in WebIDL bindings. r=ms2ger 2013-04-29 17:33:42 -04:00
Bobby Holley
50cbd97181 Bug 865729 - Remove nsIJSContextStack from content/foo. r=gabor
We leave it in nsContentUtils.cpp, which we'll handle in a separate patch.
2013-04-29 11:16:17 -07:00
Ryan VanderMeulen
0050771e43 Merge m-c to inbound. 2013-04-29 13:09:28 -04:00
Gabor Krizsanits
c37eff0ba8 Bug 863140 - Remove GetInnerWindowInternal. r=bz 2013-04-29 17:34:16 +02:00
Marco Chen
3b90907359 Bug 860150 - [Audio] Audio_Data API should join audio channel. r=kinetik 2013-04-29 14:45:13 +08:00
David Zbarsky
5e695a24f0 Root PropertyNodeList.getNames, no bug, r=Ms2ger over irc 2013-04-27 15:51:05 -04:00
Ryan VanderMeulen
f87a720181 Merge m-c to inbound. 2013-04-26 08:00:50 -04:00
Ryan VanderMeulen
b1b8a41e3d Merge birch to m-c. 2013-04-26 08:00:07 -04:00
Justin Lebar
49e3399773 Bug 844323 - Prelude part 1: Use a pref to in nsHTMLMediaElement to control whether we talk to the audio service. r=amarchesini
Previously, we used #ifdef B2G.  Using a pref allows us to write mochitests which run in desktop Firefox that test the audio service and its interaction with other components.
2013-04-25 20:53:25 -04:00
Boris Zbarsky
c62295c2f9 Bug 864727 part 6. Make all the WrapNode methods take a handle for the scope object. r=ms2ger 2013-04-25 12:29:54 -04:00
Boris Zbarsky
b834439797 Bug 864727 part 5. Make all the WrapObject methods take a handle for the scope object. r=ms2ger 2013-04-25 12:29:54 -04:00
Aryeh Gregor
f0404a303a Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Boris Zbarsky
f3f44cfa74 Bug 862629 part 1. Stop playing compartment games with WebIDL callbacks and just use the given object as-is. r=peterv 2013-04-24 14:59:15 -04:00
Robert O'Callahan
89b611865b Bug 786539. Part 2: AreAllStreamsForResourceSuspended should ignore streams that can't read the resource data we need. r=cpearce 2013-04-24 21:19:02 +12:00
David Zbarsky
720289e06b Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger 2013-04-24 00:22:37 -04:00
Gijs Kruitbosch
e73272c17f Bug 865147 - Fix crash in nsContentUtils::ContentIsDescendantOf by checking parent of 'before' node, r=bz, feedback=Ms2ger 2013-04-24 13:05:59 +02:00
Alexander Surkov
b3dd9402da Bug 559764 - make input@type=range accessible, r=tbsaunde, roc, smaug 2013-04-28 09:54:54 +09:00
Andrea Marchesini
b439583079 Bug 864518 - HTMLMediaElement::mAudioChannelAgent not declared to CC, r=bz
Bug 864518 - HTMLMediaElement::mAudioChannelAgent not declared to CC, r=bz
2013-04-23 08:28:00 -07:00
Jonathan Watt
7de32e5729 Bug 863634 - Update the position of the thumb for <input type=range> when script uses .value, .valueAsNumber, .stepUp() or .stepDown(). r=mounir 2013-04-23 15:04:28 +01:00
Brandon Waterloo
4ea4704e26 Bug 862117 - Move CSS rule classes relevant to image documents for cursor appearance (zoom in / zoom out) into layout/style/ImageDocument.css. r=roc, r=jaws
This stylesheet applies to all ImageDocuments, including those in frames. In old location for CSS rules, some full themes would not show cursors correctly, nor would ImageDocuments in frames. Image rotation CSS rule classes moved to layout/style/TopLevelImageDocument.css.
2013-04-21 18:29:14 -04:00
Ralph Giles
ff817875bc Bug 864544 - Make HTMLMediaElement::mPlayed a cycle collected nsRefPtr. r=cpearce,smaug
The current code is safe, but brittle. Making this explicitly
refcounted and traced protects against future code changes.
2013-04-22 16:45:00 -07:00
David Zbarsky
2cca325f53 Remove TitleChangedListener dead code, no bug, r=jlebar over irc 2013-04-21 21:25:29 -04:00
David Zbarsky
9e176d3804 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger 2013-04-21 21:25:28 -04:00
Ms2ger
93a0f1af78 Merge m-c to m-i. 2013-04-21 09:54:41 +02:00
Ms2ger
557b79c4ac Bug 862084 - Mark HTMLSelectElement.{item,namedItem} as potentially returning null to fix a crash; r=bz 2013-04-21 08:41:54 +02:00
Matt Brubeck
2316632d88 Back out cd218e07ede2, e57ac5581703, f53ad2a10ff8, ec91252c57d2, 2eca17711eff, 1997e63a1124 for build errors 2013-04-18 22:29:25 -07:00
David Zbarsky
6411801815 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger 2013-04-19 00:48:03 -04:00
David Zbarsky
e274b7c588 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 6 r=Ms2ger 2013-04-19 00:48:02 -04:00
David Zbarsky
2988515b8d Bug 836176 Part 1.5: Fix nsIDocument::AsHTMLDocument() r=bz 2013-04-18 21:06:57 -04:00
Daniel Holbert
15aad4c86f Bug 860913 part 3: Mark content/html/content/src/ as FAIL_ON_WARNINGS. r=mounir 2013-04-18 13:33:19 -07:00
Daniel Holbert
639048a535 Bug 860913 part 2: Replace arg-less MOZ_NOT_REACHED with MOZ_ASSERT in HTMLInputElement.cpp, to fix MSVC build warning and match intended semantics. r=mounir 2013-04-18 13:33:14 -07:00
Daniel Holbert
762cc5aba3 Bug 860913 part 1: Use ALLOW_THIS_IN_INITIALIZER_LIST macro to silence existing instances of MSVC warning C4355 in content/html/content/src/. r=mounir 2013-04-18 13:33:13 -07:00
Jonathan Kew
e73c910d32 bug 857089 - add a device-pixel zoom level to image viewer. r=bz 2013-04-18 16:27:37 +01:00
Jonathan Watt
efae06a65b Bug 841941 - Add a mochitest to check that the order in which @value/@min/@max/@step are specified in markup makes no difference to the value that <input type=range> will be given. r=mounir 2013-04-17 11:49:33 +01:00
Mike Shal
df7deac25b Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
David Zbarsky
fc2920533d Backout 2201d650ac90 for not building on Windows on a CLOSED TREE 2013-04-19 18:57:56 -04:00
David Zbarsky
71130e2248 Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger 2013-04-19 18:18:33 -04:00
David Zbarsky
b1ad5f5a1f [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 6 r=Ms2ger 2013-04-19 18:18:33 -04:00
Kyle Huey
828aa2ec13 Bug 857669: Remove unused traversal method. r=mounir 2013-04-16 09:10:00 -07:00
Jonathan Watt
8b8c5084a5 Bug 851782 - Dispatch an 'input' event when the 'type' of an <input type=range> is changed while a user is dragging its thumb. r=smaug 2013-04-16 15:20:37 +01:00
Ryan VanderMeulen
8141f518fc Merge m-c to inbound. 2013-04-15 16:21:51 -04:00
Simon Montagu
644bc5ddde Remove unnecessary calls to ClearHasDirAutoSet in AfterSetAttr, Bug 861607, r=ehsan 2013-04-15 23:14:40 +03:00
Martijn Wargers
01ffcc1bab Bug 861674 - Change some content mochitests from enablePrivilege to use SpecialPowers. r=jgriffin 2013-04-15 19:50:45 +02:00
Masayuki Nakano
148047b59d Bug 857820 part.3 Drop <blink> support from HTML parser r=mrbkap 2013-04-14 19:11:09 +09:00
Ehsan Akhgari
a6dd534136 Bug 861325 - Use an optional NamedConstructor argument for HTMLAudioElement; r=bzbarsky 2013-04-12 15:35:46 -04:00
Ms2ger
230059c152 Bug 861098 - Remove more classinfo; r=bz 2013-04-13 09:08:49 +02:00
Ms2ger
b3380bd0d9 Bug 856629 - Part b: Implement ChildNode.remove(); r=bz 2013-04-13 09:08:47 +02:00
Ms2ger
1da020b54f Bug 826740 - Part f: Move HTMLCanvasElement to Paris bindings; r=khuey 2013-04-13 09:05:51 +02:00
Ms2ger
e357de80db Bug 826740 - Part e: Implement the WebIDL API for HTMLCanvasElement; r=khuey 2013-04-13 09:05:40 +02:00
Ms2ger
096dddd2e4 Bug 826740 - Part d: Use implicit_jscontext to simplify nsIDOMHTMLCanvasElement.getContext; r=khuey 2013-04-13 09:05:33 +02:00
Ms2ger
a0616a7d2a Bug 826740 - Part c: Pass a JS::Value instead of an nsIVariant to nsIDOMHTMLCanvasElement.toDataURL; r=khuey 2013-04-13 09:05:22 +02:00
Ms2ger
bd2685689e Bug 826740 - Part b: Remove unused arguments from nsIDOMHTMLCanvasElement; r=khuey 2013-04-13 09:04:53 +02:00
Ms2ger
15b0f65a83 Bug 826740 - Part a: General cleanup for HTMLCanvasElement; r=khuey 2013-04-13 09:03:57 +02:00
Ms2ger
c8846c452b Bug 841488 - Part d: Move HTMLSelectElement to WebIDL bindings, remove CI and QS; r=khuey 2013-04-13 09:01:59 +02:00
Ms2ger
1559c80a6d Bug 841488 - Part c: Implement the remainder of the WebIDL API on HTMLSelectElement; r=khuey 2013-04-13 09:01:04 +02:00
Ms2ger
c4090d9585 Bug 858211 - Use more webidl features for HTMLAudioElement; r=bz 2013-04-13 08:59:30 +02:00
Jonathan Kew
1cda4edae8 bug 857192 - use float instead of integer CSS pixels to track available space for image. r=bz 2013-04-15 18:53:03 +01:00
Alice Lieutier
144cf2e3aa Bug 854812 - Do not allow email with sub-domains or tld starting or ending with a '-' in <input type='email'>. r=mounir,khuey 2013-04-11 00:05:07 +02:00
Joshua Cranmer
1eb62b3971 Bug 856108 - Port static analyses to clang, part 2a: use MOZ_STACK_CLASS in content. r=bz 2013-04-11 22:20:09 -05:00