Commit Graph

19623 Commits

Author SHA1 Message Date
Matthew Gregan
b760b58bf8 Bug 675630 - Fix null dereference in media memory reporter. r=cpearce 2011-08-02 15:21:52 +12:00
Nikhil Marathe
a2611c69a8 Bug 664249 - API fixes for inlined TypedArray properties. r=mrbkap
--HG--
extra : rebase_source : fd068e786d6d49b4800a6efebf9811191a6309ef
2011-08-01 15:50:04 -07:00
Kyle Huey
8b23d8f061 Bug 675641: Enumerate nsIStyleRuleProcessors in about:memory. r=bz 2011-08-01 14:25:20 -04:00
Neil Deakin
a4e61699e9 Bug 673301, crash using non-string data with text/plain drags, r=josh 2011-08-18 09:22:52 -04:00
Jonas Sicking
e50dc8cb66 Bug 667612: Make addEventListener not throw if passed a null listener. r=smaug 2011-08-18 02:45:00 -07:00
Markus Stange
e13a330778 Bug 679717 - Add "mac-lion-theme" system metric in order to allow for Lion-specific CSS rules without the need for per-file manifest overrides. r=dbaron 2011-08-18 10:40:27 +02:00
Oleg Romashin
0e6f0b05b1 Bug 678431 - Compilation without MOZ_MEDIA defined is broken r=Olli.Pettay 2011-08-14 19:31:36 -07:00
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