Граф коммитов

728967 Коммитов

Автор SHA1 Сообщение Дата
Simon Giesecke f359675210 Bug 1665347 - Remove namespace qualification on mozilla::Ok. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D90878
2020-10-01 15:30:36 +00:00
Simon Giesecke 565c4010c7 Bug 1665347 - Use IDB_TRY with IDBResult. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D90874
2020-10-01 15:30:36 +00:00
Simon Giesecke 8598a731fc Bug 1666219 - Renamed QM_TRY_VAR etc. to QM_TRY_UNWRAP etc. r=dom-workers-and-storage-reviewers,ttung,janv
Also change some left-over QM_TRY_VAR uses with const target declarations to
QM_TRY_INSPECT et al.

Differential Revision: https://phabricator.services.mozilla.com/D90873
2020-10-01 15:37:50 +00:00
Simon Giesecke bac8dea615 Bug 1665347 - Make IDBResult based on mozilla::Result. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D90562
2020-10-01 15:30:36 +00:00
Chris H-C 6e4a57c77e Bug 1668279 - Generate metrics code when any metrics definition file changes r=janerik
Turns out that metrics_index.py is not only valid Python but is also valid
mozbuild format. So long as our constants are lowercase (uppercase is reserved)
we can `include()` the index and read the arrays of files to tell
`GeneratedFile` every file it depends on, not just the index.

We do have to transform the paths, though, as I still maintain that paths
relative to TOPSRCDIR makes more sense for the index, but the `inputs` to
`GeneratedFile` are relative to the dir of the `moz.build`.

Differential Revision: https://phabricator.services.mozilla.com/D91961
2020-10-01 06:55:24 +00:00
Andreas Farre c25dc7a7ce Bug 1668297 - Fix browser/base/content/test/tabs/browser_e10s_switchbrowser.js r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D92033
2020-10-01 12:46:16 +00:00
Kartikaya Gupta 0289c4d0f9 Bug 1668466 - Fix broken links. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D92071
2020-10-01 15:19:09 +00:00
Emma Malysz 7fb79b4804 Bug 1634042, Part 2: lazify page action panel r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D91187
2020-10-01 15:00:55 +00:00
Alexandre Poirot d9711aa658 Bug 1667086 - [devtools] Wait for state instead of TRACK_CHANGE events in browser_changes_declaration_remove_ahead.js. r=rcaliman
This is because of bug 1596093, introducing throttling around TRACK_CHANGE
and making its listening less reliable.

Differential Revision: https://phabricator.services.mozilla.com/D91830
2020-10-01 14:43:25 +00:00
ffxbld 98819106f1 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D92065
2020-10-01 14:37:46 +00:00
Dorel Luca 083ffd4c99 Backed out changeset d556d96cfa70 (bug 1668357) for causing assertions in checkouts/gecko/docshell/base/CanonicalBrowsingContext.cpp. CLOSED TREE 2020-10-01 21:32:33 +03:00
Dorel Luca def16b8152 Backed out 3 changesets (bug 1668248) for Devtools failures in devtools/shared/resources/tests/browser_resources_websocket.js. CLOSED TREE
Backed out changeset 3097e934187b (bug 1668248)
Backed out changeset 9f6b8aa11110 (bug 1668248)
Backed out changeset eaa857f4564d (bug 1668248)
2020-10-01 21:24:48 +03:00
Dorel Luca 3d5f114958 Backed out changeset a853a9d96612 (bug 1668012) for Browser-chrome failures in newtab/test/browser/browser_topsites_section.js. CLOSED TREE 2020-10-01 21:23:40 +03:00
Alexandre Poirot 47d9a4272f Bug 1620280 - [devtools] Explicitely wait for toolbox destruction in a few tests. r=jdescottes
Without that, we are closing the toolbox by destroying its tab or window.
This prevent correctly waiting for toolbox full destruction and was causing leaks
in debug builds on browser_webconsole_trackingprotection_errors.js and browser_aboutdebugging_devtools.js.

