Commit Graph

611997 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
541e942cb1 Bug 1487649 - Don't do a name check when cloning a shadow root for print preview. r=smaug
Otherwise the ShadowRoot for <use> or other internal ones may not get cloned
properly.

Differential Revision: https://phabricator.services.mozilla.com/D4756

--HG--
extra : moz-landing-system : lando
2018-09-03 14:10:58 +00:00
Kershaw Chang
766fce11a1 Bug 1357676 - Implement batch eviction r=jdm
1. Add network.cookie.QuotaPerHost, which has the default value 150.
2. When the cookies exceed more than 180, evict cookies to 150.
3. The concept of eviction is to sort all cookies by whether the cookie is expired and the cookie's last access time. Then, evict cookies by the given count.
4. Details of evict algorithm:
   4.1 Create a priority queue and push all cookies in it.
   4.2 Use custom comparator to compare the cookie by expiry and last access.
   4.3 Pop 30(180 - 150) cookies from the queue and append them to an output array.

Differential Revision: https://phabricator.services.mozilla.com/D3342

--HG--
extra : moz-landing-system : lando
2018-09-03 14:49:58 +00:00
ffxbld
9e951cf226 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D4852

--HG--
extra : moz-landing-system : lando
2018-09-03 13:16:32 +00:00
Luca Greco
1ca131a754 Bug 1487836 - Fix innerWindowID used for the WebExtensions devtools API eval denied errors. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D4782

--HG--
extra : moz-landing-system : lando
2018-09-03 06:29:21 +00:00
Emilio Cobos Álvarez
90fb0f988a Bug 1488172 - Fix Servo and unit tests build. r=me 2018-09-03 14:13:36 +02:00
Emilio Cobos Álvarez
09b97d9474 Bug 1488172 - Revendor rust dependencies. r=me 2018-09-03 14:13:36 +02:00
Emilio Cobos Álvarez
e7f946a575 Bug 1488172 - Update bindgen in js/rust as well. r=me
Upstream already uses this version of bindgen.
2018-09-03 14:13:36 +02:00
Simon Sapin
6223dfe2a5 Bug 1488172 - Update bindgen to 0.39.0. r=emilio
This imports servo/servo#21516.
2018-09-03 14:14:02 +02:00
Simon Sapin
4970761136 Bug 1488172 - Publish selectors v1.20.0. r=emilio
This imports servo/servo#21494.
2018-09-03 14:13:36 +02:00
Emilio Cobos Álvarez
84ee4596a9 Bug 1488172 - Appease Servo's tidy lint. r=me 2018-09-03 14:13:36 +02:00
Craig Disselkoen
80876a6b23 Bug 1488172 - Remove outdated comment in stylist.rs. r=emilio
This imports servo/servo#21487.
2018-09-03 14:13:36 +02:00
Andrei Lazar
e67236138a Bug 1486432 Leanplum push notifications are not received on devices with Android O or above r=JanH,flod
Added a default channel for Leanplum push notifications as fallback to cover the cases where we receive
push notifications from server with an invalid channel and the case where there are no channels configured
on server.

Provided a valid default icon for push notifications in Leanplum required for fallback strategy.

Differential Revision: https://phabricator.services.mozilla.com/D4704

--HG--
extra : moz-landing-system : lando
2018-09-03 10:21:51 +00:00
Ciure Andrei
8aa812c6cc Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-03 12:38:53 +03:00
Ciure Andrei
e136281b52 Merge inbound to mozilla-central. a=merge 2018-09-03 12:35:26 +03:00
Henri Sivonen
791116f2af Bug 1484988 - Avoid writing past the logical length of a string in Toolkit. r=froydnj
Also remove a useless call to SetCapacity().

MozReview-Commit-ID: LarsWKI3qwz

Differential Revision: https://phabricator.services.mozilla.com/D3882

