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

661023 Коммитов

Автор SHA1 Сообщение Дата
Alexandre Poirot 6deb23fefc Bug 1563689 - Release DOM event listeners set on top level windows. r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D38205

--HG--
extra : moz-landing-system : lando
2019-07-18 09:48:18 +00:00
L. David Baron ab4b067e89 Bug 1566945 - Pass line box through to nsBlockFrame::AddFrames. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D38391

--HG--
extra : moz-landing-system : lando
2019-07-17 23:34:46 +00:00
L. David Baron ff6518fe62 Bug 1566945 - Pass line box through from nsTextFrame::SetLength. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D38390

--HG--
extra : moz-landing-system : lando
2019-07-17 23:34:45 +00:00
L. David Baron ce547cd6f5 Bug 1566945 - Add a parameter to nsContainerFrame::InsertFrames for aPrevFrame's line box. r=dholbert
For now, always pass null, except when passing it through from one
overload to another.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 23:34:45 +00:00
Ting-Yu Lin 298dd3b769 Bug 1565136 - Move some reframing logic out of WipeContainingBlock to make it done earlier. r=dholbert
Also move the duplicate logic for reframing MathML in ContentAppended()
and ContentRangeInserted() into WipeInsertionParent().

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

--HG--
extra : moz-landing-system : lando
2019-07-18 04:55:03 +00:00
James Teh f6179ac757 Bug 1561517: PanelMultiView: Don't override the tab key when an open menulist has focus. r=johannh
Tab in an open menulist should close the menulist.
Previously, we were overriding the tab key in this case, which meant that the menulist remained open while focus moved elsewhere.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 04:55:51 +00:00
James Teh 52d863a910 Bug 1566299: Update XULListBoxAccessible now that autocomplete-richlistbox-popup is a Custom Element. r=surkov
In bug 1525101, autocomplete-richlistbox-popup was converted to a Custom Element.
This means we can no longer use do_QueryInterface to get nsIAutoCompletePopup.
Instead, we must use Element::AsAutoCompletePopup.
This fixes accessibility focus for these autocompletes.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 04:47:42 +00:00
Tim Nguyen 9916bc6b41 Bug 1567053 - Make default ::-moz-focus-inner border color more accessible. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D38448

--HG--
extra : moz-landing-system : lando
2019-07-18 04:17:18 +00:00
Nicholas Nethercote 151f1c1281 Bug 1564724 - Remove the old hand-written StaticPrefList.h. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D37816

--HG--
extra : moz-landing-system : lando
2019-07-18 04:15:55 +00:00
Ciure Andrei 3ba5c11f47 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-07-18 06:48:24 +03:00
Aaron Klotz e95bbdcbd0 Bug 1567013: Change gen_dll_blocklist_defs.py to use the DLL name for dupe detection; r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D38423

--HG--
extra : moz-landing-system : lando
2019-07-18 03:29:45 +00:00
Aaron Klotz 8b94200412 Bug 1566955: Make EnsureMTA fully thread-safe; r=Jamie
Until now we asserted that EnsureMTA was being called from the main thread
unless the current thread was already in the MTA.

This patch makes MTA thread initialization thread-safe by using a C++11
"magic static," thus allowing EnsureMTA to be safely invoked from any thread.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 00:48:41 +00:00
Mark Hammond 60f4926fea Bug 1564131 - re-enable syncing of builtin themes. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D37837

--HG--
extra : moz-landing-system : lando
2019-07-18 01:25:50 +00:00
Jonas Jenwald 13ef426f2c Bug 1224848 - Attempt to reduce intermittent test failures in the newly added PDF.js `FullZoom` tests by re-ordering the event registrations and zoom calls. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D38289

--HG--
extra : moz-landing-system : lando
2019-07-17 17:33:49 +00:00
Alexandre Poirot 7d4d01eb1d Bug 1566435 - Make netmonitor destroy codepath synchronous. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D38370

