David Zbarsky
c2cf14c695
Bug 857884 - Use dom::EventTarget more in content/ and dom/ r=Ms2ger
2013-04-05 20:44:15 -04:00
Gabor Krizsanits
0a621fd246
Bug 820170 - nsDOMEventTarget holds a global. r=smaug
2013-04-04 11:30:36 +02:00
Gabor Krizsanits
015106720f
Bug 820170 - nsIGlobalObject. r=bholley
2013-04-04 11:27:06 +02:00
matekm
b83d2641b1
Bug 784739 - Switch from NULL to nullptr in content/; r=ehsan
...
--HG--
extra : rebase_source : cfdb682506acc14ec811e21ae42f067950e1ff0c
2013-04-02 21:14:24 -04:00
Kyle Machulis
f5e3aadf0b
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Terrence Cole
16aae426b8
Bug 855145 - DeMACROize the JS tracing interfaces; r=billm,mccr8
...
--HG--
extra : rebase_source : 915c80052b4412f653033eb5fc4d4f96c5d49bd5
2013-03-26 15:10:34 -07:00
Boris Zbarsky
1522ab7f15
Bug 848332 part 2. Switch XMLDocument to WebIDL. r=peterv
2013-03-26 11:31:54 -04:00
Boris Zbarsky
8e9507b3b7
Bug 848796 part 3. Convert XULDocument to WebIDL. r=peterv
2013-03-26 11:31:54 -04:00
Boris Zbarsky
830be701a4
Bug 848796 part 2. Add WebIDL API for XULDocument. r=peterv
2013-03-26 11:31:53 -04:00
Boris Zbarsky
fd85c37022
Bug 848796 part 1. Rename nsXULDocument to mozilla::dom::XULDocument. r=ms2ger
...
--HG--
rename : content/xul/document/src/nsXULDocument.cpp => content/xul/document/src/XULDocument.cpp
rename : content/xul/document/src/nsXULDocument.h => content/xul/document/src/XULDocument.h
2013-03-26 11:31:53 -04:00
Jose Cortes
b2ea02f402
Bug 842186 - Update use of jsval with JS::Value in cpp and h files in the content/xul/ content/canvas/ content/xslt/ and content/xbl/ directories. r=jwalden
...
--HG--
extra : rebase_source : fc2809818c2601d0b58f503968d579d09de98ea9
2013-03-22 22:05:20 -07:00
Terrence Cole
992bd33213
Bug 851340 - Make the rooting of scripts in nsXULPrototypeCache more efficient; r=smaug
2013-03-19 10:20:21 -07:00
David Zbarsky
f982db0249
Bug 847007: Remove nsIContent includes r=Ms2ger
2013-03-21 20:05:20 -04:00
Ehsan Akhgari
ab8a1a4020
Bug 853572 - Fix nsTArray::SetCapacity callers in nsXULElement to not look at the return value; r=bzbarsky
...
--HG--
extra : rebase_source : fe5edc4572349fa4b2db97296dba7e51a8e28eb3
2013-03-21 14:56:07 -04:00
Ehsan Akhgari
8bfb46d1b2
Bug 853569 - Fix nsTArray::SetCapacity callers in nsXULContentSink to not look at the return value; r=bzbarsky
...
--HG--
extra : rebase_source : 1916e6aa6752fa72cd81f64084bcb525a9ca5155
2013-03-21 14:54:36 -04:00
Mike Shal
f290401a73
Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps
2013-03-21 08:41:00 -07:00
Terrence Cole
46f8e831e6
Bug 850293 - Remove nsScriptObjectHolder; r=mccr8,bholly sr=smaug
...
nsScriptObjectHolder is not needed with either conservative or exact rooting.
2013-03-20 13:09:09 -07:00
Boris Zbarsky
2b660bfe74
Bug 848386 part 4. Rename nsXMLDocument to mozilla::dom::XMLDocument. r=peterv
...
--HG--
rename : content/xml/document/src/nsXMLDocument.cpp => content/xml/document/src/XMLDocument.cpp
rename : content/xml/document/src/nsXMLDocument.h => content/xml/document/src/XMLDocument.h
2013-03-20 12:22:26 -04:00
Gregory Szorc
94ec89296d
Bug 844654 - Part 3: Remove now empty Makefile.in files; rs=khuey
...
--HG--
extra : rebase_source : 8de9c7f68a953e574dda22f8c14c2b2ca60444f9
2013-03-19 18:49:07 -07:00
Mike Shal
ea1d9b8ba7
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Trevor Saunders
324dfcc313
bug 852379 - remove unecessary nsHashtable.h includes r=Ms2ger
2013-03-18 21:18:26 -04:00
Gregory Szorc
02d1d31696
Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium
2013-03-17 18:01:25 -07:00
Ms2ger
aed8044ac2
Merge m-c to m-i.
2013-03-17 13:22:37 +01:00
Ms2ger
ecaff4e0d2
Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey
2013-03-17 08:55:16 +01:00
Ms2ger
776e780f7e
Bug 845374 - Part c: Stop including nsHtml5StringParser.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:09 +01:00
Bill McCloskey
bfa3037d1f
Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley)
2013-03-16 20:36:37 -07:00
Bill McCloskey
4ab878af5c
Bug 846890 - Fix leak from cycle between parser and XULContentSinkImpl (r=smaug)
2013-03-08 18:53:00 -08:00
Gregory Szorc
3d694a85c0
Merge mozilla-central into build-system
...
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Gregory Szorc
0d33ac5f93
Bug 818246 - Part 5: Move XPIDLSRCS into moz.build (manual); r=glandium
2013-03-12 10:20:41 -07:00
Gregory Szorc
629b5d86c6
Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
...
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Bill McCloskey
7c63e47dd5
Back out bug 846890 for reftest orange
2013-03-08 21:27:25 -08:00
Bill McCloskey
351d6541f9
Bug 846890 - Fix leak from cycle between parser and XULContentSinkImpl (r=smaug)
2013-03-08 18:53:00 -08:00
Masatoshi Kimura
7693df618d
Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz
2013-03-12 08:03:47 +09:00
Nicholas Nethercote
aa14a67f5f
Bug 847248 (part 6) - Remove nsFixedSizeAllocator from MemoryElement. r=enndeakin.
...
--HG--
extra : rebase_source : 60f6154a274b5553e09580566a9c7c9e862f658d
2013-03-04 20:49:50 -08:00
Nicholas Nethercote
57cb1daa59
Bug 847248 (part 5) - Remove nsFixedSizeAllocator from nsXULTemplateBuilder. r=enndeakin.
...
--HG--
extra : rebase_source : 5a90f5659f6fe8f5789add3206a1a556eeb098f9
2013-03-04 20:49:49 -08:00
Nicholas Nethercote
f0c8853de6
Bug 847210 - Remove nsNodeInfo::sNodeInfoPool and use vanilla allocation for nsNodeInfo objects. r=smaug.
...
--HG--
extra : rebase_source : 667a818984e7ce6d22669861992a06e832755dfb
2013-02-28 18:53:49 -08:00
Trevor Saunders
c40af5bf91
bug 407956 - make nsITreeView not take a nsISupportsArray* r=neil, bz sr=neil
2013-01-06 19:54:42 -05:00
Gregory Szorc
803629b9c6
Merge mozilla-central into build-system
...
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ms2ger
2801c25ab8
Merge m-c to b-s.
2013-02-26 19:09:25 +01:00
Gregory Szorc
fee2be3026
Bug 784841 - Part 18g: Convert /content; r=glandium
2013-02-25 12:47:19 -08:00
Peter Van der Beken
60efffbed9
Fix for bug 844225 (Remove some DOMCI and quickstubs). r=bz.
2013-01-10 10:54:46 +01:00
Bobby Holley
2589449122
Bug 834732 - Audit callers of GetNativeContext and use AutoPushJSContext where appropriate. r=mrbkap
2013-02-26 11:04:13 -08:00
Phil Ringnalda
f8406b2842
Back out 5520e123f526 (bug 763879) for b2g mochitest-8 and mochitest-9 failures
2013-02-22 20:40:24 -08:00
L. David Baron
4f4296979b
Bug 404077: Annotate known assertions in mochitests.
2013-02-25 18:39:21 -08:00
Sid Stamm
4820de61f9
Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron)
2012-08-30 10:58:24 -07:00
Jonathan Kew
e04415fc7f
backout cset 4ede352670cd (bug 759585) on a CLOSED TREE on suspicion of making windows reftests so slow that they timeout and burn
2013-02-22 09:36:41 +00:00
Bill McCloskey
6798be1a0e
Bug 759585 - Change the granularity of collection from compartment to zone (r=jonco,bhackett,njn,dvander,mccr8,bz,luke,bholley)
2013-02-21 18:23:47 -08:00
Boris Zbarsky
69eb622760
Bug 838691 part 3. Switch touch event handler attributes to using a function to check whether they're enabled. r=peterv
2013-02-19 11:54:41 -05:00
L. David Baron
5ef4421fa5
Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
...
Except for the changes in:
layout/generic/nsIFrame.h (part)
layout/style/nsComputedDOMStyle.h (all)
layout/style/nsRuleNode.cpp (part)
layout/style/nsStyleContext.cpp (part)
layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Trevor Saunders
36453999ea
bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz
2013-02-12 17:02:51 -05:00
Masatoshi Kimura
495d1799b6
Bug 830665 - Use the latest JS version by default in XUL. r=jonas
2013-02-08 20:49:28 +09:00
Josh Matthews
0e50decc69
Bug 829360 - Keep non-browser windows from extending the lifetime of the private session. r=bz
2013-02-04 23:22:51 +00:00
Masatoshi Kimura
2b7120a1ee
Bug 826166 - Remove an ability to set higher JS versions via language attribute. r=jonas
2013-02-05 06:37:21 +09:00
Alex Vincent
46b6a18189
Bug 833879 - Move layout/xul/base/src/tree/ to layout/xul/tree, layout/xul/base/src/grid to layout/xul/grid. r=roc
...
--HG--
rename : layout/xul/base/src/grid/Makefile.in => layout/xul/grid/Makefile.in
rename : layout/xul/base/src/grid/crashtests/306911-crash.xul => layout/xul/grid/crashtests/306911-crash.xul
rename : layout/xul/base/src/grid/crashtests/306911-grid-testcases.xul => layout/xul/grid/crashtests/306911-grid-testcases.xul
rename : layout/xul/base/src/grid/crashtests/306911-grid-testcases2.xul => layout/xul/grid/crashtests/306911-grid-testcases2.xul
rename : layout/xul/base/src/grid/crashtests/311710-1.xul => layout/xul/grid/crashtests/311710-1.xul
rename : layout/xul/base/src/grid/crashtests/312784-1.xul => layout/xul/grid/crashtests/312784-1.xul
rename : layout/xul/base/src/grid/crashtests/313173-1-inner.xul => layout/xul/grid/crashtests/313173-1-inner.xul
rename : layout/xul/base/src/grid/crashtests/313173-1.html => layout/xul/grid/crashtests/313173-1.html
rename : layout/xul/base/src/grid/crashtests/321066-1.xul => layout/xul/grid/crashtests/321066-1.xul
rename : layout/xul/base/src/grid/crashtests/321073-1.xul => layout/xul/grid/crashtests/321073-1.xul
rename : layout/xul/base/src/grid/crashtests/382750-1.xul => layout/xul/grid/crashtests/382750-1.xul
rename : layout/xul/base/src/grid/crashtests/400790-1.xul => layout/xul/grid/crashtests/400790-1.xul
rename : layout/xul/base/src/grid/crashtests/423802-crash.xul => layout/xul/grid/crashtests/423802-crash.xul
rename : layout/xul/base/src/grid/crashtests/crashtests.list => layout/xul/grid/crashtests/crashtests.list
rename : layout/xul/base/src/grid/examples/borderedcolumns.xul => layout/xul/grid/examples/borderedcolumns.xul
rename : layout/xul/base/src/grid/examples/borderedrowscolumns.xul => layout/xul/grid/examples/borderedrowscolumns.xul
rename : layout/xul/base/src/grid/examples/borderedrowscolumns2.xul => layout/xul/grid/examples/borderedrowscolumns2.xul
rename : layout/xul/base/src/grid/examples/borderedrowscolumns3.xul => layout/xul/grid/examples/borderedrowscolumns3.xul
rename : layout/xul/base/src/grid/examples/bordermargincolumns1.xul => layout/xul/grid/examples/bordermargincolumns1.xul
rename : layout/xul/base/src/grid/examples/collapsetest.xul => layout/xul/grid/examples/collapsetest.xul
rename : layout/xul/base/src/grid/examples/divcolumngrid.xul => layout/xul/grid/examples/divcolumngrid.xul
rename : layout/xul/base/src/grid/examples/divrowgrid.xul => layout/xul/grid/examples/divrowgrid.xul
rename : layout/xul/base/src/grid/examples/dynamicgrid.xul => layout/xul/grid/examples/dynamicgrid.xul
rename : layout/xul/base/src/grid/examples/flexgroupgrid.xul => layout/xul/grid/examples/flexgroupgrid.xul
rename : layout/xul/base/src/grid/examples/javascriptappend.xul => layout/xul/grid/examples/javascriptappend.xul
rename : layout/xul/base/src/grid/examples/jumpygrid.xul => layout/xul/grid/examples/jumpygrid.xul
rename : layout/xul/base/src/grid/examples/nestedrows.xul => layout/xul/grid/examples/nestedrows.xul
rename : layout/xul/base/src/grid/examples/rowspan.xul => layout/xul/grid/examples/rowspan.xul
rename : layout/xul/base/src/grid/examples/scrollingcolumns.xul => layout/xul/grid/examples/scrollingcolumns.xul
rename : layout/xul/base/src/grid/examples/scrollingrows.xul => layout/xul/grid/examples/scrollingrows.xul
rename : layout/xul/base/src/grid/examples/splitter.xul => layout/xul/grid/examples/splitter.xul
rename : layout/xul/base/src/grid/nsGrid.cpp => layout/xul/grid/nsGrid.cpp
rename : layout/xul/base/src/grid/nsGrid.h => layout/xul/grid/nsGrid.h
rename : layout/xul/base/src/grid/nsGridCell.cpp => layout/xul/grid/nsGridCell.cpp
rename : layout/xul/base/src/grid/nsGridCell.h => layout/xul/grid/nsGridCell.h
rename : layout/xul/base/src/grid/nsGridLayout2.cpp => layout/xul/grid/nsGridLayout2.cpp
rename : layout/xul/base/src/grid/nsGridLayout2.h => layout/xul/grid/nsGridLayout2.h
rename : layout/xul/base/src/grid/nsGridRow.cpp => layout/xul/grid/nsGridRow.cpp
rename : layout/xul/base/src/grid/nsGridRow.h => layout/xul/grid/nsGridRow.h
rename : layout/xul/base/src/grid/nsGridRowGroupFrame.cpp => layout/xul/grid/nsGridRowGroupFrame.cpp
rename : layout/xul/base/src/grid/nsGridRowGroupFrame.h => layout/xul/grid/nsGridRowGroupFrame.h
rename : layout/xul/base/src/grid/nsGridRowGroupLayout.cpp => layout/xul/grid/nsGridRowGroupLayout.cpp
rename : layout/xul/base/src/grid/nsGridRowGroupLayout.h => layout/xul/grid/nsGridRowGroupLayout.h
rename : layout/xul/base/src/grid/nsGridRowLayout.cpp => layout/xul/grid/nsGridRowLayout.cpp
rename : layout/xul/base/src/grid/nsGridRowLayout.h => layout/xul/grid/nsGridRowLayout.h
rename : layout/xul/base/src/grid/nsGridRowLeafFrame.cpp => layout/xul/grid/nsGridRowLeafFrame.cpp
rename : layout/xul/base/src/grid/nsGridRowLeafFrame.h => layout/xul/grid/nsGridRowLeafFrame.h
rename : layout/xul/base/src/grid/nsGridRowLeafLayout.cpp => layout/xul/grid/nsGridRowLeafLayout.cpp
rename : layout/xul/base/src/grid/nsGridRowLeafLayout.h => layout/xul/grid/nsGridRowLeafLayout.h
rename : layout/xul/base/src/grid/nsIGridPart.h => layout/xul/grid/nsIGridPart.h
rename : layout/xul/base/src/grid/reftests/column-sizing-1-ref.xul => layout/xul/grid/reftests/column-sizing-1-ref.xul
rename : layout/xul/base/src/grid/reftests/column-sizing-1.xul => layout/xul/grid/reftests/column-sizing-1.xul
rename : layout/xul/base/src/grid/reftests/not-full-basic-ref.xhtml => layout/xul/grid/reftests/not-full-basic-ref.xhtml
rename : layout/xul/base/src/grid/reftests/not-full-basic.xul => layout/xul/grid/reftests/not-full-basic.xul
rename : layout/xul/base/src/grid/reftests/not-full-grid-pack-align.xul => layout/xul/grid/reftests/not-full-grid-pack-align.xul
rename : layout/xul/base/src/grid/reftests/not-full-row-group-align-ref.xhtml => layout/xul/grid/reftests/not-full-row-group-align-ref.xhtml
rename : layout/xul/base/src/grid/reftests/not-full-row-group-align.xul => layout/xul/grid/reftests/not-full-row-group-align.xul
rename : layout/xul/base/src/grid/reftests/not-full-row-group-direction-ref.xhtml => layout/xul/grid/reftests/not-full-row-group-direction-ref.xhtml
rename : layout/xul/base/src/grid/reftests/not-full-row-group-direction.xul => layout/xul/grid/reftests/not-full-row-group-direction.xul
rename : layout/xul/base/src/grid/reftests/not-full-row-group-pack-ref.xhtml => layout/xul/grid/reftests/not-full-row-group-pack-ref.xhtml
rename : layout/xul/base/src/grid/reftests/not-full-row-group-pack.xul => layout/xul/grid/reftests/not-full-row-group-pack.xul
rename : layout/xul/base/src/grid/reftests/not-full-row-leaf-align.xul => layout/xul/grid/reftests/not-full-row-leaf-align.xul
rename : layout/xul/base/src/grid/reftests/not-full-row-leaf-direction.xul => layout/xul/grid/reftests/not-full-row-leaf-direction.xul
rename : layout/xul/base/src/grid/reftests/not-full-row-leaf-pack-ref.xhtml => layout/xul/grid/reftests/not-full-row-leaf-pack-ref.xhtml
rename : layout/xul/base/src/grid/reftests/not-full-row-leaf-pack.xul => layout/xul/grid/reftests/not-full-row-leaf-pack.xul
rename : layout/xul/base/src/grid/reftests/reftest.list => layout/xul/grid/reftests/reftest.list
rename : layout/xul/base/src/grid/reftests/row-or-column-sizing-1.xul => layout/xul/grid/reftests/row-or-column-sizing-1.xul
rename : layout/xul/base/src/grid/reftests/row-or-column-sizing-2.xul => layout/xul/grid/reftests/row-or-column-sizing-2.xul
rename : layout/xul/base/src/grid/reftests/row-or-column-sizing-3.xul => layout/xul/grid/reftests/row-or-column-sizing-3.xul
rename : layout/xul/base/src/grid/reftests/row-or-column-sizing-4.xul => layout/xul/grid/reftests/row-or-column-sizing-4.xul
rename : layout/xul/base/src/grid/reftests/row-sizing-1-ref.xul => layout/xul/grid/reftests/row-sizing-1-ref.xul
rename : layout/xul/base/src/grid/reftests/row-sizing-1.xul => layout/xul/grid/reftests/row-sizing-1.xul
rename : layout/xul/base/src/grid/reftests/scrollable-columns-ref.xhtml => layout/xul/grid/reftests/scrollable-columns-ref.xhtml
rename : layout/xul/base/src/grid/reftests/scrollable-columns.xul => layout/xul/grid/reftests/scrollable-columns.xul
rename : layout/xul/base/src/grid/reftests/scrollable-rows-ref.xhtml => layout/xul/grid/reftests/scrollable-rows-ref.xhtml
rename : layout/xul/base/src/grid/reftests/scrollable-rows.xul => layout/xul/grid/reftests/scrollable-rows.xul
rename : layout/xul/base/src/grid/reftests/sizing-2d-ref.xul => layout/xul/grid/reftests/sizing-2d-ref.xul
rename : layout/xul/base/src/grid/reftests/sizing-2d.xul => layout/xul/grid/reftests/sizing-2d.xul
rename : layout/xul/base/src/grid/reftests/z-order-1-ref.xul => layout/xul/grid/reftests/z-order-1-ref.xul
rename : layout/xul/base/src/grid/reftests/z-order-1.xul => layout/xul/grid/reftests/z-order-1.xul
rename : layout/xul/base/src/grid/reftests/z-order-2-ref.xul => layout/xul/grid/reftests/z-order-2-ref.xul
rename : layout/xul/base/src/grid/reftests/z-order-2.xul => layout/xul/grid/reftests/z-order-2.xul
rename : layout/xul/base/src/tree/src/Makefile.in => layout/xul/tree/Makefile.in
rename : layout/xul/base/src/tree/src/crashtests/307298-1.xul => layout/xul/tree/crashtests/307298-1.xul
rename : layout/xul/base/src/tree/src/crashtests/309732-1.xul => layout/xul/tree/crashtests/309732-1.xul
rename : layout/xul/base/src/tree/src/crashtests/309732-2.xul => layout/xul/tree/crashtests/309732-2.xul
rename : layout/xul/base/src/tree/src/crashtests/366583-1.xul => layout/xul/tree/crashtests/366583-1.xul
rename : layout/xul/base/src/tree/src/crashtests/380217-1.xul => layout/xul/tree/crashtests/380217-1.xul
rename : layout/xul/base/src/tree/src/crashtests/382444-1-inner.html => layout/xul/tree/crashtests/382444-1-inner.html
rename : layout/xul/base/src/tree/src/crashtests/382444-1.html => layout/xul/tree/crashtests/382444-1.html
rename : layout/xul/base/src/tree/src/crashtests/391178-1.xhtml => layout/xul/tree/crashtests/391178-1.xhtml
rename : layout/xul/base/src/tree/src/crashtests/391178-2.xul => layout/xul/tree/crashtests/391178-2.xul
rename : layout/xul/base/src/tree/src/crashtests/393665-1.xul => layout/xul/tree/crashtests/393665-1.xul
rename : layout/xul/base/src/tree/src/crashtests/399227-1.xul => layout/xul/tree/crashtests/399227-1.xul
rename : layout/xul/base/src/tree/src/crashtests/399227-2.xul => layout/xul/tree/crashtests/399227-2.xul
rename : layout/xul/base/src/tree/src/crashtests/399692-1.xhtml => layout/xul/tree/crashtests/399692-1.xhtml
rename : layout/xul/base/src/tree/src/crashtests/399715-1.xhtml => layout/xul/tree/crashtests/399715-1.xhtml
rename : layout/xul/base/src/tree/src/crashtests/409807-1.xul => layout/xul/tree/crashtests/409807-1.xul
rename : layout/xul/base/src/tree/src/crashtests/414170-1.xul => layout/xul/tree/crashtests/414170-1.xul
rename : layout/xul/base/src/tree/src/crashtests/430394-1.xul => layout/xul/tree/crashtests/430394-1.xul
rename : layout/xul/base/src/tree/src/crashtests/454186-1.xul => layout/xul/tree/crashtests/454186-1.xul
rename : layout/xul/base/src/tree/src/crashtests/479931-1.xhtml => layout/xul/tree/crashtests/479931-1.xhtml
rename : layout/xul/base/src/tree/src/crashtests/509602-1-overlay.xul => layout/xul/tree/crashtests/509602-1-overlay.xul
rename : layout/xul/base/src/tree/src/crashtests/509602-1.xul => layout/xul/tree/crashtests/509602-1.xul
rename : layout/xul/base/src/tree/src/crashtests/601427.html => layout/xul/tree/crashtests/601427.html
rename : layout/xul/base/src/tree/src/crashtests/crashtests.list => layout/xul/tree/crashtests/crashtests.list
rename : layout/xul/base/src/tree/public/nsITreeBoxObject.idl => layout/xul/tree/nsITreeBoxObject.idl
rename : layout/xul/base/src/tree/public/nsITreeColumns.idl => layout/xul/tree/nsITreeColumns.idl
rename : layout/xul/base/src/tree/public/nsITreeContentView.idl => layout/xul/tree/nsITreeContentView.idl
rename : layout/xul/base/src/tree/public/nsITreeSelection.idl => layout/xul/tree/nsITreeSelection.idl
rename : layout/xul/base/src/tree/public/nsITreeView.idl => layout/xul/tree/nsITreeView.idl
rename : layout/xul/base/src/tree/src/nsTreeBodyFrame.cpp => layout/xul/tree/nsTreeBodyFrame.cpp
rename : layout/xul/base/src/tree/src/nsTreeBodyFrame.h => layout/xul/tree/nsTreeBodyFrame.h
rename : layout/xul/base/src/tree/src/nsTreeBoxObject.cpp => layout/xul/tree/nsTreeBoxObject.cpp
rename : layout/xul/base/src/tree/src/nsTreeBoxObject.h => layout/xul/tree/nsTreeBoxObject.h
rename : layout/xul/base/src/tree/src/nsTreeColFrame.cpp => layout/xul/tree/nsTreeColFrame.cpp
rename : layout/xul/base/src/tree/src/nsTreeColFrame.h => layout/xul/tree/nsTreeColFrame.h
rename : layout/xul/base/src/tree/src/nsTreeColumns.cpp => layout/xul/tree/nsTreeColumns.cpp
rename : layout/xul/base/src/tree/src/nsTreeColumns.h => layout/xul/tree/nsTreeColumns.h
rename : layout/xul/base/src/tree/src/nsTreeContentView.cpp => layout/xul/tree/nsTreeContentView.cpp
rename : layout/xul/base/src/tree/src/nsTreeContentView.h => layout/xul/tree/nsTreeContentView.h
rename : layout/xul/base/src/tree/src/nsTreeImageListener.cpp => layout/xul/tree/nsTreeImageListener.cpp
rename : layout/xul/base/src/tree/src/nsTreeImageListener.h => layout/xul/tree/nsTreeImageListener.h
rename : layout/xul/base/src/tree/src/nsTreeSelection.cpp => layout/xul/tree/nsTreeSelection.cpp
rename : layout/xul/base/src/tree/src/nsTreeSelection.h => layout/xul/tree/nsTreeSelection.h
rename : layout/xul/base/src/tree/src/nsTreeStyleCache.cpp => layout/xul/tree/nsTreeStyleCache.cpp
rename : layout/xul/base/src/tree/src/nsTreeStyleCache.h => layout/xul/tree/nsTreeStyleCache.h
rename : layout/xul/base/src/tree/src/nsTreeUtils.cpp => layout/xul/tree/nsTreeUtils.cpp
rename : layout/xul/base/src/tree/src/nsTreeUtils.h => layout/xul/tree/nsTreeUtils.h
2013-02-04 07:11:49 -05:00
Nicholas Nethercote
0bda4fcd31
Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
...
Ding dong! The witch is dead!
2013-01-24 21:24:57 -08:00
Phil Ringnalda
2d79942fa4
Back out 66882ea6f8c7 (bug 788293) and 32f09cb3c7b6 (bug 834090) for bustage
...
CLOSED TREE
2013-01-31 22:29:30 -08:00
Nicholas Nethercote
46ba51002e
Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
...
Ding dong! The witch is dead!
--HG--
extra : rebase_source : 7574f5620e303c25120fcfc8ceb2099ad75c8f1b
2013-01-24 21:24:57 -08:00
Boris Zbarsky
e53ffbf3f0
Bug 824589. Convert XULElement to WebIDL. r=peterv
...
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.
The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.
The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID. We've run into this before, sadly.
I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.
The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces. Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props. I don't see
an obviously better way. We should work on killing off uses of
"instanceof someinterface".
The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Boris Zbarsky
8b394535e8
Bug 835417 part 1. Mark Node.namespaceURI as not throwing, since [Constant] things aren't allowed to throw (though we were not enforcing that). r=peterv
2013-01-29 17:53:52 -05:00
Boris Zbarsky
e15be64167
Back out bug 824589 (rev 22695cac3896) on suspicion of Ts regression
2013-01-29 17:18:06 -05:00
Boris Zbarsky
24d3443115
Bug 824589. Convert XULElement to WebIDL. r=peterv
...
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.
The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.
The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID. We've run into this before, sadly.
I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.
The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces. Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props. I don't see
an obviously better way. We should work on killing off uses of
"instanceof someinterface".
The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Steve Fink
d3f194fbfb
Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
2012-12-31 12:40:21 -08:00
Steve Fink
cb8aecdd2a
Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!)
2013-01-18 13:20:21 -08:00
Steve Fink
fa3e8f224b
Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
...
--HG--
extra : rebase_source : c8806b27677594925ad0e6b54c47af5cf17e1153
2012-12-31 12:40:21 -08:00
Bobby Holley
1c16565b99
Bug 824864 - Remove unused optional arguments from nsIScriptContext::ExecuteScript. r=bz
...
This lets us get rid of a bunch of junk.
2013-01-16 18:50:26 -08:00
Trevor Saunders
b98e34aed0
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Mats Palmgren
d5826be6d7
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Chris Peterson
f456453bfd
Bug 829685 - Remove #include "prtypes.h" from some files that no longer use PR types. r=ehsan
2013-01-10 08:19:36 -08:00
Ms2ger
7dbb0eec52
Bug 824481 - Cleanup style attribute getters; r=bz
2013-01-11 09:42:59 +01:00
Ehsan Akhgari
b7608f387d
Merge mozilla-central into mozilla-inbound
2013-01-05 16:00:35 -05:00
Andrew McCreight
6ce09f6d6d
Bug 827020 - Add null check to nsXULPrototypeDocument::TraceProtos. r=smaug
2013-01-05 11:16:06 -08:00
Robert O'Callahan
a9f8b202ea
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
...
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Phil Ringnalda
9297efcdad
Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
...
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
9abe8bbe09
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
...
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
Ehsan Akhgari
f715d30797
Bug 815847 - Part 3: Avoid double-caching XUL prototypes which are loaded at around the same time; r=bsmedberg
2013-01-03 17:32:11 -05:00
Ehsan Akhgari
bd362404ea
Bug 815847 - Part 2: Waste less memory in nsXULPrototypeCache::mCacheURITable; r=bsmedberg
2013-01-03 17:23:20 -05:00
Ehsan Akhgari
9dc9cb33b3
Bug 815847 - Part 1: Remove nsXULPrototypeCache::gStartupCache; r=bsmedberg
...
There is no good reason why this variable should be used.
2013-01-03 16:38:08 -05:00
Ryan VanderMeulen
220fb8bf57
Merge m-c to inbound.
2013-01-03 17:01:32 -05:00
Olli Pettay
44eadd5185
Bug 816340 - Propagate events to chrome even if there is a disabled form control in the event target chain, r=jst,gavin
2013-01-03 17:17:36 +02:00
Robert O'Callahan
106f5d95d1
Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
...
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.
--HG--
rename : view/public/nsIView.h => view/public/nsView.h
2013-01-04 02:23:11 +13:00
Andrew McCreight
0654b292c3
Bug 785493, part 2 - mark XUL protos of live docs black during GC. r=smaug
2012-08-24 13:22:23 -07:00
Julien Levesy
5c95d64dd5
Bug 811753 - Add nsIContent::IsEventAttributeName and use it instead of having callers guess the right flags for the content node in question. r=bzbarsky.
2013-01-02 21:24:07 +01:00
Josh Matthews
03688bc401
Bug 782542 - Secure necko IPDL usage. r=ted,jduell a=blocking-b2g
2012-12-29 04:02:16 -05:00
Josh Matthews
a5748a8b01
Backed out changeset 6cd44513d285 (bug 782542)
2012-12-28 19:18:38 -05:00
Josh Matthews
7f617152b0
Bug 782542 - Secure necko IPDL usage. r=ted,jduell a=blocking-b2g
2012-12-12 10:40:33 -05:00
Andrew McCreight
7b004d061c
Bug 824958 - Eliminate nsXULPrototypeScript::ScriptObjectHolder and make field private. r=smaug
2012-08-24 13:22:23 -07:00
Boris Zbarsky
c4e0d0fac2
Bug 804631. Add the WebIDL API for Document. r=peterv
...
I'm not entirely happy with the XPath bits. If we had an
nsXPathEvaluator member, or if the WebIDL API were on
nsIDOMXPathEvaluator or something, all that stuff would need a lot
less code...
2012-12-22 00:27:27 -08:00
Masayuki Nakano
ca0e8000e0
Bug 813445 part.14 Make dom::EventListenerFlags for nsEventListenerManager r=smaug
2012-12-16 10:26:05 +09:00
Masayuki Nakano
c8090c380d
Bug 813445 part.1 Make widget::EventFlags and remove NS_EVENT_FLAG_TRUSTED r=roc+smaug, feedback=emk
2012-12-16 10:26:03 +09:00
Trevor Saunders
909657a83e
bug 819940 - remove nsISupportsArray::EnumerateForwards() r=ehsan
2012-12-10 05:27:14 -05:00
Jason Orendorff
a5cc2cbbcf
Bug 788290 - Rewrite some XUL template tests to use DOM rather than E4X. r=enn
2012-12-10 09:02:00 -05:00
Saurabh Anand
151d13c7a5
Bug 818817 - Fix some compiler warnings, r=Ms2ger
2012-12-09 22:53:19 +05:30
Boris Zbarsky
2b8b9159d1
Bug 817473 part 1. Make nsIDOMXULDocument inherit from nsIDOMDocument, so that XUL documents end up with Document.prototype and Node.prototype on their proto chain. r=peterv
2012-12-06 15:21:18 -05:00
Trevor Saunders
d2a9c007b8
bug 801466 - part 3.1 remove some prmem usage from dom/ and content/ r=mounir
2012-12-05 02:55:37 -05:00
Andrew McCreight
2fa5d0a9d8
Bug 792861 - Make HoldJSObjects/DropJSObjects infallible. r=smaug
2012-11-12 17:15:00 -08:00
Olli Pettay
f62ac2c85e
Bug 811206, Fix JSHolder drop handling, part 3 (fixes), r=mccr8,khuey
...
--HG--
extra : rebase_source : 7b2726d2aa7f5764a3c4cb750e5a735728069687
2012-11-28 03:37:57 +02:00
Andrew McCreight
0687798248
Bug 814453 - Eliminate NS_IMPL_CYCLE_COLLECTION_UNLINK_NATIVE_0 and NS_IMPL_CYCLE_COLLECTION_TRACE_NATIVE_BEGIN. r=smaug
2012-11-23 11:27:06 -08:00
Benoit Jacob
97c1c2f31c
Bug 814444 - Remove now-useless TRAVERSE_NATIVE_BEGIN and UNLINK_BEGIN_NATIVE macros - r=mccr8
2012-11-22 12:15:38 -05:00
Ed Morley
28ef3f27d7
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-11-15 16:17:36 +00:00
Olli Pettay
f3ed372614
Bug 749448 - Remove XTF, r=bz
2012-11-15 14:27:13 +02:00
Ryan VanderMeulen
1efc9eec06
Merge the last PGO-green inbound changeset to m-c.
2012-11-14 21:43:07 -05:00
Olli Pettay
d750e150b5
Bug 810793 - nsXULTemplateQueryProcessorXML::GetDatasource should pass outer window to nsIXMLHttpRequest::Init, r=sicking
2012-11-13 13:03:52 +02:00
Boris Zbarsky
fa61227956
Bug 811449 part 8. Get rid of nsGenericElement. r=peterv
2012-11-14 14:10:08 -08:00
Peter Van der Beken
451ff8f738
Fix for bug 804950 (New DOM binding APIs for Element). r=bz.
...
--HG--
extra : rebase_source : a8691ead07dfa8ecca812396047627dc15474d83
2012-10-16 13:51:00 +02:00
Benoit Jacob
5a8b82a1cb
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Benoit Jacob
f4c1a03e74
Bug 806279 - CC macros refactoring: part 3: fold the TRAVERSE_NATIVE and AMBIGUOUS cases - r=mccr8,smaug
2012-11-15 02:32:39 -05:00
Peter Van der Beken
ce50619032
Fix for bug 804991 (Make FromContent expect a non-null pointer and add FromContentOrNull). r=bz.
...
--HG--
extra : rebase_source : 52e1c9171d05ba034971cfa16741e12061e7335d
2012-09-26 16:17:51 +02:00
Ehsan Akhgari
22b28dbc2f
Merge mozilla-central into mozilla-inbound
2012-11-14 17:51:31 -08:00
Ms2ger
a2db0633cc
Merge PGO-green chanageset from inbound to m-c.
2012-11-04 10:26:52 +01:00
Ms2ger
318a2969cd
Bug 807410 - Part b: Pass the "GC on destruction" flag to the nsJSContext constructor; r=jst
2012-11-04 09:05:23 +01:00
Ms2ger
9443b096a0
Bug 807410 - Part a: Pass the global object to the nsJSContext constructor; r=jst
2012-11-04 09:04:04 +01:00
Neil Rashbrook
94fc0147cc
Bug 664695 Improve signature of nsIConsoleService::GetMessageArray r=bsmedberg r=msucan
2012-11-03 10:59:29 +00:00
Ryan VanderMeulen
f7e7922b7f
Backout 06b998c1100d (bug 664695) due to mochitest-other orange.
2012-11-02 17:12:22 -04:00
Neil Rashbrook
e3101f4764
Bug 664695 Improve signature of nsIConsoleService::GetMessageArray r=bsmedberg
2012-11-02 20:07:50 +00:00
Jet Villegas
677bf3dda3
Bug 806068 part 2: Change in-tree usage of -moz-initial to initial. r=dholbert
2012-10-30 16:57:36 +01:00
Peter Van der Beken
da84553f1f
Fix for bug 778152 (Content window does not have an XMLHttpRequest property when accessed via an Xray wrapper in a subscript) - rename ProtoOrIfaceArray. r=bz.
...
--HG--
extra : rebase_source : c426270fc1ebee818629bd94dfc8d11af59bfc00
2012-10-09 20:50:27 +02:00
Matt Joras
8835709995
Bug 798033 - Removes 'using namespace' from /content headers - r=bsmedberg
2012-10-27 13:24:04 -04:00
Phil Ringnalda
56c57f466f
Back out c25bc74b7fd3 (bug 798033) for build bustage
2012-10-26 19:05:18 -07:00
Matt Joras
5c9750a59e
Bug 798033 - Removes 'using namespace' from /content headers - r=bsmedberg
2012-10-14 00:04:51 -05:00
Bobby Holley
db865e0ccf
Bug 797821 - Don't pass XPCONNECT_GLOBAL_FLAGS for xbl and xul document gSharedGlobalClass. r=mrbkap
...
A lot of these flags don't make sense in this context.
2012-10-25 17:01:08 +02:00
Bobby Holley
ea14cf4726
Bug 797821 - Stop making nsXBLDocumentInfo and nsXULPrototypeDocument globals with XPConnect. r=mrbkap
...
We already weren't creating a scope for them. They're generally pretty isolated
and are just used for holding functions that get cloned into other scopes.
Apparently mccr8 once found an edge from an nsXULPrototypeDocument scope into
another scope, but I don't think that should really break anything.
2012-10-25 17:01:07 +02:00
Bobby Holley
4f6ed4314a
Bug 797821 - Stop passing wantXrays directly to CreateGlobalObject. r=mrbkap
...
This can happen after the fact where it needs to.
2012-10-25 17:01:07 +02:00
Bobby Holley
597176da8c
Bug 797821 - Simplify the call signature for XPC::CreateGlobalObject. r=mrbkap
2012-10-25 17:01:07 +02:00
Bobby Holley
0c1ca835dd
Bug 789224 - Remove signed script security checks. r=mrbkap
2012-10-22 08:29:55 +02:00
Bobby Holley
3a93472e80
Bug 789224 - Remove miscellaneous UniversalXPConnect checks sprinkled throughout gecko. r=mrbkap
2012-10-22 08:29:55 +02:00
Peter Van der Beken
a69ce442c1
Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz.
...
--HG--
extra : rebase_source : 5dd51c4ad5274da9235c8c341b0531f234e95a91
2012-10-09 14:31:24 +02:00
Olli Pettay
15613c37fb
Bug 801609 - Simplify popup and contextmenu handling and make the listener skippable, r=mccr8
...
--HG--
rename : content/canvas/test/test_toBlob.html => content/canvas/test/test_mozGetAsFile.html
rename : dom/base/test/test_gsp-qualified.html => dom/base/test/test_gsp-standards.html
extra : rebase_source : 8e017d2fa6ff12cfcf0b0f8a56dadd541aca16bf
2012-10-16 15:37:26 +03:00
Ms2ger
a1e441d39c
Bug 795610 - Part d: Prepare HTMLElement.click() for WebIDL bindings; r=mounir
2012-10-06 09:19:52 +02:00
Andrew Quartey
1839819e70
Bug 792581 - part 10: Replace LL_SUB macro with mathematical minus operator. r=ehsan
2012-10-05 01:05:27 -04:00
Andrew Quartey
c2113adcdd
Bug 792581 - part 4: Replace LL_GE_ZERO macro with standard relation. r=ehsan
2012-10-03 10:13:19 -04:00
Andrew Quartey
1d85650f11
Bug 792581 - part 1: Replace LL_IS_ZERO macro with standard relation. r=ehsan
2012-10-03 10:13:18 -04:00
Ed Morley
d078159b72
Merge mozilla-central to mozilla-inbound
2012-10-02 11:19:03 +01:00
Cameron McCormack
2688bea4cd
Bug 795802 - Define content flags like frame state bits. r=bz
...
--HG--
extra : rebase_source : 4d67320ada060e29644ab6c070a1d5154b304d96
2012-10-02 10:52:06 +10:00
Peter Van der Beken
49df18e60a
Bug 794582 - Rename nsINode::GetSlots() to nsINode::Slots() and remove null-checks; r=mounir
2012-08-11 00:27:28 +02:00
Ms2ger
4c9dcdaa6d
Bug 793116 - Remove nsISupports argument to xpc_CreateGlobalObject; r=bholley
2012-10-02 10:24:11 +02:00
Kyle Huey
1ccfbe810b
Bug 760331: Coalesce data for inline style across nodes. r=bz
...
This patch enables sharing of an nsAttrValue's MiscContainer between nodes for style rules. MiscContainers of type eCSSStyleRule are now refcounted (with some clever struct packing to ensure that the amount of memory allocated for MiscContainer remains unchanged on 32 and 64 bit). This infrastructure can be used to share most MiscContainer types in the future if we find advantages to sharing other types than just eCSSStyleRuley. A cache mapping strings to MiscContainers has been added to nsHTMLCSSStyleSheet. MiscContainers can be shared between nsAttrValues when one nsAttrValue is SetTo another nsAttrValue or when there is a cache hit in this cache. This patch also adds the ability to tell a style rule that it belongs to an nsHTMLCSSStyleSheet, with appropriate accessor functions to separate that from the existing case of belonging to an nsCSSStyleSheet.
The primary use case is to reduce memory use for pages that have lots of inline style attributes with the same value. This can happen easily with large pages that are automatically generated. An (admittedly pathological) testcase in Bug 686975 sees over 250 MB of memory savings with this change. Reusing the same MiscContainer for multiple nodes saves the overhead of maintaining separate copies of the string containing the serialized value of the style attribute and of creating separate style rules for each node. Eliminating duplicate style rules enables further savings in layout through style context sharing. The testcase sees the amount of memory used by style contexts go from over 250 MB to 10 KB.
Because the cache is based on the text value of the style attribute, it will not handle attributes that have different text values but are parsed into identical style rules. We also do not attempt to share MiscContainers when the node's base URI differs from the document URI. The effect of these limitations is expected to be low.
2012-09-30 09:40:24 -07:00
Isaac Aggrey
0cc4b12d36
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Ehsan Akhgari
70ba385729
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Ehsan Akhgari
59fbcc9b3c
Bug 788014 - Part 2: Reduce the inclusion of prtypes.h in the tree to help using stdint types; r=jrmuizel
...
--HG--
extra : rebase_source : 66b3b6b9858fb032bebcc070347f781bdf61770c
2012-09-06 17:54:59 -04:00
L. David Baron
253be7632f
Rename nsIPresShell::InitialReflow to Initialize since it doesn't actually perform reflow. (Bug 788956) r=roc
2012-09-06 21:16:09 -07:00
Makoto Kato
507b76f776
Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza
2012-09-06 11:41:02 +09:00
Aryeh Gregor
9c429e8d7e
Bug 782594 - Return 0 from nsXULTreeBuilder::CompareResults on error; r=bz
2012-08-09 11:36:41 +03:00
Aryeh Gregor
5cb11391e0
Bug 782594 - Use NS_FAILED instead of boolean test (content/, js/xpconnect/, layout/); r=bz
2012-08-07 17:58:47 +03:00
Randell Jesup
29ac5c0b8c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Ryan VanderMeulen
db0d22bd6d
Merge the last PGO-green inbound changeset to m-c.
2012-08-30 21:54:09 -04:00
Kyle Huey
3ff74985e4
Bug 786048: Rename 'JSEventListener' to 'EventHandler' to better match the spec's terminology. r=smaug
2012-08-30 09:25:10 -07:00
Landry Breuil
03df869b8d
Bug 785738 Part 4: Use PRTime where appropriate under rdf/. r=ehsan
2012-08-30 09:10:40 +02:00
Andrew McCreight
7f27900535
Bug 782735 - turn nsNodeInfoManager into a non-leaking native CC class. r=smaug
2012-08-24 09:50:06 -07:00