Differential Revision: https://phabricator.services.mozilla.com/D91917
2020-10-01 14:22:52 +00:00
Alexandre Poirot 63bd02f077 Bug 1620280 - [devtools] Prevent showing/hiding highlighters when the panels are already destroyed. r=jdescottes
browser_animation_animation-target_select.js was failing on debug builds because of exception during test ends.

Differential Revision: https://phabricator.services.mozilla.com/D91892
2020-10-01 14:22:50 +00:00
Alexandre Poirot 6faa08bb97 Bug 1620280 - [devtools] Fix duplicated SET_BREAKPOINT action handling. r=jdescottes
With bug 1620280's patches, browser_dbg-windowless-workers-early-breakpoint.js started failing
because of a removed breakpoint being re-added after being removed!
This relates to the usage of `PROMISE` in the action object,
which triggers the promise middleware, itself making the action being emitted twice.
One time immediately, and another time after the promise is resolved.
So that the reducer was adding the breakpoint twice.

Differential Revision: https://phabricator.services.mozilla.com/D91720
2020-10-01 14:22:48 +00:00
Alexandre Poirot 75809cbbf4 Bug 1620280 - [devtools] Bypass SourceQueue as it should be made redundant with ResourceWatcher throttling. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D90430
2020-10-01 14:22:45 +00:00
Alexandre Poirot 24fa559f26 Bug 1620280 - [devtools] Wait for source actor when fetching frames. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D90429
2020-10-01 14:22:38 +00:00
Alexandre Poirot db80068f12 Bug 1620280 - [devtools] Simplify things around sourceLoading promise. r=jdescottes
This was relevant before as we were calling "ThreadActor.getSources"/"StyleSheets.getStyleSheets",
and by the time these requests resolved, we would have navigated to a new URL and need to ignore their response.
I think it is safe to drop this now as these requests may still be pending if we use legacy listeners,
but the call to unwatchResources should immediately unregister _onResourceAvailable and ignore any pending data
coming late.

Differential Revision: https://phabricator.services.mozilla.com/D90428
2020-10-01 14:22:36 +00:00
Alexandre Poirot 5a5149d736 Bug 1620280 - [devtools] Ensure calling unwatchResources. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D90427
2020-10-01 14:22:31 +00:00
Alexandre Poirot 2cf7b7a8e4 Bug 1620280 - [devtools] Convert SourceMapService to use SOURCE resource. r=nchevobbe,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D88298
2020-10-01 14:22:23 +00:00
Alexandre Poirot 4367d1b79f Bug 1620280 - [devtools] Implement and use a SOURCE resource. r=jdescottes,bomsy,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D86916
2020-10-01 14:22:21 +00:00
stransky 7e77c58985 Bug 1626536 [Linux] Remove gdk_display_close as recomended at https://gitlab.gnome.org/GNOME/gtk/-/issues/2780 r=jhorak
gdk_display_close() should not be used before Gtk quits so remove it completelly.

Differential Revision: https://phabricator.services.mozilla.com/D91893
2020-10-01 14:24:17 +00:00
Jeff Muizelaar 58d190620e Bug 1668377 - Switch printing from WrapAndRecord to just Recording. r=aosmond
Using WrapAndRecord for printing was just a way to minimize risk when
working on the RecordingDrawTarget. We would prefer to eliminate
WrapAndRecord.

These leaves some of old function names around just to keep the patch
small. If it sticks we can fix those names.

Differential Revision: https://phabricator.services.mozilla.com/D91988
2020-10-01 14:23:59 +00:00
Andrew Osmond e1f1a27e9c Bug 1668360 - Invert WebRender feature config to be enabled by default. r=jrmuizel
This has no functional change beyond our telemetry reporting. It inverts
our feature configuration such that we get an explicit reason why we
don't turn on some features, instead of just "disabled by default."

Differential Revision: https://phabricator.services.mozilla.com/D91980
2020-10-01 14:22:33 +00:00
Marco Zehe ce4b2c115c Bug 1666998 - Implement layout-independent paragraph offset search, r=Jamie
This uses the Pivot class to search backwards and forwards from the current offsets until either end is reached, or an accessible that is either a line break or has a block frame, is found, and therefore constitutes a boundary of interest.

