Commit Graph

19775 Commits

Author SHA1 Message Date
Marco Castelluccio
d3f9d68e9e Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen 2011-08-14 10:39:26 -07:00
L. David Baron
d2b6891283 Switch lots of callers to using nsLayoutUtils::GetFontMetricsForFrame and nsLayoutUtils::GetFontMetricsForStyleContext. (Bug 678671, patch 1) r=roc
This changes a number of callers that were previously bypassing the use
of the correct language (with either no language or the charset-detected
language on the pres context via nsPresContext::GetMetricsFor) and/or
the correct user font set to pass the correct values, which should
improve the correctness of the behavior of whatever they were using the
fonts for, and also reduce the number of unique sets of font metrics
requested (which helps nsFontCache effectiveness).
2011-08-14 10:08:04 -07:00
Ms2ger
f1ce0d69e4 Merge m-c to m-i 2011-08-13 14:47:03 +02:00
Malini Das
132054c82e 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
ee09d54d6f 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
91a27b5ddc 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
Malini Das
ea71db787e Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Matt Brubeck
981b18c20b Merge the last green changeset from mozilla-inbound to mozilla-central 2011-08-12 06:41:55 -07:00
Benoit Jacob
09f3b97ace 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
Benoit Jacob
495c9c0f00 Bug 676413 - test crossOrigin without value - r=bz 2011-08-10 18:25:22 -04:00
Benoit Jacob
8d3a866b35 Bug 676413 - test that crossOrigin="" or invalid value has the behavior of "anonymous" - r=bz 2011-08-10 18:25:22 -04:00
Boris Zbarsky
cb62b5e34b 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
Steven Michaud
21ffbbde09 Bug 668953 - Support two-finger horizontal swipe on OS X Lion. r=bgirard 2011-08-11 12:42:23 -05:00
Ms2ger
3245ed0541 Bug 677101, part d - Remove some includes from nsHTMLInputElement.cpp; r=volkmar 2011-08-11 15:29:59 +02:00
Ms2ger
3fea5b3901 Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar 2011-08-11 15:29:58 +02:00
Ms2ger
4ca9cbc0f3 Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar 2011-08-11 15:29:50 +02:00
Mounir Lamouri
43d40b8987 Merging mozilla-inbound into mozilla-central. 2011-08-11 13:08:47 +02:00
Jan Varga
e55a38f214 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
50fab69e73 Backout changeset 89a9f4a88d5b (bug 676413) for causing content/html/content/test/test_bug664299.html failures. 2011-08-10 18:00:39 -07:00
L. David Baron
376285b3db Backout changeset 289becc07558 (bug 676413) for causing content/html/content/test/test_bug664299.html failures. 2011-08-10 18:00:20 -07:00
L. David Baron
4957b0fa04 Backout changeset aac29f0bdd10 (bug 676413) for causing content/html/content/test/test_bug664299.html failures. 2011-08-10 17:59:55 -07:00
Benoit Jacob
ed1b42f47f Bug 638549 - fix leak of WebGL about:memory reporters - r=jrmuizel
See bug 638549 comment 25. We had to ref-count these pointers.
2011-08-10 18:25:23 -04:00
Benoit Jacob
024236d717 Bug 676413 - test crossOrigin without value - r=bz 2011-08-10 18:25:22 -04:00
Benoit Jacob
47377bd040 Bug 676413 - test that crossOrigin="" or invalid value has the behavior of "anonymous" - r=bz 2011-08-10 18:25:22 -04:00
Boris Zbarsky
a81e58524f 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
b25b4bffbe Bug 677658, disable scriptloader when parsing in innerHTML/InsertAdjacentHTML, r=sicking 2011-08-10 23:53:14 +03:00
Olli Pettay
e789398821 Bug 677847 - Crash [@ nsContentUtils::IsEventAttributeName ], r=jst 2011-08-10 23:24:48 +03:00
Michael Ventnor
e78ff0e96c 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
Mounir Lamouri
2395006a80 Bug 669904 - Add nsAttrValue size to the DOM Memory Reporter. f=bz r=jst 2011-08-11 00:54:19 +02:00
Paul ADENOT
e82199ff00 Bug 462892 - Add a mIsSynthetic member to nsIDocument r=roc 2011-08-09 08:35:00 -04:00
arno renevier
56a37f401e Bug 338427 - Spellchecker should respect the langi attribute; r=ehsan 2011-08-12 15:12:45 -04:00
Henri Sivonen
3aa0ce16e6 Bug 613662 - Implement insertAdjacentHTML. r=bzbarsky. 2011-08-01 10:48:28 +03:00
Henri Sivonen
783a7d246e Bug 563322 part 3 - Successfully prevent script execution in the XML fragment case. r=Olli.Pettay. 2011-08-01 10:48:28 +03:00
Henri Sivonen
9ebccb6c57 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
b1630eeb02 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
21d32e82f3 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
d757e783f6 Bug 673685 - remove unneeded null assignments. r=roc 2011-08-01 09:20:05 +02:00
Chris Pearce
5a1e4bad65 Bug 675045 - Abort DecodeToTarget() when we detect a poorly muxed file. r=kinetik 2011-08-01 14:45:58 +12:00
David Zbarsky
6739221259 Bug 583533 - Implement AccessKeyLabel attribute r=smaug, ui-review=faaborg 2011-07-31 21:43:54 +02:00
Dão Gottwald
2e2aeb86fd Backed out changeset 2878f506066a 2011-07-31 21:39:32 +02:00
Justin Lebar
4419b304b5 Bug 673467 - Part 2. Fix test. r=smaug 2011-07-31 13:22:14 -04:00
Boris Zbarsky
2495a40343 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
Boris Zbarsky
8983ada153 Bug 672014. Pass the crossorigin attribute through to image preloading code. r=joe,hsivonen 2011-07-29 14:30:00 -04:00
Boris Zbarsky
ed28a9a6e4 Merge backout of rev f5aecf9010ef (bug 672014) 2011-07-29 15:29:27 -04:00
Boris Zbarsky
1242922ac9 Back out changeset f5aecf9010ef (bug 672014) due to build bustage. 2011-07-29 15:29:01 -04:00
Boris Zbarsky
23f2cddc95 Bug 672014. Pass the crossorigin attribute through to image preloading code. r=joe,hsivonen 2011-07-29 14:30:00 -04:00
julian.reschke@gmx.de
6468dbcdf7 Fix bug 672079: single quotes are not delimiters inside the Link header field, r=bzbarsky 2011-07-29 14:30:00 -04:00
Henri Sivonen
7c13c0d93c 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
Marco Bonardo
506125133a Merge mozilla-central and mozilla-inbound 2011-07-29 13:46:15 +02:00
Marco Bonardo
90e7ef2184 Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-29 11:48:24 +02:00
Marco Bonardo
76e359171e Bug 674578 - Support resizer[dir="bottomstart"].
r=enn
2011-07-29 11:38:41 +02:00
David Volgyes
e446815189 Bug 673154 - Use nsAutoArrayPtr for SoundDataValue allocations to simplify ownership. r=cpearce 2011-07-29 13:54:21 +12:00
Benoit Jacob
46b893fa86 Bug 674042 - WebGL: crash in getUniformLocation with too long uniform identifiers - r=jrmuizel
This limits the length of uniform and attrib identifiers to 4095 characters, to steer clear GL implementation bugs with too long identifiers. The 4095 is totally arbitrary, all we know is that crashes happen after 2^22 chars.
2011-07-28 17:12:31 -04:00
Olli Pettay
3f55f147db Bug 674658 - nsDOMEventTargetWrapperCache fails to unlink inherited fields, r=bent
--HG--
extra : rebase_source : b5d6292372a57373bd8230862f1808fa6e99ed4e
2011-07-28 22:54:35 +03:00
Marco Bonardo
cbcf0066aa Merge mozilla-inbound and mozilla-central on a CLOSED TREE to fix Android permaorange 2011-07-28 17:42:28 +02:00
Ehsan Akhgari
3f0737e881 Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-28 10:37:23 -04:00
Dão Gottwald
4befa4efb9 merge backout 2011-07-28 11:52:18 +02:00
Dão Gottwald
d0d9a88e6a Backed out changeset 3d3f25a67e24 2011-07-28 11:51:14 +02:00
Josh Matthews
7cecc562ac Bug 674436 - Relax message listener restrictions to allow callable proxies. r=smaug 2011-07-27 16:21:53 -04:00
Josh Matthews
4c6cbf634d Bug 674436 - Relax message listener restrictions to allow callable proxies. r=smaug 2011-07-27 16:21:53 -04:00
Benoit Jacob
b1938cf078 Bug 674074 - about:memory blank in presence of WebGL contexts - r=njn
This fixes the names of WebGL KIND_HEAP reporters. Newly enforced rules about the naming of KIND_HEAP reporters were making about:memory fail to work in presence of WebGL reporters.
2011-07-27 14:46:15 -04:00
Benoit Jacob
1f448f761e Bug 667222 - In texSubImage2D, check that the update format matches the existing texture - r=jrmuizel 2011-07-27 14:46:14 -04:00
Benoit Jacob
3495fb4249 Bug 668743 - ANGLE fails to load on WinXP after upgrade from r653 to r686 - r=jrmuizel
This patch implements delay-loading of DWMAPI.DLL to prevent ANGLE's libEGL.dll from failing to load on WinXP where DWMAPI.DLL is not present.
2011-07-27 14:46:14 -04:00
Michael Wu
46a170c5f0 Bug 671417 - Incorrect use of PRBool when other types are more appropriate or vice versa, r=bz,ehsan,dwitte,joe,vlad,luke,mak,roc 2011-07-26 23:43:37 -07:00
Chris Pearce
0fa0aa3a28 Bug 664341 - Specify media decoder's thread stack size. r=kinetik 2011-07-27 15:28:03 +12:00
Matthew Gregan
2f39e6408b Bug 672755 - Add memory reporters for decoded video and audio queues. r=cpearce r=joe 2011-07-22 15:17:23 +12:00
Ginn Chen
35f9491020 Bug 673865 - WebGLContextGL.cpp failed to compile with Solaris Studio. r=bjacob. 2011-07-28 11:42:22 +08:00
Ginn Chen
7b5e7e6d4a Bug 674469 - Add -xarch=sse2 flag for *SSE2.cpp with Solaris Studio compiler. r=khuey. 2011-07-28 11:40:39 +08:00
Paul ADENOT
121ec2a03b 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
Ed Morley
e3464bb801 Bug 666984 - Remove/substitute NS_FloatIsFinite since it does the same thing as NS_finite; r=jwatt 2011-08-01 13:43:23 -04:00
Boris Zbarsky
8ea3e2cf2a Bug 669979. Don't do zoom or history actions for momentum scrolls, no matter what's going on with pixel scrolling. r=smaug,masayuki 2011-08-01 13:43:23 -04:00
Henri Sivonen
4359420cae Bug 675437 - Obtain the local name atom of attributes in a non-crashy way in nsTreeSanitizer. r=bzbarsky. 2011-08-01 17:10:07 +03:00
Makoto Kato
01539dd21a Bug 675072 - can not enter text into comment textbox for online picasa web picture. r=smaug 2011-08-01 20:28:52 +09:00
Daniel Holbert
1bfbc2bfd3 Merge last green mozilla-central changeset to mozilla-inbound 2011-07-28 14:53:21 -07:00
Ehsan Akhgari
5ce917a794 Bug 674558 - Implement the HTML5 selectionDirection property for text controls (input and textarea); r=bzbarsky 2011-07-28 13:51:22 -04:00
Joel Maher
57a986e1bb Bug 674319 - move test_bug391728.html to mochitest-chrome. r=mossop, a=test-only
--HG--
rename : content/base/test/file_bug391728.html => content/base/test/chrome/file_bug391728.html
rename : content/base/test/file_bug391728_2.html => content/base/test/chrome/file_bug391728_2.html
rename : content/base/test/test_bug391728.html => content/base/test/chrome/test_bug391728.html
2011-07-28 12:04:00 -04:00
Daniel Holbert
6981f5f0c4 Bug 678256: Fix init list warning for nsBuiltinDecoderStateMachine. r=cpearce 2011-08-11 15:19:56 -07:00
Mounir Lamouri
837af0d74a Bug 463491 - Do not reduce the popup blocker abuse level when using command event. r=jst 2011-08-11 18:31:33 +02:00
Benoit Jacob
e00ca83dcf Bug 669013 - Despite supporting OES_texture_float, getSupportedExtensions still returns no extensions - r=joe 2011-08-15 15:53:02 -04:00
Felipe Gomes
cae957ce8a Bug 667077 - Add atob/btoa to frame scripts. r=smaug 2011-06-25 05:52:00 -04:00
Ehsan Akhgari
2bd4f9ec29 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
07e9b1d64c Bug 670205 - Maintain JSOPTION_UNROOTED_GLOBAL in ContextHolder::ContextHolder (r=gal) 2011-07-13 15:43:31 -07:00
Ehsan Akhgari
aed48ece37 Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-26 14:03:34 -04:00
Olli Pettay
fd4edaef0e bug 335998, strong parentNode, r=peterv 2011-07-26 14:11:14 +03:00
Marco Bonardo
e3d3e25769 Merge last green changeset from mozilla-inbound to mozilla-central 2011-07-26 11:50:00 +02:00
Michael Wu
b34f351453 Bug 671185 - Incorrect return of NS_ERROR_* codes in functions returning PRBool, r=mak,ehsan,taras,biesi,pike,khuey,dholbert,josh,bjacob,bsmith 2011-07-25 21:57:58 -07:00
Boris Zbarsky
b1cbe6237a Bug 667336. Make sure we don't overflow unsigned int on item(). r=peterv 2011-07-26 10:01:31 -04:00
Olli Pettay
0282058875 Bug 673806, unlink animation controller, r=dholbert 2011-07-25 20:50:29 +03:00
Kyle Huey
6311b456b0 Bug 673859: Don't overwrite the event's trusted flag in nsGenericElement::DispatchClickEvent. r=smaug 2011-07-25 10:35:25 -07:00
Ehsan Akhgari
4a2d60fa6f Merge mozilla-central and mozilla-inbound 2011-07-24 12:52:51 -04:00
Paul ADENOT
897b6e19c8 Bug 599205 - Controls can show incorrect buffered range after media download finishes. r=kinetik 2011-07-23 23:45:37 +02:00
Julian Reschke
4a4110664c Bug 666562. fix quoted-string unescaping in HTTP link header fields, r=bzbarsky 2011-07-23 14:31:49 +02:00
Ms2ger
19bead777e Bug 666665 - Remove isindex content code; r=sicking+hsivonen 2011-07-23 11:45:38 +02:00
Robert Longson
79403fff16 Bug 671892 - Simplify a common filter number conversion pattern. r=dholbert 2011-07-23 09:44:52 +01:00
Robert Longson
0c88b8e318 Bug 672055 - Use nsCharSeparatedTokenizer to parse number-optional-number attributes. r=dholbert sr=jonas 2011-07-23 09:41:17 +01:00
Brandon Sterne
33f4a72172 Bug 673588 - use correct location when resolving CSP sources and report-uris, r=dveditz 2011-07-22 16:14:58 -07:00
Ehsan Akhgari
d05a9ff08e Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-22 15:48:18 -04:00
Marco Bonardo
df96b57a40 Merge mozilla-central and mozilla-inbound 2011-07-22 15:31:14 +02:00
Kyle Huey
ae5e8e9dcf Merge m-c to b-s. 2011-07-22 00:03:35 -07:00
Brandon Sterne
3d76e0ad34 Bug 664983 - don't send request headers with CSP violation reports, r=dveditz 2011-07-21 13:47:35 -07:00
Oleg Romashin
36e1d316e0 Bug 648250 - remove wrong assert r=Olli.Pettay 2011-07-21 13:05:55 -07:00
Ehsan Akhgari
cd1a1bbd1b Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-21 11:11:45 -04:00
Marco Bonardo
8dd73f97b5 Merge last green changeset from mozilla-inbound to mozilla-central 2011-07-21 14:32:10 +02:00
Makoto Kato
c995e5116d Bug 666200 - fix typo 2011-07-21 19:23:28 +09:00
Makoto Kato
e40f86cea7 Bug 666200 - support select.add(element, long before). r=smaug 2011-07-21 19:16:28 +09:00
arno renevier
8ed39834bd Bug 669299 - Remove unneeded nsPrintfCString.h includes. r=bsmedberg 2011-07-21 04:37:31 +02:00
Ehsan Akhgari
a67d9bdc60 Bug 672709 - Update the intrinsic state for elements in designMode documents correctly; r=bzbarsky
This patch fixes two things:
 * The intrinsic state on elements inserted in a contenteditable section when the
   document is in designMode (the nsGenericElement::UpdateEditableState change).
 * The intrinsic state on elements existing in the document when the document first
   enters designMode (the nsHTMLDocument::EditingStateChanged change).

