659403 Commits

Author SHA1 Message Date
Jan de Mooij
fb740d0dd3 Bug 1563510 part 3 - Use toggled jumps for more debugger instrumentation. r=djvj
We now have a Vector of offsets instead of a single offset.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 07:23:21 +00:00
Jan de Mooij
2e91c384c5 Bug 1563510 part 2 - Store function environment directly in emitInitFrameFields instead of storing nullptr first. r=djvj
Instead of initializing frame->environmentChain to nullptr first and then setting it to
fun->environment() later, we can store fun->environment immediately. This also means the
interpreter doesn't need to load and untag the callee token a second time.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 07:23:07 +00:00
Jan de Mooij
56298eec18 Bug 1563510 part 1 - Fold emitPreInitEnvironmentChain into emitInitFrameFields. r=djvj
This eliminates some branches and simplifies the code.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 07:22:53 +00:00
Jeff Gilbert
7ebe9b695f Bug 1564240 - Update ThirdPartyPaths.txt for WebGL conformance suite checkout. r=sylvestre
Also change ANGLE's checkout to 'gfx/angle/checkout' instead of
'gfx/angle'.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 07:22:38 +00:00
Christoph Kerschbaumer
fa67de326f Bug 1497199: Apply Meta CSP to about:devtools.
Differential Revision: https://phabricator.services.mozilla.com/D37370

--HG--
extra : moz-landing-system : lando
2019-07-09 06:56:56 +00:00
Masayuki Nakano
e1fd60e5e8 Bug 1563508 - part 7: Remove unnecessary code from window_composition_text_querycontent.xul r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D37063

--HG--
extra : moz-landing-system : lando
2019-07-09 06:47:42 +00:00
Masayuki Nakano
6fd31c87e6 Bug 1563508 - part 6: Make runPanelTest() async r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D37062

--HG--
extra : moz-landing-system : lando
2019-07-09 05:40:32 +00:00
Masayuki Nakano
dddc25e1e9 Bug 1563508 - part 5: Make runRemoveContentTest() async and fix an editor's bug which found by the test order change r=m_kato
Previously, `runRemoveContentTest()` was the last test which synthesizes
composition in the `<textarea>`.  However, new test order move it to middle
of the other tests.  Then, it hits an `MOZ_ASSERT()` in
`TextComposition::EditorWillHandleCompositionChangeEvent()` that detects a
bug.  When editable element is removed from the DOM tree during a composition,
editor cannot listen to `eCompositionEnd` event.  Therefore, when the editor
gets back, it still has destroyed `TextComposition` and keeps handling new
composition with the old one.  Therefore this patch makes
`EditorBase::InstallEventListeners()` forget the destroyed composition.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 05:20:01 +00:00
Masayuki Nakano
5d3e6c3181 Bug 1563508 - part 4: Make runAsyncForceCommitTest() async r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D37060

--HG--
extra : moz-landing-system : lando
2019-07-09 01:40:55 +00:00
Sebastian Hengst
654b6e825b merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-07-08 15:11:29 +02:00
Sebastian Hengst
3134e9d91c Backed out 3 changesets (bug 1541557) for failures in SpecialPowersObserverAPI.js. a=backout CLOSED TREE
Backed out changeset 5b91c8869f42 (bug 1541557)
Backed out changeset a636725ad217 (bug 1541557)
Backed out changeset 7e6657f88b76 (bug 1561150)

--HG--
rename : testing/specialpowers/content/MozillaLogger.js => testing/mochitest/tests/SimpleTest/MozillaLogger.js
rename : testing/specialpowers/content/specialpowersAPI.js => testing/specialpowers/content/SpecialPowersAPI.jsm
rename : testing/specialpowers/content/SpecialPowersObserverAPI.js => testing/specialpowers/content/SpecialPowersAPIParent.jsm
rename : testing/specialpowers/content/specialpowers.js => testing/specialpowers/content/SpecialPowersChild.jsm
rename : testing/specialpowers/content/SpecialPowersObserver.jsm => testing/specialpowers/content/SpecialPowersParent.jsm
extra : amend_source : 158c9e896d32778e71f4fd343227f531d693e511
2019-07-08 14:38:45 +02:00
Sebastian Hengst
935fa1d168 merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-07-08 13:45:56 +02:00
Sebastian Hengst
2a4234859f Backout of Bug 1541557 - follow-up: correct function name. a=backout CLOSED TREE 2019-07-08 13:44:31 +02:00
Sebastian Hengst
81adbf7be7 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-07-08 12:55:48 +02:00
Sebastian Hengst
707739d49d Backout of bug 1541557 - follow-up: add back underscore. a=backout CLOSED TREE
--HG--
extra : amend_source : 2ed9f05d07474dc637033a33221fe52f2950d66a
2019-07-08 12:53:31 +02:00
Masayuki Nakano
d02510cd38 Bug 1563508 - part 3: Make runEditorReframeTests() async r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D37059

