Sylvestre Ledru
fa45a3c670
Bug 1443080 - Use the static call for static methods (not instance) r=Ehsan
...
MozReview-Commit-ID: JwHh4bzxuTR
--HG--
extra : rebase_source : 5f5e37517aa80c2e7b5933962178d761074886e7
2018-03-16 14:29:15 +01:00
Coroiu Cristina
0f6841e0d2
Backed out 2 changesets (bug 1443080) for spidermonkey build bustage at build/src/js/src/jit/BaselineCacheIRCompiler.cpp
...
Backed out changeset 7d509bb8a35d (bug 1443080)
Backed out changeset 53bdcd5937cd (bug 1443080)
--HG--
extra : rebase_source : 59b5350d2959c0b065aedd34bfe8337216c0ea4b
2018-03-14 11:13:21 +02:00
Sylvestre Ledru
c07eb73986
Bug 1443080 - Use the static call for static methods (not instance) r=Ehsan
...
MozReview-Commit-ID: JwHh4bzxuTR
--HG--
extra : rebase_source : 17c91bfd7241e3e522b1413b6e544df74f5361a0
2018-03-05 13:43:54 +01:00
Emilio Cobos Álvarez
2988d4e66d
Bug 1442207: Remove unneeded arguments to nsIMutationObserver. r=smaug
...
aDocument is always content->OwnerDoc().
aContainer is always content->GetParent().
Differential Revision: https://phabricator.services.mozilla.com/D664
MozReview-Commit-ID: 4xwPCOnhyIL
2018-03-01 22:45:17 +01:00
Jason Orendorff
e7c94fff59
Bug 1439063 - Part 1: Move several public headers from js/src to js/public. r=jandem.
...
js/src/jsalloc.h -> js/public/AllocPolicy.h
jsalloc.cpp -> js/src/util/AllocPolicy.cpp
jsbytecode.h -> merge into js/public/TypeDecls.h
jsprf.h -> js/public/Printf.h
jsprf.cpp -> js/src/util/Printf.cpp
jsprototypes.h -> public/ProtoKey.h
jswrapper.h -> js/Wrapper.h
--HG--
rename : js/src/jsalloc.h => js/public/AllocPolicy.h
rename : js/src/jsprf.h => js/public/Printf.h
rename : js/src/jsprototypes.h => js/public/ProtoKey.h
rename : js/src/jswrapper.h => js/public/Wrapper.h
rename : js/src/jsalloc.cpp => js/src/util/AllocPolicy.cpp
rename : js/src/jsprf.cpp => js/src/util/Printf.cpp
extra : rebase_source : 98b16d94c469202eab0303a8da844f1d0b6aa809
extra : amend_source : e0b16c1077226d6fe240f4d7096537f93b43f2b8
extra : histedit_source : d94e0ba7904a7d66742c7fac43f638aaec4fa4e5
2018-02-21 10:30:19 -06:00
Xidorn Quan
57bff704ad
Bug 1438497 part 2 - Do not report bindings which are cached in XUL prototype cache. r=bholley
...
MozReview-Commit-ID: 7ZqQswt7QtA
--HG--
extra : rebase_source : e696671d18970d710f6bfbca60c6014c51df9440
2018-02-19 17:27:08 +11:00
Xidorn Quan
a23cb7d912
Bug 1438497 - Add bindings into memory report. r=bholley,njn
...
MozReview-Commit-ID: FrFEUlrqcs8
--HG--
extra : rebase_source : 4ead07cb6854ef816a1d6b31aa9028220a14ec89
2018-02-16 23:02:28 +11:00
Emilio Cobos Álvarez
d39c5388fc
Bug 1436059: Make XBL / Shadow DOM use AuthorStyles. r=xidorn
...
It's just a struct aggregating stylesheets + CascadeData, with a quirks_mode
parameter because XBL sucks so bad.
MozReview-Commit-ID: 7q99tSNXo0K
2018-02-16 16:54:34 +01:00
Emilio Cobos Álvarez
c2f6e9ff37
Bug 1435939: Process all the MediumFeatureChanges at the same time. r=xidorn
...
This avoids resetting the computed values all the time, and paves the way to
avoid using a StyleSet on XBL bindings / Shadow DOM, which we should really
really do because it's super overkill.
There are some XBL bits that are kind of hacky, in particular the mStylistDirty,
but they'll go away soon, since I want to redo how we store styles in XBL.
The alternative, which was returning an array of indices or something was even
more hacky I think.
MozReview-Commit-ID: 6tEl5gebXVF
2018-02-07 15:27:56 +01:00
Emilio Cobos Álvarez
ee4bdd20be
Bug 1435939: Propagate the media feature change reason around. r=xidorn
...
Just some argument shuffling and such.
MozReview-Commit-ID: vPFoU2DUXb
2018-02-07 15:27:46 +01:00
Cameron McCormack
d02e54b79b
Bug 1430014 - Part 5: Stop building old style system classes when MOZ_OLD_STYLE is not defined. r=xidorn
...
MozReview-Commit-ID: CIHyPdF7Exl
--HG--
extra : source : 78a2fc781eead47af3923efcde58569c5d882ab1
2018-02-01 15:04:04 +11:00
Cameron McCormack
cc7db5c40c
Bug 1430014 - Part 4: #ifdef out unnecessary code when the old style system is not built. r=xidorn
...
MozReview-Commit-ID: 1FZ9VzjcPzN
--HG--
extra : source : de22d220635f8c059834b76f769d5215ab1a8b5b
2018-02-01 15:04:04 +11:00
Emilio Cobos Álvarez
af5c08c014
Bug 1409672: Handle document state changes using the invalidation machinery. r=xidorn
...
MozReview-Commit-ID: EoSMrYPS7dl
2018-01-22 17:57:05 +01:00
Emilio Cobos Álvarez
e06ff3dbe2
Backout changeset b54c60961def (Bug 1409672) for failing one OSX reftest on a CLOSED TREE. r=backout
...
MozReview-Commit-ID: 6ZHlFBpMOUo
2018-01-17 23:09:38 +01:00
Emilio Cobos Álvarez
e191632bd8
Bug 1409672: Hook in the invalidator stuff. r=xidorn
...
MozReview-Commit-ID: EoSMrYPS7dl
2018-01-17 21:51:53 +01:00
Xidorn Quan
7955befd91
Bug 1429959 - Make nsBindingManager::EnumerateBoundContentBindings yield each binding only once. r=emilio
...
MozReview-Commit-ID: LxiF2RngJmq
--HG--
extra : rebase_source : cb75c5c20445fe6e00a0a161465bdfb7fac881be
2018-01-12 11:59:51 +11:00
Emilio Cobos Álvarez
ff8f7a0da1
Bug 1427677: Remove nsBindingManager::FindNestedInsertionPoint. r=bz
...
No more callers!
MozReview-Commit-ID: 1mxi4IjViuC
2018-01-09 20:50:18 +01:00
Emilio Cobos Álvarez
a68efc4059
Backout two changesets (Bug 1427677) until I prove they have no negative performance implication. r=backout
...
MozReview-Commit-ID: 3xuUAXVfEHd
2018-01-06 19:01:48 +01:00
Emilio Cobos Álvarez
d39e568a57
Bug 1427677: Remove nsBindingManager::FindNestedInsertionPoint. r=bz
...
No more callers!
MozReview-Commit-ID: 1mxi4IjViuC
2018-01-06 11:39:48 +01:00
Emilio Cobos Álvarez
fd120385c7
Bug 1427001: Move SetXBLBinding and SetShadowRoot to Element. r=smaug
...
MozReview-Commit-ID: 6FL1HR2Isa
2017-12-31 13:45:58 +01:00
Mats Palmgren
ac0c539c86
Bug 1400618 part 4 - Destroy frames before calling nsXBLBinding::ChangeDocument in a few places. r=bz
...
nsXBLBinding::ChangeDocument calls UnbindAnonymousContent
which calls UnbindFromTree on the content so any frames must be
destroyed before that to maintain the invariant that frames are
destroyed before unbinding.
MozReview-Commit-ID: 8Icj7zqpuZS
2017-11-07 01:20:34 +01:00
Cameron McCormack
bb8b504d27
Bug 1390694
- Part 3: Add nsBindingManager function to check for document state dependencies. r=emilio
...
MozReview-Commit-ID: Aw04MrVHyIz
--HG--
extra : rebase_source : f771131fd9c5ed137e111421adf81f12e3870b31
extra : source : eb47388be721c8d7b5b7604ea7c952e6bc2e8106
2017-11-01 21:20:39 +11:00
Cameron McCormack
4f08e9772a
Bug 1390694
- Part 2: Allow EnumerateBoundContentBindings callbacks to stop enumeration. r=emilio
...
MozReview-Commit-ID: 25ZxscIi7T5
--HG--
extra : rebase_source : 64e9ff5cd35defd3bb8f5f13f6b2fe7623418f3e
extra : source : b43ed8551cea5bf8fb86c94499810dcd458c8672
2017-11-01 21:20:39 +11:00
Emilio Cobos Álvarez
273bc65bb1
Bug 1410895: Make XBL slots hold the insertion point, not the XBL parent. r=bz
...
This is pretty much a straight-forward change except for a single thing, the
UpdateInsertionParent calls.
However, I cannot make any sense of them. They go through the inserted children
setting the insertion point, but then ClearInsertionPoints() is called.
ClearInsertionPoints calls XBLChildrenElement::ClearInsertedChildren, which sets
all the insertion points to null anyway.
Thus, I've removed that function completely.
MozReview-Commit-ID: 80daGQfLZrV
--HG--
extra : rebase_source : d52a37a60147ac11794c3cfe1aad5d202e9d2d9f
2017-10-23 15:52:08 +02:00
Attila Craciun
03687d95f5
Backed out 4 changesets (bug 1390694
) for failing crash test and in reftest/tests/layout/reftests/xul/mac-tab-toolbar.xul r=backout on a CLOSED TREE.
...
Backed out changeset b9cff3469bfd (bug 1390694
)
Backed out changeset e13dd2a3651f (bug 1390694
)
Backed out changeset 83ff9e245757 (bug 1390694
)
Backed out changeset 484a2644318f (bug 1390694
)
2017-10-20 14:49:52 +03:00
Cameron McCormack
0a31e73ee0
Bug 1390694
- Part 3: Add nsBindingManager function to check for document state dependencies. r=emilio
...
MozReview-Commit-ID: Aw04MrVHyIz
--HG--
extra : rebase_source : dd1e15f0589ec532111711e14348c6d2ee590314
2017-10-18 17:26:41 +08:00
Cameron McCormack
2ceac13254
Bug 1390694
- Part 2: Allow EnumerateBoundContentBindings callbacks to stop enumeration. r=emilio
...
MozReview-Commit-ID: 25ZxscIi7T5
--HG--
extra : rebase_source : c0c45eba2d3375be98451cd9e627939e819791a2
2017-10-18 17:15:19 +08:00
Kris Maglione
60d080b412
Bug 1404198: Part 2i - Switch to NS_NewTimer* in dom. r=njn
...
MozReview-Commit-ID: 8Oei6TuXNbu
--HG--
extra : rebase_source : 31c583c699790cbcf302064146d313ee8126ef0c
2017-10-15 23:15:40 -07:00
Nicholas Nethercote
d225f7151b
Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
...
(Path is actually r=froydnj.)
Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than nsIAtom.
MozReview-Commit-ID: 91U22X2NydP
--HG--
rename : xpcom/ds/nsIAtom.h => xpcom/ds/nsAtom.h
extra : rebase_source : ac3e904a21b8b48e74534fff964f1623ee937c67
2017-10-03 09:05:19 +11:00
Catalin Badea
f8162c4bfd
Bug 651120 - Remove index argument from content removed/appended/inserted notifications. r=peterv
2017-10-03 11:09:08 +01:00
Ting-Yu Lin
3b33ba27fb
Bug 1382078
Part 4 - Avoid unneeded restyle when XBL styleset is utilized by different PresContext. r=emilio
...
This fixed layout/style/test/test_media_queries_dynamic.html after Part 3 is added.
MozReview-Commit-ID: 7ZpSunCnkIc
--HG--
extra : rebase_source : 6acab11ba784b801b90afc0558c32baabcc3f271
2017-09-04 17:57:00 +08:00
Ting-Yu Lin
b6d71d0740
Bug 1382078
Part 3 - Support media changes for XBL stylesheets. r=emilio
...
MozReview-Commit-ID: EJp8EMyanBT
--HG--
extra : rebase_source : 0ea61ea1f649548158fa600e5e11190631ce447f
2017-09-02 15:25:45 +08:00
Ting-Yu Lin
a61a1227e9
Bug 1382078
Part 2 - Make nsBindingManager::MediumFeaturesChanged() return bool directly. r=emilio
...
The method always returns NS_OK, and no other caller checks the nsresult.
Hence the patch.
MozReview-Commit-ID: CnYCZ8VchG
--HG--
extra : rebase_source : 8626332e2774c1d6f42c7afa5e9679091a3aeaa2
2017-08-30 15:22:31 +08:00
Ting-Yu Lin
f62ed82f17
Bug 1382078
Part 1 - Add method to nsBindingManager to iterate all bound contents. r=emilio
...
MozReview-Commit-ID: H00b3pGNC8V
--HG--
extra : rebase_source : 3c950d3b11bf9bdf87488057943c38ecb918214d
2017-08-28 17:47:55 +08:00
Sebastian Hengst
63bf10f8e9
Backed out changeset 684b78bb1062 (bug 1382078
) for failing mochitest test_media_queries_dynamic.html on Windows stylo. r=backout
2017-09-02 20:45:05 +02:00
Sebastian Hengst
55fe61b6d6
Backed out changeset 06fd7e672abd (bug 1382078
)
2017-09-02 20:43:42 +02:00
Sebastian Hengst
3764de542b
Backed out changeset b49d8d47c3f1 (bug 1382078
)
2017-09-02 20:43:36 +02:00
Ting-Yu Lin
d537ea001c
Bug 1382078
Part 3 - Support media changes for XBL stylesheets. r=emilio
...
MozReview-Commit-ID: EJp8EMyanBT
--HG--
extra : rebase_source : 524aaa95070c7708b3c24a0c9ee8a24344be2645
2017-09-02 15:25:45 +08:00
Ting-Yu Lin
6d69dabd0c
Bug 1382078
Part 2 - Make nsBindingManager::MediumFeaturesChanged() return bool directly. r=emilio
...
The method always returns NS_OK, and no other caller checks the nsresult.
Hence the patch.
MozReview-Commit-ID: CnYCZ8VchG
--HG--
extra : rebase_source : 062d643308b309dfe442384301860ffeec2dff9f
2017-08-30 15:22:31 +08:00
Ting-Yu Lin
1405de1443
Bug 1382078
Part 1 - Add method to nsBindingManager to iterate all bound contents. r=emilio
...
MozReview-Commit-ID: H00b3pGNC8V
--HG--
extra : rebase_source : 8329b86b8690c13366a1421a977fb20165d5be5e
2017-08-28 17:47:55 +08:00
Nicholas Nethercote
f582d96b98
Bug 1390428
(part 9) - Remove nsXPIDLCString. r=erahm.
...
This is straightforward, with only two notable things.
- `#include "nsXPIDLString.h" is replaced with `#include "nsString.h"`
throughout, because all nsXPIDLString.h did was include nsString.h. The
exception is for files which already include nsString.h, in which case the
patch just removes the nsXPIDLString.h inclusion.
- The patch removes the |xpidl_string| gtest, but improves the |voided| test to
cover some of its ground, e.g. testing Adopt(nullptr).
--HG--
extra : rebase_source : 452cc4a08046a1adb1a8099a7e85a1917de5add8
2017-08-17 15:29:03 +10:00
Masatoshi Kimura
f143125cc2
Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu
...
MozReview-Commit-ID: DqJdTGopR9G
--HG--
extra : rebase_source : e8c9eb03468c075b79013b6e0bd8b367229c24cd
2017-07-29 20:50:21 +09:00
Bill McCloskey
5ea47d3cf9
Bug 1376981 - Label nsBindingManager::PostProcessAttachedQueueEvent (r=smaug)
...
MozReview-Commit-ID: G0xxNwtXsex
2017-07-03 16:20:04 -07:00
Bill McCloskey
f115503a0b
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book
8a1350b5a6
Backed out changeset 4f6302a98ae4 (bug 1372405
)
...
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Bill McCloskey
6b3e84ed5f
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
ea1b86680c
Backed out changeset 9846de3bd954 (bug 1372405
)
...
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey
4592152411
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Ting-Yu Lin
200de4b5fa
Bug 1363640 Part 3 - Strip whitespaces for files under dom/xbl. r=heycam
...
MozReview-Commit-ID: 3WBsFIgFZU9
--HG--
extra : rebase_source : 63699a4f10a418171cf9fa3205761c7b53129360
2017-05-09 20:45:11 -07:00
Emilio Cobos Álvarez
d2f3dc13ec
Bug 1357142: Kill PresShell::RecreateFramesFor. r=bz
...
It's not only inefficient, but also prone to buggyness. Since styles may not be
up-to-date when it happens.
Post a reconstruct instead, which ensures a style flush happens before running
frame construction.
MozReview-Commit-ID: DrakHsJv5fY
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
--HG--
extra : rebase_source : 11900af908654336cc2391ab9480542c5474e38f
2017-04-17 18:01:37 +02:00