The reftest included tests both cases.
2011-07-20 15:58:25 -04:00
Kyle Huey
6a8c4ffada Bug 664254: Make DOM File objects implement nsIMutable so they can be immutabilized for sharing across threads. r=sicking 2011-07-19 09:27:46 -07:00
Kyle Huey
41e8bbcab3 Bug 646157: Prevent 2^n growth in event dispatch in a chain of nested labels. r=smaug
Prior to this patch, Gecko allowed bubbling click events to trigger multiple <label>s, and for the synthetic click events generated by <label>s to also trigger additional <label>s.  In contrast, Opera allows only the latter, and Webkit/IE allow neither.  Gecko's behavior leads to 2^n events being dispatched in the case of markup like:

<label for="thing1" /><input type="foo" name="thing1" />
<label for="thing2" /><input type="foo" name="thing2" />
...

After this patch a bubbling click event triggers at most one <label>, and the synthetic click event cannot trigger additional labels.  Our behavior is still not identical to Webkit/IE though, because in Gecko a click event will still bubble up past a <label>, while in Webkit/IE the click event will stop at the <label>.
2011-07-19 09:19:32 -07:00
Brian Birtles
7bd8aba78a Bug 671749 - Rename incorrectly named SMIL crashtest 665335-1.svg to 665334-1.svg, r=dholbert
--HG--
rename : content/smil/crashtests/665335-1.svg => content/smil/crashtests/665334-1.svg
2011-07-19 09:23:21 +09:00
Brian R. Bondy
a32bd1dff7 Bug 274626 - Show tooltips for disabled elements. r=smaug 2011-07-18 16:16:44 -07:00
Ehsan Akhgari
aadd188062 Merge mozilla-central and mozilla-inbound 2011-07-18 18:16:25 -04:00
Josh Matthews
7d2b53dcf4 Bug 674048 - Check the correct condition when setting a header on an XHR. r=sicking 2011-07-25 18:08:44 -04:00
Brian Birtles
38ac253275 Bug 670313 - Check range of instance time values when they are passed in; r=dholbert 2011-07-25 10:46:08 -07:00
Brian Birtles
7be5386864 Bug 669225 part 7 - Mark stack classes as such; r=dholbert 2011-07-25 10:46:04 -07:00
Brian Birtles
64b77423d0 Bug 669225 part 6 - Break dependencies sooner on unlink; r=dholbert 2011-07-25 10:45:49 -07:00
Brian Birtles
fddbdeeb9d Bug 669225 part 5 - Make sure other removal functors don't remove instance times that should be preserved; r=dholbert 2011-07-25 10:45:29 -07:00
Brian Birtles
b2f855e923 Bug 669225 part 4 - Make sure filtering of instance times doesn't remove the previous interval's end time; r=dholbert 2011-07-25 10:45:03 -07:00
Brian Birtles
76486aa9d2 Bug 669225 part 3 - Add assertion to catch potentially problematic instance time deletion; r=dholbert 2011-07-25 10:44:58 -07:00
Brian Birtles
128db68b09 Bug 669225 part 2 - Preserve instance times that belong to intervals; r=dholbert 2011-07-25 10:44:54 -07:00
Brian Birtles
ddaa7f3554 Bug 669225 part 1 - Crash tests; r=dholbert 2011-07-25 10:44:42 -07:00
Mounir Lamouri
21e1eb314c Bug 673291 - Show the keyboard with a magnifying glass instead of GO when in a search field. r=blassey,smaug 2011-07-25 10:16:09 -07:00
Oleg Romashin
9be7041486 Bug 648250 - image based navigational bar is useless in remote Fennec (window.outerWidth throws js errors). r=Olli.Pettay 2011-07-15 14:46:56 -07:00
Joe Drew
b345d1e8d9 Bug 664299 - Test that the crossOrigin attribute is probably reflected into JS. r=Ms2ger 2011-07-17 13:40:28 -04:00
Joe Drew
8475a70b73 Bug 671906 - Rename crossOrigin atom to crossorigin, because attributes are lowercased before being mapped to atoms. r=bz 2011-07-17 13:40:22 -04:00
Matheus Kerschbaum
b0c1f89ef4 Bug 579571 - Remove --enable-timeline support. r=tglek 2011-07-17 12:07:42 +02:00
Ehsan Akhgari
5cd7d5f37e Merge backout 2011-07-20 15:49:38 -04:00
Ehsan Akhgari
10e0951fce Backout volkmar's push for breaking Windows builds 2011-07-20 15:49:16 -04:00
Mounir Lamouri
57fe0a2e82 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-20 12:18:54 -07:00
Mounir Lamouri
ffa5084e04 Bug 670965 - Make nsCommentNode, nsTextNode, nsXMLCDATASection and nsXMLProcessingInstruction participate in the DOM Memory Reporter. r=jst 2011-07-19 10:05:37 -07:00
Mounir Lamouri
bef176c1be Bug 670964 - Add NS_FINAL_CLASS annotation to nsTextFragment. r=ehsan 2011-07-19 10:04:42 -07:00
Mounir Lamouri
8442e5120e Bug 670962 - Make nsGenericDOMDataNode and nsTextFragment participate to the DOM Memory Reporter. r=jst 2011-07-19 10:04:09 -07:00
Mounir Lamouri
6ad3fb9ad0 Bug 669886 - Make nsMappedAttributeElement, nsStyledElement, nsStyledElementNotElementCSSInline, nsGenericHTMLElement, nsGenericHTMLFormElement and nsGenericHTMLFrameElement participate in the DOM Memory Reporter. r=jst 2011-07-19 09:54:43 -07:00
Mounir Lamouri
0675b475f9 Bug 667887 - Implement nsMappedAttributes::SizeOf(). r=jst,bz 2011-07-19 09:42:14 -07:00
Mounir Lamouri
5c8698b962 Bug 668013 - Add nsHTMLStyleSheet::SizeOf(). r=bz 2011-07-19 09:40:18 -07:00
Mounir Lamouri
0fd61ff800 Bug 670874 - Tests all attributes in test_textarea_attributes_reflection.html. r=Ms2ger 2011-07-20 11:25:47 -07:00
Mounir Lamouri
32f8ab42bd Bug 670873 - Use 'todo' for non-implemented attributes reflection in test_input_attributes_reflection.html. r=Ms2ger 2011-07-19 11:38:12 -07:00
Mounir Lamouri
14950445d5 Bug 669580 - Add a reflectBool method to reflect.js. r=Ms2ger 2011-07-19 11:36:51 -07:00
Marco Bonardo
31872c215c Merge last green changeset from mozilla-inbound to mozilla-central 2011-07-20 15:04:30 +02:00
Dão Gottwald
d9c7be7dfa Fix for undefined Cc/Ci/Cr/Cu in test_bug500885.html, test_bug592802.html, test_bug61098.html and test_bug36619.html 2011-07-20 11:51:43 +02:00
Michael Wu
c62529f8bd Bug 664898 - Cleanup startup cache api, r=taras 2011-07-20 00:39:09 -07:00
Ehsan Akhgari
8aa36b3b5c Revert to changeset e0ce7821fce1 because the latest push broke all of the builds DONTBUILD 2011-07-19 16:25:54 -04:00
Mounir Lamouri
653b1ce364 Bug 670965 - Make nsCommentNode, nsTextNode, nsXMLCDATASection and nsXMLProcessingInstruction participate in the DOM Memory Reporter. r=jst 2011-07-19 10:05:37 -07:00
Mounir Lamouri
502af0ee07 Bug 670964 - Add NS_FINAL_CLASS annotation to nsTextFragment. r=ehsan 2011-07-19 10:04:42 -07:00
Mounir Lamouri
50e884b393 Bug 670962 - Make nsGenericDOMDataNode and nsTextFragment participate to the DOM Memory Reporter. r=jst 2011-07-19 10:46:01 -07:00
Mounir Lamouri
21cf779916 Bug 669886 - Make nsMappedAttributeElement, nsStyledElement, nsStyledElementNotElementCSSInline, nsGenericHTMLElement, nsGenericHTMLFormElement and nsGenericHTMLFrameElement participate in the DOM Memory Reporter. r=jst 2011-07-19 09:54:43 -07:00
Mounir Lamouri
6545d1886a Bug 667887 - Implement nsMappedAttributes::SizeOf(). r=jst,bz 2011-07-19 09:42:14 -07:00
Mounir Lamouri
083bf2d659 Bug 668013 - Add nsHTMLStyleSheet::SizeOf(). r=bz 2011-07-19 09:40:18 -07:00
Mounir Lamouri
b6d655dff0 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-19 11:22:43 -07:00
Mounir Lamouri
8d289de1e9 Bug 670874 - Tests all attributes in test_textarea_attributes_reflection.html. r=Ms2ger 2011-07-19 11:40:30 -07:00
Mounir Lamouri
5ac0fd9afb Bug 670873 - Use 'todo' for non-implemented attributes reflection in test_input_attributes_reflection.html. r=Ms2ger 2011-07-19 11:38:12 -07:00
Mounir Lamouri
3a24860d29 Bug 669580 - Add a reflectBool method to reflect.js. r=Ms2ger 2011-07-19 11:36:51 -07:00
Ehsan Akhgari
2581bfeb30 Bug 646845 - Don't lose the plaintext editor value if it's set while the script blocker for a flush is in progress; r=bz 2011-07-19 14:28:50 -04:00
Mounir Lamouri
58e2fd59fd Backed out bug 669310, bug 668013, bug 667887 and bug 669886 due to build bustage. 2011-07-19 10:49:48 -07:00
Mounir Lamouri
17a0ee001f Bug 669886 - Make nsMappedAttributeElement, nsStyledElement, nsStyledElementNotElementCSSInline, nsGenericHTMLElement, nsGenericHTMLFormElement and nsGenericHTMLFrameElement participate in the DOM Memory Reporter. r=jst 2011-07-19 09:54:43 -07:00
Mounir Lamouri
d7ab5fd420 Bug 667887 - Implement nsMappedAttributes::SizeOf(). r=jst,bz 2011-07-19 09:42:14 -07:00
Mounir Lamouri
210a9fc749 Bug 668013 - Add nsHTMLStyleSheet::SizeOf(). r=bz 2011-07-19 09:40:18 -07:00
Ed Morley
7689e76a8c Bug 671282 - Replace nsDebugAutoBoolTrueSetter in docshell and AutoBoolSetter in SMIL with AutoRestore; r=bz 2011-07-19 12:04:55 +02:00
Benjamin Smedberg
3ee6f4f68e Bug 617539 - Combine nsIRadioGroupContainer_MOZILLA_2_0_BRANCH; r=bz 2011-07-19 11:44:55 +02:00
Mounir Lamouri
8ae6e80c16 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-18 17:05:10 -07:00
Boris Zbarsky
c8b8d529a5 Bug 664721. Treat a document load in a subframe as first-party if it's first-party with all _ancestors_ of the subframe, no matter what's loaded in the subframe itself. r=dwitte 2011-07-19 11:28:03 -04:00
Yu-Hsun Lin
32325c5b26 Bug 486081. Remove nsTime. r=roc
Use TimeStamp/TimeDuration instead.
2011-07-19 11:20:50 -04:00
Patrick McManus
a80c7de2cb bug 662692 - mixed-content websockets should check more than https:// r=bz 2011-07-19 09:17:39 -04:00
Oleg Romashin
c189f1ba66 Backed out changeset 31cbb80c705e, win burning 2011-07-15 14:30:29 -07:00
Oleg Romashin
7494986a3e Bug 648250 - image based navigational bar is useless in remote Fennec (window.outerWidth throws js errors). r=Olli.Pettay
--HG--
extra : rebase_source : 226d9655eb425e6ef18dc0269eb90495c00dbd91
2011-07-15 13:37:03 -07:00
Ehsan Akhgari
62312843c5 Bug 414526 - Backspace at the beginning of a contenteditable element or delete at the end of one should not affect the rest of the contenteditable elements on the page; r=roc
The main fix here involves the introduction of the nsHTMLEditor::IsNodeInActiveEditor
API.  This API returns true if the current selection in the document falls
inside the active editable section.  The patch adds a bunch of checks using
this API to various places in the code to make sure that editing operations do
not escape their editing host.

