Commit Graph

717730 Commits

Author SHA1 Message Date
Andreea Pavel
6ab54edd35 Bug 1651858 - update observe.html expectancy on android r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D83254
2020-07-12 10:57:15 +00:00
Razvan Maries
92f3190a0c Bug 1604202 - Disabled browser_net_websocket_stacks.js on all platforms. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D83253
2020-07-12 10:56:39 +00:00
Csoregi Natalia
b74c685d0f Backed out 6 changesets (bug 1650099, bug 1647881, bug 1645521, bug 1645324) for causing Bug 1652024.
Backed out changeset f66c5cce9088 (bug 1650099)
Backed out changeset bf67c2159244 (bug 1645324)
Backed out changeset 76d81e1e728b (bug 1645521)
Backed out changeset ab3766fa81f9 (bug 1645521)
Backed out changeset ff56bb6cbfb7 (bug 1645521)
Backed out changeset aceb6f9acf3b (bug 1647881)
2020-07-12 17:58:28 +03:00
James Teh
eee112f8f9 Bug 1647666: test_doc_busy.html: Handle the case where the busy change and not-busy change events are coalesced out of existence. r=yzen
Also removed debug logging, as well as about:blank check which turned out not to be the cause of the timeout.

Differential Revision: https://phabricator.services.mozilla.com/D82137
2020-07-12 14:56:23 +00:00
Jonathan Watt
90ba304cdb Bug 1652337. Prevent script from calling nsIWebBrowserPrint.print(). r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D83264
2020-07-12 14:40:50 +00:00
Jonathan Watt
1cf2b1f72e Bug 1652322. Stop nsPrintJob::DoCommonPrint using its arguments after it creates the static clone. r=bobowen
I'm going to be splitting DoCommonPrint so that the parts that run after the
static clone is created happen after a roundtrip to the parent process.

Differential Revision: https://phabricator.services.mozilla.com/D83262
2020-07-12 14:40:50 +00:00
Jonathan Watt
c3822cef03 Bug 1652318. Freeze docshell tree navigation at the same time for both print and print preview. r=bobowen
I specifically want to move this to happen before the static clone is made, in
preparation for splitting out the static clone logic from DoCommonPrint.

Differential Revision: https://phabricator.services.mozilla.com/D83260
2020-07-12 14:40:14 +00:00
Jonathan Kew
60d76d2989 Bug 1646639 - Add collection of testcases here as a WPT reftest. r=dholbert
We get a small amount of antialiasing-related "fuzz" on some platforms,
so those are noted in the corresponding .ini files.

Differential Revision: https://phabricator.services.mozilla.com/D82893
2020-07-12 10:05:33 +00:00
Jonathan Kew
b56c4b385c Bug 1646639 - Don't recursively apply the line's start-offset and text-indent to children of a first-line frame. r=dholbert
But do apply any adjustment needed for text-align to the first-line frame itself.

Differential Revision: https://phabricator.services.mozilla.com/D82725
2020-07-11 22:52:41 +00:00
Jonathan Watt
7738e40fdd Bug 1652265. Add a more helpful comment to nsPrintJob::Observe. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D83246
2020-07-11 22:34:38 +00:00
Csoregi Natalia
af5cff556a Backed out 6 changesets (bug 1648468) for failures on test_keywords.js. CLOSED TREE
Backed out changeset 918db5010acb (bug 1648468)
Backed out changeset 91a4b5b593bf (bug 1648468)
Backed out changeset 3bded27be98e (bug 1648468)
Backed out changeset 60a36d4424df (bug 1648468)
Backed out changeset 1edf02398318 (bug 1648468)
Backed out changeset ebac9fb9da0d (bug 1648468)
2020-07-12 09:03:53 +03:00
Harry Twyford
daefa9ecc0 Bug 1648468 - Part 6 - Resolve a11y focus issue causing a failure in browser_test_focus_urlbar.js. r=adw
The line that adds `suggestedIndex` in the test should also fix bug 1652138.

