Robert Longson
c6f98571f9
Bug 553053 - Should not create frames for SVG animation elements, it interferes with clipPath validation and is inefficient. r=dholbert,sr=roc
2010-03-19 11:17:49 +00:00
Daniel Holbert
2c217de78c
Bug 541588 subpatch 1: Change method signatures in nsSMILAnimationController, and subclass nsRefreshObserver. r=roc
2010-03-18 21:14:40 -07:00
Peter Van der Beken
75418d48ea
Rev IID (follow-up from bug 540848).
...
--HG--
extra : rebase_source : 193c4ec222412dc014b850002078d060ec0227e0
2010-03-18 19:26:30 +01:00
Laurent Jouanneau
c35d5e878d
fixed a failed test under windows, about bug 524975
2010-03-18 18:09:32 +01:00
Laurent Jouanneau
8b9930f133
Bug 545644 - Regression: HTML 'nbsp' entity is not handled correctly in xHTML mode. r=Olli sr=Jonas
2010-03-18 17:07:32 +01:00
Peter Van der Beken
e5d87ec5bb
Fix for bug 552716 (Remove NS_INTERFACE_MAP_ENTRY_CONTENT_CLASSINFO). r=jst.
...
--HG--
extra : rebase_source : 8e03b54ff6117dcac27188b296c59dcafbb6db78
2010-03-17 16:09:05 +01:00
Peter Van der Beken
3e3654ffca
Fix for bug 540848 (Add appendChild/insertBefore/replaceChild/removeChild on nsINode). r=bz.
...
--HG--
extra : rebase_source : 4550ff196ab5fd1acbc72e7c94b7a31d073ae5dd
2010-03-17 16:06:19 +01:00
Peter Van der Beken
6469f57d89
Fix for bug 548463 (Disallow adopting node into a different document from adoptNode). r=sicking.
...
--HG--
extra : rebase_source : 5c00c3b6c65491997984d216f5c61052ccc0a77b
2010-03-17 15:40:35 +01:00
Laurent Jouanneau
1e0fdf7cfa
Bug 524975 - Copy-Paste of simple HTML adds extra space not present in original content. additionnal tests. r=Olli Pettay
2010-03-18 16:19:36 +01:00
Daniel Holbert
9ce0b48605
merge after backing out bug 541588
2010-03-18 07:58:33 -07:00
Daniel Holbert
82534e711d
Backed out changeset 59f507847beb (bug 541588) to see if it was responsible for minor SVG perf regression.
2010-03-18 07:58:09 -07:00
Daniel Holbert
97312ef359
Bug 541588: Hook up nsSMILAnimationController to nsRefreshDriver for scheduling samples. r=roc
2010-03-17 01:54:20 -07:00
Justin Dolske
1db3f5a1ce
Bug 550293 - plugin-crashed UI needs more user opt-in. r=vlad, ui-r=faaborg
2010-03-16 22:10:08 -07:00
Blake Kaplan
b864f5d776
Try to fix bustage. r=sicking
...
--HG--
extra : rebase_source : ccb2ce8b02c859b364fe4c71e3b9b3525b67ee99
2010-03-16 19:30:24 -07:00
Blake Kaplan
efb0109f58
Fix bug 552090. r=sicking sr=jst
2010-03-16 16:23:45 -07:00
Daniel Holbert
52f0b1c7e3
Bug 534028, Patch C: Support SMIL animation of SVG attributes that are mapped to CSS properties. r=roc
2010-03-16 16:17:33 -07:00
Daniel Holbert
1b7f3ee4bc
Bug 534028, Patch A: Make nsIContent::GetAnimatedAttr()'s nsIAtom argument non-const. r=roc
2010-03-16 16:17:32 -07:00
Daniel Holbert
e0134144b0
Remove two unused variables in nsCSPService.cpp, to fix build warning & trigger another build cycle & hopefully clear some red during CLOSED TREE
2010-03-16 13:21:09 -07:00
Ehsan Akhgari
c8c9e7615a
Bug 549887 - Abort if the Places history service is unavailable; r=dbaron
...
--HG--
extra : rebase_source : dcf410b4cc4e86acbb5bbfac4f326103519b9e45
2010-03-15 11:14:28 -04:00
Neil Rashbrook
724e883076
Bug 518249 Disabling the test on the Mac because we don't know why it crashes r=orange
2010-03-15 16:56:47 +00:00
Neil Rashbrook
bc7faca581
Bug 518249 Adding test r=karlt
...
--HG--
rename : content/base/test/test_copypaste.html => content/base/test/test_copyimage.html
2010-03-15 11:59:49 +00:00
Ben Turner
0bdadbfbee
Bug 550275 - 'Implement the HTML5 structured clone algorithm'. r=jst+mrbkap, sr=jst.
2010-03-17 12:55:45 -07:00
Markus Stange
4a997d3554
Backed out changeset e17c076aceea, bug 508482 (:-moz-window-inactive pseudoclass) because of test_righttoleft.xul test failures.
2010-03-17 20:03:53 +01:00
Markus Stange
f1f3037861
Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst
2010-03-17 18:10:57 +01:00
Makoto Kato
0736aa6001
Bug 182954 - Content should use the newer nsIPrefService APIs instead of nsIPref. r=neil,bzbarsky
2010-03-13 22:23:27 +09:00
Robert Longson
7f73b235c7
Bug 510202 - simplify C++ code now that bug 461199 has landed. r=sdwilsh,sr=bzbarsky
2010-03-13 10:32:19 +00:00
Joel Maher
54bd749a31
Bug 544097 Fixing CSP Tests to work with these changes. r=waldo, geekboy p=jmaher. Landed on CLOSED TREE
2010-03-12 13:53:37 -08:00
Joel Maher
64cc671e70
Bug 544097 Fixing up leaktest and profileserver tests to run with these changes r=ctalbert p=jmaher. Landed on CLOSED TREE
2010-03-12 13:53:37 -08:00
Joel Maher
d050afae06
Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE
2010-03-12 13:53:36 -08:00
Daniel Holbert
a580a7b1bd
merge
2010-03-11 23:11:22 -08:00
Daniel Holbert
563c185c57
Backed out changeset 68363c7a7f06 due to debug mochitest orange w/ abort_if_false failure
2010-03-11 23:11:09 -08:00
timeless@mozdev.org
c3bbdc001a
Bug 494683 warning: comparison between signed and unsigned and incorrect initialization order
...
r=jst sr=jst
--HG--
extra : rebase_source : b216615bd1813d661496432f508bb2755aa55877
2010-03-12 07:50:13 +01:00
timeless@mozdev.org
5eb4371fee
Bug 551091 fix signed warning because Count() is signed ...
...
r=jst
--HG--
extra : rebase_source : a54a095b0bd3e4150bc75985863d47c4b8fe9d73
2010-03-12 07:50:12 +01:00
Daniel Holbert
3565228251
Bug 541588: Hook up nsSMILAnimationController to nsRefreshDriver for scheduling samples. r=roc
2010-03-11 22:03:49 -08:00
Daniel Holbert
56c3c6778a
Bug 537139 followup: Call RestyleForAnimation() instead of SMILOverrideStyleChanged(), to avoid triggering CSS Transitions from SMIL changes. r=dbaron
2010-03-11 22:03:49 -08:00
Daniel Holbert
75d663e49c
Backed out changeset 76abe26bf57c due to orange.
2010-03-10 15:03:34 -08:00
Daniel Holbert
91225f65c1
Bug 541588: Hook up nsSMILAnimationController to nsRefreshDriver for scheduling samples. r=roc
2010-03-10 12:33:37 -08:00
Daniel Holbert
a5c6c0b995
Bug 551396: Remove unused helper-function GetURIHash from nsDocument.cpp. r=smaug
2010-03-10 12:33:37 -08:00
Frédéric Wang
d6904c21a4
Bug 475518 - MathML layout code should use _moz* attributes instead of -moz-* attributes. r=karlt, sr=bz
...
--HG--
extra : rebase_source : 34bb7055d4deaad9a0ee55aa40b9bcbdd19153ea
2010-03-10 13:49:33 +01:00
Olli Pettay
dbb6144442
Bug 549576 - Remove ::MaybeCC from XMLHttpRequest, r=peterv
2010-03-10 12:51:21 +02:00
Mark Banner
1fa876e743
Backout changes to .jar files missed from previous backout of bug 544097
2010-03-10 09:51:28 +00:00
Brad Lassey
bb55fe310f
backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests
2010-03-09 22:33:11 -05:00
Shawn Wilsher
cb211422b2
Bug 550661 - Adding href attribute doesn't add link styling
...
r=bz
--HG--
rename : content/html/content/reftests/href-attr-removal-restyles-ref.html => content/html/content/reftests/href-attr-change-restyles-ref.html
rename : content/html/content/reftests/href-attr-removal-restyles.html => content/html/content/reftests/href-attr-change-restyles.html
rename : layout/reftests/svg/href-attr-removal-restyles-ref.svg => layout/reftests/svg/href-attr-change-restyles-ref.svg
rename : layout/reftests/svg/href-attr-removal-restyles.svg => layout/reftests/svg/href-attr-change-restyles.svg
2010-03-09 10:21:25 -08:00
Joel Maher
661862b905
Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert
2010-03-09 08:55:39 -08:00
Joel Maher
aef3dc32c3
Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert
2010-03-09 08:55:39 -08:00
Kyle Huey
1d0289c601
Backed out changeset 8ce70abd7777
2010-03-09 01:14:21 -05:00
Joel Maher
cee9b522a0
Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer
2010-03-08 19:21:33 -08:00
Boris Zbarsky
979fcce9a2
Bug 550842 followup. Make this actually compile.
2010-03-08 19:47:37 -05:00
Martin Husemann
4897e14595
Bug 550842. Ensure at least pointer compatible alignment of memory area for RuleProcessorData::operator new. r=bzbarsky
2010-03-08 19:30:01 -05:00
Jonas Sicking
088a5c3e1c
Bug 534136 Part 4: Inline accessors on nsIAtom. r=peterv sr=jst
2010-03-08 07:45:00 -08:00
Jonas Sicking
3175f89133
Bug 534136 Part 3: Optimize atom-using code for the fact that atoms store 16bit strings. Also take advantage of new nsAtomString API. r=bz
2010-03-08 07:45:00 -08:00
Jonas Sicking
c4106f7f22
Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap
2010-03-08 07:45:00 -08:00
Jonas Sicking
1a6c0165bf
Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg
2010-03-08 07:44:59 -08:00
Daniel Veditz
e52b96f8e3
merge
2010-03-08 01:59:52 -08:00
Daniel Veditz
cba4434bd8
bug 515443 missing test files
2010-03-08 01:57:10 -08:00
Ginn Chen
51b8057cbc
Bug 550386: content/base/src/nsFileDataProtocolHandler.cpp failed to compile with SS12 r=bzbarsky
2010-03-08 17:33:14 +08:00
Daniel Veditz
d7f89f6fbd
bug 548993 wrong return type from CSP inline script check, r=sicking
2010-03-08 00:28:13 -08:00
Sid Stamm
47a3291b46
bug 515443 CSP no-eval support. r=mrbkap,brendan
2010-03-08 00:24:50 -08:00
Sid Stamm
1335f2114e
bug 550442 object sub loads should obey the object-src policy
2010-03-08 00:24:30 -08:00
Clint Talbert
7ffd9496bc
Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box
2010-03-07 17:34:23 -08:00
Joel Maher
ef6c5fda3d
Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte
2010-03-07 16:08:05 -08:00
mounir.lamouri@gmail.com
b243710610
Bug 536891 - Negative maxlength should be treated the same as unspecified maxlength, r=smaug, sr=jst
...
--HG--
extra : rebase_source : eef5330e6de87f9b9a5189bd26f13418c404d659
2010-03-05 21:38:26 +02:00
Mike Kristoffersen
abdb2aa82c
Build bustage on Qt due to macro definition of malloc, realloc, etc. Most of this is just moving Qt #includes around. r=dougt
...
--HG--
extra : rebase_source : 9734e9e68754a6fc45bddbdc60bb5e898bb8cdb2
2010-03-04 13:51:42 -08:00
Chris Jones
f0560d9e8e
Bug 441324, part 1: Shuffle around includes to avoid problems with #define malloc et al. r=bsmedberg
2010-03-03 23:02:55 -06:00
Olli Pettay
83b813bb98
Bug 549566, clean-up beforeunload message, r=sicking
...
--HG--
extra : rebase_source : 5abe27de295f9285b926f105d7ec317ebe1503ff
2010-03-03 14:41:57 +02:00
Jonas Sicking
aeb9ba77c3
Bug 543870: Implement File.url. r=bz sr=jst
2010-03-02 23:51:09 -08:00
Daniel Holbert
627f47b186
Bug 540090: Add method nsIDocument::HasAnimationController, to let us check for active SMIL animation without triggering lazy construction. r=roc
2010-03-02 23:09:51 -08:00
Zack Weinberg
2c3e543d1d
Bug 544112 part 2: DeCOMtaminate and devirtualize nsCSSLoader. r=bzbarsky sr=dbaron
...
--HG--
rename : layout/style/nsICSSLoader.h => layout/style/nsCSSLoader.h
2010-03-02 13:00:53 -08:00
Zack Weinberg
1e69ee7cc3
Bug 544112 part 1: Make speculative and chrome style sheet loads go through the document object. Rearrange some C++ unit tests so they'll still link after part 2. r=bzbarsky sr=dbaron
...
--HG--
rename : layout/html/tests/ParseCSS.cpp => layout/style/test/ParseCSS.cpp
rename : layout/html/tests/TestCSSPropertyLookup.cpp => layout/style/test/TestCSSPropertyLookup.cpp
2010-03-02 13:00:39 -08:00
Zack Weinberg
96887d3f38
Bug 523496: DeCOMtaminate nsCSSParser. r=bzbarsky sr=dbaron
...
--HG--
rename : layout/style/nsICSSParser.h => layout/style/nsCSSParser.h
2010-03-02 12:59:32 -08:00
Jonas Sicking
2591c1ea57
Fix bug 490790. r=dveditz
2010-03-02 11:40:14 -08:00
Craig Topper
5c68d29b38
Bug 544372: Fix more harmless UMRs to avoid valgrind complaining. r=sicking
2010-03-01 21:06:29 -08:00
Michael Ventnor
25bc9c7d85
Bug 542361 - Fix and remove the GetUsedX assertions r=roc
...
--HG--
extra : rebase_source : 6bdb0e3251e955ced01476a2255e9ebc511c884b
2010-03-02 11:57:43 +10:00
Mounir Lamouri
54f1561afc
Bug 457800 - Implement placeholder attribute for text input fields; r=ehsan,bzbarsky,bolter sr=roc ui-r=faaborg
...
--HG--
extra : rebase_source : 2e2f3a73553d720b32812603b0ce96c89b9a6261
2010-02-26 10:47:38 -08:00
Henri Sivonen
56cd24d21e
Bug 545854 - Add the <keygen> macro to the HTML5 parser. r=bnewman.
...
--HG--
extra : rebase_source : afd36441c60abba7453fd91c32beec4e6e1fd17b
2010-02-22 14:17:30 +02:00
Ms2ger
0d8a8bc9bb
imported patch 499092-prefix-v2
2010-02-25 10:49:34 -08:00
Jonas Sicking
bf568e77dc
Bug 544372: Reading unitialized memory in nsNodeIterator. Also fix a minor perf issue. r=peterv
2010-02-25 10:34:36 -08:00
Jonas Sicking
eb4d99e601
Fix license in new files added for bug 546528
2010-02-25 01:25:53 -08:00
Jonas Sicking
1a41a3c97c
Bug 546528 part 3: Implement FormData. r=benjamn
2010-02-24 21:58:18 -08:00
Jonas Sicking
833517ace9
Bug 546528 part 1: Break out code to convert body argument to an nsIInputStream out of nsXMLHttpRequest::Send to make the code more readable. r=benjamn
2010-02-24 21:58:17 -08:00
Jonas Sicking
aecb30c8cf
Bug 544698 part 1: Move value processing from submission code to elements. Decomtaminate. Kill a few dead functions. r=jst
2010-02-24 21:58:16 -08: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
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
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
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
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
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
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
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