Commit Graph

660 Commits

Author SHA1 Message Date
Mounir Lamouri
6d93bfc668 Bug 627328 - ###!!! ASSERTION: This is unsafe! Fix the caller!: 'Error' when changing a personas. r=bz a=blocking-final 2011-02-04 00:10:01 +01:00
Johnny Stenback
2d6f6cb266 Fixing bug 606058. Given XUL overlay documents the principals of the containing document. r=bzbarsky@mit.edu, a=blocker 2011-01-06 18:07:46 -08:00
timeless@mozdev.org
6c576c123a Bug 620184 remove null checks from GetDOMSlots() and rename it to DOMSlots() because it is infallible in m-c, r+a=sicking 2010-12-21 17:04:00 -08:00
Mihai Sucan
176912a7c2 Bug 606498 - Make sure the new nsIScriptError2 is used in all possible places- part 2; r=bzbarsky,dbaron,mrbkap sr=jst a=blocking2.0 2010-12-20 12:21:58 -04:00
Neil Deakin
4e4e275d9e Bug 608687, clear mRoot after uninitializing so that template generated content gets removed, r=smaug,a=blocking 2010-12-07 14:02:03 -05:00
Ehsan Akhgari
fad07dc686 Back out changeset 05369f93c49a (bug 587345) because it breaks the build 2011-03-22 14:54:24 -04:00
Ms2ger
0878988dbb Bug 587345 - deAgnostify nsXULPDGlobalObject some; r=jst 2011-03-22 14:18:17 -04:00
Ehsan Akhgari
47b89f43e8 Bug 640652 - When unsetting an attribute on a XUL element, don't let the script blocker to be removed when the document nested update count is 0, since that can trigger XBL bindings, which may run scripts to do things which would lead into crashes; r=sicking a=sayrer
--HG--
extra : rebase_source : e79c187d59225cbc432db5b4b1629d78075477b6
2011-03-11 01:04:44 -05:00
Johnny Stenback
92240116f9 Backed out changeset 312bbc3ed894 due to oranges. a=backout 2010-11-19 23:15:46 -08:00
Johnny Stenback
619bcc3e0d Fixing bug 606058. Given XUL overlay documents the principals of the containing document. r=bzbarsky@mit.edu, a=blocker 2010-10-20 18:44:07 -07:00
Neil Deakin
eb0e7659b9 Bug 611313 - Initialize with an empty datasource for template tests so that sync and async loading attempts don't conflict; r=afrosdwilsh a=orange-fix 2010-11-19 12:39:40 -05:00
Ms2ger
024d857be8 Bug 594339 - Create a FromParser enum. r=hsivonen, sr=bzbarsky, a=jonas.
--HG--
extra : rebase_source : 70d6b15b0b149a29d0cdb298209706bb5391f6b4
2010-10-25 15:17:38 +03:00
Blake Kaplan
0947251bf8 Bug 606585 - Make the compartment map use principals properly. r=peterv/bz, a=beta7+ 2010-10-26 23:57:31 -07:00
Dave Townsend
e7d2253efb Bug 606076: XUL fastload is not cleared when new extensions are installed. r=bsmedberg, a=blocks-beta7 2010-10-28 12:21:04 -07:00
Neil Deakin
7c2f5f4252 Bug 553808, assertion setting template datasources, r=smaug, a=blocking 2010-10-26 11:17:00 -04:00
Neil Deakin
339abaaf3e Bug 583948, cache updaters before iterating, r=neil,a=dbaron 2010-10-25 10:06:26 -04:00
Olli Pettay
f11e4fb943 backout part of Bug 605242 to fix bug 606034, a=fix regression/backout
--HG--
extra : rebase_source : c79b1f57f58d372716745749c81a5f2721a851ea
2010-10-21 11:58:05 +03:00
Olli Pettay
5fd6fa43e4 Bug 605242 - No :active state for <button>, r=enndeaking, a=blocking, try: -b o -p all -m none -t none -u mochitests
--HG--
extra : rebase_source : e075f9024515c801996f10b3fff706551c833843
2010-10-20 16:49:53 +03:00
Mounir Lamouri
66067bcb7b Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz 2010-10-20 13:26:32 +02:00
Arisu
e4a5ae3b74 Bug 599473. Don't leak script objects if a xul prototype script is used in both fastloaded and non-fastloaded situations. r=bzbarsky, a=bzbarsky 2010-10-19 01:15:32 -04:00
David Bienvenu
6519e20412 fix bug 592633, r=enndeakin, a=beltzner, xul template builder has trouble with datasources adding children to collapsed nodes 2010-10-18 12:56:56 -07:00
Peter Van der Beken
993f7e96bf bug 580128 - Fix evalInSandbox. r=mrbkap 2010-10-10 15:46:07 -07:00
Benedict Hsieh
a09fd8267a Bug 594058 - invalidate cache by statting contents of extensions directory r=dtownsend r=bz a=bsmedberg 2010-09-14 17:39:07 -07:00
Jesse Ruderman
bc0998a225 Bug 598203 - make content/xul/document/crashtests/583230.xul more reliable. a=NPOTB 2010-09-29 17:54:42 -07:00
Neil Deakin
a39418a069 Bug 583230 - Crash [@ nsINode::GetCurrentDoc] with resultBindingChanged on deleted nsIXULTemplateBuilder. r=sicking 2010-09-19 17:59:08 +02:00
Chris Leary
2fa4fedbc1 Bug 540675: eviscerate JSStackFrame::callerVersion. (r=lw) 2010-09-13 09:38:22 -07:00
Chris Leary
7c740a8dc0 Back out due to mochiserver breakage. (no_r=me) 2010-09-09 16:52:31 -07:00
Chris Leary
7c2ac56dff Bug 540675: remove callerVersion from stack frame. (r=lw) 2010-09-09 14:25:30 -07:00
Robert Sayre
edb7aca0d0 merge mozilla-central to tracemonkey. 2010-09-08 10:33:07 -04:00
Daniel Holbert
8460fa015a Bug 592964: Use nsDependentAtomString instead of nsAtomString for temporary variables. r=jst a=jst 2010-09-04 23:41:17 -04:00
Josh Matthews
2814f869bb Backing out ebce58252cf8, 1f94199af190, 81664d1912ee, 8e95db7adbea, f97a99ad74af, 66d12a1541f2, 6b936d1a9e65 2010-09-04 15:15:31 -04:00
Daniel Holbert
f390399c09 Bug 592964: Use nsDependentAtomString instead of nsAtomString for temporary variables. r=jst a=jst
Bug 592964: Use nsDependentAtomString instead of nsAtomString for temporary variables. r=jst a=jst
2010-09-03 14:29:00 -04:00
Andreas Gal<Gal@uci.edu>
9a94c881f3 Bug 592871 - TM: compartment for Global Object created in nsXULPDGlobalObject::EnsureScriptEnvironment r=mrbkap 2010-09-02 20:07:49 -07:00
Jonas Sicking
7dffdc6069 Bug 568188: Reduce refcounting by making the id-table hold weak referenes. r=smaug a=jst 2010-09-01 15:48:24 -07:00
Felipe Gomes
b2ea0524a5 Bug 586961. Direct accesskey clicks on label to correct controlled element. r=neil a=betaN 2010-08-27 18:26:24 -03:00
Jonas Sicking
5656569763 Bug 546857 Part 6: Disable XUL for pages, unless user specifically opts in for domain. r=jst a=blocker 2010-08-19 16:12:46 -07:00
Joel Maher
ce269022ab Bug 574189 - Fix chrome tests to work from an extension for android and e10s support a=NPOTB r=ctalbert 2010-08-24 10:29:34 -07:00
Ms2ger
0cf7a5d525 Bug 562698 - Part c: Pass Elements to AttributeWillChange; r=bzbarsky, a=dbaron 2010-08-24 09:06:20 +02:00
Ms2ger
27271a8a8f Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-24 09:05:56 +02:00
Jonas Sicking
cbc0676504 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
978a4a1ad2 Bug 574189 - Fix chrome tests so they can run from a .jar bundle (e10s, android) r=ctalbert a=NPOTB 2010-08-20 09:28:13 -07:00
Jonas Sicking
1efbd766ca Back out bug 546857 Part 6 due to talos failures. a=backout 2010-08-19 18:41:58 -07:00
Jonas Sicking
1a06bd84dd Bug 546857 Part 6: Disable XUL for pages, unless user specifically opts in for domain. r=jst a=blocker 2010-08-19 16:12:46 -07:00
Olli Pettay
75b4ffdc0e Bug 462076 - Dynamically inserted iframes on refresh sometimes trade places, r=bz 2010-08-17 17:13:55 +03:00
Ms2ger
120c26ed9f Make nsICSSRule::Clone return the cloned value directly. (Bug 585137) r=bzbarsky a2.0=dbaron 2010-08-15 11:19:34 -04:00
Johnny Stenback
dca6e957d0 Fixing bustage from the fix for bug 582228. 2010-08-13 00:14:46 -07:00
Jonas Sicking
93c3158ba6 Bug 582228. Speed up getting style attributes. r=bzbarsky@mit.edu, a=dbaron@mozilla.com 2010-08-12 23:03:23 -07:00
Dão Gottwald
f246f9a00f Backed out changeset cdd440adb726 2010-08-10 15:10:11 +02:00
Ms2ger
e0dc6046da Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-10 14:25:28 +02:00
Neil Deakin
fb66fae998 Bug 383930/552341, allow usage of a property on popups instead of using document.popupNode, should fix leak of popupNode, r=neil,sr=roc 2010-08-09 12:17:19 -04:00
Boris Zbarsky
fb72631f4c Bug 547342 real fix. Flush on ScrollToRow. r=enn 2010-08-05 14:39:39 -04:00
Olli Pettay
bc5169e59e Bug 523082 - nsXULTemplateBuilder should unlink more, r=peterv 2010-08-06 12:21:53 +03:00
Boris Zbarsky
ff911ada1d Bug 584293. Make .style faster. r=peterv 2010-08-05 17:59:36 -04:00
David Zbarsky
de6582a359 Remove unneeded nsIDOMNSHTMLInputElement interface by merging it into nsIDOMHTMLInputElement. (Bug 582303) r=jst 2010-08-04 22:40:18 -04:00
Zack Weinberg
ec7999aa69 Bug 569719 part 8: forward to nsStyledElement::GetStyle from nsXULElement::GetStyle. r=bzbarsky 2010-07-23 11:00:32 -07:00
Robert Sayre
d580edd975 Merge mozilla-central to tracemonkey. 2010-07-31 14:19:27 -07:00
Olli Pettay
ae117d70c6 Bug 576075, stricter tree selection handling, r=enndeakin
--HG--
extra : rebase_source : ea68e33207720ee4193642aaf0749c9939cc12d2
2010-07-31 21:22:29 +03:00
Craig Topper
a53310509d Bug 579830 - Change nsCOMPtr<Element> to nsRefPtr<Element>. Change one location that was QIing to Element. r=bz a2.0=benjamin
--HG--
extra : rebase_source : db2a1a863ed6c646ef8eb850eaf93b64b4552be7
2010-07-30 20:44:45 -07:00
Dave Townsend
77ad04c3ab Bug 571598: Allow XUL documents loaded in about urls to persist attributes. r=bz 2010-07-29 22:08:50 -07:00
Kyle Huey
8ba5a6053c Bug 581868: Remove nsIPrivateDOMImplementation. r=jst
--HG--
extra : rebase_source : 4e329c8b48034db725a1120094ec721d607dcb85
2010-07-29 12:23:13 -07:00
Robert Sayre
073bde8d2b Merge mozilla-central to tracemonkey. 2010-07-30 21:57:41 -07:00
Robert Sayre
55a8586519 Merge mozilla-central to tracemonkey. 2010-07-27 13:09:04 -07:00
Robert Sayre
1b744a7685 Merge mozilla-central to tracemonkey. 2010-07-20 15:07:03 -07:00
Blake Kaplan
44fa338e2b Bug 575795 - Clean up the nsIScriptContext interface to the global object to be able to split the work that nsIScriptContext::InitContext does out. r=jst 2010-07-15 15:16:29 -07:00
Luke Wagner
99411cc93d Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Zack Weinberg
76dbdde0f4 Bug 569719 part 2: Move headers for the former nsCSSLoader and nsCSSDeclaration into mozilla/css/. r=dbaron
--HG--
rename : layout/style/nsCSSDeclaration.cpp => layout/style/Declaration.cpp
rename : layout/style/nsCSSDeclaration.h => layout/style/Declaration.h
rename : layout/style/nsCSSLoader.cpp => layout/style/Loader.cpp
rename : layout/style/nsCSSLoader.h => layout/style/Loader.h
2010-06-28 15:49:35 -07:00
Zack Weinberg
9c006a4ff7 Bug 569719 part 1: Rename nsCSSDeclaration to mozilla::css::Declaration. r=dbaron 2010-06-28 15:49:35 -07:00
Ms2ger@gmail.com
dcad0405ef Bug 577081 - nsAttrValue::ParseColor doesn't need a document parameter anymore. r=jst 2010-07-17 10:09:14 +02:00
Kyle Huey
16c927f68b Bug 578565: Remove nsIXBLDocumentInfo. r=jst
--HG--
extra : rebase_source : 4d36ecc23ea302563a7b7f84846d8d5e23b29647
2010-07-14 18:53:11 -07:00
Peter Van der Beken
54a3679793 Part 6 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - pass the wrapper cache to WrapNative. r=jst.
--HG--
extra : rebase_source : 06db2c01b59630cd47c6d9d4f2302bf952233897
2010-05-10 20:53:05 +02:00
Olli Pettay
abf43f852b Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Craig Topper
b9673b8709 Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking 2010-07-21 15:05:17 -07:00
Boris Zbarsky
93922db9e1 Bug 578696 part 11. Stop holding strong refs when calling ContentRemoved and remove the now-unused IMPL_STRONGREF_MUTATION_NOTIFICATION macro. r=sicking 2010-07-21 11:37:41 -04:00
Boris Zbarsky
235296fdf0 Bug 578696 part 10. Stop holding strong refs when calling ContentInserted. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
998b474e42 Bug 578696 part 9. Stop holding strong refs when calling ContentAppended. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
8cfe0849e3 Bug 578696 part 8. Stop holding strong refs when calling AttributeChanged. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
39c6f594bb Bug 578696 part 7. Stop holding strong refs when calling AttributeWillChange. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
b8256cdb51 Bug 578696 part 4. Stop holding strong refs when calling NodeWillBeDestroyed. r=sicking 2010-07-21 11:33:32 -04:00
Benjamin Smedberg
4d172dd53d Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg
a2833452f8 Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Neil Rashbrook
1ad593fc7f Bug 556124 Should notify for broadcast attribute changes once layout has started r=jst 2010-06-30 12:36:10 +01:00
Benjamin Smedberg
63c0077443 Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Benjamin Smedberg
762def30bb Merge mozilla-central into the static-xpcom-registration branch. 2010-06-23 17:26:25 -04:00
Benjamin Smedberg
45af085fff Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Johnny Stenback
660ac78445 Merge of backout of fix for bug 572609. CLOSED TREE 2010-06-21 22:41:52 -07:00
Johnny Stenback
b5ac9ee398 Backed out changeset 82a21d443b5e 2010-06-21 22:39:53 -07:00
Johnny Stenback
c5f4c4eac5 Fixing bug 572615. Speed up nsXULDocuments ID hanling code. r=jonas@sicking.cc 2010-06-21 20:00:26 -07:00
Johnny Stenback
63e3022e0d Fixing bug 572614. Eliminate double hash lookups in document.getElementById(). r=jonas@sicking.cc 2010-06-21 19:59:37 -07:00
Johnny Stenback
6268e31519 Fixing bug 572609. Use faster version of GetElementById() from our C++ code. r=jonas@sicking.cc 2010-06-21 19:58:50 -07:00
Benjamin Smedberg
f13550a209 Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
Jesse Ruderman
9e075d4cb4 Add crashtest for bug 467869 2010-06-28 21:16:43 -07:00
Doug Turner
ba5d48b7ab merge with mc 2010-06-30 10:50:45 -07:00
Doug Turner
c92986c46a Merge from mc 2010-06-29 14:39:57 -07:00
Doug Turner
901e02b2de Merging with mozilla-central. Manually merged: content/canvas/src/nsCanvasRenderingContext2D.cpp ipc/ipdl/Makefile.in toolkit/toolkit-tiers.mk toolkit/xre/nsEmbedFunctions.cpp
--HG--
rename : gfx/thebes/src/gfxSharedImageSurface.cpp => gfx/thebes/gfxSharedImageSurface.cpp
rename : gfx/thebes/public/gfxSharedImageSurface.h => gfx/thebes/gfxSharedImageSurface.h
2010-06-28 16:33:19 -07:00
Oleg Romashin
b8ab8239cd Auto-merge with m-c b51803f3fdef 2010-06-25 08:30:40 -04:00
Doug Turner
4719dd0705 Automerge w mozilla-central 2010-06-24 14:06:13 -07:00
Jason Duell
d194b9d486 Merge from m-c.
Fair amount of merge conflicts.

