Commit Graph

2173 Commits

Author SHA1 Message Date
Ms2ger
2e89d057d9 Bug 684471 - Make nsGenericHTMLFormElement::mFieldSet a nsHTMLFieldSetElement*; r=peterv 2011-09-18 11:22:18 +02:00
Ms2ger
7b7048fda0 Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst 2011-09-18 11:22:17 +02:00
Boris Zbarsky
7ddc04fb21 Bug 680922. Don't try to remove anonymous elements from the name map. r=sicking 2011-09-19 22:59:43 -04:00
Masatoshi Kimura
b568eebe2a Bug 685774 - Implement document.scripts. r=bz 2011-09-09 19:18:03 +02:00
Ehsan Akhgari
3a950c12c0 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-09 10:05:52 -04:00
Olli Pettay
1c7334ba31 Bug 682058 - nsGenericElement::SetInnerHTML should suppress DOMNodeRemoved when dealing with a non-HTML5 document, r=sicking 2011-09-09 12:18:00 +03:00
Masayuki Nakano
e6baf66ee4 Bug 669028 part.7 content should use mozilla::LookAndFeel rather than nsILookAndFeel r=roc 2011-09-09 11:27:12 +09:00
Ehsan Akhgari
9ced1bc054 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-08 11:46:37 -04:00
Tim Taubert
d96dbb66ff merge the last green changeset on m-c to fx-team 2011-09-08 11:03:35 +02:00
Felix Fung
9bb0edf799 Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00
aceman
266607effb Bug 136556 - Image title should use "×", not "x". r=bz, r=dolske 2011-09-05 17:26:23 -07:00
Ed Morley
59e8ad1ced Merge mozilla-central to mozilla-inbound 2011-09-05 01:18:16 +01:00
Chris Pearce
c28e8a66d9 Bug 545812 - Break out of DOM full-screen mode upon non-alpha-numeric key input. r=smaug 2011-09-05 08:40:18 +12:00
Chris Pearce
fb98936759 Bug 545812 - Only allow request and cancel full-screen api to work from a trusted event handler. r=smaug 2011-09-05 08:40:18 +12:00
Chris Pearce
1452491964 Bug 545812 - Mochitests for full-screen DOM API. r=jst 2011-09-05 08:40:18 +12:00
Chris Pearce
c782ba7555 Bug 545812 - Implement iframe.mozallowfullscreen. r=jst 2011-09-05 08:40:17 +12:00
Chris Pearce
7c1b965126 Bug 545812 - DOM/content changes required for DOM full-screen API. r=jst 2011-09-05 08:39:05 +12:00
Ms2ger
79de18756d Bug 683457 - test_bug430392.html should not call SimpleTest.finish() twice; r=peterv 2011-09-04 12:49:29 +02:00
Justin Wood
7130d2f9b7 Backed out changeset 97216ae0fc04 due to accidentally landing to m-c rather than try. 2011-09-03 03:15:21 -04:00
Atul Aggarwal
a4698e8d6e Bug 668819 - HTMLTableColElement span should be unsigned long try: -b do -p linux,linux64,win32 -u all -t all 2011-09-03 12:15:03 +05:30
Oleg Romashin
d75d28ff7c Bug 681443 - Fennec does not resize document properly in portrait mode; f=mbrubeck r=jst 2011-09-01 22:16:13 +01:00
arno renevier
72d929e113 bug 679784: let nsIContentPrefService handle private browsing mode; r=ehsan
Manage private browsing mode in content pref service. CPS should be available
in private browsing mode, but should not store informations on disk, and should
clear all informations once the private session ends.

When setting a pref in private mode, it is stored in an in-memory hash table.
When getting a pref, it is retrieved from that hash table if available.
Otherwise, it is retrieved using the standard mechanism. When removing a pref,
it is retrieved from the hash table. The rationale is that in private mode,
it's ok to read a pref from normal database, but not ok to set it.

The in-memory hash table is cleared when leaving the private browsing mode.

