Henri Sivonen
464cad1a78
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
05b28bbdbe
imported patch 499092-prefix-v2
2010-02-25 10:49:34 -08:00
Jonas Sicking
1c481955b5
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
f866a0b7b7
Fix license in new files added for bug 546528
2010-02-25 01:25:53 -08:00
Jonas Sicking
7a8eec8e55
Bug 546528 part 3: Implement FormData. r=benjamn
2010-02-24 21:58:18 -08:00
Jonas Sicking
16e88faeb6
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
12091aa8ea
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
963e54b50f
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
5da349c3d9
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
4dce570127
Bug 461199 (Part 30) - Fixes invalidation issues when changing the href attribute.
...
r=bz
2010-02-24 08:37:38 -08:00
Shawn Wilsher
d5bd2fe739
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
99f6189b56
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
12c043a651
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
776f03074c
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
966fa7debf
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
066ad32c49
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
cd9322f202
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
3848a86843
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
e906cd8762
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
a91c45ecd6
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
0897d2cd63
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
6ff8740620
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
eec068e43a
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
2abf598ed6
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
b12684acf8
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
a0bacc22e3
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
8a2732a347
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
36b2eea54c
fix tinderbox test hang after landing bug 515442. r=dveditz
2010-02-23 16:37:38 -08:00
Daniel Veditz
f7727d62fa
Forgot tests for bug 515442
2010-02-23 14:28:18 -08:00
Daniel Veditz
04406a51f3
bug 515442 CSP inline script protection
2010-02-23 13:20:46 -08:00
Jonas Sicking
2e11cfa6dc
Bug 547850: Make case folding code in HTML DOM only case fold ASCII characters. r=hsivonen
2010-02-23 09:38:10 -08:00
Boris Zbarsky
56239b76f5
Bug 530373 followup. Fix build bustage.
2010-02-22 15:13:19 -05:00
Jae-Seong Lee-Russo
7a1e8ddc0f
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
Alexander Surkov
f64a603fd3
Bug 534527 - Accessibility needs new DOM API part 2, r=smaug, sr=bz
2010-02-20 16:52:50 -08:00
Timothy Nikkel
895e60343d
Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc
2010-02-18 13:23:23 -06:00
Shawn Wilsher
a8d4813b97
Backed out changeset 1622d8dab8c3
2010-02-18 10:13:35 -08:00
Shawn Wilsher
d5cb008c0f
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
94acf62a02
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
0483c805d9
Backed out changeset 93c7b23284b8 (Bug 545593) for causing Md oth failures on linux.
2010-02-12 16:46:04 -06:00
Timothy Nikkel
4f8c3bd548
Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc
...
--HG--
extra : rebase_source : 963053b0f3d5712308b53c665dddcedae08a2b21
2010-02-11 18:14:59 -06:00
Henri Sivonen
6b8df8aef8
Bug 541079 - Make app cache selection happen before speculative loads in the HTML5 parser. r=bnewman.
2010-02-02 09:43:18 +02:00
Robert O'Callahan
9848774397
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
Alexander Surkov
03b1de4b95
Bug 534527 - Accessibility needs new DOM API, r=olli.pettay, sr=roc
2010-02-12 01:34:01 +08:00
Ted Mielczarek
2a33518c3c
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
5dc97f65d8
Bug 539828 - Need CSS pseudoclass for crashed plugins. r=dbaron
2010-02-09 17:05:31 -08:00
Boris Zbarsky
f603c639e5
Bug 453929. Cache getElementsBy(Class)Name return values. r=jst
2010-02-09 12:09:06 -05:00
Olli Pettay
9fdb936eb2
Bug 544018 - print preview doesn't work in view source , r=dao
2010-02-09 18:24:49 +02:00
Olli Pettay
f09ebf9810
backout Bug 544018
2010-02-08 19:00:41 +02:00
Olli Pettay
93a48e52ac
Bug 544018 - print preview doesn't work in view source, r=dao
2010-02-08 18:16:57 +02:00
Makoto Kato
c2725d950c
Bug 182954 - Content should use the newer nsIPrefService APIs instead of nsIPref. r=jst
2010-02-08 11:49:18 +09:00
Jae-Seong Lee-Russo
082e12c87c
Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE'
2010-02-07 10:52:43 -05:00
Peter Van der Beken
b764a4fb06
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
fa3f6ebdd8
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
Peter Van der Beken
e0badab2b6
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
743ad2ec5e
Fix for bug 539239 (Pass correct document to ReparentContentWrapper). r=jst.
...
--HG--
extra : rebase_source : 57295944c9a597c10aabd6cf4a4741970b4b4153
2010-01-16 15:27:51 +01:00
Sid Stamm
26ad4e5a5b
Bug 515458 - "(CSP) Implement frame ancestor check" [r=jst ui-r=johnath]
2010-02-05 14:08:27 -06:00
Dão Gottwald
a6c411fa84
Backed out changeset 8c2e7ae5cceb because of test_bug398289.html failure
2010-02-04 17:16:39 +01:00
Michael Ventnor
50f557ed9e
Bug 542361 - Fix and remove the GetUsedX assertions. r=roc,dbaron
2010-02-04 14:58:02 +01:00
Timothy Nikkel
e36d3b1dda
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
b0e081ef6b
Bug 526996: Expose the full file path for nsIDOMFiles to extensions. r/sr=sicking
2010-02-02 16:53:32 -08:00
Arisu
c13c9c5ba2
Bug 541465 - Regression in nsDocument.cpp disables DocumentLeak NSPR logging module.
...
r=roc.
2010-02-03 01:21:12 +01:00
Justin Lebar
2fc408988c
Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking
2009-09-01 09:45:05 -07:00
Daniel Holbert
585d440f02
Backed out changeset dc7a04be6904 on suspicion of causing bug 543034.
2010-01-29 18:50:46 -08:00
Justin Lebar
731c252671
Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking
2009-09-01 09:45:05 -07:00
Olli Pettay
aac1a2a936
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
Henri Sivonen
85c7057ec2
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
1c5a4d21e9
Bug 520581 - HTML5 parser reverses attributes on some elements. r=bzbarsky.
...
--HG--
extra : rebase_source : 2018b107ac2e508a20e245d49d396e7c1ea7230d
2009-12-23 10:32:39 +02:00
Olli Pettay
8f9e916c89
Bug 540462 - Move GetDocument from nsIDocumentViewer to nsIContentViewer, r=bz
2010-01-23 13:41:41 +02:00
Sid Stamm
7252ce7760
Bug 515437 CSP connection code, r=jst,dveditz sr=jst
2010-01-22 13:38:21 -08:00
Jesse Ruderman
263da8b253
Disable crashtest 399712-1.html which times out frequently due to bug 473680
2010-01-21 17:45:03 -08:00
Dave Townsend
9d67156af7
Rev IID on nsIXMLHttpRequest from bug 459452. r=peterv
2010-01-21 13:28:40 -08:00
Sid Stamm
bfb875e04a
bug 515433: CSP Core patch by sstamm and bsterne, r=mrbkap, sr=jst
2010-01-21 10:41:24 -08:00
Olli Pettay
c31a01f494
Bug 540568 - Remove DOMBuilder, r=bz
...
--HG--
extra : rebase_source : 77f05d87a414e3c55046016423486bcf127ea6cf
2010-01-21 15:51:48 +02:00
Blake Kaplan
13e7823b65
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
Blake Kaplan
37cf851b0f
Bug 539362 - Get rid of hidden function warnings. r=bzbarsky
2010-01-18 16:54:29 -08:00
Masayuki Nakano
019fb76261
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
aaf973be9a
Bug 539585: Fix "warning: format '%p' expects type 'void*'" in content directory. r=jst
2010-01-17 15:11:02 -08:00
Robert Longson
2d6a644d32
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
7bd235775f
backing out a6ce37b09cf5
2010-01-14 17:20:18 -08:00
Daniel Veditz
153553d9b6
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)
f2cab6a506
bug 515433, bug 515437: Content Security Policy (CSP) core
2010-01-13 14:18:24 -08:00
Josh Aas
7f29a9d722
Sent "PluginCrashed" notification when a plugin crashes. b=519541 r=jst r=bsmedberg
2010-01-13 11:42:41 -05:00
Daniel Holbert
06b966053e
s/nulll/null/ in nsNodeUtils::SetUserData header comment. (no bug; comment-only fix)
2010-01-13 00:18:46 -08:00
Brian Birtles
c8f6f13d21
Bug 474743 Patch D: Implement syncbase logic. r=dholbert sr=roc
2010-01-12 12:00:49 -08:00
Robert O'Callahan
fed086b1d7
Bug 526394. Part 34: Create nsContentUtils::AddScriptBlockerAndPreventAddingRunners. r=sicking
2010-01-12 10:45:20 +13:00
Peter Van der Beken
a5b6707a12
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
Robert O'Callahan
ad3dcdefcc
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
dcec905f32
Bug 526394. Part 7: Hoist GetHtmlContent/GetBodyContent to nsIDocument. r=jst
2010-01-12 10:45:03 +13:00
Mats Palmgren
4db40a3534
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
56ac1fe1ee
Add crashtests
2010-01-10 19:50:41 -08:00
Masayuki Nakano
57e899ccdc
Bug 538466 "ASSERTION: Wrong document somewhere" with contenteditable r=bz
2010-01-08 13:59:23 +09:00
L. David Baron
55a821dfa2
Remove CID and layout module constructor for CSS style sheets. (Bug 239008) r=bzbarsky
2010-01-07 08:51:16 -05:00
Olli Pettay
c0f0d7e3a5
Bug 534226 - Remove support for multiple presshells, r=bz, sr=roc
2010-01-07 12:36:11 +02:00
Daniel Holbert
c7838fb8ec
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
c51f5e4cce
Bug 532998. Cache the offset of the next newline character in preformatted text. r=smontagu
2010-01-07 13:55:09 +13:00
Daniel Holbert
b20bff31e2
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
c0b94ed6ab
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
Daniel Holbert
9cf666c616
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
Josh Aas
4ef1870cfe
Minor cleanup, no bug. a=bsmedberg
2010-01-05 13:30:00 -05:00
Simon Montagu
f8b1e18a1b
Add DOM Range test with non-contiguous selection rectangles in mixed directional text. Bug 525788
2010-01-03 00:46:48 -08:00