Differential Revision: https://phabricator.services.mozilla.com/D83244
2020-07-12 02:28:07 +00:00
Harry Twyford
d7e9c8e70f Bug 1648468 - Part 5 - Move some deduping code from UnifiedComplete to the UrlbarMuxer. r=adw,mak
Differential Revision: https://phabricator.services.mozilla.com/D82800
2020-07-11 22:53:07 +00:00
Harry Twyford
90b04e45ef Bug 1648468 - Part 4 - Port autofill unit tests to browser/components/urlbar. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D82237
2020-07-11 22:53:09 +00:00
Harry Twyford
b2ff98e2f8 Bug 1648468 - Part 3 - Allow UrlbarProviderTokenAliasEngines to provide its own heuristic result. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D82236
2020-07-11 22:53:11 +00:00
Harry Twyford
ec02dade55 Bug 1648468 - Part 2 - Dedupe results matching autofill in the muxer. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D82235
2020-07-11 22:53:03 +00:00
Harry Twyford
ce7998586e Bug 1648468 - Part 1 - Create UrlbarProviderAutofill.jsm. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D82234
2020-07-11 22:53:00 +00:00
Razvan Maries
edd6936d05 Backed out changeset b932e78a6bbc (bug 1591678) as per Andrew's request. 2020-07-12 05:22:58 +03:00
Razvan Maries
d80f844cba Backed out 2 changesets (bug 1646639) for perma failures on first-line-bidi-002.html. CLOSED TREE
Backed out changeset e1d587422484 (bug 1646639)
Backed out changeset 5caaf51dac99 (bug 1646639)
2020-07-12 01:34:31 +03:00
Razvan Maries
911baac099 Backed out 6 changesets (bug 1648468) for perma failures on browser_test_focus_urlbar.js. CLOSED TREE
Backed out changeset 60b6915e8037 (bug 1648468)
Backed out changeset fc7a6b8f84a2 (bug 1648468)
Backed out changeset 97c7475abf85 (bug 1648468)
Backed out changeset bb37a0821844 (bug 1648468)
Backed out changeset 10447a3e04ff (bug 1648468)
Backed out changeset 69a210ce0e9a (bug 1648468)
2020-07-12 01:31:42 +03:00
Mike Hommey
2ae63de7b8 Bug 1651287 - Build the STS preload list as a .inc file. r=rstewart,nalexander
This has the side effect of moving it out of export per previous changes.

Differential Revision: https://phabricator.services.mozilla.com/D82646
2020-07-10 22:40:03 +00:00
Byron Campen [:bwc]
31d04825a1 Bug 1651601: Filter gathered candidates when their component is obsolete. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D83138
2020-07-10 17:11:32 +00:00
Marco Bonardo
14784dc42d Bug 1650201 - Fix mozStorage prefs read before profile and fallback to a non-exclusive VFS when it can't get an exclusive lock. r=asuth,geckoview-reviewers,agi
mozStorage used to read prefs on service init, because they could only be read
on the main-thread. When service init was moved earlier, it started trying
to read prefs too early, before the profile was set up, thus it ended up always
reading the default value.

This patch moves the only relevant pref to mirrored StaticPrefs that can be accessed
from different threads, and removes two preferences that apparently are not necessary
(they have been broken from a long time) for now.
In particular, providing a global synchronous setting is a footgun, each consumer should
decide about their synchronous needs, rather than abusing a dangerous "go fast" setting.
The page size is something we don't change from quite some time, and it's unlikely to be
used to run experiments in the wild before doing local measurements first, for which Try
builds are enough.

The remaining exclusiveLock pref is a bit controversial, because in general exclusive lock
is better for various reasons, and mostly it is necessary to use WAL on network shares.
Though developers may find it useful for debugging, and some third parties are doing
dangerous things (like copying over databases) to work around it, for which it's safer to
provide a less dangerous alternative.
Note exclusive lock only works on Unix-derived systems for now (no Windows implementation).