Differential Revision: https://phabricator.services.mozilla.com/D91407
2020-10-01 14:16:07 +00:00
Paul Adenot 1b5b47d6c2 Bug 1668248 - Test that DataChannel.send fails gracefully when the argument is too big. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D91930
2020-09-30 17:40:18 +00:00
Paul Adenot 96c087c6af Bug 1668248 - Use fallible string operations in WebSocket::Send. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D91929
2020-09-30 17:40:16 +00:00
Paul Adenot 4015097749 Bug 1668248 - Use fallible string operations in nsDOMDataChannel::Send. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D91928
2020-09-30 17:40:13 +00:00
Paul Adenot c019efba43 Bug 1566389 - Test that various mp3 files have exactly the correct duration. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D91774
2020-10-01 13:58:18 +00:00
Paul Adenot 5c64110c03 Bug 1566389 - Trim the beginning and end of mp3 files, r=jya
Differential Revision: https://phabricator.services.mozilla.com/D91773
2020-10-01 13:58:16 +00:00
Paul Adenot 6814c5cd18 Bug 1566389 - Send encoder delay and padding info to the mp3 decoder. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D91772
2020-10-01 13:58:08 +00:00
Paul Adenot 92ff33f4b2 Bug 1566389 - Tag compressed mp3 frames as EOS when it's the case. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D91771
2020-10-01 13:58:06 +00:00
Paul Adenot 5f704f19d4 Bug 1566389 - Store the parsed encoder delay and padding when demuxing an mp3 file. r=jya,bryce
Differential Revision: https://phabricator.services.mozilla.com/D91770
2020-10-01 13:58:03 +00:00
Paul Adenot 7d47c493a4 Bug 1566389 - Parse lame encoder delay and padding when demuxing MP3s. r=bryce,jya
Differential Revision: https://phabricator.services.mozilla.com/D91769
2020-10-01 13:57:57 +00:00
Paul Adenot c7bf74d2f1 Bug 1566389 - Allow removing elements at the end of an AlignedAudioBuffer. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D91776
2020-10-01 13:57:55 +00:00
Marco Bonardo 412c8a6e8c Bug 1668012 - Keyboard navigating one-off buttons after typing doesn't update the engine chiclet. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D91973
2020-10-01 13:16:42 +00:00
Lars T Hansen 7a74ac62cd Bug 1668261 - ARM64 cache simulator must be under ifdef. r=bbouvier
The cache simulation must be guarded by the correct ifdef.

Also, two debug-only variables should be flagged as such.

Differential Revision: https://phabricator.services.mozilla.com/D91927
2020-10-01 13:38:46 +00:00
Olli Pettay a183efa0c9 Bug 1668357 - enable SHIP with Fission, r=peterv
Depends on D91977

Differential Revision: https://phabricator.services.mozilla.com/D91978
2020-10-01 09:31:10 +00:00
Jeff Muizelaar 62fa39d35f Bug 1668419 - Make icc profile parsing safe. r=aosmond
This makes qcms_profile_from_memory() a wrapper
around a safe profile_from_slice() function.

Differential Revision: https://phabricator.services.mozilla.com/D92012
2020-10-01 13:18:41 +00:00
Bogdan Tara 104db9798f Backed out 5 changesets (bug 1666219, bug 1665347) for indexedDB related bustage CLOSED TREE
Backed out changeset 5cd7e2d67f91 (bug 1665347)
Backed out changeset 9159fdd05097 (bug 1665347)
Backed out changeset 64a086636738 (bug 1665347)
Backed out changeset 5ef18af381ec (bug 1666219)
Backed out changeset 3b81349a5f39 (bug 1665347)
2020-10-01 17:41:23 +03:00
Emilio Cobos Álvarez b94fd775e1 Bug 1668406 - Fix nsIPrintSettings.showMarginGuides. r=jfkthame
So that:

 * It accounts for @page.
 * It is correctly serialized and deserialized over IPC.
 * It's nicer to use.

Depends on D92004

