Commit Graph

606297 Commits

Author SHA1 Message Date
Andreas Farre
1d151a57c8 Bug 1445659 - Create basic Browsing Context in Content Parent and Child. r=peterv
Add BrowsingContext to allow the tree structure of docshells to exist
in several processes simultaneously. This is a first step towards
allowing a tree structure preserving separation of docshells across
processes.

--HG--
extra : histedit_source : d3c7f6ab4b9ae76f170c126d669ebd570e52f348
2018-07-26 10:31:00 +03:00
Andreas Farre
b5730bd2b0 Bug 1445659 - Make it possible to store RefPtr<T> in AutoCleanLinkedList. r=froydnj
Add a trait method that AutoCleanLinkedList delegates to for calling
delete on non-refcounted list elements.

--HG--
extra : histedit_source : 5e8b05f348d734d9045621d858caed946853fc02
2018-06-13 06:25:00 +03:00
Andreea Pavel
1ea5273b59 Backed out 3 changesets (bug 1378808) for failing spidermonkey builds on a CLOSED TREE
Backed out changeset 8658a25ee96b (bug 1378808)
Backed out changeset e761b8eef0aa (bug 1378808)
Backed out changeset b14186c3f895 (bug 1378808)
2018-07-27 23:06:00 +03:00
Kristen Wright
806241e4f4 Bug 1476141 - updated test files to handle a new coarsetype r=jimb
Some test files were affected by adding a new CoarseType, particularly in XPCShell tests. New rules were added to handle this CoarseType, and in a few cases the IDs of deserialized nodes had to be adjusted. The colors of CoarseTypes have also changed slightly and the resulting tests had to be updated.

--HG--
extra : histedit_source : 99db02f1b6acafb1376f71af3b8fceb9adbbb8e0
2018-07-17 16:23:29 -07:00
Kristen Wright
927abec5f2 Bug 1476141 - JS::ubi::Nodes represent DOM structure in more detail r=KrisWright
Added a new CoarseType that refers to DOM nodes. Updated the trees to represent the CoarseType. Created a new type of count in the heap snapshot that sorts the data by a more descriptive type name. Created the descriptive in JS::ubi::Base.

--HG--
extra : histedit_source : be24efa4d2ccb85e82046d7cf7d2c3a1e13b1fd7
2018-07-16 14:42:07 -07:00
Calixte Denizet
38484d357e Bug 1474254 -- Disable test Jemalloc.JunkPoison for Windows ccov builds.
Summary: GTest is permafailing on Windows because of timeout.

Reviewers: glandium

Reviewed By: glandium

Bug #: 1474254

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

