Emilio Cobos Álvarez
d794437a17
Bug 1509989, bug 1505887 - Add a crashtest.
2018-11-27 11:43:23 +01:00
Emilio Cobos Álvarez
3b96bec450
Bug 1505887 - Fix FindChromeAccessOnlySubtreeOwner so that we handle UA widget being ChromeOnlyAccess root. r=smaug
...
A single video controls test crashed without this, while dereferencing
a null anonOwnerRelated in:
https://searchfox.org/mozilla-central/rev/c0b26c40769a1e5607a1ae8be37fe64df64fc55e/dom/base/FragmentOrElement.cpp#964
I think this is the right fix for it, but the code that uses this is kind of
complex, so worth double-checking... :)
2018-11-27 11:41:16 +01:00
Emilio Cobos Álvarez
3e9ed9a373
Bug 1505887 - Make CanCallerAccess(nsINode*) know about chromeonly content. r=bz
...
Differential Revision: https://phabricator.services.mozilla.com/D11409
2018-11-27 11:40:41 +01:00
Emilio Cobos Álvarez
13f4dca274
Bug 1505887 - Make UAWidgets chromeonly content. r=bz
...
Differential Revision: https://phabricator.services.mozilla.com/D11408
2018-11-27 11:40:16 +01:00
Jefry Lagrange
d67a0a3656
Bug 1508584 - Add some space between console message and file name. r=nchevobbe
2018-11-26 09:26:00 +02:00
Tooru Fujisawa
2fb7f140d1
Bug 1509768 - Handle the case that String#replace is called with a empty string pattern on a rope. r=evilpie
2018-11-27 19:18:52 +09:00
Razvan Maries
c42a48b21b
Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
2018-11-27 11:48:45 +02:00
Razvan Maries
0859e6b10f
Merge mozilla-inbound to mozilla-central a=merge
2018-11-27 11:43:31 +02:00
Andreea Pavel
5ca60109d1
Backed out 3 changesets (bug 1503681) for landing incorrectly on a CLOSED TREE
...
Backed out changeset 9aa0df597d30 (bug 1503681)
Backed out changeset c7483919d6be (bug 1503681)
Backed out changeset 99ae47766ba9 (bug 1503681)
2018-11-27 10:42:27 +02:00
Andrea Marchesini
c4423c6d0c
Bug 1503681 - rel=noopener implicit for target=_blank in anchor and area elements when no rel attribute is set - disabled by default, r=me
2018-11-27 09:37:03 +01:00
Andrea Marchesini
6656936b32
Bug 1503681 - rel=noopener implicit for target=_blank in anchor and area elements when no rel attribute is set - WPT, r=annevk
2018-11-27 09:31:47 +01:00
Andrea Marchesini
f6fc81164f
Bug 1503681 - rel=noopener implicit for target=_blank in anchor and area elements when no rel attribute is set, r=nika
...
In case anchor and area elements have target=_blank and no rel=opener/noopener,
this patch makes so that rel=noopener is implied. This feature is behind pref
'dom_targetBlankNoOpener_enabled'.
See: https://github.com/whatwg/html/issues/4078
2018-11-27 09:31:47 +01:00
Andrea Marchesini
c55d254325
Bug 1508824 - SharedWorker.onconnect event should be a MessageEvent with an empty string as data, r=asuth
2018-11-27 08:44:47 +01:00
Andrea Marchesini
bc5b682ce2
Bug 1508827 - Remove unused WPT ini files for EventSource, r=asuth
2018-11-27 08:44:46 +01:00
Andreea Pavel
74cd2bf73e
Backed out 8 changesets (bug 1446161, bug 1487287, bug 1488993, bug 1474991, bug 1496608) for very frequent automation.py crashes on a CLOSED TREE
...
Backed out changeset 8b1f88d7bfeb (bug 1487287)
Backed out changeset 8fa5e81ad801 (bug 1487287)
Backed out changeset 7a480161fa0f (bug 1474991)
Backed out changeset 80116391b7fe (bug 1446161)
Backed out changeset 1bdf64b29121 (bug 1446161)
Backed out changeset 37bf52f0e9cf (bug 1446161)
Backed out changeset 8ede2ebe6b7a (bug 1496608)
Backed out changeset cea43bc88c7a (bug 1488993)
2018-11-27 08:53:18 +02:00
Daniel Varga
ef4c0efcc4
Merge mozilla-central to autoland. a=merge on a CLOSED TREE
2018-11-27 07:36:22 +02:00
Dorel Luca
fbe4ae9803
Backed out 6 changesets (bug 1159042) for crashtest failures. CLOSED TREE
...
Backed out changeset fe77c09dee31 (bug 1159042)
Backed out changeset db0e173a6ed2 (bug 1159042)
Backed out changeset 080b9ceee8ec (bug 1159042)
Backed out changeset 6a5191742ca1 (bug 1159042)
Backed out changeset 3a86c3e65d44 (bug 1159042)
Backed out changeset 845bc8316b05 (bug 1159042)
2018-11-27 06:30:07 +02:00
Geoff Brown
829a65fd2e
Bug 1483478 - Store memory dump artifacts in awsy-lite; r=glandium
2018-11-26 17:59:05 -07:00
Nathan Froyd
213e4e231d
Bug 1509927 - use a little more KnownNotNull placement new in MFBT; r=njn
...
This change avoids some useless null checks.
2018-11-26 18:51:35 -05:00
Coroiu Cristina
9983cec79a
Merge mozilla-central to inbound a=merge on a CLOSED TREE
2018-11-27 01:04:58 +02:00
Coroiu Cristina
9f7204e754
Merge inbound to mozilla-central a=merge
2018-11-27 00:34:45 +02:00
Geoff Brown
a5ac70eeab
Bug 1381451 - Skip test browser_819510_perwindowpb.js on remaining platforms; r=me,a=test-only
2018-11-26 15:05:27 -07:00
Steve Fink
0b6dcf0862
Bug 1509992 - turn off Windows Jit job, r=jmaher
...
--HG--
extra : rebase_source : ef9b9f37b758d09d1b0534fe45787cc4f589ca5f
2018-11-26 12:12:50 -08:00
Ehsan Akhgari
923b4f06ad
Bug 1503074 - Only touch the FX_TAB_SWITCH_COMPOSITE_E10S_MS stopwatch when we have actually started it in the past
...
Differential Revision: https://phabricator.services.mozilla.com/D12966
--HG--
extra : moz-landing-system : lando
2018-11-26 19:16:09 +00:00
Ehsan Akhgari
2aea5bbb1a
Bug 1508044 - Part 4: Make nsChannelClassifier use nsContentUtils::IsThirdPartyWindowOrChannel() in order to avoid having duplicated logic r=francois
...
Depends on D12853
Differential Revision: https://phabricator.services.mozilla.com/D12854
--HG--
extra : moz-landing-system : lando
2018-11-27 00:46:50 +00:00
Ehsan Akhgari
5dfda8ee14
Bug 1508044 - Part 3: Ensure that the third-party checks performed on channels in nsContentUtils::IsThirdPartyWindowOrChannel() follow the same logic as those performed in nsChannelClassifier r=francois
...
Depends on D12852
Differential Revision: https://phabricator.services.mozilla.com/D12853
--HG--
extra : moz-landing-system : lando
2018-11-27 00:43:20 +00:00
Ehsan Akhgari
64798d5a07
Bug 1508044 - Part 2: Check the return values of mozIThirdPartyUtil::IsThirdPartyFoo() in nsContentUtils::IsThirdPartyWindowOrChannel() r=francois
...
Differential Revision: https://phabricator.services.mozilla.com/D12852
--HG--
extra : moz-landing-system : lando
2018-11-27 00:38:52 +00:00
WR Updater Bot
cc5d0e0605
Bug 1510085 - Update webrender to commit 05bdcae134d73aca7bb48358e91de1f8aef27773 (WR PR #3354 ). r=kats
...
https://github.com/servo/webrender/pull/3354
Differential Revision: https://phabricator.services.mozilla.com/D13029
--HG--
extra : moz-landing-system : lando
2018-11-27 02:54:00 +00:00
WR Updater Bot
681c0f4ec1
Bug 1510084 - Update webrender to commit 35027d93aded8c0a7887dadc8aef5e393171e802 (WR PR #3348 ). r=kats
...
https://github.com/servo/webrender/pull/3348
Differential Revision: https://phabricator.services.mozilla.com/D13028
--HG--
extra : moz-landing-system : lando
2018-11-27 02:53:43 +00:00
WR Updater Bot
ef022fddde
Bug 1510082 - Update reftest annotations for changes in WR PR #3346 . r=kats
...
Depends on D13026
Differential Revision: https://phabricator.services.mozilla.com/D13027
--HG--
extra : moz-landing-system : lando
2018-11-27 02:53:03 +00:00
WR Updater Bot
0d52f7e529
Bug 1510082 - Update webrender to commit e2e52b1145ad959191c0612edd41b0b189cf6b59 (WR PR #3346 ). r=kats
...
https://github.com/servo/webrender/pull/3346
Differential Revision: https://phabricator.services.mozilla.com/D13026
--HG--
extra : moz-landing-system : lando
2018-11-27 02:52:50 +00:00
WR Updater Bot
1669ae2beb
Bug 1510078 - Update webrender to commit f450af9277e2474e2a2a2c1358689ca9486e2a09 (WR PR #3345 ). r=kats
...
https://github.com/servo/webrender/pull/3345
Differential Revision: https://phabricator.services.mozilla.com/D13025
--HG--
extra : moz-landing-system : lando
2018-11-27 01:16:27 +00:00
Erica Wright
600ada9890
Bug 1501990 - Add a mode label to the Content Blocking section in the control center. r=johannh,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D12717
--HG--
extra : moz-landing-system : lando
2018-11-26 16:59:19 +00:00
Valentin Gosu
a6efc6d0af
Bug 1260527 - Change HttpChannelChild to open IPDL earlier than AsyncOpen r=kershaw,dragana
...
Since we need the loadInfo to set up the IPDL connection, we move the logic to
do so from HttpChannelChild::AsyncOpen to HttpChannelChild::SetLoadInfo
via InitIPCChannel.
It would have been nicer to do so in HttpChannelChild::Init, but
I ran into issues with view-source channels, which required an ugly hack.
Also note that RemoteChannelExists() preserves the existing contract - it is
true between asyncOpen and onStopRequest - but the name is slightly off, as
the channel has already been open by the time we call asyncOpen. We will fix
this in a follow-up.
Differential Revision: https://phabricator.services.mozilla.com/D12419
--HG--
extra : moz-landing-system : lando
2018-11-26 17:38:42 +00:00
Andreas Pehrson
0b4013a03e
Bug 1306999 - Change from "playing" to "loadeddata" before assuming there's a video frame. r=jib
...
Differential Revision: https://phabricator.services.mozilla.com/D12929
--HG--
extra : moz-landing-system : lando
2018-11-26 16:54:13 +00:00
Raphael Pierzina
b8fdb7b849
Bug 1509879 - Fix TypeError in firefox-puppeteer's TabBar.close_all_tabs(); r=davehunt
...
Differential Revision: https://phabricator.services.mozilla.com/D12921
--HG--
extra : moz-landing-system : lando
2018-11-26 16:50:15 +00:00
Dão Gottwald
fbccdb1f61
Bug 1509488 - Use keydown handler instead of <key> for Shift+Ctrl+Tab. r=jaws
...
Differential Revision: https://phabricator.services.mozilla.com/D12744
--HG--
extra : moz-landing-system : lando
2018-11-26 16:07:07 +00:00
Diego Pino Garcia
d493028e02
Bug 1470196 - Show the month name after the month number in the cc-exp-month dropdown r=MattN
...
--HG--
extra : rebase_source : dab71b73d0f4e87e3d655f237d7bcc7a98dee01e
2018-11-22 23:22:00 +02:00
Nathan Froyd
c594293416
Bug 1460674 - part 4 - update gdb pretty-printing to grok the new layout; r=tromey
2018-11-26 16:24:49 -05:00
Nathan Froyd
790af83dcc
Bug 1460674 - part 3 - make PLDHashTable iteration faster; r=njn
...
The core loop of Iterator::Next() requires multiple branches, one to
check for entry liveness and one to check for wraparound. We can
rewrite this to use masking instead, as well as iterating only over the
hashes, and reconstructing the entry pointer when we know we've reached
a live entry. This change cuts the time taken on the collections
benchmark by the iteration portion in half.
2018-11-26 16:24:50 -05:00
Nathan Froyd
529e9249dd
Bug 1460674 - part 2 - reorganize PLDHashTable's internal storage; r=njn
...
As discussed in the previous commit message, PLDHashTable's storage
wastes space for common entry types. This commit reorganizes the
storage to store all the hashes packed together, followed by all the
entries, which eliminates said waste.
2018-11-26 16:24:50 -05:00
Nathan Froyd
d848c8a50e
Bug 1460674 - part 1 - change PLDHashTable internals to work on slots; r=njn
...
PLDHashTable requires that all items stored therein inherit from
PLDHashEntryHdr:
struct PLDHashEntryHdr {
// PLDHashNumber is a uint32_t.
PLDHashNumber mKeyHash; // Cached hash key for object.
};
class MyType : public PLDHashEntryHdr {
// Data members, etc.
};
PLDHashEntryHdr::mKeyHash is used to cache the computed hash value of
the entry, so we aren't rehashing entries on every lookup/add/etc.
Because of structure layout requirements on 64-bit platforms, the data
members of MyType will typically start at offset 8:
MyType, offset 0: mKeyHash
MyType, offset 4: padding required by alignment
MyType, offset 8: first data member of MyType
MyType, offset N: ...
The padding at offset 4 is dead, unused space.
We'd like to change this state of affairs by having PLDHashTable manage
the cached hash key itself, which would eliminate the dead space in the
object and would enable packing the table storage more tightly. But
PLDHashTable pervasively assumes that its internal storage is an array
of PLDHashEntryHdrs (with an associated object size to account for
subclassing).
As a first step to laying out the hash table storage differently, we
have to make the internals of PLDHashTable not access PLDHashEntryHdr
items directly, but layer an abstraction on top. We call this
abstraction "slots": a slot represents storage for the cached hash key
and the associated entry, and can produce a PLDHashEntryHdr* on demand.
2018-11-26 16:24:50 -05:00
Nathan Froyd
7c8ce06436
Bug 1460674 - part 0b - stop trying to be const-correct in Get(); r=njn
...
The only place where this is used where the const-ness matters is in
AddressEntry, and that use const_cast's away the const-ness. So let's
just ditch the method that attempts to return const pointers.
2018-11-26 16:24:50 -05:00
Nathan Froyd
d98ab29fdb
Bug 1460674 - part 0a - store the hash table entry size in iterators; r=njn
...
This change is satisfying insofar as it removes a load from every
iteration step over the hashtable, but it doesn't seem to affect
our collection benchmarks in any way. The change does not make
iterators any larger, as there is padding at the end of the iterator
structure on both 32- and 64-bit platforms.
2018-11-26 16:24:50 -05:00
Daniel Varga
5428f49924
Backed out changeset 0db8bd8fbcad (bug 1127565) for linting failure at /builds/worker/checkouts/gecko/python/mozboot/mozboot/bootstrap.py:302:9
2018-11-26 22:35:02 +02:00
Ryan Hunt
bb77729abc
Bug 1508789 - Add tests for 'pointer-events: none' on the root element. r=mstange
...
Depends on D12500
Differential Revision: https://phabricator.services.mozilla.com/D12622
--HG--
extra : moz-landing-system : lando
2018-11-22 14:15:21 +00:00
Ryan Hunt
3bb5661553
Bug 1508789 - Force 'pointer-events: auto' used value for root content. r=mstange
...
It seems that other browsers don't allow 'pointer-events: none' on the root content,
and this can cause us interoperability issues.
Differential Revision: https://phabricator.services.mozilla.com/D12500
--HG--
extra : moz-landing-system : lando
2018-11-22 14:16:14 +00:00
Patrick Brosset
2a90173ad1
Bug 1509070 - Add histogram to track the type of flex elements selected r=miker
...
Differential Revision: https://phabricator.services.mozilla.com/D12564
--HG--
extra : moz-landing-system : lando
2018-11-26 16:39:23 +00:00
Kartikaya Gupta
9161329de8
Bug 1508652 - Put WR captures on Android into the external files dir. r=snorp,kvark
...
Differential Revision: https://phabricator.services.mozilla.com/D12769
--HG--
extra : moz-landing-system : lando
2018-11-26 16:26:19 +00:00
Agi Sferro
a20e4c23c7
Bug 1458668 - Enforce changelog for GeckoView; r=snorp
...
This patch integrates with apilint changelog feature to ensure we update the
changelog file every time the api changes.
It also adds a high level overview of the changes in v65.
See also: https://github.com/mozilla-mobile/gradle-apilint#changelog
Differential Revision: https://phabricator.services.mozilla.com/D12550
--HG--
extra : moz-landing-system : lando
2018-11-26 16:27:06 +00:00