Commit Graph

707831 Commits

Author SHA1 Message Date
egao
1a4d5592b2 Bug 1608837 - enable decision task chunking codepath for web-platform-tests r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D71804
2020-05-15 15:50:07 +00:00
Nicolas Chevobbe
2834d00a38 Bug 1636924 - Remove unnecessary isTopLevel and type properties from onTargetAvailable/onTargetDestroyed callback parameter. r=ochameau.
Since targetFronts now have isTopLevel and targetType properties, we can directly use
those, as the targetFront is included in the callback parameter.
This patch remove those properties and refactor consumer code.

Differential Revision: https://phabricator.services.mozilla.com/D74651
2020-05-15 16:03:32 +00:00
Marco Bonardo
66e30e7da6 Bug 1627361 - Stop examining the clipboard data when updating Places commands. r=Standard8
We used to read the contents of the clipboard to tell if paste was enabled,
that unfortunately means updating commands was extremely slow for large
clipboard data.
After this change we only check the data flavors. This means paste will be
enabled more often, even for unsupported strings, but commands updating will
be much faster. Places updates commands often, so this is quite useful.

Differential Revision: https://phabricator.services.mozilla.com/D75202
2020-05-15 14:20:58 +00:00
Razvan Maries
5f0e1f76b9 Backed out changeset bd25dceab620 (bug 1637529) for Hazard bustages. CLOSED TREE 2020-05-15 19:05:45 +03:00
Razvan Maries
5d2cb9f87e Backed out changeset a3400287932b (bug 1634051) for perma failures on browser_favicon_firstParty.js. CLOSED TREE 2020-05-15 18:59:34 +03:00
Mark Smith
8b168c1d94 Bug 1395207 - downloads.download() should remember the last directory used. r=robwu
When the saveAs option is true, instead of always starting in the
default download directory, remember and reuse the last directory
that the user chose. Unless browser.download.lastDir.savePerSite is
set to false, the last download directory is saved on a per-extension
basis.

Differential Revision: https://phabricator.services.mozilla.com/D67060
2020-05-15 15:19:43 +00:00
Julian Descottes
91c02a6412 Bug 1638290 - Update try syntax for DAMP in the devtools documentation r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D75530
2020-05-15 15:03:04 +00:00
Jon Coppeard
bab9a2eb54 Bug 1637529 - Rewrite the shell module loader in C++ r=jandem
Sorry for the big patch. This is a straight rewrite of shell/ModuleLoader.js in C++. It's mostly straigtforward but there were a couple of clunky parts: using promises/closures from C++ was rather verbose and I had to write some string utilities.

Differential Revision: https://phabricator.services.mozilla.com/D75271
2020-05-15 15:16:12 +00:00
Dzmitry Malyshau
3e9c29fbeb Bug 1633661 - Keep wgpu bind group layouts alive r=groves
Differential Revision: https://phabricator.services.mozilla.com/D75340
2020-05-15 15:10:10 +00:00
Dan Minor
b9598227dc Bug 1632489 - Only adjust valid capture times when generating padding; r=bwc
The current code will only set the TranmissionOffset extension if
capture_time_ms is > 0, but when adjusting timestamps for rtx packets, it is
adjusted  without first checking to see if it is valid, which will cause invalid
values of capture_time_ms to be written to TranmissionOffset, leading to assertion
failures.

This bug is still present on tip of libwebrtc, so we'll also need to prepare a
patch for upstream.

Depends on D74842

Differential Revision: https://phabricator.services.mozilla.com/D75528
2020-05-15 14:47:36 +00:00
Dan Minor
a9aa42a49c Bug 1632489 - Enable rtx for early beta or earlier; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D74842
2020-05-15 12:02:26 +00:00
Dan Minor
746e5a3557 Bug 1632489 - Negotiate repaired-rtp-stream-id in simulcast mochitests; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D74841
2020-05-15 12:11:41 +00:00
Dan Minor
83b49d068b Bug 1632489 - Use repaired-rtp-stream-id in rtx packets; r=ng
This imports a few fixes from tip of libwebrtc, which now supports mid, rid
and rrid. The rtx packet is now allocated as max_packet_size_, which is
necessary to have enough capacity for the rrid. It takes the
CopyHeaderAndExtensionsToRtxPacket function from upstream, which omits
copying extensions that should not be copied over, such as rid. It is necessary
to make AllocateExtension and FindExtension public in order for this
function to work.

