Commit Graph

4079 Commits

Author SHA1 Message Date
Makoto Kato
a3d58316e9 Bug 405242 - Implement select.options.remove() method [HTML5 HTMLOptionsCollection.remove]. r=Olli.Pettay, sr=jst 2010-02-25 13:53:42 +09:00
Jonas Sicking
51fbd0da83 Bug 544642: Make frames report an error event if the frame src is pointed at a local file url. And don't make setAttribute thrown an exception in that scenario. r=smaug 2010-02-24 18:45:43 -08:00
Benjamin Smedberg
a5710c9bb4 Add return statement to fix build bustage from bug 503989 2010-02-24 17:48:32 -05:00
Robert O'Callahan
ef6f3c2ae0 Bug 503989. Break MediaLoadListener reference cycle at shutdown. r=sicking,doublec
--HG--
extra : rebase_source : bbd326582e4a7d0864affcfe3a715e228c4b2647
2010-02-24 11:14:14 -08:00
Jonathan Kew
3d28b28018 Bug 524107 - part 2 - store language as atom instead of string in gfxFontStyle. r=roc sr=mats 2010-02-24 09:57:57 -08:00
Jonathan Kew
e9d0f828e0 Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats 2010-02-24 09:57:44 -08:00
Shawn Wilsher
cb0509c597 Bug 461199 (Part 30) - Fixes invalidation issues when changing the href attribute.
r=bz
2010-02-24 08:37:38 -08:00
Shawn Wilsher
b6e4bfa8f1 Bug 542632 - Protect nsGenericHTMLElement::GetHrefURIForAnchors
Also makes DNS prefetching take mozilla::dom::Link instead of nsIContent.
r=bz
2010-02-24 08:37:03 -08:00
Shawn Wilsher
149f5aac0a Bug 542592 - Change how we use/store nsDocument::mLinkMap
This makes changes nsDocument::mLinkMap in a number of ways:
1) renamed to mStyledLinks to better reflect its new nature.
2) change it to an nsTHashtable of Link*.  It no longer has a strong reference
3) add some assertions to make sure we call ForgetLink and AddStyleRelevantLink
   in pairs.