Finally, this introduces a fallback to exclusive lock, so that if a third party is using our
databases, so that we can't get an exclusive lock, we'll fallback to normal locking.

Differential Revision: https://phabricator.services.mozilla.com/D82717
2020-07-10 21:45:53 +00:00
Liang-Heng Chen
470d1dde92 Bug 1652275 - consider partitioning case in the assertion; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D83303
2020-07-13 15:05:05 +00:00
Daniel Holbert
291ff6e0b8 Bug 1652205: Update one-liner comments for printed page frame classes. r=jwatt
DONTBUILD because this is a comment-only change.

Before this patch, these comments all mentioned "simple page sequence frame",
which is no longer a thing (it's been renamed to nsPageSequenceFrame). This
patch fixes that and corrects/clarifies these comments while we're at it.

(Note that these comments/classes may change a bit, as part of future patches
for the "pages-per-sheet" feature.  This patch here is partly to get them to a
coherent starting state, for that work to build from.)

Differential Revision: https://phabricator.services.mozilla.com/D83233
2020-07-11 05:40:34 +00:00
Ricky Stewart
c60f8ad9aa Bug 1652149 - Run mozwebidlcodegen unit test as part of mozbuild suite r=froydnj
We could make a new task for this, but `mozwebidlcodegen` depends on code in `mozbuild`, and vice-versa, so there doesn't really seem to be any meaningful advantage to that.

Differential Revision: https://phabricator.services.mozilla.com/D83187
2020-07-13 13:02:01 +00:00
longsonr
7c427e698a Bug 1652430 - Fix some clang warnings in SVG r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D83299
2020-07-13 15:20:36 +00:00
André Bargull
fc09cfa563 Bug 1652153: Clear any pending exception when JS_EncodeStringToUTF8 failed in ErrorReportBuilder::init. r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D83237
2020-07-13 14:39:52 +00:00
ffxbld
bf224e945b No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D83330
2020-07-13 14:49:40 +00:00
Tom Prince
6ba2d68aa3 Bug 1651867: Fix failing mozlint tests. r=ahal
The root fixutre was accidentaly made not a fixture, due to a bad rebase.

Differential Revision: https://phabricator.services.mozilla.com/D83020
2020-07-13 14:37:58 +00:00
tkhan
e50031dfc7 Bug 1650919 - Adding manifest annotations for xorigin test harness. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D82763
2020-07-13 13:01:43 +00:00
Henrik Skupin
d50c95bed2 Bug 1650907 - Re-enable mozbase, webdriver, and geckodriver rust tests in CI. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D82992
2020-07-13 13:02:41 +00:00
James Graham
0012f0a5f3 Bug 1652479 - Include non-build-system suites in mach-test-info, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D83334
2020-07-13 14:54:30 +00:00
Jan Alexander Steffens (heftig)
8656890511 Bug 1530052 - Use remoting name for GDK program name and class. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D80371
2020-07-13 12:32:38 +00:00
Vlad Filippov
6da969dcd2 Bug 1652136 - Change device.name to device.id logging in send tab. r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D83188
2020-07-13 01:12:12 +00:00
Gerald Squelart
8049dc9c3e Bug 1651086 - Allow profiler_register_thread from thread with already-registered id - r=canaltinova
It is possible that some threads fail/forget to unregister themselves, in which case a registered thread id could get recycled by a later thread, which was not allowed before this patch.

Note: The thread name cannot currently be changed. We record a special marker with the new name, so the frontend could process it to split the thread track at that point.

We also record a marker when profiler_unregister_thread is called from an already-unregistered thread, this could help find reg/unreg mismatches or nesting in Firefox threads.

Differential Revision: https://phabricator.services.mozilla.com/D83293
2020-07-13 13:18:29 +00:00
Gerald Squelart
7610ff4326 Bug 1651086 - Handle tgkill failure - r=canaltinova
On Linux (including Android), it was assumed that a registered thread could always be suspended through `tgkill`.
However in some cases a thread may not be correctly unregistered, in which case this would trigger `MOZ_ASSERT` or wait forever in the following loop.

This will especially be needed when `profiler_{,un}register_thread()` are made less strict in the following patch.

Windows and Mac already handle suspension failures.

Differential Revision: https://phabricator.services.mozilla.com/D83292
2020-07-13 13:14:32 +00:00
Matthew Gaudet
760f059b00 Bug 1651512 - Reflect.parse support for private fields r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D83105
2020-07-13 13:14:24 +00:00
Nathan Froyd
d9e3a915cf Bug 1652100 - use job-defaults for macosx builds; r=nalexander
This change reduces clutter.

Differential Revision: https://phabricator.services.mozilla.com/D83159
2020-07-10 20:16:05 +00:00
Nathan Froyd
bbdcb7d9d4 Bug 1652095 - don't repeatedly look up values when merging dicts; r=tomprince
We already have `value = source[key]` thanks to iteration; we should be
using `value` directly rather than re-doing `source[key]`.

Differential Revision: https://phabricator.services.mozilla.com/D83157
2020-07-10 20:43:41 +00:00
Nathan Froyd
89cf8970bb Bug 1652142 - add binutils toolchain to {fuzzing-,}ccov builds; r=firefox-build-system-reviewers,rstewart
This change brings the aforementioned toolchains to parity with the
asan-fuzzing-ccov toolchain.

Differential Revision: https://phabricator.services.mozilla.com/D83185
2020-07-10 21:45:25 +00:00
Mirko Brodesser
530067672e Bug 1649121: part 34) Factor FragmentParser out. r=masayuki
First step of separating parsing more clearly from other fragment
mutations.