--HG--
extra : moz-landing-system : lando
2019-07-08 10:33:31 +00:00
Masayuki Nakano
2293e26527 Bug 1563508 - part 2: Make runIMEContentObserverTest() async r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D37058

--HG--
extra : moz-landing-system : lando
2019-07-08 09:55:44 +00:00
Noemi Erli
da3f3eaaac Merge autoland to mozilla-central. a=merge 2019-07-08 12:50:33 +03:00
Sebastian Hengst
515d14403f Backed out 34 changesets (bug 1561150, bug 1541557, bug 1561724, bug 1561999, bug 1558298, bug 1561061, bug 1532795, bug 1560400, bug 1561122) for beta simulation failures (bug 1563905, bug 1564001). a=backout
Backed out changeset 210d6d52e8b0 (bug 1541557)
Backed out changeset 3115db154c45 (bug 1561122)
Backed out changeset b42748878b6e (bug 1561122)
Backed out changeset 266160ca8e9d (bug 1561999)
Backed out changeset 00e935828f41 (bug 1561724)
Backed out changeset 4aaf4882780d (bug 1561150)
Backed out changeset 6644e38a6692 (bug 1561150)
Backed out changeset 72cd895b1613 (bug 1561061)
Backed out changeset f0bac27bad8a (bug 1560400)
Backed out changeset 95da39224eab (bug 1560400)
Backed out changeset 3fe4d4942fd2 (bug 1532795)
Backed out changeset 23e90c6fec2b (bug 1532795)
Backed out changeset a7f093fbef06 (bug 1532795)
Backed out changeset c873f0eb94be (bug 1532795)
Backed out changeset cf359a8ec753 (bug 1532795)
Backed out changeset f2c260cae4b5 (bug 1541557)
Backed out changeset 054a0b7aa81d (bug 1541557)
Backed out changeset f808ec45ff9c (bug 1541557)
Backed out changeset 1025eeef0954 (bug 1541557)
Backed out changeset fe88b250e418 (bug 1541557)
Backed out changeset 6680278c231b (bug 1541557)
Backed out changeset 255735c1ff63 (bug 1541557)
Backed out changeset 51969e1c9c44 (bug 1558298)
Backed out changeset d12525990565 (bug 1558298)
Backed out changeset ef4ec8f0f886 (bug 1558298)
Backed out changeset 45a9599d9641 (bug 1558298)
Backed out changeset 4ccecdba1c34 (bug 1558298)
Backed out changeset 0e91fc9541c2 (bug 1558298)
Backed out changeset edd1cc6badf7 (bug 1558298)
Backed out changeset ba24251835fb (bug 1558298)
Backed out changeset ca88016511bb (bug 1558298)
Backed out changeset c95e6e599836 (bug 1558298)
Backed out changeset 9b1a9d802434 (bug 1558298)
Backed out changeset f859e4de0007 (bug 1558298)

--HG--
rename : testing/mochitest/tests/SimpleTest/MozillaLogger.js => testing/specialpowers/content/MozillaLogger.js
rename : testing/specialpowers/content/SpecialPowersParent.jsm => testing/specialpowers/content/SpecialPowersObserver.jsm
rename : testing/specialpowers/content/SpecialPowersAPIParent.jsm => testing/specialpowers/content/SpecialPowersObserverAPI.js
rename : testing/specialpowers/content/SpecialPowersChild.jsm => testing/specialpowers/content/specialpowers.js
rename : testing/specialpowers/content/SpecialPowersAPI.jsm => testing/specialpowers/content/specialpowersAPI.js
extra : rebase_source : 223d2e49710b016c9973765d402c61692004518e
extra : amend_source : ec773fe82334e6da536bb21e83a994a5f2d03091
2019-07-08 10:37:28 +02:00
Cosmin Sabou
c13838cf6e Bug 1559313 - Disable fixed-z-index-blend.html on Android for frequent failures. a=test-only 2019-07-08 10:09:56 +03:00
Noemi Erli
c914ab324a Backed out changeset f4081c5e99bf (bug 1562255) for failures in browser_createLogin.js CLOSED TREE 2019-07-08 09:19:41 +03:00
Cosmin Sabou
38de4a72d6 Backed out 1 changesets (bug 1561092) for debugger failures on flow and jest tests. CLOSED TREE
Backed out changeset 109fab16fdda (bug 1561092)
2019-07-08 08:53:09 +03:00
Masayuki Nakano
3e4431a008 Bug 1563508 - part 1: Make window_composition_text_querycontent.xul use let in functions instead of var r=m_kato
For making the scope of variants clearer, make it use `let` instead of `var`.

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