There are also some unrelated fixes to range promotion code which fix the
bugs that have existed in that code before, but because of the lack of this
check were not uncovered before.

This patch also removes the nsTextEditUtils::InBody API which only made sense
in designMode documents, and was insufficient for contenteditable elements.
2011-07-14 11:25:07 -04:00
Ehsan Akhgari
5e56126930 Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-15 08:13:08 -04:00
Ms2ger
8c78d3f478 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Ms2ger
a36ca91370 Bug 666666 - Reflect HTMLMediaElement.preload like an enumerated attribute; r=bz 2011-07-15 12:18:27 +02:00
Brian Birtles
eba5fed02f Bug 669234 - Use AutoRestore to manage depth recursion tracking in nsSMILTimedElement, r=dholbert 2011-07-15 11:17:15 +09:00
Ehsan Akhgari
84303924b6 Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-14 12:20:34 -04:00
Ginn Chen
2b4e23daf5 Bug 665406 Support XF86Copy, XF86Paste, XF86Cut, XF86Undo, XF86Redo keysym r=masayuki, Olli.Pettay 2011-07-14 09:58:07 +08:00
Masayuki Nakano
6572ebc386 Bug 658155 High resolution scrolling should be enabled even when scrolling speed is customized by prefs r=smaug+jimm 2011-07-15 07:12:20 +09:00
Chris Pearce
35ef90aeb4 Bug 670726 - Remove ns{Ogg,WebM}Reader::CanDecodeToTarget(), it makes invalid assumptions. r=kinetik 2011-07-14 09:24:35 +12:00
Mounir Lamouri
b40c8758f7 Bug 670874 - Tests all attributes in test_textarea_attributes_reflection.html. r=Ms2ger 2011-07-21 09:36:09 -07:00
Mounir Lamouri
3dc34c0a44 Bug 670873 - Use 'todo' for non-implemented attributes reflection in test_input_attributes_reflection.html. r=Ms2ger 2011-07-19 11:38:12 -07:00
Mounir Lamouri
25b1e39c01 Bug 669580 - Add a reflectBool method to reflect.js. r=Ms2ger 2011-07-19 11:36:51 -07:00
Marco Bonardo
377744b774 Merge mozilla-central and mozilla-inbound 2011-07-21 14:44:08 +02:00
Ehsan Akhgari
523ebb7851 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
Pranay Choudhary
265d35ac3b Bug 672577 - Crash [@ SelectionChangeEvent::Run] r=blassey 2011-08-09 19:05:00 -04:00
Mats Palmgren
8172925bbc Bug 677105 - <noscript> content cannot be copied to clipboard. r=bzbarsky 2011-08-09 17:14:37 +02:00
David Zbarsky
feef9bcb83 Bug 672536 - Merge nsISelection2 into nsISelectionPrivate r=smaug 2011-08-07 16:17:00 -04:00
David Zbarsky
110e54925e Bug 672536 - Merge nsISelection3 into nsISelection r=smaug 2011-08-07 16:18:00 -04:00
Justin Wood
bc9a7d1530 Merge from m-c 2011-08-09 06:31:01 -04:00
Paul ADENOT
f582e1c46c Bug 462960 - Implement nsIDOMHTMLMediaElement::GetSeekable() + seeking algorithm part 7. r=cpearce 2011-08-09 12:10:48 +02:00
Jan Varga
a298beaa2e 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
b5d390cce8 Bug 677107 - Sprinkle IsHTML(nsIAtom*) pixie dust over select-option-optgroup code; r=bz 2011-08-08 17:14:33 +02:00
Kyle Huey
15fbe145d9 Merge m-i to m-c. 2011-08-08 08:18:51 -04:00
Boris Zbarsky
6e9a9ac2a9 Bug 675405 part 3. Expand the event list to contain more information than just the name and move all the information from the tables in nsContentUtils to it. r=smaug 2011-08-07 22:30:17 -04:00
Boris Zbarsky
ca4c622987 Bug 675405 part 2. Add some events that we implement that aren't in the spec to the event list, and convert the long lists of event stuff in classinfo to using the canonical event list. r=smaug 2011-08-07 22:27:01 -04:00
Boris Zbarsky
0900312749 Bug 675405 part 1. Create a header that defines the various event names in HTML5. r=smaug 2011-08-07 22:26:52 -04:00
Boris Zbarsky
d941fafb57 Bug 675121. Unregister animation frame callbacks from the refresh driver while we have event handling suppressed. r=smaug,roc 2011-08-07 22:24:28 -04:00
Benoit Girard
ad159e5e30 Bug 668953 - [10.7] Support new back/forward gestures in OSX Lion; r=smichaud 2011-08-05 14:36:51 -04:00
Dão Gottwald
f8614a3cec Backed out changeset e60f96b64dfa 2011-08-07 16:58:43 +02:00
Marco Castelluccio
b5d75a1431 Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen 2011-08-07 16:11:13 +02:00
Jason Duell
749d97aaae bug 675784 - websockets early cancel part 2/2 r=mcmanus. 2011-08-07 09:44:19 -04:00
Patrick McManus
7fdc6c1a65 bug 675784 - websockets early cancel part 1/2 r=jduell 2011-08-07 09:43:53 -04:00
Michael Wu
fbcd07dca0 Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg 2011-08-06 22:03:32 -07:00
Neil Rashbrook
d65acc0194 Bug 675191 Don't write a cached dynamic overlay back to cache again r=Enn 2011-08-07 14:04:47 +01:00
Olli Pettay
d69af7cca6 Backout Bug 677026 2011-08-07 01:10:07 +03:00
Olli Pettay
8fb6415da6 Bug 677026 - nsIDOMWindow should inherit nsIDOMEventTarget, r=sicking 2011-08-06 23:56:34 +03:00
Marco Bonardo
d9ebdf0476 Backout changesets 57446cb82caa, 1c136ef5cac2 due to Tp5 regression on OSX. 2011-08-06 10:24:48 +02:00
Benoit Girard
b1c5635b55 Bug 668953 - [10.7] Support new back/forward gestures in OSX Lion; r=smichaud
--HG--
extra : rebase_source : e49091e63fb613b55d6331f1a5d9916e6de8db0d
2011-08-05 14:36:51 -04:00
Henri Sivonen
9674a1a62b 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
Chris Pearce
f288cf29c0 Bug 675747 - Handle multiple bos pages in a single ogg bitstream. r=doublec 2011-08-05 08:44:24 +12:00
Josh Matthews
ded72467ac Bug 683614 - Fix typo in oninvalid event handler name in test. r=mounir 2011-08-31 18:06:49 +02:00
Walter Meinl
743c206f23 Bug 670260 [OS/2] add WebGLExtension to WebGLContextNotSupported r=vlad 2011-07-14 13:30:12 -07:00
Daniel Holbert
6efc4c121b Bug 671341: Remove unused variable |start| from 'GetTokenEnd()' in nsSMILParserUtils.cpp. r=birtles 2011-07-14 13:29:37 -07:00
Benoit Jacob
24b7ccd60a Bug 664299 - Test loading cross-domain images validated with CORS in WebGL. r=bz 2011-07-14 14:47:39 -04:00
Joe Drew
6aac96c005 Bug 664299 - Relax the same-origin policy in WebGL for images that have been successfully validated with CORS. r=bz,jrmuizel 2011-07-14 14:47:37 -04:00
Benoit Jacob
319ff59084 Bug 664299 - Add support for the crossorigin attribute on the html:img tag, and pass the appropriate CORS mode to imgILoader::loadImage when it's specified. r=bz 2011-07-14 14:47:35 -04:00
Joe Drew
2acb1181b7 Bug 664299 - Pass the loading principal to imgILoader::loadImage so we can operate on it later. r=bz 2011-07-14 14:47:32 -04:00
Ehsan Akhgari
0823e559de Merge mozilla-central and mozilla-inbound 2011-07-13 11:51:33 -04:00
Ehsan Akhgari
3e4044476c Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-13 11:40:03 -04:00
Bas Schouten
8367a2ca66 Bug 666452 - Part 3: Create a minimal size temp surface for canvas shadow drawing. r=roc 2011-07-13 02:36:28 +02:00
Robert Longson
2f1b8250ad Bug 669155 - animation of filterRes does not result in layout being refreshed. r=jwatt 2011-07-08 18:10:07 +01:00
Ehsan Akhgari
16c06707b7 Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-12 14:30:24 -04:00
Benjamin Peterson
a08dbbe822 Bug 670442: Reset mZero flag on the CanvasRenderingContext when new dimensions are set. r=joe 2011-07-12 08:54:38 -07:00
Mounir Lamouri
bbef6d1373 Bug 667883 - Implement nsAttrAndChildArray::SizeOf(). r=bz 2011-07-12 16:56:01 +02:00
Daniel Holbert
0915b6264e Bug 669438: Remove unused helper-function "DOMFileResult" from nsDOMFile.cpp. r=sicking 2011-07-12 00:10:23 -07:00
Chris Pearce
e63988ff20 Bug 592833 - Don't hold decoder monitor while audio stream does sync dispatch to main thread (on Android). r=roc 2011-07-12 15:40:38 +12:00
Chris Pearce
0dcd739295 Bug 592833 - Update comments for new video decoder thread model. r=roc 2011-07-12 15:39:39 +12:00
Chris Pearce
d1ef9c31a8 Bug 592833 - Shutdown inactive media decode threads, don't start audio thread until needed. r=roc 2011-07-12 15:39:37 +12:00
Chris Pearce
a748ed84da Bug 592833 - Merge all media state machines into a single thread. r=roc 2011-07-12 15:39:34 +12:00
Chris Pearce
3c884e542d Bug 592833 - Run media state machine as a series of events. r=roc 2011-07-12 15:39:32 +12:00
Chris Pearce
209fc95f29 Bug 592833 - Move audio stream management to audio thread. r=? 2011-07-12 15:39:30 +12:00
Chris Pearce
c3e3d7574c Bug 592833 - Remove nsBuiltinDecoderReader monitor. r=roc 2011-07-12 15:39:28 +12:00
Chris Pearce
73f0b3659e Bug 592833 - Move seeking to the decode thread. r=roc 2011-07-12 15:39:25 +12:00
Chris Pearce
0a67b5d0ec Bug 592833 - Move metadata decoding to decode thread. r=roc 2011-07-12 15:39:23 +12:00
Chris Pearce
e8fd74f46b Bug 592833 - Split StartDecodeThreads() into StartDecodeThread() and StartAudioThread() for finer control. r=roc 2011-07-12 15:39:10 +12:00
Jonas Sicking
41aa9e9689 Bug 669437: Implement BlobBuilder.getFile. r=khuey 2011-07-11 19:42:02 -07:00
Jonas Sicking
904c1e5607 Bug 669433 Part 3: Make first argument to Blob.slice optional and defaulting to 0. r=khuey 2011-07-11 19:41:55 -07:00
Jonas Sicking
a130fb2231 Bug 669433 Part 2: Clean up File implementations. Move functions around such that they are grouped with their respective class. No other changes. r=khuey 2011-07-11 19:41:44 -07:00
Jonas Sicking
cd761b1960 Bug 669433 Part 1: Clean up File implementations by creating a storage-agnostic base class, nsDOMFileBase. r=khuey 2011-07-11 19:41:29 -07:00
Daniel Holbert
94b269683e Backout f2390732b6a4 (Bug 668154) for apparently turning debug mochitest-oth & mochitest-4 perma-orange 2011-07-11 17:49:03 -07:00
Mats Palmgren
86ed4dc78f Bug 648910 - Make nsIDOMHTMLImageElement widths and heights unsigned to match the HTML5 spec. r=jst 2011-07-11 22:18:26 +02:00
Geoff Lankow
4450e4f1ab Bug 668154 - Use the same mock file picker for all mochitests and xpcshell tests r=jmaher 2011-07-11 12:24:13 -07:00
Mounir Lamouri
095f54e27f Bug 669308 - Introduce macros and method helpers to simplify participation of classes to the DOM Memory Reporter. r=bz 2011-07-11 17:23:26 +02:00
Mounir Lamouri
0fc5d0deac Merge mozilla-inbound into mozilla-central. 2011-07-11 16:18:03 +02:00
Neil Deakin
bf5ff724ae Bug 670148, remove nsIMenuFrame, r=roc 2011-07-11 10:05:07 -04:00
David Zbarsky
0c00e974d0 Bug 586786 - Fix legacy reflected attributes r=bz, mounir 2011-07-11 12:56:00 +02:00
Kyle Huey
acd2f08755 Merge m-i to m-c. 2011-07-09 20:19:36 -07:00
Chris Pearce
68f912bb40 Bug 670055 - Seek video to exact audio sample. r=kinetik 2011-07-09 13:10:40 +12:00
Bas Schouten
371b57bace Bug 666097 - Fix radial gradient drawing in Azure. r=jrmuizel
* * *
Part 2: Adjust tests to properly confirm passing. r=jrmuizel
2011-07-08 18:49:35 +00:00
Robert O'Callahan
d4259656be Bug 649924. Use image surfaces to implement canvases beyond the texture size limit. r=bas 2011-07-08 22:42:21 +12:00
Marco Bonardo
77013a6607 Merge mozilla-inbound and mozilla-central 2011-07-08 11:53:56 +02:00
Benoit Jacob
bd79b32960 Bug 665070 - turns out that uninitialized-test is still failing on the winxp test slaves due to old drivers - a=bustage 2011-07-07 23:54:35 -04:00
Michael Ventnor
696bb6cdcd Followup to bug 528046 r=roc 2011-07-08 13:38:58 +10:00
Benoit Jacob
161950530d Bug 665070 - turns out that uninitialized-test is still failing on the linux test slaves due to old drivers - a=bustage 2011-07-07 22:22:00 -04:00
Benoit Jacob
638c30cb0b Bug 665936 - string crash found while fuzzing WebGL shaders - r=jrmuizel 2011-07-07 20:01:17 -04:00