Differential Revision: https://phabricator.services.mozilla.com/D83046
2020-07-13 10:30:15 +00:00
longsonr
c2fc063be0 Bug 1652254 - Remove svg from some moz.build local includes r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D83247
2020-07-12 16:38:26 +00:00
Dão Gottwald
e4d255bbe2 Bug 1651952 - Hide the button-box element in Ctrl-Tab previews. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D83063
2020-07-13 14:03:37 +00:00
Cosmin Sabou
3576443b99 Backed out changeset 3229e30f7721 (bug 1649573) as requested by froydnj. CLOSED TREE 2020-07-13 17:18:41 +03:00
Bob Clary
13b8cbabeb Bug 1652339 - set mozdevice version requirements to exclude version 4.0.0 on trunk, beta r=marionette-reviewers,perftest-reviewers,whimboo,sparky
Differential Revision: https://phabricator.services.mozilla.com/D83278
2020-07-13 11:36:39 +00:00
Micah Tigley
992948408e Bug 1634497 - Remove "Do not break Responsive Design Mode" section in fission documentation. r=mconley
Depends on D83132

Differential Revision: https://phabricator.services.mozilla.com/D83133
2020-07-10 19:45:21 +00:00
Micah Tigley
ae6ce2b871 Bug 1634497 - Remove browser.outerBrowser checks used for old-RDM. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D83132
2020-07-10 16:55:35 +00:00
Masayuki Nakano
b0b71dbf13 Bug 1649980 - part 8: Make TextFragmentData::CreateVisibleWhiteSpacesData() cache its result and returns reference instead of copy of the instance r=m_kato
`CreateVisibleWhiteSpacesData()` is now called multiple times and maybe called
after the DOM tree is modified even though it's a bug.  Therefore, we should
make it store first result and return its reference instead.

Differential Revision: https://phabricator.services.mozilla.com/D82701
2020-07-13 10:37:12 +00:00
Liang-Heng Chen
674a374da9 Bug 1652406 - add private flag back and remove the assertion; r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D83297
2020-07-13 11:06:31 +00:00