When removing a set of preferences (with removeGroupedPrefs or
removePrefsByName), preferences are removed from the in-memory hashtable, *and*
from normal mode database. The rationale is that visiting a website may trigger
setting/getting/removing for a specific preference only. But removing many
prefs at once is the result of an action not associated with a website. For
example, user may wish to delete all its informations. In that case, user
probably expects to not have those informations restored once it leaves private
browsing mode.
2011-09-01 14:13:03 -04:00
Chris Pearce
d50edc2277 Bug 684627 - Add time limit to nsEventStateManager::IsHandlingUserInput(). r=smaug 2011-09-07 08:14:59 +12:00
Josh Matthews
ff41822e1b Bug 683614 - Fix typo in oninvalid event handler name in test. r=mounir 2011-08-31 18:06:49 +02:00
Atul Aggarwal
e85785bdd4 Bug 679653 - Makes li.value follow rules for integer reflection. r=mounir 2011-08-31 12:34:07 +02:00
Marco Castelluccio
7cb0506077 Bug 682744 - Sprinkle some do_QueryObject fairy dust around the tree; r=khuey 2011-08-30 22:45:31 +01:00
Peter Van der Beken
c7c99a0fea Fix for bug 678528 (Traverse mChildNodes (and consolidate node CC code)). r=jst. 2011-08-28 16:07:24 +02:00
Ms2ger
c9046e037c Bug 682460 - Fix leak when forcing layout during mutation event for table attribute; r=smaug 2011-08-28 11:59:34 +01:00
Marco Bonardo
40c1e206de Merge mozilla-central and mozilla-inbound 2011-08-27 10:40:12 +02:00
David Zbarsky
0f136718bb Bug 682366 - Remove nsINode::ChildIterator r=smaug 2011-08-27 00:23:02 +01:00
Matt Brubeck
94680ab6db Merge the last green changeset from mozilla-inbound to mozilla-central 2011-08-26 09:17:54 -07:00
Mounir Lamouri
40b271b155 Bug 681667 - Create a test_form_attributes_reflection.html with novalidate check. r=Ms2ger
The other attribute reflection tests will be done with bug 682239.
2011-08-26 11:43:23 +02:00
Ed Morley
a31b5adc78 Merge last green changeset of m-c to m-i 2011-08-26 10:26:46 +01:00
Ms2ger
6aeeb50315 Bug 672054 - Part b: Remove nsIDOMNSMouseEvent; r=smaug 2011-08-26 09:43:56 +02:00
Arno Renevier
33243cdfc6 Bug 681190 - Fixes crash in nsPNGEncoder::ConvertHostARGBRow when calling mozGetAsFile on large canvas; r=roc 2011-08-26 20:50:23 +01:00
Marco Bonardo
01583193e9 Merge last green changeset from mozilla-inbound to mozilla-central 2011-08-25 13:26:15 +02:00
Ms2ger
34e16a2126 Bug 681615 - Move a couple of tests from content/html/content/test to content/html/content/test/forms; r=mounir
--HG--
rename : content/html/content/test/test_bug555840.html => content/html/content/test/forms/test_datalist_element.html
rename : content/html/content/test/test_bug556007.html => content/html/content/test/forms/test_input_list_attribute.html
rename : content/html/content/test/test_bug345624-2.html => content/html/content/test/forms/test_maxlength_attribute.html
rename : content/html/content/test/test_bug345624-1.html => content/html/content/test/forms/test_validation.html
2011-08-25 10:45:53 +02:00
Brian R. Bondy
af4638202b Bug 670466 - Expose image encoder options to canvas.toDataURL. r=smaug 2011-08-25 16:09:05 -04:00
Mounir Lamouri
47ba6f0cd0 Bug 682239 - Tests all HTMLFormElement attributes reflection. r=Ms2ger 2011-08-26 16:30:02 +02:00
Mats Palmgren
6894179e71 Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
Boris Zbarsky
8bdd1a64af Bug 659350 part 5. The guts of the change to move from storing inline event handlers on the JSObject to storing them in the event listener manager directly, so we can easily set/read them via IDL.
The changes here are as follows:
1) nsIJSEventListener now stores the handler.  This is guaranteed to be already bound properly, if needed, before being set in the nsIJSEventListener.
2) The old classinfo glue to deal with on* properties is gone.
3) IDL-based methods for on* properties have been added.
2011-08-24 15:49:25 -04:00
Boris Zbarsky
81585dfcf4 Bug 659350 part 3. Add nsITouchEventReceiver for elements. r=smaug 2011-08-24 15:49:25 -04:00
Mounir Lamouri
bac3416b1a Bug 681666 - Add formNoValidate attribute to test_button_attributes_reflection.html r=Ms2ger 2011-08-24 21:32:06 +02:00
Chris Double
1e5e4609a1 Bug 648595 - Part 1/2: Implement temporal dimension portion of Media Fragments URI specification for video/audio - r=cpearce
--HG--
extra : rebase_source : f9b5986e739a091c37caeb882904434f21fb6d81
2011-08-25 11:42:23 +12:00
Ehsan Akhgari
7b45893388 Bug 686247 - Text control frames should accept dynamic changes to the CSS overflow property; r=bzbarsky,surkov 2011-09-13 15:09:51 -04:00
Ehsan Akhgari
71ab4b195b Backout changeset 2705abe8d3f2 (bug 686247) again because of the accessibility test failures 2011-09-13 17:42:43 -04:00
Ehsan Akhgari
ba819d11ee Bug 686247 - Text control frames should accept dynamic changes to the CSS overflow property; r=bzbarsky,surkov 2011-09-13 15:09:51 -04:00
Ehsan Akhgari
6b8124559c Backed out changeset c9013399fa39 (bug 686247) because of mochitest-a11y failures on Linux 2011-09-13 13:29:30 -04:00
Ehsan Akhgari
5964c37a93 Bug 686247 - Text control frames should accept dynamic changes to the CSS overflow property; r=bzbarsky,surkov 2011-09-13 11:45:54 -04:00
Mounir Lamouri
4efa316d84 Bug 657702 - Remove leading and trailing whitespaces in <input type='email'> value sanitizing algorithm. r=smaug 2011-08-22 14:58:01 +02:00
Bernd
fc4e7dd856 bug 211636 replace shared table attribute mapping by a more rule conforming mapping r=dbaron 2011-08-20 12:18:50 +02:00
Matthew Gregan
6a2291960b Bug 623444 - Remove unused non-blocking code from nsAudioStream. r=doublec 2011-08-08 12:51:04 +12:00
Mounir Lamouri
fe50c38240 Bug 679499 - Add nsHTMLAnchorElement, nsHTMLSpanElement and nsHTMLDivElement to the DOM Memory Reporter. r=jst 2011-08-18 00:14:53 +02:00
Fabien Cazenave
c85fd56970 Bug 456798 — Implement document.queryCommandSupported
Rationale: a command is supported if it can be converted to an internal Midas
command. `nsCommandManager::IsCommandSupported' might not be needed any more.

Corollary: document.queryCommandEnabled should return false on unsupported
commands without raising any exception.

Browserscope tests: +43 points = 258 failed tests...
 * Q section: 0/48 => 42/48
   42 tests used to fail (execution exception), now pass
 * QE section: 36/46 => 37/46
   garbage-1_TEXT-1 used to fail, now passes
In these two sections, a lot of tests that used to raise an exception now return
`false' (that's still a FAIL, but that's not the same kind of FAIL).