This also makes mozilla::dom::Link::ResetLinkState take a boolean indicating if
we should notify or not.
r=bz
2010-02-24 08:37:03 -08:00
Shawn Wilsher
aa9b0c2fd7 Bug 461199 (Part 26) - Update content tests to work with the new async isVisited API 2010-02-24 08:37:03 -08:00
Shawn Wilsher
94b3600d96 Bug 461199 (Part 28) - Tell the document that we are a style relevant link
Adds the needed calls to inform the document if we are a style relevant link,
and when we no longer are.
r=bz
2010-02-24 08:37:03 -08:00
Shawn Wilsher
aab3b02a8b Bug 461199 (Part 23) - Remove no longer needed code in ns[I]Document.[cpp|h]
r=bz
2010-02-24 08:37:02 -08:00
Shawn Wilsher
40dabb5bd0 Bug 461199 (Part 22) - Call ResetLinkState if given eLinkState_Unknown
If consumers tell mozilla::dom::Link::SetLinkState that its new state is
eLinkState_Unknown, call mozilla::dom::Link::ResetLinkState and return.
r=bz
2010-02-24 08:37:02 -08:00
Shawn Wilsher
5c712b68a2 Bug 461199 (Part 21) - Cache the nsIContent pointer in Link for performance reasons
Add a Content method that obtains a pointer to the nsIContent interface on
mozilla::dom::Link.  This is cached so we only have to call QueryInterface once
during the entire lifetime of the mozilla::dom::Link object.
r=bz
2010-02-24 08:37:02 -08:00
Shawn Wilsher
1e53ff806b Bug 461199 (Part 19) - nsSVGAElement fails to call ResetLinkState in [Uns|S]etAttr
Have nsSVGAelement implement UnsetAttr and SetAttr, and make sure it calls
mozilla::dom::Link::ResetLinkState when appropriate.
r=jwatt
sr=bz
2010-02-24 08:37:02 -08:00
Shawn Wilsher
8d82ffe93c Bug 461199 (Part 14) - Implement nsIContent::IntrinsicState on mozilla::dom::Link subclasses
All mozilla::dom::Link subclasses need to implement IntrinsicState and make sure
to call LinkState.
r=sicking
sr=bz
2009-12-15 16:04:09 -08:00
Shawn Wilsher
5a5b1276de Bug 461199 (Part 13) - mozilla::dom::Link::SetLinkState should inform the document about changes to its state when it is called.
Make Link::SetLinkState notify the document about changes in state, plus a
whole bunch of assertions for sanity checking.
r=sicking
r=bz
2009-12-15 16:04:07 -08:00
Shawn Wilsher
2171f3f5d2 Bug 461199 (Part 12) - mozilla::dom::Link should unregister with mozilla::IHistory when it goes away
Call UnregisterWithHistory in Link's destructor to ensure that we are no longer
registered with IHistory.
r=sicking
sr=bz
2009-12-15 16:01:53 -08:00
Shawn Wilsher
258c845043 Bug 461199 (Part 11) - [un]register in mozilla::dom::Link::[Reset]LinkState
Register with History in mozilla::dom::Link::LinkState and unregister in
mozilla::dom::Link::RestLinkState.
r=bz
2009-11-23 10:48:52 -08:00
Shawn Wilsher
3a408ccc92 Bug 461199 (Part 10) - Ensure that Link::ResetLinkState is always called when an element is bound or unbound from the DOM tree.
We would not be notified about base URI changes during this time, so we need to
make sure we are not registered and have no cached state.
r=bz
r=jwatt
2009-11-23 10:48:52 -08:00
Shawn Wilsher
c74c499d06 Bug 461199 (Part 9) - Move href helpers from nsGenericHTMLElement to mozilla::dom::Link.
Move the helpers so that they can easily use the cached URI when available.
r=sicking
sr=bz
2009-11-09 10:00:54 -08:00
Shawn Wilsher
2849d7ab1f Bug 461199 (Part 8) - Remove nsAttrValue::eLazyURIValue and related code
Stop using lazy href attributes in nsAttrValue.  Link will store it as needed.
r=sicking
sr=bz
2009-11-09 10:00:54 -08:00
Shawn Wilsher
7138f81c0a Bug 461199 (Part 7) - mozilla::dom::Link should have a method to obtain a cached URI
Add mozilla::dom::Link::GetURI method used to cache the URI for this element.
r=bz
2009-11-09 10:00:54 -08:00
Shawn Wilsher
a0f960d660 Bug 461199 (Part 6) - nsSVGAElement::GetHrefURI is not implemented
Fixes nsSVGAElement::GetHrefURI so that it actually returns a URI when it is a
link instead of nsnull.
r=jwatt
2009-11-09 10:00:54 -08:00
Shawn Wilsher
3c5791490b Bug 461199 (Part 5) - Add mozilla::dom::Link::LinkState
Adds a LinkState method that should be called by subclasses when they get asked
about their IntrinsicState.
r=sicking
sr=bz
2009-11-09 10:00:53 -08:00
Shawn Wilsher
f0cb06c199 Bug 461199 (Part 3) - Create a cached getter for mozilla::IHistory on nsContentUtils.
r=sicking
2009-11-09 10:00:53 -08:00
Boris Zbarsky
966f597e72 Bug 534526 part 3. Change the ordering in nsSVGElement::UnsetAttr. r=longsonr 2010-02-23 23:37:47 -05:00
Boris Zbarsky
ebac0e31a3 Bug 534526 part 2. Move AttributeWillChange out of SetAttrAndNotify, and in particular to before ParseAttribute, since some ParseAttribute implementations actually change the attribute value. Also move it to before we've changed the CSSDeclaration for inline style changes. r=sicking,longsonr,dbaron 2010-02-23 23:37:47 -05:00
Boris Zbarsky
0aef843d39 Bug 534526 part 1. Remove a SetAttrAndNotify caller by making XUL inherit from nsStyledElement. r=sicking 2010-02-23 23:37:46 -05:00
Ben Turner
e8124b22b1 Bug 537572 - 'Workers: nsLayoutStatics refcounting isn't threadsafe, triggered via nsContentUtils::WrapNative'. r+sr=sicking 2010-02-23 17:44:52 -08:00
Sid Stamm
ba3276f601 fix tinderbox test hang after landing bug 515442. r=dveditz 2010-02-23 16:37:38 -08:00
Daniel Veditz
e8e0b08526 Forgot tests for bug 515442 2010-02-23 14:28:18 -08:00
Daniel Veditz
ac0251d255 bug 515442 CSP inline script protection 2010-02-23 13:20:46 -08:00
Robert Longson
dded1dc9d5 Bug 547596 - zoom events do not fire. r=jwatt 2010-02-23 20:39:15 +00:00
Jonas Sicking
62651da7b8 Bug 547850: Make case folding code in HTML DOM only case fold ASCII characters. r=hsivonen 2010-02-23 09:38:10 -08:00
Shawn Wilsher
1c29b0d28e Bug 461199 (Part 2) - Create an API for asynchronous isVisited checks that content/layout can use
Create a new API (IHistory) to check for the visitedness of a URI.
r=mak
r=bz
sr=bsmedberg
2009-08-20 11:56:10 -07:00
Timothy Nikkel
53fe3ff52d Backed out changeset 93c7b23284b8 (Bug 545593) for causing Md oth failures on linux. 2010-02-12 16:46:04 -06:00
Timothy Nikkel
73241cb6bc Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc
--HG--
extra : rebase_source : 963053b0f3d5712308b53c665dddcedae08a2b21
2010-02-11 18:14:59 -06:00
Boris Zbarsky
134f48b881 Adding a test 2010-02-12 14:12:00 -05:00
Henri Sivonen
3e7e62f762 Bug 541079 - Make app cache selection happen before speculative loads in the HTML5 parser. r=bnewman. 2010-02-02 09:43:18 +02:00
Jesse Ruderman
146e09dd21 Remove extra dump statements from tests 2010-02-11 14:14:26 -08:00
Robert O'Callahan
cf6a1f8a9d Bug 523083. Don't bother caching the last nsContentList, it just creates leaks and probably doesn't help anything. r=peterv 2010-02-12 10:45:33 +13:00
Daniel Holbert
6a9dbc7787 Remove incorrect usage of nsresult to catch return-val of an EnumerateEntries() call in nsSMILAnimationController. (trivial fix, no bug #) 2010-02-11 13:35:33 -08:00
Daniel Holbert
e4e0b32a53 Bug 545550: In setters for base values of SVG attributes, only set mAnimVal if we're not currently being animated. r=jwatt 2010-02-11 11:41:48 -08:00
Daniel Holbert
07c873628f Bug 542731: Add 'explicit' label to all single-arg constructors in SMIL code. r=roc 2010-02-11 11:40:50 -08:00
Alexander Surkov
73e251f02b Bug 534527 - Accessibility needs new DOM API, r=olli.pettay, sr=roc 2010-02-12 01:34:01 +08:00
Robert Longson
85732d1416 Bug 536912 - getNumberOfChars() throws an exception if text is display:none. r=roc 2010-02-11 10:54:45 +00:00
Phil Ringnalda
a4e36d4f5f Fix typo to trigger builds
--HG--
extra : rebase_source : 526e64cfda9d8e3e591cfa4c77352a63c20f7f52
2010-02-09 21:39:02 -08:00
Ted Mielczarek
d40733d453 Bug 541076 - add minidump id and plugin name to PluginCrashed event. p=ted+dolske, r=jst, r=ted 2010-02-09 17:05:31 -08:00
Justin Dolske
7af7ad098a Bug 539828 - Need CSS pseudoclass for crashed plugins. r=dbaron 2010-02-09 17:05:31 -08:00
Zack Weinberg
7fd5fe000b Bug 345681: Remove the vestigial nsICheckboxControlFrame and nsIRadioControlFrame interfaces. r=roc 2010-02-09 14:06:37 -08:00
Doug Turner
c5fb72ab64 Bug 543976 - Clean up Maemo defines. r=ted 2010-02-09 11:02:11 -08:00
Boris Zbarsky
6a1a36dba1 Bug 453929. Cache getElementsBy(Class)Name return values. r=jst 2010-02-09 12:09:06 -05:00
Olli Pettay
ecf6194456 Bug 544018 - print preview doesn't work in view source , r=dao 2010-02-09 18:24:49 +02:00
Olli Pettay
435c946f5c backout Bug 544018 2010-02-08 19:00:41 +02:00
Olli Pettay
04889fec16 Bug 544018 - print preview doesn't work in view source, r=dao 2010-02-08 18:16:57 +02:00
Robert Longson
1a51c439dc Bug 544742 - fePointLight does not work with primitiveUnits=objectBoundingBox. r=roc 2010-02-08 09:51:19 +00:00
Makoto Kato
256f2577f8 Bug 182954 - Content should use the newer nsIPrefService APIs instead of nsIPref. r=jst 2010-02-08 11:49:18 +09:00
Jonathan Watt
c9e50cb93c Bug 541882. Add support for SMIL animation of the preserveAspectRatio attribute in SVG. r=dholbert 2010-02-08 02:28:01 +00:00
Matthew Gregan
7f4fbf94ce Bug 533822 - Flush liboggz packet_buffer in oggz_reset_streams. r=chris.double 2010-01-08 17:55:39 +13:00
Olli Pettay
3a431b9f1b Bug 518122, improve textarea.value+= performance, r=bz 2010-02-07 21:44:32 +02:00
Jae-Seong Lee-Russo
513e9cf886 Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Peter Van der Beken
c43bc8d021 Follow-up to fix for bug 540443 (Change one argument of nsContentUtils::CheckSameOrigin from nsIDOMNode to nsINode), remove obsolete comment. 2010-02-07 15:20:35 +01:00
Peter Van der Beken
74304b132f Follow-up to fix for bug 540443 (Change one argument of nsContentUtils::CheckSameOrigin from nsIDOMNode to nsINode), remove obsolete comment. 2010-02-07 11:48:09 +01:00
Daniel Holbert
020287d441 Bug 543497, Patch B: Fix "warning: suggest parentheses around comparison in operand of !=" in nsHTMLDocument.cpp. r=smaug 2010-02-06 13:33:53 -08:00
Peter Van der Beken
648f658133 Fix for bug 540443 (Change one argument of nsContentUtils::CheckSameOrigin from nsIDOMNode to nsINode). r=bz. 2010-01-12 14:08:44 +01:00
Peter Van der Beken
6289e634b5 Fix for bug 539239 (Pass correct document to ReparentContentWrapper). r=jst.
--HG--
extra : rebase_source : 57295944c9a597c10aabd6cf4a4741970b4b4153
2010-01-16 15:27:51 +01:00
Ms2ger@gmail.com
8ac5baea31 Bug 41464 - Implement textarea.wrap. r=bz 2010-02-06 09:51:10 +01:00
Sid Stamm
f9be5dbbdb Bug 515458 - "(CSP) Implement frame ancestor check" [r=jst ui-r=johnath] 2010-02-05 14:08:27 -06:00
Serge Gautherie
271756558e Backed out changeset: b3d6a8724029 of
Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
which breaks comm-central.
2010-02-04 20:55:10 +01:00
Michael Ventnor
55ebf80987 Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
r=roc.
2010-02-04 19:15:03 +01:00
Dão Gottwald
d412631ec0 merge backout 2010-02-04 17:17:27 +01:00
Dão Gottwald
5bf54b4622 Backed out changeset 8c2e7ae5cceb because of test_bug398289.html failure 2010-02-04 17:16:39 +01:00
Neil Deakin
62c35eef15 Bug 543821, iterate a bit more and wait for the xml datasource to load in this test, should fix intermittent orange 2010-02-04 09:12:41 -05:00
Michael Ventnor
2b0c157e9a Bug 542361 - Fix and remove the GetUsedX assertions. r=roc,dbaron 2010-02-04 14:58:02 +01:00
Henri Sivonen
eab704aec8 Bug 543959 - Weaken test_bug486741.html not to test if document.open() creates a root element. r=bzbarsky. 2010-02-03 17:39:20 +02:00
Henri Sivonen
f30b1cc096 Bug 543930 - Assertion misplaced after code additions above a disconnected #ifdefed else branch. r=bzbarsky. 2010-02-03 10:53:58 +02:00
Boris Zbarsky
5965dd953c Bug 542406. Make readonly='true' on XBL fields work again. r=sicking 2010-02-03 16:17:55 -05:00
Timothy Nikkel
c63f549245 Bug 517737. Don't allow starting a drag if something is capturing the mouse. r=smaug(part of),enndeakin
--HG--
extra : rebase_source : 171cef43d1fef9337b49d6f3b9ca661c3e618437
2010-02-02 20:07:08 -06:00
Jan Gerber
7af2bd90de Bug 526996: Expose the full file path for nsIDOMFiles to extensions. r/sr=sicking 2010-02-02 16:53:32 -08:00
Arisu
c0a8fbd321 Bug 541465 - Regression in nsDocument.cpp disables DocumentLeak NSPR logging module.
r=roc.
2010-02-03 01:21:12 +01:00
Neil Deakin
f9c97554c3 Bug 543634, fix intermittent orange in template test by waiting until data is loaded before adding expected error messages 2010-02-02 12:18:37 -05:00
Vladimir Vukicevic
2beaf43c12 b=543680; [webgl] use correct enum to obtain number of texture units; r=jdaggett 2010-02-02 01:18:34 -08:00
Henri Sivonen
c4b0f9199e Bug 533381 - Use the old parser for about:blank when HTML5 parser enabled. r=bzbarsky.
--HG--
extra : rebase_source : 7e1cea763fbb444ab46b4324e2960b34ecd00a9a
2010-02-02 09:39:26 +02:00
Daniel Holbert
d8f21dffff Bug 542731, Patch D: Make nsISMILType methods protected, & only give nsSMILValue access. r=roc 2010-02-01 18:46:13 -08:00
Daniel Holbert
89ac61ebcb Bug 542731, Patch C: Clean up nsSVGTransformSMIL* classes. r=roc 2010-02-01 18:46:13 -08:00
Daniel Holbert
268b63b5ce Bug 542731, Patch B: Clean up nsSMILCSS* classes. r=roc 2010-02-01 18:46:13 -08:00
Justin Lebar
e730a1afc6 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Neil Deakin
350ddc321e Bug 321169, add logging facility to xul templates, r=sicking,sr=neil 2010-02-01 13:09:47 -05:00
Neil Deakin
40511b2e0e Bug 541520, don't fire dragleave on successful drop, but do fire it when drop fails or is cancelled, r=jonas,smichaud 2010-02-01 10:11:08 -05:00
Daniel Holbert
2d27756ba3 merge after backing out c7a04be6904 on suspicion of causing bug 543034 2010-01-29 18:56:08 -08:00
Daniel Holbert
46ba50b0cb Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00
Daniel Holbert
1a10ab7962 Bug 542731, Patch A: Clean up nsSMILValue class. r=roc 2010-01-29 12:18:50 -08:00
Daniel Holbert
696a82b8cc Bug 535850: fix random orange in SMIL mochitest, test_animLengthReadonly.xhtml, by adding initial pause & seek-to-0. (test-only fix) 2010-01-29 12:18:50 -08:00
Henri Sivonen
d46d25ad26 Bug 539687 - Add </label> tags in test_bug353415-2.html to make type=hidden not be a child of label. r=bzbarsky.
--HG--
extra : rebase_source : 25803ae79266841d1bc104fe74593a1cb92a4a9b
2010-01-28 16:24:41 +02:00
Justin Lebar
a827ba17fc Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Daniel Holbert
d215e312fb Bug 542731: SMIL misc code cleanup - remove end-of-line whitespace. 2010-01-28 01:51:03 -08:00
Daniel Holbert
86c7eaa0cd Bug 542731: SMIL misc code cleanup: remove trailing '.' from warning messages, to prevent the '.:' in output like 'ASSERTION: blah blah.: /path/to/file:NN'. (no changes outside of assertion/warning message text) 2010-01-28 01:50:30 -08:00
Ralph Giles
12876d55d8 Bug 539620 - Deprecate X-Content-Duration for Content-Duration. r=chris.double 2010-01-27 13:29:26 +01:00
Robert Longson
85bad1dfb5 Bug 540726 - User units for angles should be degrees. r=jwatt 2010-01-27 10:13:57 +00:00
Vladimir Vukicevic
4b74ead161 b=542336; webgl texImage2D broken due to overzealous argc checking (regression from bug 533663); r=jrmuizel 2010-01-26 14:23:49 -08:00
Olli Pettay
ece91e4c8c Bug 540854 - XMLHttpRequest truncates UTF-8 encoded strings containing Code Point 0x00, r=sicking
--HG--
extra : rebase_source : 251c02fe91bf35fe46f0f1e3a829ddb00e889132
2010-01-26 15:54:55 +02:00
Robert Longson
c1b79c43cb Bug 539576 - SVGTransform matrix changes still not live in all circumstances (with bustage fix). r=jwatt 2010-01-25 14:36:09 +00:00
Robert Longson
b5611e5ba7 Backout Bug 539576 due to test failures 2010-01-25 13:44:55 +00:00
Robert Longson
1034acc582 Bug 539576 - SVGTransform matrix changes still not live in all circumstances. r=jwatt 2010-01-25 12:26:15 +00:00
Henri Sivonen
08283bd925 Bug 539684 - Serializer tests fail with the HTML5 parser due to whitespace differences and doctype case differences. r=laurent.
--HG--
extra : rebase_source : d7855eca3004f7eceaefcdd8a1b0bfb7794a1e46
2009-12-21 13:39:00 +02:00
Henri Sivonen
84a8e6139d Bug 520581 - HTML5 parser reverses attributes on some elements. r=bzbarsky.
--HG--
extra : rebase_source : 2018b107ac2e508a20e245d49d396e7c1ea7230d
2009-12-23 10:32:39 +02:00
Henri Sivonen
5d3057fd75 Bug 539882 - Make test_bug324378.html not expect that attributes on second <head> move to head. r=bzbarsky.
--HG--
extra : rebase_source : 9e8f9d43c6f59751cec60e657b91bcc3422a32f0
2010-01-18 15:38:43 +02:00
Olli Pettay
72d240fc9b Bug 534833 - click event is occasionally lost in text form controls when focus event changes the value of the control, r=roc
--HG--
extra : rebase_source : 9c90b0ed41ab12c38d264edc839227cdd0d8817f
2010-01-25 11:21:33 +02:00
Jonathan Watt
f3a47b5a19 Bug 540479. Add support for SMIL animation of boolean attributes in SVG. r=dholbert 2010-01-24 16:42:08 +00:00
Jonathan Watt
41fa491d84 Bug 540478, part 2 of 2. Add support for SMIL animation of enumeration attributes in SVG. r=dholbert 2010-01-23 18:59:03 +00:00
Jonathan Watt
b930b5ed27 Bug 540478, part 1 of 2. Make nsSVGEnum::GetAnimVal take its element as an argument in preparation for it needing to call FlushAnimations() on it. r=dholbert 2010-01-23 18:58:47 +00:00
Olli Pettay
bd950481d6 Bug 540462 - Move GetDocument from nsIDocumentViewer to nsIContentViewer, r=bz 2010-01-23 13:41:41 +02:00
Vladimir Vukicevic
a3b000cac9 ugh, backout this until I figure out what's wrong with linux 2010-01-22 18:28:19 -08:00
Vladimir Vukicevic
6bffab46ef more bustage fix, linux 64-bit 2010-01-22 18:17:02 -08:00
Vladimir Vukicevic
4521fc20e4 bustage fix 2010-01-22 17:56:57 -08:00
Vladimir Vukicevic
ad09806b1d [webgl] (no bug, just removing unused/stale files) 2010-01-22 16:50:24 -08:00
Vladimir Vukicevic
21e2f78a75 b=539756; [webgl] remove old typed getters; r=jmuizelaar 2010-01-22 16:50:22 -08:00
Sid Stamm
f2278605c1 Bug 515437 CSP connection code, r=jst,dveditz sr=jst 2010-01-22 13:38:21 -08:00
Vladimir Vukicevic
553a8c9c5a b=533663; use js typed arrays in webgl; r=jmuizelaar,mrbkap,brendan 2010-01-22 13:34:25 -08:00
Henri Sivonen
e57b659dd4 Bug 537557 - Thread-unsafe refcounting in the HTML5 parser when chardet enabled. r=bnewman. 2010-01-12 15:15:10 +02:00
Henri Sivonen
f956b447b8 Bug 539891 - test_bug478251.html fails with the HTML5 parser. r=bzbarsky. 2010-01-18 15:38:44 +02:00
Jesse Ruderman
6cb047ab35 Disable crashtest 399712-1.html which times out frequently due to bug 473680 2010-01-21 17:45:03 -08:00
Dave Townsend
8ff5ab7db2 Rev IID on nsIXMLHttpRequest from bug 459452. r=peterv 2010-01-21 13:28:40 -08:00
Sid Stamm
32f5ce7b68 bug 515433: CSP Core patch by sstamm and bsterne, r=mrbkap, sr=jst 2010-01-21 10:41:24 -08:00
Olli Pettay
866fa05bf4 nsDOMDataTransfer::ConvertFromVariant leaks, r=enndeakin 2010-01-21 19:47:19 +02:00
Olli Pettay
69f13bd2e3 Bug 540568 - Remove DOMBuilder, r=bz
--HG--
extra : rebase_source : 77f05d87a414e3c55046016423486bcf127ea6cf
2010-01-21 15:51:48 +02:00
Robert Longson
882299369f Bug 539697 - missing files bustage fix 2010-01-20 20:22:40 +00:00
Blake Kaplan
91ae1f8826 Bug 540642 - Call CanLoadImage before preloading images too. r=bzbarsky sr=dbaron
--HG--
extra : rebase_source : 1f62ba60b054b3afd49abfa8d36292c667c0d1b1
2010-01-20 11:59:01 -08:00
Robert Longson
1f7a81ac64 Bug 539697 - valueAsString returns an incorrect failure code. r=jwatt 2010-01-20 19:58:58 +00:00
Blake Kaplan
60b5013a95 Bug 539362 - Get rid of hidden function warnings. r=bzbarsky 2010-01-18 16:54:29 -08:00
Masayuki Nakano
798021118b Bug 539531 - Crash when I click-and-drag on a "Gordon" flash emulation [@ nsFrameSelection::ConstrainFrameAndPointToAnchorSubtree(nsIFrame*, nsPoint&, nsIFrame**, nsPoint&) ]. r=bz 2010-01-20 11:22:09 +01:00
Daniel Holbert
d06880c159 Fix indentation in db_smilCSSFromTo.js (whitespace-only, test-only). 2010-01-19 13:40:22 -08:00
Robert O'Callahan
6787212ae4 Bug 539331 - browser_sanitizeDialog.js is failing, r=matspal 2010-01-14 05:00:00 -08:00
Aryeh Gregor
86317086bb Bug 535043 - Support maxlength on textarea. r=smaug, sr=jst 2010-01-18 16:53:59 +01:00
Daniel Holbert
f924f74604 Bug 539585: Fix "warning: format '%p' expects type 'void*'" in content directory. r=jst 2010-01-17 15:11:02 -08:00
Jonathan Watt
9f1cae1927 Bug 537067. SMIL animation of <length> attributes does not work. r=roc 2010-01-15 14:21:06 +00:00
Jonathan Watt
51098080d7 Bug 522267, part 2 of 2. Add support for animating <number> attributes. r=dholbert 2009-12-29 07:34:27 +01:00
Jonathan Watt
4335bf355f Bug 522267, part 1 of 2. Make nsSVGNumber2::GetAnimVal take its element as an argument in preparation for it needing to call FlushAnimations() on it. r=dholbert 2009-12-29 07:32:03 +01:00
Robert Longson
cbd82b1050 Bug 531259 - The SVG script element should respect the aFromParser flag on NS_NewElement. r=hsivonen, r+sr=jst 2010-01-15 11:44:12 +00:00
Daniel Veditz
c178b317a0 backing out a6ce37b09cf5 2010-01-14 17:20:18 -08:00
Daniel Veditz
0e538279e0 Backed out changeset a6ce37b09cf5 because of possible Tp4 perf hit 2010-01-14 17:19:11 -08:00
Sid Stamm ext:(%2C%20Brandon%20Sterne%20%3Cbsterne%40mozilla.com%3E)
56ceec2c4c bug 515433, bug 515437: Content Security Policy (CSP) core 2010-01-13 14:18:24 -08:00
Cameron McCormack
332d1566ff Bug 512636 - SVGTransform.setMatrix() should copy the matrix argument, not adopt it. r=jwatt 2010-01-13 19:21:17 +00:00
Josh Aas
9f1683fecf Sent "PluginCrashed" notification when a plugin crashes. b=519541 r=jst r=bsmedberg 2010-01-13 11:42:41 -05:00
Boris Zbarsky
8c09ee17b6 Bug 537507. Make sure to flag XUL documents as allowing InitialReflow to be called on the presshell even if there are no presshells around when StartLayout is called on the document. r=jst 2010-01-13 11:30:11 -05:00
Boris Zbarsky
f3b7249ba2 Bug 514300 part 2. Make nsBindingManager::ContentRemoved remove the node from all the places it needs to be removed from. Also fixes bug 415301 and bug 495354. r=sicking 2010-01-13 11:30:11 -05:00
Brian Birtles
86f07ee577 Bug 534325: Apply SMIL restart semantics at interval start times rather than end times, and allow duration to determine interval-ending when there's no end attribute. r=dholbert sr=roc 2010-01-13 00:18:51 -08:00
Daniel Holbert
f7436b6990 Bug 537313: Disable MSVC warning C4355 ('this' used in init list) in SVG's consumers of nsReferencedElement. r=roc 2010-01-13 00:18:48 -08:00
Daniel Holbert
f6d3185bd6 s/nulll/null/ in nsNodeUtils::SetUserData header comment. (no bug; comment-only fix) 2010-01-13 00:18:46 -08:00
Daniel Holbert
87f5624561 Bug 526536: Add some testcases that should be fixed by syncbase timing patches. (tests-only change) 2010-01-12 12:00:50 -08:00
Daniel Holbert
fbf33f5714 Bug 537852 followup D: Misc nit fixes to syncbase reftests. r=birtles 2010-01-12 12:00:50 -08:00
Brian Birtles
cd171ab676 Bug 537852: Add tests for syncbase timing (bug 474743). r=dholbert 2010-01-12 12:00:49 -08:00
Daniel Holbert
57fee6cdfa Bug 474743 Patch D followup: Switch nsSMILTimedElement::mTimeDependents to be a hash table instead of an array. r=birtles sr=roc 2010-01-12 12:00:49 -08:00
Brian Birtles
d7a66e59c4 Bug 474743 Patch D: Implement syncbase logic. r=dholbert sr=roc 2010-01-12 12:00:49 -08:00
Brian Birtles
cff9646c5d Bug 474743 Patch C: Implement the parsing for syncbase timing. r=dholbert sr=roc 2010-01-12 12:00:49 -08:00
Brian Birtles
76b1e6e830 Bug 474743 Patch B: Implement milestone sampling behavior. r=dholbert sr=roc 2010-01-12 12:00:49 -08:00
Brian Birtles
519f3f1481 Bug 474743 Patch A: Refactor nsSMILParserUtils to use newer iterators. r=dholbert sr=roc 2010-01-12 12:00:49 -08:00
Robert O'Callahan
4eda29f7e1 Bug 526394. Part 34: Create nsContentUtils::AddScriptBlockerAndPreventAddingRunners. r=sicking 2010-01-12 10:45:20 +13:00
Henri Sivonen
6edbf4cf09 Bug 539423 - Remove bogus assertion: Mouse move must have some target content. r=Olli.Pettay. 2010-01-14 15:58:33 +02:00
Peter Van der Beken
42d2df338a Back out changeset aa4791e4dad9 (Bug 529386 - optimize canvas.width = canvas.width) to fix orange. 2010-01-14 12:59:53 +01:00
Peter Van der Beken
2113947210 Fix for bug 539236 (Make nsSVGAnimateTransformElement use SVGAnimateTransformElement DOMCI). r=roc.
--HG--
extra : rebase_source : 4e2e5c084aba8d6aa91502e39fa3f4c51e4fa164
2010-01-13 14:52:31 +01:00
Peter Van der Beken
7d8645e4ca Fix for bug 428229 (Unable to override addEventListener), remove custom addEventListener code. r=bz.
--HG--
extra : rebase_source : 4e679da2100075a1e3c4ad557b92a3c86a5cf7be
2010-01-13 14:50:01 +01:00
Saint Wesonga
5d81ff915d Bug 529386 - optimize canvas.width = canvas.width. r=vlad 2010-01-14 11:45:57 +01:00
Robert O'Callahan
07db346518 Bug 526394. Part 20: Convert more code in caret and docshell. r=mats 2009-09-09 17:40:02 +12:00
Robert O'Callahan
dd13d8b675 Bug 526394. Part 9: More conversion for nsEventStateManager and nsImageDocument. r=smaug 2010-01-12 10:45:04 +13:00
Robert O'Callahan
68b12dc4fc Bug 526394. Part 8: Fix nsNSElementTearoff to use new APIs, and also fix it to check for root element and body properly. r=jst 2009-09-03 15:57:36 +12:00
Robert O'Callahan
84dc5b58d0 Bug 526394. Part 7: Hoist GetHtmlContent/GetBodyContent to nsIDocument. r=jst 2010-01-12 10:45:03 +13:00
Robert O'Callahan
ae8ce9d0eb Bug 526394. Part 6: Fix up nsEventStateManager. r=smaug 2010-01-12 10:45:02 +13:00
Robert O'Callahan
9324676397 Bug 526394. Part 5: Fix up a bunch of sites to use nsIScrollableFrame instead of nsIScrollableView. r=mats 2009-09-01 23:29:27 +12:00
Robert O'Callahan
b74462ae4f Bug 526394. Part 1: Make a couple of tests more descriptive when they fail. 2010-01-12 10:45:00 +13:00
Mats Palmgren
91a242d144 Make getBoundingClientRect()/getClientRects() deal with a detached range and non-content boundary nodes. b=529670 r=roc 2010-01-11 15:08:19 +01:00
Jesse Ruderman
243c9242a9 Add crashtests 2010-01-10 19:50:41 -08:00
Tom Dyas
8209cf7fbc Support receiving data from Mac OS X services into text and HTML editors. b=525389 r=josh r/sr=smaug 2010-01-10 20:45:45 -05:00
Bernd
f4a1800dfb bug 43178 - replace incorrect border, frame and rules handling code in content by css rules, initial patch - fantasai, a lof of input - bz r=bzbarsky 2010-01-09 16:33:03 +01:00
Masayuki Nakano
bdd34ba6be Bug 538466 "ASSERTION: Wrong document somewhere" with contenteditable r=bz 2010-01-08 13:59:23 +09:00
L. David Baron
25d33fe57f Remove CID and layout module constructor for CSS style sheets. (Bug 239008) r=bzbarsky 2010-01-07 08:51:16 -05:00
Olli Pettay
63fd91b1fa Bug 534226 - Remove support for multiple presshells, r=bz, sr=roc 2010-01-07 12:36:11 +02:00
Daniel Holbert
ea644ea79b Bug 536834 followup 2: Guard assertion's reference to SMIL-related member data with #ifdef MOZ_SMIL. r=bz-in-irc 2010-01-06 21:59:25 -08:00
Robert O'Callahan
71c9bda876 Bug 528703. NotifyOwnerDocumentActivityChanged() should call mDecoder->Play() regardless of mReadyState. r=doublec 2010-01-07 14:13:27 +13:00
Robert O'Callahan
064c199276 Bug 532998. Cache the offset of the next newline character in preformatted text. r=smontagu 2010-01-07 13:55:09 +13:00
Robert O'Callahan
9778f1c9c6 Bug 366283. Enable canvas tests for correct compositing operators. 2010-01-07 13:55:08 +13:00
Robert O'Callahan
39ec4fde08 Bug 366283. Make canvas 'copy' operator behave as unbounded by clearing the surface before we render the source. r=jrmuizel 2010-01-07 13:55:08 +13:00
Robert O'Callahan
a8dbceb4f6 Bug 366283. Enable/disable shadows correctly as per spec. r=jrmuizel 2010-01-07 13:55:08 +13:00
Daniel Holbert
fee9f97bcd Bug 537157: Explicitly prevent SMIL animations inside of XBL bindings from running. Also, make nsSMILCSSProperty directly create a computed style object, instead of using nsPIDOMWindow helper method. r=smaug sr=roc 2010-01-06 09:20:50 -08:00
Daniel Holbert
f01bf9cbc6 Bug 536834 followup: When notifying external resource documents of PageHide & PageShow events, always pass |nsnull| as the aDispatchStartTarget argument. r=bz 2010-01-05 22:28:15 -08:00
Masayuki Nakano
95a1048ab6 Bug 537041 "ASSERTION: Wrong document somewhere" with contenteditable, stylesheet r=bz 2010-01-06 14:55:54 +09:00
Daniel Holbert
75d8a90b6c Bug 536834: Notify external resource documents of PageHide & PageShow events, in the main document's OnPageHide / OnPageShow methods. r=roc 2010-01-05 20:50:05 -08:00
Taras Glek
823e864469 Bug 538014 - Handlers in txStylesheetCompileHandlers.cpp should be static, r=jonas 2010-01-05 18:31:58 -05:00
Josh Aas
0487ff44e4 Minor cleanup, no bug. a=bsmedberg 2010-01-05 13:30:00 -05:00
Daniel Holbert
6e8dfed2fc Bug 530983, patch 2: Enable SMIL animation for 'clip' property. r=roc 2010-01-04 16:32:11 -08:00
Simon Montagu
6c61047f8f Add DOM Range test with non-contiguous selection rectangles in mixed directional text. Bug 525788 2010-01-03 00:46:48 -08:00
Simon Montagu
de65504e32 Fix mixed directional DOM Range tests from bug 396392. Bug 525788, r=roc 2010-01-03 00:46:38 -08:00
Simon Montagu
a8a8d8c6ff Round coordinates to 1/256 pixel to fix DOM Range tests from bug 396392 that were failing on Mac. Bug 525788, r=roc 2010-01-03 00:46:05 -08:00
Boris Zbarsky
a99f0f4f96 Bug 536716. Make BuildScrollFrame not set the primary frame on the content, fix letter frames to reset primary frames to 0 before resetting them to the new value as needed, fix things so <area> never gets a frame of its own, and reenable the SetPrimaryFrame assertion when the primary frame is being changed from one non-null frame to another. r=roc 2009-12-31 14:07:56 -05:00
L. David Baron
46b22b7ca0 DeCOMify nsHTMLCSSStyleSheet. (Bug 239008) r=bzbarsky 2009-12-31 10:56:33 -05:00
Nochum Sossonko
c1537db705 backout changeset dfc79d02e945 due to Linux build failure 2009-12-30 19:06:35 -05:00
Nochum Sossonko
3beeee4518 backout changeset dfc79d02e945, bug 530374 due to build failure 2009-12-30 19:04:52 -05:00
Ms2ger
6e5eb0673b Bug 530171 - Correctly handle null arguments to nsIDOMTokenList's methods, r=slvain.pasche, sr=olli.pettay 2009-12-30 18:29:40 -05:00
Jae-Seong Lee-Russo
607a11b769 Bug 530374 - Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in xslt, r=jonas 2009-12-30 18:27:30 -05:00
Jae-Seong Lee-Russo
daf0803331 Bug 530372 - Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in svg smil, r=jwatt 2009-12-30 18:25:44 -05:00
Josh Aas
f9051ae7e3 Backed out changeset bee6729280d8 2009-12-30 17:29:26 -05:00
Tom Dyas
13780ad38c Support receiving data from Mac OS X services into text and HTML editors. b=525389 r=josh r/sr=smaug 2009-12-30 15:58:33 -05:00
Phil Lacy
fa34110016 Bug 536920 - Cursor flashes and doesn't update during drag and drop operations. r=enndeakin. 2009-12-30 11:06:07 -06:00
Olli Pettay
dcb24ab519 Bug 469304 - Attribute nodes set with setAttributeNode get mutated, r=sicking
--HG--
extra : rebase_source : fd36b564ebc3cc574724e0f7993204319ec5220f
2009-12-28 16:35:06 +02:00
Boris Zbarsky
1ac691995c Bug 500882 another followup. This assertion is currently false for comboboxes; we need to fix them first. Needed to fix orange. 2009-12-24 19:18:32 -05:00
Boris Zbarsky
3070cc66c6 Bug 500882 followup. For some frame types, we set the primary frame multiple times, to the same value. Fixes orange 2009-12-24 17:41:02 -05:00
Boris Zbarsky
1ca5801f4b Bug 500882 part 8. Remove the SetMayHaveFrame/MayHaveFrame vestiges. r=smaug 2009-12-24 16:20:06 -05:00
Boris Zbarsky
cb8ca909a6 Bug 500882 part 4. Switch content module to using the new GetPrimaryFrame API. r=smaug, sr=roc 2009-12-24 16:20:05 -05:00
Boris Zbarsky
b2e4054198 Bug 500882 part 2. Switch setting of primary frames to the new API; switch nsFrameManager::GetPrimaryFrameFor to the new API; remove resulting gobs of dead code. r=roc 2009-12-24 16:20:05 -05:00
Boris Zbarsky
3d4af5eb46 Bug 500882 part 1. Give nsIContent an nsIFrame member. r=smaug, sr=roc 2009-12-24 16:20:05 -05:00
Simon Montagu
323f3ed8b2 Fix failing test from bug 525788. r=roc 2009-12-24 12:29:27 +02:00
L. David Baron
1e03efb9b6 Merge backout of changeset 2752efeb2fdd (Bug 535004: Check if we've fired an unload event before calling OnPageShow, in DocumentViewerImpl::LoadComplete) because the NS_ABORT_IF_FALSE that it added is firing in reftest and crashtest, at least on Linux. 2009-12-23 23:05:37 -05:00
L. David Baron
683aa648c1 Backed out changeset 2752efeb2fdd (Bug 535004: Check if we've fired an unload event before calling OnPageShow, in DocumentViewerImpl::LoadComplete) because the NS_ABORT_IF_FALSE that it added is firing in reftest and crashtest, at least on Linux. 2009-12-23 23:05:15 -05:00
Daniel Holbert
e1428e2de7 Bug 534975: Allow for null document pointer on SMIL animation targets, in case they get removed from tree due to a restyle during sample. r=roc 2009-12-23 16:19:29 -08:00
Daniel Holbert
43ca8b575b Bug 535004: Check if we've fired an unload event before calling OnPageShow, in DocumentViewerImpl::LoadComplete. r=smaug 2009-12-23 16:19:26 -08:00
L. David Baron
e3e86676fd Implement events part of CSS transitions: add support for the transitionend DOM event. (Bug 531585) r=smaug 2009-12-23 14:10:31 -05:00
Benjamin Smedberg
c2bbf9c677 Back out all the pieces of bug 531585 (transitioned event for end of CSS transitions) because of timeouts in test_transitions_events.html 2009-12-23 10:15:26 -05:00
L. David Baron
cef8b7a5f8 Implement events part of CSS transitions: add support for the transitionend DOM event. (Bug 531585) r=smaug 2009-12-23 06:35:46 -05:00
Robert Sayre
b567cced3a Merge. 2009-12-22 12:08:43 -05:00
Daniel Holbert
8a979e6095 Trivial fix for random orange in test 'test_smilTextZoom.xhtml' from bug 474049. 2009-12-21 18:28:24 -08:00
Metal Sonic
4c1b34d634 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Peter Van der Beken
53d577ff22 Bug 535638. DNS prefetch cache should hold weak references. r=bz, sr=sicking 2009-12-21 12:43:05 -05:00
Simon Montagu
de1a9baf7c Backout changeset 4ed95e61ee01 because of test failures 2009-12-21 02:28:41 -08:00
Simon Montagu
09e84c09b6 Bug 224547: Change the organization of the window title bar for RTL XUL windows. Part 1, refactoring, r=enndeakin 2009-12-21 12:21:52 +02:00
Simon Montagu
d854f924d8 Fix mixed directional tests from bug 396392. Bug 525788, r=roc 2009-12-21 00:56:14 -08:00
Robert Sayre
d6ed0e0b28 Merge mozilla-central to tracemonkey. 2009-12-20 16:25:20 -05:00
Jeff Walden
e9d69cbf2e Bug 529404 - Assignments to a property that has a getter but not a setter should not throw a TypeError per ES5, except in strict mode. r=brendan 2009-12-08 17:00:42 -08:00
Robert Longson
da1e4a0b96 Bug 534841 - filter feFunc[RGBA] does not default omitted attributes correctly. r=roc 2009-12-17 11:00:54 +00:00
Masayuki Nakano
6066caf76e Bug 535041 Crash [@ nsContentUtils::IsInSameAnonymousTree] r=Olli 2009-12-17 13:46:30 +09:00
Olli Pettay
19c06de19d bug 531176, r=sicking, sr=jst 2009-12-18 21:27:57 +02:00
Olli Pettay
030763f552 Bug 528196 - Optimize nsEventTargetChainItem::HandleEvent, r=jst
--HG--
extra : rebase_source : 0399c7922f80ed1775b0fb154dc2342bd146f519
2009-12-18 20:50:49 +02:00
Benjamin Smedberg
2efe22a0e4 Merge only plugin changes from e10s to mozilla-central. 2009-12-16 09:19:07 -05:00
Benjamin Smedberg
ce3386b2d4 Electrolysis-plugin-only bookkeeping commit. 2009-12-15 20:33:05 -05:00
Benjamin Smedberg
daab3b8125 Merge mozilla-central into electrolysis. 2009-12-15 20:31:04 -05:00
Robert O'Callahan
55a25263b0 Bug 526323. Make test_access_controls more precise about attributing failures to the right test, and re-enable it. r=cpearce 2009-12-16 09:08:59 +13:00
Robert O'Callahan
bd5fde6807 Bug 526323. nsCrossSiteListenerProxy for media loads should not treat 416 'range not satisfiable' as an error. r=doublec 2009-12-16 09:08:59 +13:00
Robert O'Callahan
c38705b5f5 Bug 526323. Add to nsCrossSiteListenerProxy support for treating certain HTTP result codes as non-errors. r=sicking 2009-12-16 09:08:58 +13:00
Neil Deakin
794984125c Bug 321177, use recursive algorithm to find member variable, r=jonas 2009-12-15 11:07:50 -05:00
Benjamin Smedberg
999be86ac2 Merge mozilla-central into electrolysis. 2009-12-14 08:01:18 -05:00
Benjamin Smedberg
422b4b28d2 Merge mozilla-central into electrolysis. One code change was required: in nsDocShell::CreateStaticClone I replaced EnsureDocShell with MaybeCreateDocShell. 2009-12-12 13:38:25 -05:00
Saint Wesonga
53aac44029 Bug 340017. Make document.formName work in XHTML. r=bzbarsky 2009-12-11 22:36:33 -08:00
Masayuki Nakano
13ffca5258 Bug 42676 Can't drag to extend selection out of blocks with overflow:hidden/auto/scroll r=Olli 2009-12-12 13:25:21 +09:00
Benjamin Smedberg
767eb11cb4 Merge mozilla-central into electrolysis 2009-12-04 11:28:50 -05:00
Masayuki Nakano
34b513f2b4 Bug 531810 Right clicking on Google Maps broken after leaving Street View (Windows only) r=roc 2009-12-04 17:03:27 +09:00
Chris Jones
4a0c6ae1dc bug 525342: make IPDL dtors part of the destructed actor's protocol instead of the manager's. r=bsmedberg 2009-12-03 02:16:14 -06:00
Boris Zbarsky
2a9811df52 Bug 455472. Be a little more careful with our handling of application/octet-stream. r=jst 2009-12-02 23:56:59 -05:00
Vladimir Vukicevic
4a9388f762 b=526957, use correct types 2009-12-02 13:38:39 -08:00
Mark Steele
6714e94c89 b=529717, change webgl object prefix to WebGL instead of Canvas; r=vlad 2009-12-02 13:38:39 -08:00
Mark Steele
4aacb4b100 b=526957; add array indexers to webgl arrays; r=vlad 2009-12-02 13:38:38 -08:00
jacek@codeweavers.com
e3e929e6b1 Bug 516213 - Fix webgl compilation on mingw. r=vlad 2009-12-02 13:38:38 -08:00
Benjamin Smedberg
9911c2f99d Merge mozilla-central into Electrolysis 2009-11-30 12:59:43 -05:00
Benjamin Smedberg
a819191110 End the electrolysis-plugins-only branch: merge in the remaining changes from electrolysis head in preparation for pushing to mozilla-central. 2009-12-14 09:56:08 -05:00
Benjamin Smedberg
b55b15dccf Merge additional changes from electrolysis and mozilla-central into the electrolysis-plugins-only tracking branch.
--HG--
branch : electrolysis-plugins-only
2009-12-04 11:42:28 -05:00
Benjamin Smedberg
300d0dafa7 Straight revert of content/* dom/interfaces/canvas/* dom/ipc/* toolkit/content/tests/fennec-tile-testapp/* netwerk/* security/manager/ssl* to their mozilla-central state. This named branch will be used as a temporary area to merge just the plugin portion of electrolysis into mozilla-central.
--HG--
branch : electrolysis-plugins-only
2009-11-30 13:31:41 -05:00
Peter Van der Beken
41824cb4bf Fix for bug 437449 (top crash [@ nsCycleCollector::MarkRoots(GCGraphBuilder&)][@ nsBaseContentList::cycleCollection::Traverse(void*, nsCycleCollectionTraversalCallback&)]). r=jst, a=blocking1.9.2+.
--HG--
extra : rebase_source : 5358561a463757cbfb77c542760dc1ea95fc6b82
2009-11-29 09:32:39 +01:00
Peter Van der Beken
5a63b1ad1c Back out fix for bug 437449 (top crash [@ nsCycleCollector::MarkRoots(GCGraphBuilder&)][@ nsBaseContentList::cycleCollection::Traverse(void*, nsCycleCollectionTraversalCallback&)]). 2009-11-28 23:30:49 +01:00
Peter Van der Beken
1f7d9b23d4 Fix for bug 437449 (top crash [@ nsCycleCollector::MarkRoots(GCGraphBuilder&)][@ nsBaseContentList::cycleCollection::Traverse(void*, nsCycleCollectionTraversalCallback&)]). r=jst, a=blocking1.9.2+. 2009-11-28 10:35:35 +01:00
Makoto Kato
d37efc17c2 Bug 530939 - New crash [@ GenerateFlatTextContent] in Firefox 3.6b3. r=Olli.Pettay 2009-11-26 17:41:32 +09:00
Jonas Sicking
1b1af4ce1b Bug 530901. Fix a warning and align an error code with the spec. r=jst a=jst 2009-11-24 17:53:17 -08:00
Benjamin Smedberg
7a581148bc Merge mozilla-central into Electrolysis. 2009-11-24 10:06:03 -05:00
John Daniels
b260d02c5f Bug 525819 - Make do_timeout take a callback function, not a string to eval. r=jwalden
--HG--
extra : rebase_source : 6fbaac51eabe95fcfaf4706feb9fd8a28ba4dfbf
2009-11-24 11:58:42 -08:00
Jonas Sicking
73d16e60ea Fix more bugs when reusing FileReaders for multiple reads. Also fix leaks. r=jst a=jst 2009-11-22 22:23:23 -08:00
Jonas Sicking
31307e744b Trivial fix for orange. Tests are good. Bug 530269 2009-11-22 12:42:17 -08:00
Jonas Sicking
d63cf8c9ee Jonas Sicking - Bug 530269: Clear data when reusing a FileReader for multiple reads. r=bz a=jst 2009-11-22 11:05:12 -08:00
Jonas Sicking
ef9e4230b7 Bug 530220: Fix bug in handling of binary data, kill some dead variables, and improve tests. All for FileReader. r=jst a=jst 2009-11-21 03:56:31 -08:00
Benjamin Smedberg
737515b2c8 Merge mozilla-central into electrolysis. 2009-11-19 12:41:46 -05:00
Jonas Sicking
a683373ce9 Fix mobile build bustage. Some compilers still don't seem to like L-strings spread out over several lines. r=crowder 2009-11-18 16:22:25 -08:00
Jonas Sicking
840c879ba2 Bug 529041: Deal with http channels not implementing nsIUploadChannel2. r=biesi 2009-11-18 15:21:13 -08:00
Robert Longson
3813a31710 Bug 520506 - Incorrect text getBBox in SVG. r=jwatt 2009-11-18 20:59:24 +00:00
Vladimir Vukicevic
65e9728bf5 b=525673; not repainting correctly on canvas animation; r=roc 2009-11-18 12:55:59 -08:00
Peter Van der Beken
543fe93113 Fix for bug 528963 (Crash [@ txXPathNode::RootOf]). r=sicking, a=beltzner.
--HG--
extra : rebase_source : d3933a2cafddb13edb4a54371cc8c603792d153a
2009-11-18 10:26:23 +01:00
Henri Sivonen
5d189ebc4c Bug 515610 - Make defer and async work with the speculating HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : 19dc4eaddf51c50cb416d62081fcef4ecd8d11c4
2009-11-17 10:52:30 +02:00
Henri Sivonen
e8f639313e Bug 527896 - Freeze script deferredness and asyncness upon insertion to tree by HTML5 parser. r&sr=sicking.
--HG--
extra : rebase_source : a070df9af738e1716929cecf6163f82b74ab4e1d
2009-11-17 10:52:30 +02:00
Henri Sivonen
aaf4bc3127 Bug 530535 - Add AddIntPrefVarCache (like AddBoolPrefVarCache). r&sr=sicking.
--HG--
extra : rebase_source : 5ce2fcc6348707cc868ca0c2f7c7fb713dcb7b34
2009-11-24 09:34:49 +02:00
Peter Van der Beken
ce7a9f6cc1 Fix for bug 528300. r=sicking, a=blocking1.9.2+. 2009-11-15 11:57:49 +01:00
Peter Van der Beken
a40cdf8854 Back out c5619fbfb2b1 to fix orange. 2009-11-21 15:48:49 +01:00
Peter Van der Beken
bad6f3129e Fix for bug 528300. r=sicking, a=blocking1.9.2+.
--HG--
extra : rebase_source : c5bf7807f1840ab5a34b868b0eb90a6b1ec2d017
2009-11-15 11:57:49 +01:00
Jonas Sicking
a65f925387 Backed out changeset 544bfe26c96d due to orange 2009-11-21 01:27:02 -08:00
Jonas Sicking
b74d355393 Backed out changeset 029128b70708 due to orange 2009-11-21 01:26:28 -08:00
Jonas Sicking
e39467b652 Backed out changeset 3005c5da5a20 due to orange 2009-11-21 01:25:56 -08:00
Jonas Sicking
ea529df623 Bustage fix 2009-11-21 00:42:58 -08:00
Jonas Sicking
2bff8771d9 Bug 530269: Clear data when reusing a FileReader for multiple reads. r=bz a=jst 2009-11-21 00:39:33 -08:00
Jonas Sicking
b0a4186bd6 Bug 530220: Fix bug in binary data handling, and write more comprehensive tests. r=jst a=jst 2009-11-20 23:39:08 -08:00
Jonas Sicking
6e5cedad4c Remove tests that are failing due to bug in speculative parser. r=mrbkap 2009-11-20 09:49:44 -08:00
Doug Turner
793f6fc7db Bug 528551- Faster plugin drawing in Fennec. r=jst/karlt. 2009-11-20 08:26:10 -08:00
enndeakin@gmail.com
aa1e6dfe50 Bug 525856 - White-space in source code affects how link receive focus from keyboard (tab key), r=smaug, sr=roc 2009-11-20 14:09:33 +02:00
Robert O'Callahan
f5ad5f28f5 Bug 528493 preliminary number 2. Don't call a function that needs to flush while we might be under a scriptblocker. r=bzbarsky 2009-11-19 23:39:11 -05:00
Robert O'Callahan
69068c403d Bug 528493 preliminary. Don't MaybeLoadImage on bind if image loading for this node is disabled. r=bzbarsky 2009-11-19 23:39:11 -05:00
Jonas Sicking
3b6fad6365 Back out 2d4a6e2237f9. Logging no longer needed. 2009-11-19 17:52:28 -08:00
Boris Zbarsky
1ccc263d2e Bug 529859. Need to submit empty file inputs too. r=smaug 2009-11-19 15:58:46 -05:00
Boris Zbarsky
85e02cc64e Bug 529819. Don't double-add a node to form.elements['foo']. r=smaug 2009-11-19 15:58:46 -05:00
Frederic Plourde<frederic.plourde@polymtl.ca>
36bdecc47f Bug 513354 - Destroy the baseWindow on tab destruction, r=bs 2009-11-13 07:43:43 -05:00
Olli Pettay
cab5358845 Bug 523356 - Remote event listeners for Electrolysis, r=bsmedberg 2009-11-17 16:22:23 +02:00
Olli Pettay
d0250ab7c3 Backout Bug 523356 2009-11-17 13:56:49 +02:00
Olli Pettay
cc2bb5ab11 Bug 523356 - Remote event listeners for Electrolysis, r=bsmedberg 2009-11-17 10:43:39 +02:00
Benjamin Smedberg
17cf638aac Merge mozilla-central into electrolysis. 2009-11-11 12:35:42 -05:00
Chris Jones
5629855e23 mac builds and runs with --enable-ipc, but the subprocess nsAppShell dies for an apparently Cocoa-related reason. IPC is fine though 2009-11-10 20:25:10 -06:00
Mark Steele
87b01b3cfc b=526185, [webgl] accept WebGLArrays instead of JS arrays in texImage2D; r=vlad 2009-11-18 12:42:35 -08:00
Mark Steele
63bf2da952 b=526017, [webgl] collapse state query calls; r=vlad 2009-11-18 12:42:35 -08:00
Robert O'Callahan
d866e87ce4 Bug 531371. Correctly propagate the backround from a <body style="display: table"> to the viewport as needed. r=bzbarsky 2009-12-01 12:21:00 -05:00
Henri Sivonen
bcac5a67b9 Bug 497861 - Wrong form state preservation on reparse in HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : 841506bea91507339e89eefa95cde68ca2d9a5dd
2009-11-06 15:06:48 +02:00
Olli Pettay
2f4c5ea761 Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
L. David Baron
4ee286e827 Call RuleMatched method on CSS rules when they are matched. (Bug 522595) r=bzbarsky 2009-12-11 08:13:19 -08:00
Boris Zbarsky
b113c5b09c Bug 525952 part 1. Make sure pseudo-element selectors never land inside SelectorMatches (because tree pseudo-elements do weird stuff with pseudo-classes). r=dbaron 2009-12-11 02:37:41 -05:00
Boris Zbarsky
5ea79b4acb Bug 525608 part 6. Remove null-checks on RuleProcessorData::mContent. r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky
99027aa785 Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky
e9f228c7d5 Backing out bug 525608 and bug 525952 2009-12-10 18:28:08 -08:00
Boris Zbarsky
88da9222b1 Bug 525952 part 1. Make sure pseudo-element selectors never land inside SelectorMatches (because tree pseudo-elements do weird stuff with pseudo-classes). r=dbaron 2009-12-10 14:36:07 -08:00
Boris Zbarsky
a784f30c6a Bug 525608 part 6. Remove null-checks on RuleProcessorData::mContent. r=dbaron 2009-12-10 14:36:06 -08:00
Boris Zbarsky
0a82b262db Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron 2009-12-10 14:36:05 -08:00
Boris Zbarsky
cc6eb188e6 Bug 523294 part 3. Get rid of the now-unused aStateMask argument to AttributeChanged. r=dbaron 2009-12-10 14:36:04 -08:00
Benjamin Smedberg
281b9fd4a8 Merge from mozilla-central. 2009-11-06 09:54:28 -05:00
Mike Kristoffersen
b359cbacab Bug 525898 - White spaces at EOL in nsHtmlMediaElement.h. r=chris.double
--HG--
extra : rebase_source : 9775a2db54c962ae1bacdb219e1af8335c1142b9
2009-11-06 08:34:00 +01:00
Mike Kristoffersen
4db1a44a71 Bug 525946 - White spaces at EOL in nsMediaDecoder.cpp. r=chris.double
--HG--
extra : rebase_source : 2982e3ee884d34b365256df901ae02055bee1765
2009-11-06 08:33:27 +01:00
Mike Kristoffersen
67ee431a58 Bug 525923 - White spaces at EOL in nsHtmlMediaElement.cpp. r=chris.double
--HG--
extra : rebase_source : ead218be45e58a8005c401826179af2daf806bae
2009-11-06 08:32:52 +01:00
Olli Pettay
3d8a76e521 Bug 516727 - Electrolysis+Fennec: forward mouse events from the chrome tiles to the content process 2009-11-05 20:21:09 +02:00
Olli Pettay
ca88319903 Bug 522533 - Sort out focus handling in Electrolysis
--HG--
extra : rebase_source : 8b91e5c9a55bb7c2809352c5e297be77399141dd
2009-11-05 20:14:22 +02:00
Chris Jones
fb5e908958 bug 525677: shuffle some headers to appease gcc 4.2. IRC r=fred23,bsmedberg 2009-11-04 23:11:33 -06:00
Jonas Sicking
c88c547795 Bug 527870: Fix theoretical bug in async loading code. r=jst 2009-11-10 21:45:54 -08:00
Jonas Sicking
b5f9a0dd35 Bug 527623: Fix more intermittant problems by making the test code deal with necko re-ordering requests. r=jst 2009-11-10 14:30:38 -08:00
Josh Aas
80e4d43179 Rename nsGUIEvent's nativeMsg field to pluginEvent. b=527617 r=roc 2009-11-10 16:55:38 -05:00
Robert Longson
0c13556d69 Bug 527325 - feConvoleMatrix does not process bias correctly. r=roc 2009-11-10 18:49:37 +00:00
Jonas Sicking
d2c6405853 Bustage fix, bug 527623. Relying on speculative parsing in tests doesn't seem like a good idea. r=bustage-fix 2009-11-10 07:14:32 -08:00
Mats Palmgren
3d19ba525b Bug 501934. r=bzbarsky sr=Olli.Pettay 2009-11-18 16:14:14 +01:00
Henri Sivonen
9a8b5b64db Disable test for bug 503473 due to disruption to test harness shutdown (orange). 2009-11-18 16:18:38 +02:00
Henri Sivonen
c8ab351234 Test for bug 503473 - Address review comments from bnewman accidentally left unaddressed in the previous push. 2009-11-18 14:44:17 +02:00
Benjamin Smedberg
2d5ee4fb70 Reorder includes so that Windows links correctly (mismatched typedefs of uint16) 2009-10-30 08:58:07 -04:00
Benjamin Smedberg
bbfa38694c Bug 523224 - nsFrameLoader::TryNewProcess crashes if reflow hasn't happened yet and created a view for our remote tab. Fix this by separating the process of creating the IFrameEmbedding and hooking up the view. IFrameEmbedding creation is analogous to creating a docshell, and we can hook up the view/widget hierarchy later.
* * *
imported patch fennelectrolysis-workihng
2009-10-28 16:41:46 -04:00
Benjamin Smedberg
dc8e9dc660 Bug 525106 - Make WebGL compile with UNCODE defined or not-defined by using explicit W annotations on the relevant functions/structs, r?vlad 2009-10-29 14:48:21 -04:00
Joe Drew
f911423115 Bug 505847 - Implement asyncDrawXULElement in 2D canvas. r=bz,bsmedberg 2009-10-29 13:58:31 -04:00
Joe Drew
ba49904511 Back out asyncDrawXULElement, since WebGL isn't ready to be compiled with -DUNICODE. 2009-10-28 18:51:59 -04:00
Joe Drew
b35a06c330 Missed one nsresult->bool fix. 2009-10-28 17:29:12 -04:00
Joe Drew
9a1d3b9f0a Bug 505847 - Fix non-MOZ_IPC builds. 2009-10-28 17:27:28 -04:00
Joe Drew
00437f1258 Bug 505847 - Implement asyncDrawXULElement in 2D canvas. r=bz,bsmedberg 2009-10-28 16:55:49 -04:00
Henri Sivonen
0e0bd230cf Test for bug 513194 - HTML5 parser ends up parsing inline stylesheets twice. r=bzbarsky.
--HG--
extra : rebase_source : 337ce649c3a52b98929ff3a5ee30c1a15e2e4947
2009-11-06 15:06:48 +02:00
Henri Sivonen
1d34c84c65 Bug 515257 - Remove bogus assertion on optgroup child removal. r=bnewman.
--HG--
extra : rebase_source : ea5f2690286d4dedefcc657472f3f56bf68ff5b6
2009-10-21 17:03:01 +03:00
Benjamin Smedberg
eba77abeb6 Merge mozilla-central into e10s. 2009-10-28 11:32:00 -04:00
Benjamin Smedberg
d4f7ff8ab0 Add #ifdef MOZ_IPC around new frameloader changes so that Mac/WINCE build again. 2009-10-27 16:38:26 -04:00
Benjamin Smedberg
4bb6d6c511 Bug 522352 - make nsSubDocumentFrame not assume as much about docshells: move all that into the frameloader, r=bz (preparation and merge reduction for Electrolysis, where not all frameloaders have docshells)
--HG--
extra : rebase_source : 7c51147603fccb93040fdb6e883b33dbab130040
2009-10-16 15:42:29 -04:00
Benjamin Smedberg
510899ed2d Bug 522352 - make nsSubDocumentFrame not assume as much about docshells: move all that into the frameloader, r=bz 2009-10-16 15:42:29 -04:00
Benjamin Smedberg
e5eb537d73 Bug 522351 - check for remote="true" on the element before trying to remote it, r=bz 2009-10-16 15:42:27 -04:00
Chris Jones
e5481210f2 Merge mozilla-central to pick up unit test fixes 2009-10-22 20:33:36 -05:00
Daniel Holbert
08db3f7b28 bug 520710: SVG/SMIL: Make <set> element apply its 'to' value for whole duration. r=birtles sr=roc 2009-10-22 15:15:44 -07:00
Daniel Holbert
192d1b23ab Bug 523576: Build nsSMILKeySpline even when SMIL is disabled, since the CSS transitions code needs it. r=roc 2009-10-22 15:13:12 -07:00
Daniel Holbert
85330d8cf3 Bug 520486 (patch 2): Enable SVG/SMIL animation of properties with enumerated values. r=roc 2009-10-21 14:57:57 -07:00
Olli Pettay
d02481b0d6 Bug 523569 - remove initXXXEventNS methods, r=sicking
--HG--
extra : rebase_source : fa251f645567f0bc63c1debbc64062d7145c5374
2009-10-21 21:35:42 +03:00
Benjamin Smedberg
fb0040f213 Bug 523438 - make nsFrameLoader* available to content/layout, r=bz
--HG--
extra : rebase_source : 60958c8e1cfeb150f8f48f549b2043637c910e99
2009-10-20 17:33:59 -04:00
Robert Longson
a78c07f658 Bug 521207 - tiles do not work if they extend beyond the filter subregion bounds 2009-10-21 18:47:59 +01:00
Olli Pettay
ef48c1600f Bug 523080 - Unlink HTMLDocument members, r=peterv
--HG--
extra : rebase_source : e8b1faf6f58613826803b101ee314f64ecab3350
2009-10-21 12:41:18 +03:00