It then copies the rid from the source packet over to rrid in the rtx packet.
Upstream has code for this as well, but taking it would require more
extensive changes to our copy of libwebrtc. We can drop these local
modifications with the next update.

Differential Revision: https://phabricator.services.mozilla.com/D74840
2020-05-15 11:58:54 +00:00
Dan Minor
0cf534a4f7 Bug 1632489 - Enable repaired-rtp-stream-id extension in jsep; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D74839
2020-05-15 11:55:08 +00:00
Razvan Maries
0aeb97cad2 Backed out changeset 1b2022e31cd9 (bug 1626891) for xpcshell perma failures on test_search_suggestions_tail.js. CLOSED TREE 2020-05-15 18:06:52 +03:00
Dzmitry Malyshau
4a18e10f04 Bug 1637998 - Fix wgpu swapchain cleanup on exit r=groves
Differential Revision: https://phabricator.services.mozilla.com/D75337
2020-05-15 14:59:18 +00:00
Sebastian Streich
6733f1311c Bug 1558394 - Block downloads in sandboxed iframes r=ckerschb,smaug
Differential Revision: https://phabricator.services.mozilla.com/D67351
2020-05-15 14:03:43 +00:00
Sebastian Streich
bb0855332f Bug 1558394 - Pass the TriggeringSandboxFlags to nsILoadinfo r=ckerschb,smaug,necko-reviewers,valentin
Add triggering Sandbox flags to loadinfo
***
Pass triggering Flags into Loadinfo

Differential Revision: https://phabricator.services.mozilla.com/D69588
2020-05-15 14:03:28 +00:00
Ryan Hunt
9deb340cad Bug 1637564 part 2 - Fix build errors and some tests. r=lth
I skimmed the original build error log and missed there was a second issue.

The original drop-subtyping patches added a `readRefType` function to
decoder and conditionally compiled it. This function is used by
readRefNull, which is not conditionally compiled. The pattern used for
disabling ref-types instructions so far is to conditionally compile the
switches to ignore the op-code but still compile the WasmOpIter::read*
method. This commit removes the conditional around `readRefType` to
make that work.

From local testing on a beta build, there are also two test failures.
  * Missing ref.null type immediate on test that's not run by default
  * Missing skip-if reftypes guard on multi-value

Differential Revision: https://phabricator.services.mozilla.com/D75339
2020-05-15 06:51:40 +00:00
Gijs Kruitbosch
27332e0af0 Bug 1634051 - don't eagerly initialize the all tabs menu, r=mstriemer
The initialization costs of the TabList constructors is very small compared to
the cost of actually calling _populate, so instead of calling init() from an
idle task, we can just wait until the view actually needs to be shown.

Differential Revision: https://phabricator.services.mozilla.com/D73946
2020-05-15 14:50:20 +00:00
Dzmitry Malyshau
04f9e98d99 Bug 1637998 - Improve wgpu assertion errors r=groves
this improves the assertion messages, adds issue templates, and implements `From<TextureFormat>` for `TextureComponentType`.

Differential Revision: https://phabricator.services.mozilla.com/D75322
2020-05-15 02:11:41 +00:00
Razvan Maries
e744ca1ac5 Backed out changeset ccd3a06efe81 (bug 1638138) for perma failures on browser_test_procinfo.js. CLOSED TREE 2020-05-15 17:48:53 +03:00
Razvan Maries
9ff5cf0b0c Backed out changeset c66945aba519 (bug 1638020) for perma failures on RetainedDisplayListBuilder.cpp. CLOSED TREE 2020-05-15 17:17:55 +03:00
Andrew Halberstadt
fa3e4c8dc8 Bug 1637385 - [taskgraph] Add a 'bugbug_disperse_high' shadow scheduler, r=marco
Differential Revision: https://phabricator.services.mozilla.com/D75402
2020-05-15 14:03:45 +00:00
Andrew Halberstadt
737a6680a6 Bug 1637385 - [taskgraph] Replace 'bugbug_debug' shadow-scheduler with 'bugbug_debug_disperse', r=marco
The bugbug_debug algorithm wasn't a very high performer, but combining it with
'disperse' may yield some interesting results.