Differential Revision: https://phabricator.services.mozilla.com/D92005
2020-10-01 10:54:18 +00:00
Emilio Cobos Álvarez fbd95bb29e Bug 1668406 - Introduce nsIPrintSettings.honorPageRuleMargins. r=jfkthame
(Doing the obvious)

This should allow the front-end to expose it in one way or another in
bug 1661663.

Differential Revision: https://phabricator.services.mozilla.com/D92004
2020-10-01 13:18:01 +00:00
Dmitry Bezhetskov 5bc9230be0 Bug 1639153 - Part 6.6: Add tls dependency for truncate i32. r=lth
We generate builtin call for MTruncateToInt32 operation for floating points types,
so we need to add a tls dependency.
I inserted NYI for arm64 because Ion doesn't support arm64.

Differential Revision: https://phabricator.services.mozilla.com/D89550
2020-10-01 11:24:30 +00:00
Dmitry Bezhetskov 116a97dbec Bug 1639153 - Part 6.5: Add tls dependency for WasmModD. r=lth
We generate builtin call for Mod operation for Double types, so we need
to add a tls dependency. In this patch I've added it.

Differential Revision: https://phabricator.services.mozilla.com/D89243
2020-10-01 07:53:01 +00:00
Dmitry Bezhetskov bf4790d601 Bug 1639153 - Part 6.4: Add tls dependency for WasmTruncateToInt64 and Int64ToFloatingPoint for arm. r=lth
In this patch we add a tls dependency for the remaining nodes which use
BuiltinThunk to call c++ runtime. By ABI requirements WasmTlsReg should
be set.

Differential Revision: https://phabricator.services.mozilla.com/D89239
2020-10-01 07:52:46 +00:00
Dmitry Bezhetskov abb15e334b Bug 1639153 - Part 6.3: Establish dependency from tls for arm callWithABI div/mod i64. r=lth
To be able to call c++ runtime via Builtin thunk we need to set up WasmTlsReg.
In this patch I create dependencies from MIR level to Codegen to be sure that WasmTlsReg is alive
when we call runtime in div/mod i64 for arm.

Differential Revision: https://phabricator.services.mozilla.com/D88762
2020-10-01 07:52:37 +00:00
Dmitry Bezhetskov 96fe54f12f Bug 1639153 - Part 6.2: Establish dependency from tls for x86 callWithABI div/mod i64. r=lth
x86 has few register so to do div/mod for i64 it call the runtime
and clobber almost all gp registers including WasmTlsReg.
To be able to call c++ runtime via Builtin thunk we need to set up WasmTlsReg.
In this patch I create dependencies from MIR level to Codegen to be sure that WasmTlsReg is alive
when we call runtime.

Differential Revision: https://phabricator.services.mozilla.com/D88524
2020-10-01 07:52:24 +00:00
Dmitry Bezhetskov 1aadb53482 Bug 1639153 - Part 6.1: Untie callWithAbi from Frame::tls for Baseline. r=lth
We have a tls dependency in callWithABI for wasm because we call builtins via BuiltinThunk.
Last one requires that tls to be loaded. In this patch I gradually extend callWithABI interface to
pass offset to tls. This allows us to preserve tls and load it by offset in callWithABI and frees us from
the Frame::tls dependency.

Differential Revision: https://phabricator.services.mozilla.com/D88426
2020-10-01 07:52:07 +00:00
Dmitry Bezhetskov 8e47a9cccc Bug 1639153 - Part 6.0: Force Ion to preserve its tls. r=lth
Let's see following code and let's assume that wasm-compiler is ion:

call foo
call bar

Ion can clobber tls inside foo and then it can go with clobbered tls into bar.
There will be a crash if bar uses tls. At compile-time we don't know whether bar will use tls or not.

It works when we restore tls each time when we are returning from a function because of the current frame structure.
But now, when we want to get rid of Frame::tls we should guarantee that Ion doesn't clobber tls inside a function.
In fact we forces Ion to restore tls iff it clobbers it and it is a rare case.

Baseline doesn't need such logic because of its private stack slot for tls.

Differential Revision: https://phabricator.services.mozilla.com/D83061
2020-10-01 04:54:42 +00:00