--HG--
extra : rebase_source : cea68e50f96a1788bf15dc6ca7859e5f698a6209
2018-07-27 22:48:14 +03:00
Logan F Smyth
265292f1cd Bug 1378808 - Use ::Arguments or ::PropertyName location for method call column offsets. r=jorendorff
MozReview-Commit-ID: G8mG1qsIO21
2018-07-27 15:34:57 -04:00
Logan F Smyth
ad1c4ebb1d Bug 1378808 - Add a new ParseNodeKind::PropertyName to hold location information about property access name. r=jorendorff
MozReview-Commit-ID: J4vHz4ln5Zt
2018-07-27 15:33:12 -04:00
Logan F Smyth
f01ca0e4fe Bug 1378808 - Add a new ParseNodeKind::Arguments node type for call argument lists. r=jorendorff
MozReview-Commit-ID: 7L4nNHjVoZo
2018-07-27 15:31:46 -04:00
Ekanan Ketunuti
0357874225 Bug 1477961 - Add words to en-US dictionary. r=ehsan 2018-07-27 06:59:07 +07:00
dvarga
edd9f3a3d9 Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2018-07-27 20:55:06 +03:00
dvarga
d78485112a Merge inbound to mozilla-central. a=merge 2018-07-27 20:42:15 +03:00
Jed Davis
652dac8690 Bug 1447867 - Replace base::SharedMemory POSIX backend with shm_open and ashmem. r=froydnj
This replaces using file_util to open and unlink temporary files
(/dev/shm on Linux, $TMPDIR or /tmp otherwise) with the POSIX shm_open
API, or ashmem on Android (which doesn't implement shm_open).

glibc maps shm_open/shm_unlink to open and unlink in /dev/shm (as does
musl libc), so the Linux situation is mostly unchanged except we aren't
duplicating code from system libraries.  Other OSes may (and some do)
use more efficient implementations than temporary files.

FreeBSD's SHM_ANON extension is used if available.  Sadly, it's not
standard; it would make this patch much simpler if it were.

This patch changes the shm file names; they now start with "org.mozilla"
instead of "org.chromium" because the original Chromium code is mostly
gone at this point.  When running as a Snap package, the required
filename prefix is added; other container/sandbox environments using
AppArmor to restrict the allowed filenames may need to be adjusted.

The shm names now include the creating process's pid, to allow
using sandboxing to prevent interfering with shm belonging to other
applications or other processes within the same browser instance.

MozReview-Commit-ID: 7PirIlcblh4
2018-07-27 10:10:25 -06:00
Nathan Froyd
501b992f9a Bug 1435409 - use our own clang rather than the NDK clang to build Android; r=nalexander 2018-07-27 09:52:53 -05:00
Dan Minor
0663fd94ea Bug 1478000 - Prepend -Xclang to -Wall; r=dmajor
Summary: We want the clang interpretation of -Wall, not the clang-cl one,
which translates -Wall as -Weverything.

Reviewers: dmajor

Tags: #secure-revision

Bug #: 1478000

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

--HG--
extra : rebase_source : df684c3ca3088e91d584c715f6219f4318d00c62
2018-07-27 09:12:31 -04:00
Bob Clary
745c5ff6c2 Bug 1477807 - Distinguish ADBTimeoutErrors from other exceptions in Android remote tests, r=gbrown. 2018-07-27 08:27:16 -07:00
Wambui
ed1ae60ec8 Bug 1400233 - Drop ContentWebElement.LegacyIdentifier key from Marionette. r=ato,whimboo
Remove the legacy key that Marionette uses to identify web elements.
2018-07-27 16:06:39 +01:00
Mathieu Leplatre
beee0352c1 Bug 1478336 - Reset sync status when new Remote Settings client is registered r=glasserc
MozReview-Commit-ID: 6lx90PmNRiz

--HG--
extra : rebase_source : 81dfc6ee9a0d9880f68233a17ef3280b0f8c9f32
2018-07-25 17:43:08 +02:00
Mike Hommey
a958acba8b Bug 1478927 - Upgrade clang 6 to 6.0.1 and apply some miscompilation patches. r=dmajor
https://github.com/rust-lang/rust/issues/52694 is a miscompilation I
found in rust when it uses system llvm 5 or 6, that was fixed 5 months
ago in the llvm rust bundles. This may or may not affect clang, but
considering it was also reported to upstream llvm independently of rust,
it's better to side with caution.

It doesn't affect 3.9, and bug 1478919 got rid of the last use of clang
5 (except for clang-tidy, but that's not used to compile).

The patches come from the llvm trunk from 5 months ago, so they're
already in our clang 7 snapshots.

Windows static analysis builds are still using an old trunk, but are
stuck on bug 1427808. They're "only" for static analysis, though.

--HG--
extra : rebase_source : f4fce69eb7c69b6245518a1bad37e04236c7075b
2018-07-27 15:53:02 +09:00
Mike Hommey
b1ce4dcf63 Bug 1478923 - Remove LLVM_SYMBOLIZER from mozconfig.lto. r=froydnj
This was cargo-culted from the asan/tsan mozconfigs, but is not necessary
for builds without sanitizers.

--HG--
extra : rebase_source : 41bad4761f424410cb7a099ecaecce8a86becf59
2018-07-27 15:46:51 +09:00
Mike Hommey
789f4ba458 Bug 1478919 - Remove the now unused linux64-clang-5 toolchain. r=dmajor
--HG--
extra : rebase_source : 1de38fc2e484ec02bcbe1fb1b58b97f5aba55b43
2018-07-27 15:34:07 +09:00
Mike Hommey
01fd311f44 Bug 1478919 - Switch Spidermonkey TSAN builds to the default clang. r=dmajor
It was kept on clang 5 explicitly in bug 1467658 because of bug
1467673, now fixed.

--HG--
extra : rebase_source : 8de52e6967bb1f249b7e59d83b90ecfb291a9c44
2018-07-27 15:31:43 +09:00
Kartikaya Gupta
b154baea17 Bug 1478504 - Inline function only used in a couple of places. r=sotaro
MozReview-Commit-ID: JfOgsxUHSlu

--HG--
extra : rebase_source : bc08909aa478071daf862ba355e2e4df03dfcf00
2018-07-27 09:43:41 -04:00
Kartikaya Gupta
bfa67498d5 Bug 1478504 - Use NotifyPipelineRendered instead of DidComposite for WebRender. r=sotaro
MozReview-Commit-ID: 4eaMTEPD9NY

--HG--
extra : rebase_source : 7d2f5b5fe4d45f135f0899dccf6a910848b5c7e4
2018-07-27 09:42:30 -04:00
Mike Hommey
2538ec5e49 Bug 1478917 - Apply upstream patch fixing ld64 crash with LTO. r=dmajor,froydnj
While fiddling with clang (upgrading it and applying some miscompilation
patches), my mac LTO builds started to fail because ld64 would crash
during configure.

It turns out, it was crashing trying to print a warning it shouldn't
even print out, about failure to create a cache path.

This, in turn, is due to a pointer not being initialized in the ld64
code. I sent this upstream, and this was promptly fixed:
https://github.com/tpoechtrager/cctools-port/pull/57

However, since our last update of cctools-port, upstream landed a change
that broke support for tbd files if you don't compile against the new
libtapi library. Doing so is more work than I'm ready to put here,
so we just cherry-pick the fix.

--HG--
extra : rebase_source : 131952a5233bc379943c8eb124d377525f54202f
2018-07-27 15:14:06 +09:00
Coroiu Cristina
d2b1e1759a Backed out 2 changesets (bug 1477137) for devtools failures at devtools/client/aboutdebugging/test/browser_addons_toggle_debug.js
Backed out changeset c75f46c67e27 (bug 1477137)
Backed out changeset dd5e331122a9 (bug 1477137)
2018-07-27 16:45:06 +03:00
Gijs Kruitbosch
d00ead2de2 Bug 1477670 - remove web feed handling prefs and tidy up user-set prefs if they exist, r=flod,jkt
MozReview-Commit-ID: 46wdeAY3wOi

--HG--
extra : rebase_source : 50b18441d32358d34ea0cbce4ba4d5895c885d6e
2018-07-24 17:58:44 +01:00
Gijs Kruitbosch
5c0e726193 Bug 1477670 - remove content handler code from browser/, r=florian,jkt
MozReview-Commit-ID: 3kS7yPdkjGs

--HG--
extra : rebase_source : 6aae9414ed8e5c2a31509f85ef0cbfc9b31895fd
2018-07-24 17:54:40 +01:00
Gijs Kruitbosch
b3a715cbd5 Bug 1477670 - empty out DOM implementation of registerContentHandler, r=baku
MozReview-Commit-ID: 7Oe6P1sC4KW

--HG--
extra : rebase_source : 8b147b2b951adcc257ba5dcd0dca027a728bd83c
2018-07-24 17:41:06 +01:00
Gijs Kruitbosch
699323bf73 Bug 1477670 - remove tests for registerContentHandler, r=jkt
MozReview-Commit-ID: DIshLjsXnev

--HG--
extra : rebase_source : 2253fdb50e383e967869453ab511b542206c886a
2018-07-24 18:04:10 +01:00
Brian Birtles
4033980812 Bug 1477407 - Consistently use system colors to define doorhanger styling; r=jdescottes
By mixing system colors and non-system colors we can arrive at a situation where
we have white text on a white background when using Windows high-constrast mode
or various themes on Linux.

This patch brings the colors used for DevTools doorhangers into line with the
colors used for arrowpanels elsewhere in Firefox.

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

--HG--
extra : moz-landing-system : lando
2018-07-27 11:21:24 +00:00
Vlad Baicu
ba3bff432b Bug 1476720 - Set MLS notification action. r=jchen
Moved notification channels to NotificationHelper and created
new utility methods to retrieve them when needed. Cleaned unused
imports.

MozReview-Commit-ID: L3HnV3nD7Og

--HG--
extra : rebase_source : fdc18b8f31f76d988a3748b640e86607bb0b4186
2018-07-26 17:42:19 +03:00
Vlad Baicu
f9a7a9224f Bug 1476720 - Set MLS notification action. r=jchen
Added a content action which will open the privacy settings when
tapping the mozilla location services notification.

MozReview-Commit-ID: 9h85amcoF0T

--HG--
extra : rebase_source : 8e8914e742023d3a6fb16397480df0d6eea6adb3
2018-07-25 14:32:02 +03:00
Dorel Luca
3e8fbc2f0f Merge mozilla-central to autoland 2018-07-27 13:44:50 +03:00
Dorel Luca
704612cf44 Merge mozilla-inbound to mozilla-central. a=merge 2018-07-27 13:19:26 +03:00
Michael Ratcliffe
9e7ad490a0 Bug 1448484 - Disable browser_storage_cookies_samesite.js due to intermittent failures r=miker
MozReview-Commit-ID: A4ocgx0JoX5

--HG--
extra : rebase_source : 3f65d8b7d215512ca5be7977de339a1165de65b7
2018-07-27 11:15:16 +01:00
Kris Maglione
25b5f10ae3 Bug 1476405: Follow-up: Handle nsThread cleanup for threads that never shutdown. r=me
--HG--
extra : source : cb7f7cc326875b2fd28d4a63101b07360a6606fd
extra : histedit_source : db0deda75879e4626a1c095d8e2845bbcaa753b4%2Cb7f6d26232e23f97ab171519a943768a50575977
2018-07-26 16:36:16 -07:00
Petru
f433bf7751 Bug 1471144 - Add gtest coverage for 'CombinedStacks' . r=janerik
Tested the functionality of 'CombinedStacks'. Added coverage for 'AddStack' and 'RemoveStack' methods.

MozReview-Commit-ID: CxBZHHZMN3z

--HG--
extra : rebase_source : 72ded4aebcbcd7b6a9e1b510326f64670b7b0f55
2018-07-26 01:00:06 +03:00
Mike Hommey
aedf67e741 Bug 1467673 - Disable segfault handling by TSAN when running JIT tests. r=jandem
self-test/assertRecoveredOnBailout-1.js relies on the shell actually
crashing, but TSAN catches that instead, and returns its own error code
instead of -11.

TSAN's value, however, is not in catching crashes, so we disable its
handling of segfaults while running the JIT tests. Crashes would still
happen and cause tests failures, while allowing the harness to catch the
expected crash from self-test/assertRecoveredOnBailout-1.js.

--HG--
extra : rebase_source : 38f0251cf226756de80ab9f84af91e73b9ba2435
2018-07-27 15:22:19 +09:00
Daisuke Akatsuka
d3170262d1 Bug 1477137 - Part 2: Add a test for remove temporary and undo. r=jdescottes
MozReview-Commit-ID: nLjj4gcOrm

--HG--
extra : rebase_source : 6275140fc85e70854a06263d67286831c932da6f
2018-07-27 17:49:28 +09:00
Daisuke Akatsuka
ab75feb4b3 Bug 1477137 - Part 1: Add onUninstalling and onOperationCancelled listeners to detect removal/undo extension in aboutaddons. r=jdescottes
MozReview-Commit-ID: RaDFBOirgL

--HG--
extra : rebase_source : 4c4448c388e17dd473b3bf44f087f2f05058e685
2018-07-27 10:32:22 +09:00
Nicolas Chevobbe
a7990cf932 Bug 1478410 - Fix split console close in codeMirror jsterm; r=bgrins.
This patch removes the <kbd>Esc</kbd> handler from codeMirror
to put it on the jsterm-container. This prevent the interference
from codeMirror when we don't need to handle the event (i.e. it
should bubbles up to the toolbox where the split console state
is managed).
The webconsole_split test is run with both old and
new jsterm.

MozReview-Commit-ID: BaLyj4wSdmv

--HG--
extra : rebase_source : 6b549379839dc824a38ee49ffd859092cfbecb13
extra : source : de58a50eb0165665644b07fffd228e5478861e2e
2018-07-25 18:26:27 +02:00
Mantaroh Yoshinaga
e37cf0384a Bug 1473209 - Ignore the click event until popup is hidden. r=birtles.
The widget will hide the XUL panel when clicking to the outside of panel
automatically.
If a user clicks the MenuButton when opening the popup, the popup will hide
automatically and mouse click event will be fired on macOS and Linux.
(Windows will eat this click event since the consumeoutsideclicks of this panel
is false.)

As a result of it, the popup menu will be reopened. In order to prevent this,
this patch will disable the MenuButton until popup is hidden by using
the popuphidden event. This popuphidden event will be fired before the click
event of MenuButton, then the click event of MenuButton will be fired after
popuphidden immediately.

MozReview-Commit-ID: 42xV0aWDmkR

--HG--
extra : rebase_source : 526d89b876a0db13feee5629272c74275b4cf611
2018-07-27 13:38:12 +09:00
James Teh
303c6c89cf Bug 1478568 part 2: Map BLOCKQUOTE role to IA2_ROLE_BLOCK_QUOTE. r=MarcoZ
MozReview-Commit-ID: KxGnO0R1dRJ

--HG--
extra : rebase_source : e09c1a1846b402ba0498773f44be255468154ce6
2018-07-27 10:30:25 +10:00
James Teh
90fcc27f34 Bug 1478568 part 1: Update IAccessible2 so we can use new roles (IA2_ROLE_BLOCK_QUOTE, etc.). r=MarcoZ
MozReview-Commit-ID: GctgcmwrzMc

--HG--
extra : rebase_source : 24898e1facd454170807006b4b05010fdd9b7cdd
2018-07-27 10:27:44 +10:00
Julian Descottes
d31555e033 Bug 1434579 - Fix infinite scrolling for indexedDB in storage inspector;r=miker
MozReview-Commit-ID: 7ZyxqDPxHTK

--HG--
extra : rebase_source : e6c4fd13ad514b52b7aa38c0f507cc1438a1e893
2018-07-24 19:48:27 +02:00
Lars T Hansen
6ae83a4406 Bug 1472178 - Ref types for wasm globals. r=bbouvier
--HG--
extra : rebase_source : 2f64e3b52649574e350f4b45bad9547fb3e73975
2018-07-24 18:26:45 +02:00
Lars T Hansen
aa46adb8f5 Bug 1478616 - Generalize the wasm write barrier. r=bbouvier
We need to generalize the barrier to handle not just globals, but also
fields in structures.  To do this we pass the location of the store
(ie the Cell**) to the C++ barrier machinery, not the global index.

--HG--
extra : rebase_source : e036ab3500cfa838f8a7dcbfade6dcc5d5765e85
2018-07-26 15:54:49 +02:00
Lars T Hansen
5ec72ee62e Bug 1478616 - Wasm, trace Ref as well as Anyref global and Val. r=bbouvier
--HG--
extra : rebase_source : 456d2377360e375c994705f40415e1fceec78413
2018-07-26 15:50:56 +02:00
Jonathan Kew
f5efd70ff6 Bug 1476304 - Exclude Georgian letters from the mapping used by text-transform:uppercase, due to lack of font support. r=gandalf 2018-07-27 14:35:04 +01:00