Biggest item was changes to nsHttpChannel from web sockets changes.

Other likely suspects if things are borken:

nsFrameLoader.cpp:
    - nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
      nsnull (m-c) to local process call to new nsFrameMessageManager(),
      callback arg?  Smaug said null.
    - only calling SetCallBackData for local case.  also +r smaug.

nsPrefBranch.cpp had fairly extensive merge conflicts.

nsChromeRegistry had lots of changes.

Dougt did most of the non-necko changes (thanks).

--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Josh Matthews
670215298c Bug 564382 - Remove CPOWs from PContentProcess tree. r=olli 2010-06-17 14:10:14 -07:00
Doug Turner
ded51c1c5f Merging with M-C.
Hand merged the following files:

U chrome/src/nsChromeRegistry.cpp
U chrome/src/nsChromeRegistry.h
U content/base/src/nsFrameLoader.cpp
U content/base/src/nsFrameLoader.h
U dom/src/geolocation/nsGeolocation.cpp
U dom/src/geolocation/nsGeolocation.h
U netwerk/build/Makefile.in
U netwerk/cookie/nsCookieService.cpp
U netwerk/cookie/nsCookieService.h

--HG--
rename : extensions/cookie/test/unit/test_cookies.js => extensions/cookie/test/unit/test_cookies_thirdparty.js
rename : netwerk/cookie/src/nsCookieService.cpp => netwerk/cookie/nsCookieService.cpp
rename : netwerk/cookie/src/nsCookieService.h => netwerk/cookie/nsCookieService.h
rename : netwerk/dns/src/nsIDNKitInterface.h => netwerk/dns/nsIDNKitInterface.h
rename : netwerk/protocol/http/src/nsHttp.h => netwerk/protocol/http/nsHttp.h
rename : netwerk/protocol/http/src/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannel.cpp
rename : netwerk/protocol/http/src/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannel.h
rename : netwerk/protocol/http/src/nsHttpChunkedDecoder.h => netwerk/protocol/http/nsHttpChunkedDecoder.h
rename : netwerk/protocol/http/src/nsHttpHandler.cpp => netwerk/protocol/http/nsHttpHandler.cpp
rename : netwerk/protocol/http/src/nsHttpHeaderArray.h => netwerk/protocol/http/nsHttpHeaderArray.h
rename : netwerk/protocol/http/src/nsHttpRequestHead.h => netwerk/protocol/http/nsHttpRequestHead.h
rename : netwerk/protocol/http/src/nsHttpResponseHead.h => netwerk/protocol/http/nsHttpResponseHead.h
rename : netwerk/protocol/http/src/nsHttpTransaction.cpp => netwerk/protocol/http/nsHttpTransaction.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.cpp => netwerk/protocol/res/nsResProtocolHandler.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.h => netwerk/protocol/res/nsResProtocolHandler.h
2010-06-07 13:38:02 -07:00
Robert Sayre
d9e86770e3 Merge mozilla-central to tracemonkey. 2010-06-05 19:13:45 -04:00