Differential Revision: https://phabricator.services.mozilla.com/D75401
2020-05-15 14:03:10 +00:00
Andrew Halberstadt
4b335c6cd5 Bug 1637385 - [taskgraph] Remove the bugbug 'combined' flag and related shadow-scheduler, r=marco
This feature A) scheduled way too many tasks, and B) won't be that useful anyway once we
switch to manifest-scheduling.

Differential Revision: https://phabricator.services.mozilla.com/D75399
2020-05-15 14:04:56 +00:00
Byron Campen [:bwc]
3110119ac1 Bug 1636615: Work around Apple VT decoder saying it dropped a frame, and then decoding that frame anyway. r=jya
We do this by keeping the unexpected frame in mReorderQueue, and outputting it later when the caller is expecting frames.

Differential Revision: https://phabricator.services.mozilla.com/D75116
2020-05-14 23:45:26 +00:00
Harry Twyford
a8324e1e71 Bug 1626891 - Style tail suggestions differently. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D74740
2020-05-15 13:56:47 +00:00
Jeff Muizelaar
3ffa015639 Bug 1637306 - Turn on WebRender on gen7.5 gt3 in Nightly. r=aosmond
We already have it on on gen7.5 gt2 and these should be
better.

Differential Revision: https://phabricator.services.mozilla.com/D74878
2020-05-15 13:57:48 +00:00
Jonathan Kew
8b54700f47 Bug 1627296 - Remove the ForceFontUpdate hack from gfxDWriteFonts, the gfxPlatform calls in SystemTextQualityChanged should be sufficient to flush everything. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D75351
2020-05-15 13:55:11 +00:00
Miko Mynttinen
500a009dbb Bug 1638020 - Avoid checking display port twice while computing RDL rebuild region r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D75388
2020-05-15 09:11:47 +00:00
Gijs Kruitbosch
fe0993ee8f Bug 1638264 - fix search bar width getting lost due to it starting out in the palette, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D75536
2020-05-15 13:47:41 +00:00
Michal Novotny
a3eb320428 Bug 1630000 - Hitting Back sometimes shows old cached content, r=mayhemer,necko-reviewers
If we're racing cache with network and the network wins we don't have a cache entry for writing the downloaded data. In this case nsHttpChannel::MaybeCreateCacheEntryWhenRCWN() creates the entry synchronously by calling nsICacheStorage::openTruncate() before we initialize cache entry for writing.

Differential Revision: https://phabricator.services.mozilla.com/D74660
2020-05-15 13:28:06 +00:00
Jonathan Kew
3b8e369537 Bug 1637405 - Add reftest for shaping with a PUA-encoded diacritic. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D75538
2020-05-15 13:28:54 +00:00
Jonathan Kew
5c024c640b Bug 1637405 - Merge PUA characters with Script=Unknown with the surrounding script run during itemization (just like Script=Common). r=jrmuizel
If the script itemizer interrupts runs on encountering Script=Unknown, the PUA character will
be shaped separately from its context and therefore OpenType features cannot take effect.
Allowing characters with Script=Unknown to be "adopted" into the surrounding run  makes glyph
shaping possible, where a font wants to apply OpenType features such as ligation, kerning,
or diacritic positioning between a PUA codepoint and the adjacent non-PUA characters.

Differential Revision: https://phabricator.services.mozilla.com/D75067
2020-05-15 13:28:54 +00:00
Jan de Mooij
f6de2e9e0c Bug 1386094 - Remove a comment that no longer applies after bug 1636916. r=anba DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D75541
2020-05-15 13:19:01 +00:00
Geoff Brown
d69ecc19e1 Bug 1637608 - Use adb instead of psutil to check for running emulator; r=bc
Differential Revision: https://phabricator.services.mozilla.com/D75427
2020-05-15 13:14:38 +00:00
Andrei Oprea
5c98d5c058 Bug 1638274 - Error thrown when accessing What's New panel message r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D75495
2020-05-15 12:52:46 +00:00
Jan de Mooij
0ea8110bd7 Bug 1636946 part 5 - Replace load + unbox folding in MUnbox::foldsTo with a proper optimization pass. r=evilpie
Also adds support for MLoadDynamicSlot and MLoadElement.