--HG--
extra : moz-landing-system : lando
2018-09-03 06:51:33 +00:00
Dorel Luca
298b74c266 Backed out changeset a0621cac7491 (bug 1486252) for wpt failures on /css/css-masking/mask-image/mask-image-url-remote-mask.html 2018-09-03 07:15:08 +03:00
Xidorn Quan
5f974d420f Bug 1486252 - Resolve mask-image url value as an image even if it contains reference. r=heycam
The corresponding handling code in the old style system can be found in:
https://dxr.mozilla.org/mozilla-esr60/rev/dd52b41d2b775e5c7261ce52795268b7670635fc/layout/style/nsCSSDataBlock.cpp#65-106

mask-iage-url-hash.html is the test that don't pass without this change.

Differential Revision: https://phabricator.services.mozilla.com/D4831

--HG--
extra : rebase_source : 94148470e6f242f16ce2d582cb81ec1200c4a4d5
extra : source : a80ec5b139024307cf93053a8cfd38cd26a86629
2018-09-03 13:24:16 +10:00
Dorel Luca
b2e2a93ed8 Backed out changeset 991f66df3251 (bug 1486252) for eslint failure. CLOSED TREE 2018-09-03 05:12:22 +03:00
Xidorn Quan
1f1e9d35b0 Bug 1486252 - Resolve mask-image url value as an image even if it contains reference. r=heycam
The corresponding handling code in the old style system can be found in:
https://dxr.mozilla.org/mozilla-esr60/rev/dd52b41d2b775e5c7261ce52795268b7670635fc/layout/style/nsCSSDataBlock.cpp#65-106

mask-iage-url-hash.html is the test that don't pass without this change.

Differential Revision: https://phabricator.services.mozilla.com/D4831

--HG--
extra : moz-landing-system : lando
2018-09-03 01:02:04 +00:00
Emilio Cobos Álvarez
9db4ab4300 Bug 1487615 - Simplify the Lang pseudo-class stuff a bit. r=xidorn,firefox-style-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D4754

--HG--
extra : moz-landing-system : lando
2018-09-02 22:54:12 +00:00
Emilio Cobos Álvarez
51ed361ea0 Bug 1487615 - Use proper escaping for pseudo-class strings. r=xidorn
We always serialize as an atom, which is the previous behavior (though previous
code was using string escaping which I think was not totally sound either...).

Differential Revision: https://phabricator.services.mozilla.com/D4753

--HG--
extra : moz-landing-system : lando
2018-09-02 22:54:57 +00:00
Emilio Cobos Álvarez
5b48747b22 Bug 1487137 - Shrink CascadeData by turning the bloom filters into hash sets. r=xidorn
We're wasting 1kb there, which is kind of stupid.

The only advantage of using a bloom filter is that memory usage doesn't increase
even if there's a gazillion attribute selectors and such. But:

 * For IDs we already have a bunch of data structures for invalidation and such
   which key on the id, so the bloom filter would be a very minor thing.

 * For attribute selectors we don't have such a data structure, but if people
   used a gazillion attribute selectors we should!

Differential Revision: https://phabricator.services.mozilla.com/D4668

--HG--
extra : moz-landing-system : lando
2018-09-02 23:03:47 +00:00
Belén Albeza
2d4733b9f8 Bug 1449955 - Server-side test for walker + shadow DOM r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D4675

--HG--
extra : moz-landing-system : lando
2018-09-01 08:31:35 +00:00
timeless
c956741452 Bug 1487889 - Add missing whitespace for certErrorMismatchSinglePrefix1. r=johannh
--HG--
extra : source : 9cbc8592d649c3876156e78fb9539038913435e6
extra : histedit_source : b232208157581922fdf7cda83d05889c518b395e
2018-08-31 17:04:40 -04:00
Nicholas Nethercote
09a6eb41df Bug 1487328 - Make nsSHistory *not* implement nsIWebNavigation. r=nika
nsSHistory currently implements nsIWebNavigation, but only three of the methods
are actually used, and the rest call MOZ_CRASH. This patch removes the
inheritance and changes the implementations of those three methods (Reload(),
GetCurrentURI(), and GotoIndex()) to pure C++.

