Sebastian Hengst
a17af05f6f
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: L5exd68pNSG
2017-09-05 11:40:49 +02:00
Andreas Farre
09df5e2959
Bug 1393359 - Register active peer connections on top level window. r=smaug
2017-09-04 14:40:39 +02:00
Andreas Farre
2a3cdfc4f6
Bug 1393359 - Register active user media on top level window. r=smaug,jib
2017-09-04 14:40:30 +02:00
Thomas Nguyen
1f57fdb85d
Bug 1345058 - Asynchronously decide if a flash document should be blocked. r=baku
...
MozReview-Commit-ID: K91cSvIdOrb
--HG--
extra : rebase_source : 4d91ab3499c0124129e74a054c5cc78882ff351e
2017-08-14 14:05:23 +08:00
Hiroyuki Ikezoe
76c1b26215
Bug 1396041 - Disassociate element from document before destroying animations in UnbindFromTree(). r=birtles
...
This allows us to avoid posting animation-related restyles when removing
elements from the document tree.
MozReview-Commit-ID: CzN4S0DTUMa
--HG--
extra : rebase_source : a5b94d9ad5b1b2243abd0a5b188eec2b334df74d
2017-09-04 12:24:07 +09:00
Jeff Gilbert
5c0f0feb19
Bug 1322746 - dom/base/test/test_anonymousContent_canvas.html should not assume webgl works. - r=daoshengmu
...
MozReview-Commit-ID: 7oEK4pWMCdc
2017-09-02 21:52:33 -07:00
Sebastian Hengst
5f8d9be3f0
merge mozilla-central to autoland. r=merge a=merge
2017-09-02 10:57:13 +02:00
Sebastian Hengst
4d0bad92dd
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: Gsw48p934sI
2017-09-02 10:54:44 +02:00
Phil Ringnalda
72a1482137
Backed out 14 changesets (bug 1322746) for unexpected passes on Win8
...
Backed out changeset a10fcb139377 (bug 1322746)
Backed out changeset 992b2173bda7 (bug 1322746)
Backed out changeset 88a28c4ebc6b (bug 1322746)
Backed out changeset c5bd6bbf5653 (bug 1322746)
Backed out changeset 882cd05b7064 (bug 1322746)
Backed out changeset 87e7f25a089c (bug 1322746)
Backed out changeset 2ed5b75a6f5e (bug 1322746)
Backed out changeset 6d1dd5775850 (bug 1322746)
Backed out changeset b97bb7a2e555 (bug 1322746)
Backed out changeset ab8352ffd2ca (bug 1322746)
Backed out changeset a4901ec3c327 (bug 1322746)
Backed out changeset 61c7478af98c (bug 1322746)
Backed out changeset b202e9377e24 (bug 1322746)
Backed out changeset cf739e7c76b8 (bug 1322746)
MozReview-Commit-ID: CesCbY4ABvS
2017-09-01 22:28:49 -07:00
Xidorn Quan
1538ddc813
Bug 1395725 - Don't add children of <area> as servo restyle root. r=emilio
...
MozReview-Commit-ID: LI7Lv1aD3PJ
--HG--
extra : rebase_source : 84df4e5ba6493e0db69f6e11e2fee428af427252
extra : source : 099a87c95a58d141f393f17ff27ae8f06a89d413
2017-09-02 09:56:36 +10:00
Brad Werth
c0e8e6e5a2
Bug 1391169 Part 2: Add a test of cssText with combinations of namespaces, universal selectors, and combinators. r=SimonSapin
...
MozReview-Commit-ID: GZZEGR0zyp6
--HG--
extra : rebase_source : cf531ddfa86d558f61ae84b3f3b71d64fbae07c5
2017-08-22 16:21:46 -07:00
Wes Kocher
8b84853ed6
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: GcHZLNPPNnI
2017-09-01 16:34:14 -07:00
Sebastian Hengst
5b321f702f
Backed out changeset dd99274926b8 (bug 1395701) for huaf in clipboard suite on Linux x64 asan and M(8), furthermore frequently asserting at LinkedList.h:455. r=backout
2017-09-01 19:29:06 +02:00
Boris Zbarsky
dfd04e984c
Bug 1395701 part 2. Use a linked list, not a hashtable, for registering selection ranges on a node, so the registration will be faster. r=ehsan
...
Inserting/removing things into a doubly-linked list is much faster than doing
the same with a hashtable. Selection ranges register themselves on their common
ancestor, but all we do with that in non-debug code is iterate all the ranges
registered. A doubly-linked list works fine for that.
This adds three words to every range for the LinkedListItem members, but that
should be OK.
2017-09-01 11:13:47 -04:00
Boris Zbarsky
2bcb5d26b9
Bug 1395701 part 1. Maintain the "registered common ancestor" in a member on selection ranges. r=ehsan
...
This costs an extra word per range, but ranges aren't that small anyway. The
benefit is that we don't have to recompute it dynamically when we need it, which
lets us simplify how selection ranges get registered with their common ancestors.
2017-09-01 11:13:25 -04:00
Catalin Badea
d074b09d16
Bug 1380367 - Use a node reference as range boundary in nsRange. r=smaug
2017-09-01 11:53:22 +01:00
Emilio Cobos Álvarez
6c5e58f954
Bug 1395351: Don't clobber restyle root flags from frame construction. r=bholley
...
MozReview-Commit-ID: EsXKiLbYQsY
--HG--
extra : rebase_source : ef87462e8495670b6e0fcfbdfc9f3b511f5f57bc
2017-08-31 21:37:50 +02:00
Sebastian Hengst
eee61902f8
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-09-01 10:45:14 +02:00
Sebastian Hengst
43bc951ac7
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: ES9rKhiQo10
2017-09-01 10:38:51 +02:00
Andreas Farre
dc0ff1e255
Bug 1393056 - Make it possible to count open WebSockets on the main thread. r=smaug
2017-09-01 10:36:49 +02:00
Florian Quèze
48761699cf
Bug 1391704 - Avoid flickering while moving tabs across windows, r=mconley.
2017-09-01 00:42:31 +02:00
Honza Bambas
8d492fe637
Bug 1395525 - Make all changes landed as part of tracker request tailing preferrable. r=dragana
2017-08-31 06:07:00 -04:00
Ehsan Akhgari
9807a0448d
Bug 1395442 - Remove nsHTMLDocument::mFormControls because it's never set; r=smaug
2017-08-31 12:41:04 -04:00
Tim Taubert
178ae7e0b0
Bug 1353762 - Revert RTCCertificate changes and remove unnecessary null-check r=keeler
2017-08-31 16:14:37 +02:00
Boris Zbarsky
a10a5b4139
Bug 1389582. Drop classinfo stuff from Exception, since that's exposed via webidl bindings. r=peterv
...
MozReview-Commit-ID: 4BaYjfOdrUc
2017-08-31 09:12:14 -04:00
Sebastian Hengst
444f7c3600
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-08-31 14:39:13 +02:00
Sebastian Hengst
030c11d7dd
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: 4IUksc3Mn9i
2017-08-31 14:36:51 +02:00
Olli Pettay
beb48926f3
Bug 1394719 - Optimize HasRTLChars usage and reduce malloc/free, r=ehsan
...
--HG--
extra : rebase_source : 01deb3b015c31f48c80dc4e0cf518b5cf85be0d4
2017-08-31 14:54:46 +03:00
Olli Pettay
a046e03896
Bug 1393232, use nsStringBuffer for nsTextFragment::m2b r=ehsan
...
--HG--
extra : rebase_source : 97d77244766fbf18ae9eb7981ffe1b2c0b21fede
2017-08-31 14:48:07 +03:00
Xidorn Quan
d189e163c1
Bug 1393189 part 1 - Statically initialize builtin style table with their name atom included. r=dholbert
...
Doing this at compile time would save a bit of our startup time, which
I've promised to do since @counter-style was initially implemented, see
bug 966166 comment 103 (the paragraph with "constexpr").
Also, having this implemented here makes using atom instead of string
on name of builtin counter styles easier, for later patches.
MozReview-Commit-ID: C9HYcuShBQv
--HG--
extra : rebase_source : 273eb3d23ee770722d27b26aafaa291d7375b8ee
2017-08-29 14:44:14 +10:00
Alexandre Poirot
3675c8a0f9
Bug 1382377 - Make Console API be a no-op until DevTools are opened at least once. r=baku,jdescottes
...
MozReview-Commit-ID: 4xuzRQKH3Vg
--HG--
extra : rebase_source : f388a7222df314c988c3af20afb59684cc1045e5
2017-08-08 16:29:34 +02:00
Nicholas Nethercote
9251ef42b7
Bug 1394729 - Measure memory usage of Stylo's Rule Tree. r=heycam.
...
This patch splits up the existing "layout/style-sets" measurement into
"layout/gecko-style-sets", or "layout/servo-style-sets/stylist/rule-tree" and
"layout/servo-style-sets/other". (Additional things will be measured under
"layout/servo-style-sets/" later, such as cascade data.)
This requires introducing a new type, ServoStyleSetSizes, for transferring the
multiple measurements from Rust code to C++ code.
MozReview-Commit-ID: FbmzpsjBpgI
--HG--
extra : rebase_source : f2d1441705139e6674d355792255302fcd89f748
2017-08-30 18:21:26 +10:00
Wes Kocher
cf93b6ca0d
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: BlE0HFQUP9c
2017-08-31 16:56:58 -07:00
Honza Bambas
4263c50db2
Bug 1358060 - Allow postponing of unimportant resources opening during page load, class-of-service Tail flag. r=dragana
...
--HG--
extra : rebase_source : 1ab691fe066e641c948aa5f42827305411579708
2017-08-30 09:32:00 -04:00
Sebastian Hengst
a56d428b1f
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: Gf0QPFp52Bj
2017-08-30 11:05:16 +02:00
Bobby Holley
a4efa141db
Bug 1390951 - Assert harder against stylesheet type mismatches. r=xidorn
...
MozReview-Commit-ID: 1oB7FDxAZFt
2017-08-29 16:27:28 -07:00
Bobby Holley
1ffe80adee
Bug 1390951 - Use the same style backend when cloning documents. r=xidorn
...
MozReview-Commit-ID: F6HMAsSsNDa
2017-08-29 16:27:21 -07:00
Andrew McCreight
78807d8776
Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv
...
Replace it with NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION, because it
has been the same for a while.
MozReview-Commit-ID: 5agRGFyUry1
--HG--
extra : rebase_source : 5388c56b2f6905c6ef969150f0c5b77bf247624d
2017-08-29 16:02:48 -07:00
Wes Kocher
2198196808
Merge inbound to central, a=merge
...
MozReview-Commit-ID: G6QZZ8RGk6n
2017-08-29 16:14:22 -07:00
Sebastian Hengst
ca3d97b658
merge mozilla-central to autoland. r=merge a=merge
2017-08-29 20:31:58 +02:00
Sebastian Hengst
2a9cc8e3be
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: BQuBmVtsdki
2017-08-29 20:30:41 +02:00
Andreas Farre
4409a06dbb
Bug 1393764 - Reset execution budget if BudgetThrottlingEnabled returns false. r=bkelly
...
When BudgetThrottlingEnabled transitions from true to false, the
execution budget can be negative which will have the unfortunate
effect of limiting the number of timeouts run by
TimeoutManager::RunTimeout to zero. By resetting the execution budget
in UpdateBudget, when BudgetThrottlingEnabled returns false, we
prevent this loop from happening.
2017-08-29 16:44:24 +02:00
Ehsan Akhgari
731a8f470b
Bug 1392892 - Avoid creating a live nsContentList in nsDocument::GetTitleElement(); r=smaug
2017-08-29 07:33:21 -04:00
Ehsan Akhgari
399ce96953
Bug 1392891 - Part 3: Avoid creating live nsContentList objects in nsContentUtils::GenerateStateKey(); r=smaug
2017-08-29 07:30:26 -04:00
Ehsan Akhgari
d4f7cc1e85
Bug 1392891 - Part 1: Make it possible to create nsContentList objects that don't observe DOM mutations; r=smaug
2017-08-29 07:30:22 -04:00
Sebastian Hengst
558aede67b
merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE
2017-08-29 20:36:12 +02:00
Luke Wagner
abb577c772
Bug 1351488 - Avoid temporary RefPtr to silence rooting hazard (r=sfink)
...
MozReview-Commit-ID: IAvNr1PmEfp
--HG--
extra : rebase_source : 7efb22db6f2fb8da592af2db61ea5c882a12dd53
2017-08-29 10:38:49 -05:00
Chris H-C
28c67cf8bd
bug 1376600 - Remove registered(Keyed)Histograms r=Dexter
...
With the removal of the old addonHistograms, all histograms are now registered.
So removing registered(Keyed)Histograms should be straightforward?
Unfortunately not, as this was how we filtered data based on dataset
(opt-in/opt-out), so a little more fiddling was needed to get C++ to only
serialize dataset-appropriate data (instead of post-facto filtering it in JS).
MozReview-Commit-ID: HDplhmzmzJl
--HG--
extra : rebase_source : 9c38c97e39e3c4fb192288d751505e1f0f2a2c6d
2017-08-22 09:42:09 -04:00
Samael Wang
fbc657f448
Bug 1368327 - Do not assert aDocShell in Location, since it's actually possible to be nullptr. r=smaug
...
MozReview-Commit-ID: ArqkI8TUf8r
--HG--
extra : rebase_source : 9d6850bb6f27293a8e68ecc5c521e4ae769da455
2017-08-28 17:12:47 +08:00
Alphan Chen
a4b3316c2e
Bug 1387903 - Use the fallible variant of CopyASCIItoUTF16 to avoid OOM large crash. r=baku
...
--HG--
extra : rebase_source : 4a3884a65059115248a02510207ab13c891f63f6
2017-08-29 15:14:41 +08:00