--HG--
extra : moz-landing-system : lando
2019-07-08 01:47:02 +00:00
Greyson Gilbert
5ab46fc0a3 Bug 1535809 - Add warning on use of implicitly enabled extensions r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D36431

--HG--
extra : moz-landing-system : lando
2019-07-09 05:21:30 +00:00
Jeff Gilbert
e10bec305a Bug 1443181 - If ANGLE D3D11 disabled, ask for D3D9 explicitly. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D37351

--HG--
extra : moz-landing-system : lando
2019-07-09 04:58:03 +00:00
Csoregi Natalia
3ee5aa5125 Backed out changeset 43e086ced66f (bug 1562953) for toolchains bustage. CLOSED TREE 2019-07-09 08:54:59 +03:00
Hiroyuki Ikezoe
42961b4cff Bug 1553012 - A browser mochitest for scrollIntoView in fission. r=nika
NOTE: This test relies on our wrong behavior that Element.scrollIntoView works
across the cross-origin document boundaries, which is bug 1561754.  So once
after we make 'Find in page' work in fission world (bug 1553384), we should
revise this test.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 05:43:13 +00:00
Hiroyuki Ikezoe
8aa17d97ef Bug 1553012 - Make PresShell::ScrollFrameRectIntoView work in fission world. r=mattwoodrow,nika,tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D36136

--HG--
extra : moz-landing-system : lando
2019-07-09 05:34:27 +00:00
Hiroyuki Ikezoe
57de429e1f Bug 1553012 - Drop nsIDOMWindowUtils.redraw. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D36135

--HG--
extra : moz-landing-system : lando
2019-07-09 04:48:26 +00:00
sotaro
45350055b1 Bug 1531898 - Don't trigger composites on out-of-viewport native texture image updates r=gw
Differential Revision: https://phabricator.services.mozilla.com/D34314

--HG--
extra : moz-landing-system : lando
2019-07-09 02:34:37 +00:00
Nathan Froyd
c762dc8e76 Bug 1562953 - update cctools-port; r=mshal
We need a fix from `cctools-port` master for cross-language LTO builds
to work properly on the Mac.  Rather than cherry-picking yet another
commit, which would have to deal with a updated `ld64` upstream, we've
opted to go ahead and update directly to upstream.

This choice brings about some significant build changes, as TAPI support
has moved to a different library that is not easily buildable directly.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 04:59:37 +00:00
Daisuke Akatsuka
a894b5e7b1 Bug 1521085: Add a test which add a property which is an invalid identifier. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D37220

--HG--
extra : moz-landing-system : lando
2019-07-09 03:54:57 +00:00
Daisuke Akatsuka
5382e84637 Bug 1521085: Return false if the property name is an invalid identifier. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D37219

--HG--
extra : moz-landing-system : lando
2019-07-09 04:43:23 +00:00
Boris Zbarsky
09180be6ec Add tests for the comma-separation aspect of the network.trr.excluded-domains preference. No bug. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D37308

--HG--
extra : moz-landing-system : lando
2019-07-09 04:15:43 +00:00
Jason Laster
d5e49f826f Bug 1561092 - Fix intermittent browser_dbg-wasm-sourcemaps test. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D36837

--HG--
extra : moz-landing-system : lando
2019-07-07 21:20:49 +00:00
Jared Wein
58232b510c Bug 1562255 - Move 'Create new login' button to the bottom of the login list. r=MattN,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D37133

--HG--
extra : moz-landing-system : lando
2019-07-08 04:44:54 +00:00
Andreea Pavel
a0eedef06a Backed out changeset f1b593ede263 (bug 1563993) for wrench bustages on a CLOSED TREE 2019-07-08 05:11:23 +03:00
Ciure Andrei
35fa9e2361 Backed out changeset fe8c2426d9d3 (bug 1514474) for causing beta simulation failures CLOSED TREE 2019-07-08 04:58:50 +03:00
Dzmitry Malyshau
ffc66bad70 Bug 1563993 - WR chase into clips r=jrmuizel
it's very helpful to see the list of clips and the way they affect a chased primitive
Example:
```
    building clip chain instance with local rect TypedRect(1561.0×1968.0 at (-300.0,-300.0))
        clip Rectangle(3840.0×1874.0, Clip) at (0.0,0.0) in space SpatialNodeIndex(1)
        flags (empty), resulted in Partial
        clip Rectangle(3840.0×1874.0, Clip) at (0.0,0.0) in space SpatialNodeIndex(2)
        flags (empty), resulted in Partial
```

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

--HG--
extra : moz-landing-system : lando
2019-07-08 01:48:54 +00:00
Ciure Andrei
d94259f899 Backed out 2 changesets (bug 1514296) for causing beta simulation failures CLOSED TREE
Backed out changeset 88f4a687f039 (bug 1514296)
Backed out changeset fe343795c247 (bug 1514296)
2019-07-08 03:03:22 +03:00
Jim Blandy
40b709bc47 Bug 1470558: Delete Debugger::{resultToCompletion,newCompletionValue,receiveCompletionValue}. r=jorendorff
All uses of these have been rewritten to use the Completion type.

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