--HG--
extra : moz-landing-system : lando
2019-07-17 16:57:53 +00:00
Nicolas Chevobbe bffc60754d Bug 1565781 - Fix ConsoleTable with nested holey array. r=Honza.
A test is added to ensure this is fixed properly.
We also fix the Array previewer to properly return
undefined for unknown array properties, rather than null.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 12:04:42 +00:00
Nicolas Chevobbe f2fd01c611 Bug 1567082 - Fix console table overflow. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D38466

--HG--
extra : moz-landing-system : lando
2019-07-18 11:58:16 +00:00
Nicolas Chevobbe d232eb14b1 Bug 1567071 - Remove main.js file. r=jdescottes.
The file was included in the index.html and was used
to create the WebConsoleWrapper.
We can directly create it from webconsole-ui.js and
not have this unusual mechanism.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 11:40:38 +00:00
Julian Descottes 7185b8d42a Bug 1562740 - Add test for race condition when using dispatchKeyEvent r=remote-protocol-reviewers,ato,ochameau
Depends on D37167

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

--HG--
extra : moz-landing-system : lando
2019-07-18 10:02:41 +00:00
Alex Rosenfeld eed79feede Bug 1565011 - Un-blackbox a file by adding a gutter breakpoint. r=davidwalsh
If user clicks gutter to add a breakpoint in tab of a blackboxed file, the file should be un-blackboxed.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 16:38:24 +00:00
Jason Laster 4ddd0a80e5 Bug 1564168 - [jsdbg2] Debugger.prototype.enabled should be removed. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D37756

--HG--
extra : moz-landing-system : lando
2019-07-18 21:27:54 +00:00
Ted Campbell 78d3ac41a6 Bug 1545278 - Add js::ObjectMayBeSwapped and restrict transplanting. r=iain
JS_TransplantObject is a very powerful API that results in the JITs
having to worry about the type of objects changing in surprising ways.
In practice though, there are very limited uses of this API so we can
add an API to determine which objects have to worry about transplanting.
This can then by asserted in JITs to document places that optimize
performance by expecting not to deal with transplants.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 20:41:01 +00:00
championshuttler 071557545e Bug 1536103 - Fix various Sphinx Warning in 'mach doc' (4). r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D38046

--HG--
extra : moz-landing-system : lando
2019-07-18 20:08:26 +00:00
Jan Andre Ikenmeyer d6f9132747 Bug 1567300 - Include about:protections as a secure internal UI page. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D38568

--HG--
extra : moz-landing-system : lando
2019-07-18 21:24:39 +00:00
Jim Blandy bd9ef4e784 Bug 1565704: Clarify ownership reporting in Debugger's js::Handler base class. r=jonco
Extend js::Handler, the base class for Debugger API handler functions, with a
`hold` method, to act as a pair with the `drop` method. Clarify comments
explaining how they're to be used, with a more explicit explanation of how
reference-counted handlers could be implemented.

Following the new rules:

- Change `ScriptedOnStepHandler` and `ScriptedOnPopHandler` to report the
  handler's ownership.

- Change `DebuggerFrame::setOnStepHandler` and `DebuggerFrame::setOnPopHandler`
  to let the handler deal with that.

Change the `owner` argument type from `DebuggerFrame` to the looser `JSObject`;
the `Handler` base class isn't specific to stack frames at all, but is meant to
eventually be used for `onNewScript` and `onEnterFrame` as well.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 21:17:01 +00:00
Chris Muldoon a4830f2a4b Bug 1563446 - Clean up MozAutocompleteRichListitem fragment markup r=dao
Differential Revision: https://phabricator.services.mozilla.com/D38560

--HG--
extra : moz-landing-system : lando
2019-07-18 21:10:49 +00:00
Erica Wright f4b312eda4 Bug 1567261 - change tab icon to graph icon. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D38549