Other Browserscope tests are not affected by this patch.
The status of this test suite (currentStatus.js) has been updated accordingly.
2011-08-17 08:04:14 -04:00
Marco Castelluccio
b8fd68e0c6 Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen 2011-08-14 10:39:26 -07:00
Malini Das
960a7c7495 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- new tests. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das
02665c9658 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain 1/1. r=jmaher, a=test-only 2011-08-12 12:21:42 -04:00
Malini Das
da32b5cbd3 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only 2011-08-12 12:21:37 -04:00
Benoit Jacob
7c39744842 Bug 676413 - fix the crossOrigin attribute test - r=smaug
This is not a limited-enumerated attribute, so let's use reflectString instead.
2011-08-11 18:17:59 -04:00
Boris Zbarsky
a7f91c37d8 Bug 676413 - crossOrigin attribute invalid-value-default should be Anonymous - r=sicking
As specified in http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#cors-settings-attribute

"The empty string is also a valid keyword, and maps to the Anonymous state. The attribute's invalid value default is the Anonymous state. The missing value default, used when the attribute is omitted, is the No CORS state."
2011-08-10 18:25:22 -04:00
Ms2ger
8a80c69b70 Bug 677101, part d - Remove some includes from nsHTMLInputElement.cpp; r=volkmar 2011-08-11 15:29:59 +02:00
Ms2ger
d377c55ed2 Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar 2011-08-11 15:29:58 +02:00
Ms2ger
9414376b01 Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar 2011-08-11 15:29:50 +02:00
Mounir Lamouri
8b3a5c07fb Merging mozilla-inbound into mozilla-central. 2011-08-11 13:08:47 +02:00
Jan Varga
9b22131da7 Bug 677463 - <menuitem>.label should return .textContent if there's no label content attribute r=smaug 2011-08-11 08:07:26 +02:00
L. David Baron
61b034946c Backout changeset 89a9f4a88d5b (bug 676413) for causing content/html/content/test/test_bug664299.html failures. 2011-08-10 18:00:39 -07:00
Boris Zbarsky
ee08b0a2a4 Bug 676413 - crossOrigin attribute invalid-value-default should be Anonymous - r=sicking
As specified in http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#cors-settings-attribute