--HG--
extra : moz-landing-system : lando
2019-07-07 09:47:58 +00:00
Jim Blandy
53b25d6db0 Bug 1470558: Use Completion in Debugger.Object 'call' and 'apply' methods. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D33078

--HG--
extra : moz-landing-system : lando
2019-07-07 09:47:51 +00:00
Jim Blandy
e97921f538 Bug 1470558: Use Completion type for Debugger eval-related methods. r=jorendorff
DebuggerFrame::eval and DebuggerObject::evalInGlobal are two more invocation
functions that can reasonably use Completion to report the results of the
operation.

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

--HG--
extra : moz-landing-system : lando
2019-07-07 09:47:52 +00:00
Jim Blandy
0db9a27958 Bug 1470558: Use Completion type in Debugger::receiveCompletionValue. r=jorendorff
Replacing more calls to Debugger::resultToCompletion with uses of the newer API.

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

--HG--
extra : moz-landing-system : lando
2019-07-07 09:47:54 +00:00
Jim Blandy
bbe5b53e74 Bug 1470558: Use Completion type in DebuggerObject::{set,get}Property. r=jorendorff
Use the `Completion` type to report the result of the
`DebuggerObject::setProperty` and `getProperty` methods.

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

--HG--
extra : moz-landing-system : lando
2019-07-07 09:47:56 +00:00
Jim Blandy
0817e7f8c3 Bug 1470558: Distinguish yields and awaits in completion values. r=jorendorff
This patch introduces a new type to the debugger, `js::Completion`, describing
how a given JavaScript evaluation completed. It's a wrapper around a `Variant`
with alternatives:
- Return
- Throw
- Terminate
- InitialYield (the initial yield of a generator, returning the generator object)
- Yield (subsequent yields of a generator)
- Await (both initial and subsequent)

We can construct a `Completion` in two ways:

- From any JavaScript operation's result (a success value and a context carrying
  an exception value and stack). This only distinguishes between Return, Throw,
  and Terminate.

- From a stack frame that's about to be popped. This allows us to identify
  yields and awaits.

Given a `Completion` we can construct Debugger API 'completion values' to pass
to hooks, as well as the resumption/value/context states that tell the engine
how to continue execution. Within Debugger itself, `Completion` values are a
convenient place to gather up various bits of logic: identifying suspensions,
chaining resumption values from multiple Debugger hooks, and so on.

Although `Completion` should be used throughout Debugger, this patch only uses
it for the `onPop` hook. Subsequent patches in the series will apply it to other
cases where Debugger can invoke JavaScript.

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

--HG--
extra : moz-landing-system : lando
2019-07-07 17:03:57 +00:00
Julian Descottes
5a3789f753 Bug 1563686 - Introduce menu.popupAtTarget to fix zoom issues in netmonitor menus r=nchevobbe
Already tested via toolbox menus in devtools/client/framework/test/browser_toolbox_zoom_popup.js
Could open a follow up to allow for other anchor points than bottom-left.

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

--HG--
extra : moz-landing-system : lando
2019-07-07 14:15:51 +00:00
Honza Bambas
269532026a Bug 1563538 - Propagate close reason through TLSFilterTransaction to allow tunnel stream reuse when possible + close the undelying tunnel stream when a tunneling connection is closed, r=dragana,kershaw+kershaw
Differential Revision: https://phabricator.services.mozilla.com/D37122

--HG--
extra : moz-landing-system : lando
2019-07-07 13:01:40 +00:00
Honza Bambas
b8829c6ba7 Bug 1556491 - Always close http transactions from nsHttpConnection::CloseTransaction even when the connection or its filter does not refer any, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D37102

--HG--
extra : moz-landing-system : lando
2019-07-06 20:17:59 +00:00
Nicolas Chevobbe
81e865fd97 Bug 1558248 - Don't clear the completion text when it starts with the typed letters. r=fvsch.
We were clearing the completion text all the time to prevent
a visual glitch while typing (See Bug 1491776). But since we
are now waiting for 75ms before calling the autocomplete
function (which triggers the autocompletion text update), we
have a flash of the completion text, which isn't ideal.
In this patch, we check if the typed letters match the begining
of the completion text, and if they do, we don't clear the
completion text.
In the same time, we set the completion text in absolute position
so it doesn't jump when the new letter is added in the CodeMirror
document.
Finally, we change how the Editor pipe events from CodeMirror to
include parameters, so we can use them in JsTerm.

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

--HG--
extra : moz-landing-system : lando
2019-07-07 10:38:08 +00:00