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
Doug Turner
4956b23fb3
Merge with m-c
2010-03-18 21:53:17 -07:00
Jason Duell
a5f74621b1
Merge from mozilla-central (rev 783ef71b479e) to e10s tree; gets xpcshell working again.
2010-03-18 14:59:34 -07:00
Doug Turner
ef22106e0b
[Bug 553149] Implement sendCrossProcessKeyEvent for e10s. r=smaug
2010-03-18 23:52:18 -07:00
Doug Turner
85bd4fb391
Merge with mc
2010-03-17 10:37:32 -07:00
Doug Turner
f295d7422b
Merge
2010-03-12 15:20:36 -08:00
Doug Turner
16e2fd5fe7
Merge. manually merged. modules/plugin/test/testplugin/nptest.cpp, testing/xpcshell/head.js.
2010-03-10 19:13:35 -08:00
Doug Turner
87cf185e2d
Fixing build bustage on Qt. This is similar to bug 550261.
2010-03-09 00:44:28 -08:00
Chris Jones
733adfeaaf
Fix some merge bustage.
2010-03-08 14:16:41 -06:00
Doug Turner
d08632917d
Merge with mc
2010-03-08 10:09:55 -08: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
Olli Pettay
354fead050
Bug 549693 - [E10s] addMessageListener callback object should have access to browser object, r=jst
2010-03-05 13:00:43 +02:00
Olli Pettay
e2ad087211
Bug 549884 - [E10s] add .docShell to TabChildGlobal, r=dougt
2010-03-03 22:30:25 +02:00
Doug Turner
5daaf36bf1
Merge
2010-03-01 15:36:51 -08:00
Oleg Romashin
cb70343ee4
Bug 545899 - Qt XEmbedding must be updated according to QWidget->QGraphicsWidget change. r=dougt
2010-03-01 21:05:48 +02:00
Oleg Romashin
08c04079d6
Bug 545899 - Qt XEmbedding, not initialized socket. r=dougt
2010-02-27 14:49:35 +02:00
Olli Pettay
4ebc1a5dae
Bug 548065 - Segfault when sending async message to remote process that has not initialized yet, r=jst
2010-02-24 12:05:49 +02:00
Olli Pettay
fb7533d660
Bug 547856 - ###!!! ASSERTION: Uh, cx is not the current JS context!: 'cx == GetCurrentJSContext()' when using dump() in content process remote script, r=jst
2010-02-24 12:03:22 +02:00
Olli Pettay
4874094ab0
Bug 548065 - Segfault when sending async message to remote process that has not initialized yet, r=jst
2010-02-24 12:02:28 +02:00
Olli Pettay
0d9effc7af
Bug 548056 - Don't try to parse empty json, r=jst
2010-02-24 12:01:49 +02:00
Chris Jones
bc05dd163b
Merge from mozilla-central
2010-02-22 21:31:18 -06:00
Boris Zbarsky
d14db3049f
Bug 530373 followup. Fix build bustage.
2010-02-22 15:13:19 -05:00
Jae-Seong Lee-Russo
30218c70c3
Bug 530373. Use NS_MIN/NS_MAX instead of PR_MIN/PR_MAX in DOM code. r=bzbarsky
2010-02-22 14:41:19 -05:00
Olli Pettay
72dc86132d
Bug 542242 - E10s, content process event handlers, r=jst, r=bsmedberg
2010-02-20 19:05:20 +02: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
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
Alexander Surkov
be2b5e3966
Bug 534527 - Accessibility needs new DOM API part 2, r=smaug, sr=bz
2010-02-20 16:52:50 -08:00
Timothy Nikkel
92355591c8
Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc
2010-02-18 13:23:23 -06:00
Shawn Wilsher
8074dd15b2
Backed out changeset 1622d8dab8c3
2010-02-18 10:13:35 -08: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
9192e29456
Bug 461199 (Part 3) - Create a cached getter for mozilla::IHistory on nsContentUtils.
...
r=sicking
2009-11-09 10:00:53 -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
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
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
Laurent Jouanneau
c695ba905c
fixed orange tests on windows for bug 541937
2010-03-24 00:00:58 +01:00
Ehsan Akhgari
ad8c4e400f
Bug 554230 - Crash [@ nsCopySupport::CanCopy][@ nsCopySupport::CanCopy(nsIDocument*) ]; r=jst
2010-03-23 17:10:44 -04:00
Laurent Jouanneau
ebf772c85a
Bug 541937 - XMLSerializer should serialize content of link tags. r=Olli.Pettay sr=bzbarsky
2010-03-23 21:55:39 +01:00
Ehsan Akhgari
6555c1a0bd
Bug 554125 - Add <audio> and <video> to the list of white-listed elements for the paranoid content sink; r=jst
2010-03-23 14:36:45 -04:00
Henri Sivonen
629a0e668d
Bug 543458 - Make the HTML5 tree op executor use nsContentSink code for deciding when to return to the event loop. r=bnewman.
...
--HG--
extra : rebase_source : fa41825753811279070d232c7d467600d7b2d523
2010-02-26 11:18:38 +02:00
Kyle Huey
1d0289c601
Backed out changeset 8ce70abd7777
2010-03-09 01:14:21 -05:00