Differential Revision: https://phabricator.services.mozilla.com/D75266
2020-05-15 12:42:47 +00:00
Jan de Mooij
35349863ee Bug 1636946 part 4 - Add MDefinition::maybeSingleDefUse method. r=evilpie
Depends on D75264

Differential Revision: https://phabricator.services.mozilla.com/D75265
2020-05-15 06:33:26 +00:00
Sebastian Hengst
ac19ca9e75 Bug 1637813 - set secure-contexts/basic-dedicated-worker.html to also pass with fission. r=ckerschb DONTBUILD
This passes since bug 1570243 (window.isSecureContext fission fix) landed.

Differential Revision: https://phabricator.services.mozilla.com/D75534
2020-05-15 12:17:45 +00:00
David Major
38729b41a2 Bug 1638244 - Keep clang-7 toolchain on the old version of the find_symbolizer_linux patch r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D75506
2020-05-15 12:17:06 +00:00
Gerald Squelart
7688ca137b Bug 1637895 - Fix TestBaseProfiler build when MOZ_GECKO_PROFILER in not #defined - r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D75494
2020-05-15 12:19:00 +00:00
Razvan Maries
f5f48cab39 Backed out changeset 3c239920e8fb (bug 1636924) for perma failures on browser_ext_devtools_inspectedWindow.js CLOSED TREE 2020-05-15 15:33:15 +03:00
Jamie Nicol
b10845210b Bug 1633432 - Don't detach SurfaceTextures from GL context on Pause(). r=sotaro,geckoview-reviewers,snorp,imanol
In bug 1470348 we started to detach all SurfaceTextures from the
current GL context in CompositorOGL::Pause(). This was required for
VR, so that when the VR presentation was entered the SurfaceTextures
could be attached to the VR context instead.

When RenderCompositorEGL was implemented for webrender, we copied the
call to detach from CompositorOGL. However, due to extra complexity in
webrender's threading model, this is causing assertion failures.

VR no longer relies upon the SurfaceTextures being detached when the
compositor is paused, as it now uses its own SurfaceTexture
set. Therefore we can remove the detach call from both
CompositorOGL::Pause and RenderCompositorEGL::Pause.

Differential Revision: https://phabricator.services.mozilla.com/D74832
2020-05-15 12:05:15 +00:00
Christoph Kerschbaumer
296ee0329d Bug 1432205: Always require the creation of a LoadInfo in nsIOService::NewChannelFromURIWithProxyFlagsInternal. r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D75484
2020-05-15 11:45:15 +00:00
Jonathan Watt
2e731f0dd4 Bug 1636723. Have nsPrintSettingsX use the NSPrintInfo methods rather than mess with its internal dictionary. r=spohl
It is not obvious that the dict is an internal implementation detail of the
NSPrintInfo, so it was confusing to me that in some places setters are using a
dict but getters are using NSPrintInfo methods. This hopefully makes the code
simpler and easier to understand.

Differential Revision: https://phabricator.services.mozilla.com/D74543
2020-05-15 11:45:28 +00:00
Kartikaya Gupta
f0902cd3df Bug 1622360 - Singularize the TransactionData across IPC. r=jrmuizel
Depends on D75386

Differential Revision: https://phabricator.services.mozilla.com/D75387
2020-05-15 00:10:36 +00:00
Kartikaya Gupta
a8a5c7ea5b Bug 1622360 - Singularize the DisplayListData across IPC. r=jrmuizel
Depends on D75384

Differential Revision: https://phabricator.services.mozilla.com/D75386
2020-05-15 00:08:52 +00:00
Kartikaya Gupta
9aecce17bb Bug 1622360 - Rename RenderRootUpdates. r=jrmuizel
Depends on D75383

Differential Revision: https://phabricator.services.mozilla.com/D75384
2020-05-15 00:08:03 +00:00