--HG--
extra : moz-landing-system : lando
2019-07-18 20:38:57 +00:00
L. David Baron 9b308e257b Bug 1567036 - Clear BidiParagraphData::mPrevFrame when ResolveParagraphWithinBlock creates a new continuation, which invalidates its relationship to the line iterator. r=jfkthame
This patch adds an assertion that documents the invariant that this code
needs to maintain to manage the line iterator correctly.  Failing to
meet that invariant would also cause additional assertions in my
work-in-progress on bug 1300293.

It then adds two assignments of mPrevFrame to null that make that
assertion hold.

The first assignment to null is tested by a number of tests already in
our test suite, including
layout/reftests/w3c-css/received/css-writing-modes/block-plaintext-004.html
and layout/reftests/bidi/unicode-bidi-plaintext.html , which would hit
the added assertion if that assignment to null were not present.

The second assignment to null was untested in our test suite (though it
showed up when doing view-source: of https://html.spec.whatwg.org/ ), so
I've added a reftest (1567036-1.html) that hits the added assertion if
that second assignment to null is not present.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 20:09:04 +00:00
Narcis Beleuzu 576655be99 Backed out changeset bcc9b5692630 (bug 1525338) for wpt failure on actionsWithKeyPressed.html . CLOSED TREE 2019-07-19 00:21:00 +03:00
Narcis Beleuzu a30f010301 Backed out changeset ff49c94ed1d2 (bug 1481055) for bc failures on browser_multiselect_tabs_using_keyboard.js . CLOSED TREE 2019-07-18 23:10:58 +03:00
Narcis Beleuzu ff1972d3ae Backed out 11 changesets (bug 1522070) for mochitest failures on test_ManifestProcessor_lang.html . CLOSED TREE
Backed out changeset 1fec79fd2faf (bug 1522070)
Backed out changeset 984a6cb95c09 (bug 1522070)
Backed out changeset 6de0fe9b007c (bug 1522070)
Backed out changeset 1c3668a78484 (bug 1522070)
Backed out changeset aa7801f87840 (bug 1522070)
Backed out changeset df9468fb8406 (bug 1522070)
Backed out changeset 6059f6604172 (bug 1522070)
Backed out changeset 566e019402f2 (bug 1522070)
Backed out changeset 2794e19ca868 (bug 1522070)
Backed out changeset f79999353e41 (bug 1522070)
Backed out changeset c6dd14881fdb (bug 1522070)
2019-07-18 23:09:48 +03:00
Brian Hackett 3725f222ae Bug 1566294 - Use distinct sequence numbers for messages sent from middleman processes, r=nika.
Differential Revision: https://phabricator.services.mozilla.com/D38359

--HG--
extra : rebase_source : a7c9072d996eabc94e453267448eb2a35c89d1a1
2019-07-17 05:47:35 -10:00
Marcos Cáceres 4d6c019baa Bug 1566018 - Return the URL of the manifest from manifest validation in object r=Ola,baku
returns a moz_manifest_url member when `{checkConformance: true}`

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

--HG--
extra : moz-landing-system : lando
2019-07-17 14:04:19 +00:00
Geoff Lankow 2a28a9d273 Bug 1561650 - Ignore unused modifier keys on keydown events in <tree> r=vporof
Differential Revision: https://phabricator.services.mozilla.com/D38248

--HG--
extra : moz-landing-system : lando
2019-07-17 13:07:28 +00:00
Emilio Cobos Álvarez e9a6e7af7f Bug 1530715 - Run mach vendor rust on a CLOSED TREE. r=bustage 2019-07-18 01:21:49 +02:00
Jeff Walden 8fe3efdb50 Bug 1566899 - Rename js/src/dbg to js/src/debugger for a clearer name that doesn't conflict with some people's long-standing use of dbg as having "debug build object directory" connotations. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D38372

--HG--
rename : js/src/dbg/Debugger-inl.h => js/src/debugger/Debugger-inl.h
rename : js/src/dbg/Debugger.cpp => js/src/debugger/Debugger.cpp
rename : js/src/dbg/Debugger.h => js/src/debugger/Debugger.h
rename : js/src/dbg/DebuggerMemory.cpp => js/src/debugger/DebuggerMemory.cpp
rename : js/src/dbg/DebuggerMemory.h => js/src/debugger/DebuggerMemory.h
rename : js/src/dbg/Environment-inl.h => js/src/debugger/Environment-inl.h
rename : js/src/dbg/Environment.cpp => js/src/debugger/Environment.cpp
rename : js/src/dbg/Environment.h => js/src/debugger/Environment.h
rename : js/src/dbg/Frame-inl.h => js/src/debugger/Frame-inl.h
rename : js/src/dbg/Frame.cpp => js/src/debugger/Frame.cpp
rename : js/src/dbg/Frame.h => js/src/debugger/Frame.h
rename : js/src/dbg/NoExecute.cpp => js/src/debugger/NoExecute.cpp
rename : js/src/dbg/NoExecute.h => js/src/debugger/NoExecute.h
rename : js/src/dbg/Object-inl.h => js/src/debugger/Object-inl.h
rename : js/src/dbg/Object.cpp => js/src/debugger/Object.cpp
rename : js/src/dbg/Object.h => js/src/debugger/Object.h
rename : js/src/dbg/Script-inl.h => js/src/debugger/Script-inl.h
rename : js/src/dbg/Script.cpp => js/src/debugger/Script.cpp
rename : js/src/dbg/Script.h => js/src/debugger/Script.h
rename : js/src/dbg/moz.build => js/src/debugger/moz.build
extra : moz-landing-system : lando
2019-07-17 22:48:46 +00:00
Nicholas Nethercote 70de90ef56 Bug 1564724 - Tweak StaticPrefList.h. r=glandium
Minor things to ease the transition to StaticPrefList.yaml.

- Rename apz_touch_drag_enabled() to the correct apz_drag_touch_enabled(), and
  media_mwf_low_latency_force_disabled() to the correct
  media_wmf_low_latency_force_disabled().

- Change some trailing C-style comments to C++-style comments. This makes life
  easier for the script I wrote to convert StaticPrefList.h to
  StaticPrefList.yaml, which will be used for the next patch.

- Avoid comments on #define lines, because they aren't handled in the YAML
  input.

- Convert a multi-line `#if` condition to a single line, because
  Preprocessor.py doesn't handle multi-line conditions.

- Remove one unnecessary `#undef PREF_VALUE` directive.

- Move intl.charset.detector.iso2022jp.allowed to the correct section, so the
  YAML processing script won't complain.

- Change an `int` pref to `int32_t`, again so the YAML processing script won't
  complain.

- Change OS_OPENBSD to XP_OPENBSD, because the former isn't defined for
  preprocessor.py. (It's also only defined in C/C++ when chromium-config.h is
  included, which isn't always the case.)

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

--HG--
extra : moz-landing-system : lando
2019-07-17 22:36:35 +00:00
Mike Hommey b0cf4ceea4 Bug 1566730 - Switch the diffoscope docker image to Debian 10. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D38274

--HG--
extra : moz-landing-system : lando
2019-07-17 21:54:25 +00:00
Paul Bone d0480304ae Bug 1562437 - Call Mutex::Shutdown when the watchdog thread exits r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D38265

--HG--
extra : moz-landing-system : lando
2019-07-17 10:02:12 +00:00
Junior Hsu 40045cf0b5 Bug 1561712 - test for downloads with COOP enabled r=nika
Differential Revision: https://phabricator.services.mozilla.com/D37145

--HG--
extra : moz-landing-system : lando
2019-07-17 23:34:07 +00:00
Mike Conley 6d1794690b Bug 1565927 - Default FrameCrashedEvent's isTopFrame to true if never set. r=nika
This is the safer assumption, since we normally skip setting isTopFrame
explicitly if no BrowsingContext exists (which is the case if, for example,
the crash is due to the fact that creating the top-level browser failed).

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

--HG--
extra : moz-landing-system : lando
2019-07-17 01:50:04 +00:00
Andrew McCreight 8fb21424fa Bug 1510760, part 5 - Support local-to-remote window proxy transplanting. r=tcampbell,peterv
When a BrowsingContext changes from being local to remote, we have to
change all window proxies from being local to remote, using
transplanting. The actual window proxy becomes a remote window
proxy. Cross compartment wrappers (CCWs) to the window proxy also
become remote window proxies in their respective compartments, rather
than CCWs to a remote proxy in the old compartment of the window
proxy, because the window is no longer actually in that
compartment. This also avoids having to figure out what Xray behavior
for remote window proxies should be.

This patch uses the transplanting support I added to
GetRemoteOuterWindowProxy() in the previous patch to ensure that the
remote proxy map holds the correct value after transplanting finishes.

It drops the requirement that both arguments to JS_TransplantObject
have the same class, because we need to transplant a window proxy with
a remote window proxy. It also deals with this by not adding origobj
to the wrapper map unless it is a CCW, to handle transplanting to a
remote proxy.

The core design here, with the remote window proxies in every
compartment, is taken from a patch by peterv.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 19:36:19 +00:00
Andrew McCreight ac69d4bf7b Bug 1510760, part 4 - Add transplant support to GetRemoteOuterWindowProxy(). r=peterv
When we call GetRemoteOuterWindowProxy in the middle of a transplant,
the remote proxy that the function returns will be almost immediately
swapped with some other object. Rather than trying to fix up the
remote proxy map when that happens, this patch adds a new argument
that is a pointer to the object, if any, that the remote proxy is
going to be swapped to. This will be used in the remote proxy map.

Having a value in the remote proxy map that is not a remote proxy
could cause issues if somebody ends up calling
GetRemoteOuterWindowProxy() a second time before the transplant has
finished. To avoid that, my patch asserts that we are returning an
object with the appropriate class.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 19:36:17 +00:00
Andrew McCreight 7e9fda9efb Bug 1510760, part 3 - Thread the transplant object into the prewrap hook. r=tcampbell
In a later patch, the prewrap hook will need to know the address of
the object we are eventually going to transplant into. In the
non-transplant case, the value will be null.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 19:36:15 +00:00
Andrew McCreight 3c4247618f Bug 1510760, part 2 - Add the remote proxy handler to SetDOMProxyInformation. r=peterv,tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D37596

--HG--
extra : moz-landing-system : lando
2019-07-18 19:36:13 +00:00
Andrew McCreight dd23a020fe Bug 1510760, part 1 - Make GetBrowsingContext and GetOuterWindow callable elsewhere. r=peterv
Also fix an existing formatting issue.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 19:36:11 +00:00
Eric Rahm 2e0b92ba20 Bug 1525338 - Limit context menu behavior to macOS. r=maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D38259

--HG--
extra : moz-landing-system : lando
2019-07-17 21:42:56 +00:00
Carolina 5ca5e3c5f5 Bug 1563866 - Makes module imports structure more consistent.r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D38071

--HG--
extra : moz-landing-system : lando
2019-07-18 18:13:06 +00:00
Tom Ritter 87cbad22ea Bug 1564527 - Enable AssertEvalNotUsingSystemPrincipal on Nightly builds r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D37460

--HG--
extra : moz-landing-system : lando
2019-07-18 18:22:06 +00:00
Jonathan Kew bd917919c6 Bug 1567098 - Add a WPT reftest where no content fits onto the shortened line beside a float. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D38535

--HG--
extra : moz-landing-system : lando
2019-07-18 19:07:36 +00:00