There is one test, bug662200_window.xul, that calls Reload() from JS, which is
no longer possible. Fortunately, nsSHistory::ReloadCurrentEntry() -- which *is*
available from JS -- is similar enough to Reload(0) that it can be used
instead.

(The only difference between Reload(0) and ReloadCurrentEntry() is that the
former triggers the `OnHistoryReload` notification and the latter triggers
`OnHistoryGotoIndex`, which doesn't matter for this test.)

--HG--
extra : rebase_source : 69dba04f14b1438f50f597f3d16b77225795f8a7
2018-09-03 09:27:37 +10:00
Nicholas Nethercote
70d22aa86a Bug 1487328 - Remove nsISHistoryListener.OnHistoryGo{Back,Forward}. r=nika
As per the previous commit, they are now subsumed by OnHistoryGotoIndex.

--HG--
extra : rebase_source : 627a32ed9378c7dd5364323183297933f90f9d72
2018-09-03 09:27:37 +10:00
Nicholas Nethercote
6347de0109 Bug 1487328 - Clarify which nsIWebNavigation methods in nsSHistory are unreachable. r=nika
The only ones that are reachable are GotoIndex(), GetCurrentURI(), and
Reload(). This patch makes all the others crash.

Note that the reason that Go{Back,Forward}() are unreachable is because of this
behaviour in ChildHistory::Go():

  // XXX(nika): Should we turn Go(-1) and Go(1) to call GoForward and GoBack?
  // They technically fire different change events but I couldn't find anyone
  // who cares, so I'm inclined not to.

I.e. those functions are now subsumed by GotoIndex().

As for CanGo{Back,Forward}(), a try push plus code inspection confirm that they
are unused.

--HG--
extra : rebase_source : 6509e635478f257be1271b51d352e0a9d81899ec
2018-09-03 09:27:37 +10:00
Xidorn Quan
0e6aaf6ad2 Bug 1487978 - Fix C4305 warning on msvc from bug 1471086.
--HG--
extra : source : df5db1b081cb7c3dc28695a6efd91e2ab8d8d66a
2018-09-03 11:45:32 +10:00
Brian Hackett
dc1aeebdd0 Bug 1486591 - Run devtools server code in recording process when middleman can't rewind, r=mccr8.
--HG--
extra : rebase_source : 10e0626fe1de9001d6c2e99819809dcd5c1738f4
2018-09-02 12:38:24 -10:00
James Teh
fca9213cd0 Bug 1322621: If aria-activedescendant is removed or changed to an invalid id while an element is focused, move accessible focus to the element itself. r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D4732

--HG--
extra : moz-landing-system : lando
2018-08-31 07:00:59 +00:00
Brian Birtles
f65cdf6190 Bug 1487195 - Add BUG_COMPONENT metadata for new "Core :: CSS Transitions and Animations" component; r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D4742

--HG--
extra : moz-landing-system : lando
2018-09-02 23:47:52 +00:00
Dorel Luca
701531d0ae Merge mozilla-central to autoland 2018-09-03 00:34:09 +03:00
Dorel Luca
a5170a3f30 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-03 00:29:40 +03:00
Jan Henning
75f22f0fe1 Bug 1479532 - Part 1 - Create notification channel for receiving synced tabs. r=jchen
Differential Revision: https://phabricator.services.mozilla.com/D4366

--HG--
extra : moz-landing-system : lando
2018-09-02 20:09:09 +00:00
Bob Clary
50db179805 Bug 1486899 - Do not use virtualenv_options.append('--always-copy') on Redhat derived distros, r=jlund,ahal. 2018-09-02 08:08:46 -07:00
Mark Banner
b947b7b13d Bug 1487783 - Create a basic directory & format for the new components of the address bar rewrite. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D4772

--HG--
extra : moz-landing-system : lando
2018-09-02 08:30:49 +00:00
Narcis Beleuzu
28a443cd37 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-09-02 01:00:31 +03:00
Narcis Beleuzu
721842eed8 Merge inbound to mozilla-central. a=merge 2018-09-02 00:56:16 +03:00
Jonathan Kew
b5d54610de Bug 1487098 - Reorder boolean expression to take advantage of short-circuiting. r=decoder 2018-09-01 22:41:59 +01:00
Boris Zbarsky
295c5598a9 Bug 1487237. Add some content lists stored in DOM slots to memory reporting. r=smaug
This reports the memory as part of element-nodes, but I think that's OK for
now.  If we want to, we can try to add more nsWindowSizes buckets for this stuff.

Differential Revision: https://phabricator.services.mozilla.com/D4811

--HG--
extra : moz-landing-system : lando
2018-09-01 14:55:47 +00:00
Brian Hackett
64461d833e Bug 1486619 - Handle empty regions when drawing in recording/replaying processes, r=nical.
--HG--
extra : rebase_source : b65fdda4a0ae2a527cffbdfe842eefe1c92cf13a
2018-08-31 05:36:12 -10:00
Brian Hackett
cfe3b9a606 Bug 1486616 - Execute record/replay triggers when finalizing deferred things, r=mccr8.
--HG--
extra : rebase_source : 1b3091755ceaa78836e6fd40cb3af4ceedbebdbe
2018-08-31 05:35:36 -10:00
Brian Hackett
1561d566c9 Bug 1486609 - Ignore message priorities in recording/replaying processes, r=mccr8.
--HG--
extra : rebase_source : 1d74a58a6bf8ef02497bf778b0c428499a9f40d8
2018-08-31 05:34:18 -10:00
Brian Hackett
4d3ad5a928 Bug 1486573 - Track changes to nsPipeOutputStream writer count, r=froydnj.
--HG--
extra : rebase_source : f6a62ea3572e29424851c29c5b9526aab9d29bf5
2018-08-31 05:26:27 -10:00
Brian Hackett
90a7d3e20d Bug 1486570 - Don't create finalization witnesses when recording or replaying, r=froydnj.
--HG--
extra : rebase_source : a929cc4a651bc1121abf72fb85d69ed93b84c25c
2018-08-31 05:25:50 -10:00
Brian Hackett
ecc7252452 Bug 1486565 - Don't initialize cubeb when recording/replaying, r=kinetik.
--HG--
extra : rebase_source : 7b6302026c1f64fa5e92f26bd6162d55888fcfe9
2018-08-31 05:24:38 -10:00
Brian Hackett
44f3ddf9d7 Bug 1486562 - Record reference count changes for SourceListener, r=jib.
--HG--
extra : rebase_source : efd7935de09e85e15d6bd77fd65a49c42be7ff6f
2018-08-31 05:24:09 -10:00
Brian Hackett
8b21da2df9 Bug 1486556 - Avoid unlocking the helper thread state lock after looking for tasks to perform, r=jandem.
--HG--
extra : rebase_source : 1e5d20a7fbda4b982a83615fe52f2981ea8e2a80
2018-08-31 05:21:44 -10:00
Brian Hackett
b6e6c95bc0 Bug 1479909 Part 3 - Disable DOM Ion optimizations when recording or replaying, r=bz.
--HG--
extra : rebase_source : 6ed5bc0e1dbc3a1e53b6fa5411a85e5c5f264271
extra : histedit_source : 93d762ec8c21ea54c8a21450bd16a9349a10918f
2018-08-30 11:59:56 -10:00
Brian Hackett
42f124067c Bug 1479909 Part 2 - Give replaying processes more time to execute before treating them as hanged, r=mccr8.
--HG--
extra : rebase_source : 70ab2c73200c0e122edb89c93503b215bc0d77ab
2018-08-30 11:59:24 -10:00