"The empty string is also a valid keyword, and maps to the Anonymous state. The attribute's invalid value default is the Anonymous state. The missing value default, used when the attribute is omitted, is the No CORS state."
2011-08-10 18:25:22 -04:00
Olli Pettay
badccfcde0 Bug 677658, disable scriptloader when parsing in innerHTML/InsertAdjacentHTML, r=sicking 2011-08-10 23:53:14 +03:00
Michael Ventnor
dd85675225 Bug 677495 - Image documents shouldn't have things other than the <img> in the <body> r=roc 2011-08-11 14:23:00 +10:00
Paul ADENOT
1493cdedf4 Bug 462892 - Add a mIsSynthetic member to nsIDocument r=roc 2011-08-09 08:35:00 -04:00
Ehsan Akhgari
e48161b8ff Bug 677661 - Remove nsTPtrArray and add a SafeElementAt(index_type) API to nsTArray when it's instantiated with a pointer type; r=sicking 2011-08-10 01:36:00 -04:00
Justin Wood
f20a7276c2 Merge from m-c 2011-08-09 06:31:01 -04:00
Paul ADENOT
36cf6a91a7 Bug 462960 - Implement nsIDOMHTMLMediaElement::GetSeekable() + seeking algorithm part 7. r=cpearce 2011-08-09 12:10:48 +02:00
Jan Varga
5020b003ce Bug 617528 Part 2 - Core implementation r=smaug
--HG--
rename : content/html/content/test/test_bug418756.html => content/html/content/test/test_checked.html
2011-08-08 19:31:32 +02:00
Ms2ger
e2080fcb25 Bug 677107 - Sprinkle IsHTML(nsIAtom*) pixie dust over select-option-optgroup code; r=bz 2011-08-08 17:14:33 +02:00
Henri Sivonen
123c12d01a Bug 675621 - Reposition update batch to avoid an assertion about removal mutations when inserting a DOM fragment in insertAdjacentHTML. r=Olli.Pettay. 2011-08-05 19:45:31 +03:00
Nikhil Marathe
c3f0bf12bc Bug 664249 - API fixes for inlined TypedArray properties. r=mrbkap
--HG--
extra : rebase_source : 1bcd524f639b1e79dbb461c737b6abdbc62ba606
2011-08-01 15:50:04 -07:00
Ehsan Akhgari
473351faa5 Bug 674820 - input/textarea.selectionStart/selectionEnd/selectionDirection should not require the presence of a frame; r=bzbarsky
--HG--
rename : layout/reftests/editor/selection_visibility_after_reframe.html => layout/reftests/editor/selection_visibility_after_reframe-3.html
2011-07-29 17:31:57 -04:00
Marco Bonardo
527591fbb1 Merge mozilla-central and mozilla-inbound 2011-08-04 11:35:17 +02:00
Marco Bonardo
8dfa1762f3 Merge last green changeset from mozilla-inbound to mozilla-central 2011-08-04 11:19:01 +02:00
Marco Bonardo
195908f0b1 Backout changeset d43b06e79794 (Bug 612839) due to build bustage. 2011-08-04 11:02:49 +02:00
Marco Castelluccio
21c8d81293 Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen 2011-08-03 19:54:55 +02:00
Benoit Jacob
a45586ae35 Bug 673378 - Crash at nsHTMLCanvasElement::GetContext - r=roc
When UpdateContext fails, we only reset mCurrentContext, and forgot to reset mCurrentContextId.
2011-08-03 19:35:56 -04:00
Michael Wu
e6dce0d707 Backed out changeset f29ddae820bf (bug 664249) for possible orange r=killer 2011-08-01 21:18:48 -07:00
Nikhil Marathe
a28285d0a7 Bug 664249 - API fixes for inlined TypedArray properties. r=mrbkap
--HG--
extra : rebase_source : fd068e786d6d49b4800a6efebf9811191a6309ef
2011-08-01 15:50:04 -07:00
Paul ADENOT
99d65b2f85 Bug 619752 part 1 - Duration should be +Inf on infinite length video streams. Core changes and corresponding test fixes. r=cpearce 2011-08-01 14:11:20 -04:00
Makoto Kato
5c20792f2d Bug 675072 - can not enter text into comment textbox for online picasa web picture. r=smaug 2011-08-01 20:28:52 +09:00
Henri Sivonen
968a07a802 Bug 613662 - Implement insertAdjacentHTML. r=bzbarsky. 2011-08-01 10:48:28 +03:00
Henri Sivonen
c7d8484bd1 Bug 563322 part 2 - Avoid calling nsScriptLoader::SetEnabled in the innerHTML setter when using the XML parser. r=Olli.Pettay. 2011-08-01 10:48:28 +03:00
Henri Sivonen
cd3a59b9ef Bug 563322 part 1 - Avoid calling nsScriptLoader::SetEnabled in the innerHTML setter when using the HTML parser. r=Olli.Pettay. 2011-08-01 10:48:28 +03:00
Henri Sivonen
0176915bb7 Bug 596182 - Make fragment parsers global. Remove resulting dead code. r=Olli.Pettay, r=bzbarsky. 2011-08-01 10:48:24 +03:00
arno renevier
3654ca6f15 Bug 673685 - remove unneeded null assignments. r=roc 2011-08-01 09:20:05 +02:00
David Zbarsky
d15acdd08b Bug 583533 - Implement AccessKeyLabel attribute r=smaug, ui-review=faaborg 2011-07-31 21:43:54 +02:00
Boris Zbarsky
f34542d2df Bug 675267. Remove some target arguments from nsEventListenerManager APIs, since we have a perfectly good mTarget. r=smaug 2011-07-29 15:37:17 -04:00
Henri Sivonen
147c3287ec Bug 482909 part 2 - Implement an HTML/SVG/MathML sanitizer independently of parsers or serializers. r=bzbarsky. 2011-07-29 14:48:04 +03:00
Ehsan Akhgari
2f51d73796 Bug 674558 - Implement the HTML5 selectionDirection property for text controls (input and textarea); r=bzbarsky 2011-07-28 13:51:22 -04:00
Ehsan Akhgari
8eaf1685d8 Backout bug 670205 and bug 673451 because of build bustage
--HG--
extra : rebase_source : 1125480c0f47d0388876c09648d64bdbd62d1206
2011-07-26 14:41:43 -04:00
Bill McCloskey
51329bbb65 Bug 670205 - Maintain JSOPTION_UNROOTED_GLOBAL in ContextHolder::ContextHolder (r=gal) 2011-07-13 15:43:31 -07:00
Sindre Dammann
deab7c03fb Bug 578534. Make Navigator.cookieEnabled take per-site exceptions into account. r=bzbarsky 2011-08-03 14:32:32 -04:00
Boris Zbarsky
2dd5488c1b Bug 506844. Remove kids in order, not in reverse order, when clearing textContent and innerHTML. r=sicking 2011-08-03 14:32:32 -04:00