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

665089 Коммитов

Автор SHA1 Сообщение Дата
Ed Lee ca11959d3e Bug 1573174 - Add Pocket footers, Monitor adjustments and bug fixes to New Tab Page r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D41669

--HG--
extra : moz-landing-system : lando
2019-08-13 02:22:39 +00:00
Junior Hsu 645c8b23f7 Bug 1543066 - P2 Do not obtain a cross-origin opener-policy through non-HTTPS r=nika
Differential Revision: https://phabricator.services.mozilla.com/D40671

--HG--
extra : moz-landing-system : lando
2019-08-13 02:03:32 +00:00
Junior Hsu 122ebb1e31 Bug 1543066 - P1 Implement COOP:unsafe-inherit r=nika
Differential Revision: https://phabricator.services.mozilla.com/D40356

--HG--
extra : moz-landing-system : lando
2019-08-10 23:24:41 +00:00
Ryan Hunt 772a0b5c03 Bug 1559963 - Wasm: Add basic tests for declared element segments. r=bbouvier
Testing declared segments is a bit tricky until we support
'ref.func'. For now, I've written some basic tests.

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

--HG--
extra : moz-landing-system : lando
2019-08-12 22:27:49 +00:00
Ryan Hunt 79bfc8c3be Bug 1559963 - Wasm: Update spec tests for bulk-memory#98. r=bbouvier
As the following commit explained, this change isn't backwards compatible with
the existing implementation and the spec tests needed to be modified.

I've written a stub commit to the spec interpreter to encode/decode element
segments well enough to pass the current spec tests, and did another
import of the tests. The commit can be found here [1] [2].

[1] https://github.com/eqrion/spec/tree/spidermonkey-tree-tests
[2] d81e3cfe6e

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

--HG--
extra : moz-landing-system : lando
2019-08-12 22:30:15 +00:00
Ryan Hunt 563bbf7b09 Bug 1559963 - Wasm: Update in-tree tests for bulk-memory#98. r=bbouvier
The element segment changes are backwards compatible with the MVP, but not the
existing implementation. Some tests needed to update their expectations or
binary encoding.

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

--HG--
extra : moz-landing-system : lando
2019-08-12 22:21:21 +00:00
Ryan Hunt f6fe16593e Bug 1559963 - Wasm: Update wasmTextToBinary for bulk-memory#98. r=bbouvier
Issue: https://github.com/WebAssembly/bulk-memory-operations/issues/98

This commit updates the encoding of element segments to the latest bulk-memory
proposal. This is backwards compatible with the MVP, but a breaking change from
the previously implemented bulk-memory spec.

The following semantic differences are made with the new encoding.
  1. The introduction of 'Declared' segments
    * Declared segments allow a Wasm module to forward declare which
      functions are aliasable by ref.func. See reference-types#31 for more
      information.
  2. Whether an element expression or function indices are encoded now depends
     on an independent flag from the 'kind' of an element segment.
  3. The definition kind or element expression type is now explicitly encoded
     in the element segment.

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

--HG--
extra : moz-landing-system : lando
2019-08-12 22:31:17 +00:00
Ryan Hunt da9af79283 Bug 1559963 - Wasm: Update decoding of element segments for bulk-memory#98. r=bbouvier
Issue: https://github.com/WebAssembly/bulk-memory-operations/issues/98

This commit updates the decoding of element segments to the latest bulk-memory
proposal. This is backwards compatible with the MVP, but a breaking change from
the previously implemented bulk-memory spec.

The following semantic differences are made with the new encoding.
  1. The introduction of 'Declared' segments
    * Declared segments allow a Wasm module to forward declare which
      functions are aliasable by ref.func. See reference-types#31 for more
      information.
  2. Whether an element expression or function indices are encoded now depends
     on an independent flag from the 'kind' of an element segment.
  3. The definition kind or element expression type is now explicitly encoded
     in the element segment.

A following commit will update the in-tree wat2wasm encoder.

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

--HG--
extra : moz-landing-system : lando
2019-08-12 22:37:15 +00:00
Brindusan Cristian a8a9f04996 Backed out changeset 58dd47c5aa51 (bug 1573111) for build bustages at TestBaseProfiler.cpp:875:51. CLOSED TREE 2019-08-13 06:21:16 +03:00
Gerald Squelart b2274966d4 Bug 1573111 - BlocksRingBuffer can switch underlying buffer - r=gregtatum
`BlocksRingBuffer` will be used both inside and outside `ProfileBuffer`:
- Inside to serve as `ProfileBuffer`'s main storage for stack traces,
- Outside to allow marker storage even when `ProfileBuffer` is locked during
  stack sampling.

`ProfileBuffer` only exists while `ActivePS` is alive, but because of the
potential outside accesses above (due to small races between ProfileBuffer
shutdown, and thread-local IsBeingProfiled() flags), we cannot just do the same
for BlocksRingBuffer, and it must remain alive to gracefully deny these accesses
around the profiler startup and shutdown times.

To accomplish this, `BlocksRingBuffer` may be in different states:
- "In-session", we have a real buffer to write to and read from,
- "Out-of-session", without buffer so reads&writes do nothing.
This is implemented by enclosing the underlying `ModuloBuffer` and the entry
deleter in a `Maybe`, which may be `Nothing` when the profiler is not running
and the `ProfileBuffer`'s `BlocksRingBuffer` is out-of-session.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 03:11:53 +00:00
Masayuki Nakano ede2ddb459 Bug 1572375 - part 8: Wrap `EditorBase::mPaddingBRElementForEmptyEditor` with an inline method r=m_kato
`TextEditRules` and `HTMLEditRules` still refer
`EditorBase::mPaddingBRElementForEmptyEditor` directly but this is really ugly.
Therefore, this patch creates `EditorBase::HasPaddingBRElementForEmptyEditor()`
for wrapping its access.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 00:57:38 +00:00
Masayuki Nakano 485a59c303 Bug 1572375 - part 7: Get rid of `HTMLEditRules::OnModifyDocument()` r=m_kato
`HTMLEditRules::OnModifyDocument()` is same as just calling
`EditorBase::EnsureNoPaddingBRElementForEmptyEditor()` and
`EditorBase::MaybeCreatePaddingBRElementForEmptyEditor()` so that this patch
gets rid of the method, then, creates `HTMLEditor::OnModifyDocumentInternal()`
and makes it do same thing.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 00:56:57 +00:00
Masayuki Nakano 1df80236d6 Bug 1572375 - part 6: Get rid of `HTMLEditRules::WillLoadHTML()` r=m_kato
`HTMLEditRules::WillLoadHTML()` does exactly same thing as
`EditorBase::EnsureNoPaddingBRElementForEmptyEditor()`.  Therefore, we can
get rid of it and make `HTMLEditor::LoadHTML()` not use `HTMLEditRules`.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 00:09:46 +00:00
Masayuki Nakano c1906f614d Bug 1572375 - part 5: Move `TextEditRules::CreatePaddingBRElementForEmptyEditorIfNeeded()` into `EditorBase` r=m_kato
`TextEditRules::CreatePaddingBRElementForEmptyEditorIfNeeded()` is used by
both `TextEditor` and `HTMLEditor` so that this moves it into `EditorBase`.

Additionally, making `TextEditor::MaybeChangePaddingBRElementForEmptyEditor()`
call it if there is no content.  Then, we can avoid the dependency of them.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 10:19:11 +00:00
Masayuki Nakano 3b82fdde10 Bug 1572375 - part 4: Move `TextEditRules::RemoveRedundantTrailingBR()` into `TextEditor` r=m_kato
`TextEditRules::RemoveRedundantTrailingBR()` is used only by multiline text
editor (i.e., `<textarea>`).  Therefore, it should be moved into `TextEditor`.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 09:01:56 +00:00
Masayuki Nakano d88036fb98 Bug 1572375 - part 3: Get rid of `TextEditRules::WillUndo()`, `TextEditRules::DidUndo()`, `TextEditRules::WillRedo()` and `TextEditRules::DidRedo()` r=m_kato
`TextEditRules::WillUndo()` and `TextEditRules::WillRedo()` only check whether
the editor is readonly/disabled or not.  So, `TextEditor::UndoAsAction()` and
`TextEditor::RedoAsAction()` should do it first.

`TextEditRules::DidUndo()` and `TextEditRules::DidRedo()` only set or unset
`mPaddingBRElementForEmptyEditor` if it's restored by undo or redo.
Therefore, we can move the code into `TextEditor::UndoAsAction()` and
`TextEditor::RedoAsAction()`.

Note that this patch makes `TextEditor::UndoAsAction()` discard the result of
`TransactionManager::Undo()` because this is inconsistent from what
`TextEditor::RedoAsAction()` does and this was changed by part 5 of bug 1447924.
https://hg.mozilla.org/mozilla-central/rev/869a1445816be7f43f54f7c97f28e4c6273fa75f

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

--HG--
extra : moz-landing-system : lando
2019-08-09 08:57:00 +00:00
Masayuki Nakano b0606032ba Bug 1572375 - part 2: Split `TextEditRules::WillInsert()` r=m_kato
`TextEditRules::WillInsert()` is not used with initial purpose since
`HTMLEditor` always works with `HTMLEditRules` and its `WillDoAction()`
always handles `EditSubAction::eInsertElement`.

Additionally, its name is too generic since it does non-related 3 things.

One is checking whether the editor is readonly or disabled.  However, this
may not be necessary since its callers may have already checked it or
just ignored the result.  So, this should be check by each caller.

Next one is masking password if auto-masking is enabled.  This is `TextEditor`
specific feature so that this patch moves the code into
`TextEditor::MaybeDoAutoPasswordMasking()`.

Final one is removing empty `<br>` element for empty editor if there is.
This is common feature so that this patch moves this code into
`EditorBase::EnsureNoPaddingBRElementForEmptyEditor()`.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 08:25:37 +00:00
Masayuki Nakano b25f8b0e06 Bug 1572375 - part 1: Move `TextEditRules::mPaddingBRElementForEmptyEditor` to `EditorBase` r=m_kato
`TextEditRules::mPaddingBRElementForEmptyEditor` are used by both `TextEditor`
and `HTMLEditor`.  Therefore, it should be in `EditorBase`.

This patch makes `TextEditRules` and `HTMLEditRules` directly access the
private member of `EditorBase` temporarily.  It'll be fixed by the following
patches.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 07:03:29 +00:00
Nick Alexander 8e0d872e6e Bug 1542004 - Add `android-javadoc` lint. r=agi
This also applies the error listener just to the Javadoc tasks
(previously, it applied to the `apiGenerate*` tasks as well, 'cuz they
inherit from `Javadoc`).

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

--HG--
extra : moz-landing-system : lando
2019-08-13 01:45:03 +00:00
Glenn Watson d34d735320 Bug 1572646 - Detect and optimize picture cache tiles that are solid colors. r=kvark
With this patch, tiles that are covered only by the opaque backdrop
primitive are detected and noted as solid colors.

Solid color tiles save memory and performance, because:
 - No texture slice is allocated as a render target for them.
 - No need to rasterize this tile.
 - Drawing the tile is done with the faster rectangle shader.

This already saves performance and GPU memory on quite a few
real world sites (esp. when running at 4k). However, the main
benefit of this will be once we enable picture caching on
multiple content slices and the UI layer. When this occurs, it's
important to avoid allocating tile buffers for all the solid
rectangle tiles that the UI layer typically contains.

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

--HG--
extra : moz-landing-system : lando
2019-08-12 21:59:58 +00:00
Narcis Beleuzu 043721cdd8 Backed out changeset 0836c998795b (bug 1573106) for wpt failures on accumulation-per-property.html . CLOSED TREE 2019-08-13 05:18:44 +03:00
Micah Tigley 1ddabaa2d4 Bug 1570308 - make legend understandable to screen readers r=fluent-reviewers,mtigley,flod,MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D41437

--HG--
extra : moz-landing-system : lando
2019-08-12 20:44:30 +00:00
Steve Fink e1bc970332 Bug 1572065 - Avoid assertion when OOMing with test mark queue, r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D41460

--HG--
extra : moz-landing-system : lando
2019-08-10 07:44:04 +00:00
Steve Fink a1032d4fd8 Bug 1570161 - do not attempt to mark things gray if they cannot be marked gray r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D41468

--HG--
extra : moz-landing-system : lando
2019-08-10 07:48:51 +00:00
Dhyey Thakore 8a60021cf3 Bug 1571780 - Inline previews are sorted column wise, r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D41407

--HG--
extra : moz-landing-system : lando
2019-08-12 14:39:48 +00:00
Tim Nguyen 94906f648b Bug 1571451 - Make about:logins work when restoring with different tab focused. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D41642

--HG--
extra : moz-landing-system : lando
2019-08-12 21:40:37 +00:00
Mike Hommey a4e51ec9ee Bug 1572381 - Use the same tooltool manifest for webrender as for other tasks using vs2017. r=nalexander
It turns out this task doesn't use cmake or ninja (anymore?).

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

--HG--
extra : moz-landing-system : lando
2019-08-12 16:13:15 +00:00
Omkar Konaraddi 3f798259d8 Bug 1573308 - Close urlbar view after hiding contextual tip r=adw
Differential Revision: https://phabricator.services.mozilla.com/D41649

--HG--
extra : moz-landing-system : lando
2019-08-12 22:20:39 +00:00
James Teh a316be03d1 Bug 1567377: Correct a11y semantics for address bar. r=dao
For accessibility, the address bar is now exposed as a parent combo box which contains the input and the results list.
The combo box role on urlbarView-body-inner is no longer needed and has therefore been removed.
This means screen readers no longer report an extraneous combo box whenever the results list is opened.

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

--HG--
extra : moz-landing-system : lando
2019-08-12 14:06:27 +00:00
Liang-Heng Chen 8b7336bdae Bug 1573109 - use string pref to avoid overflow; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41532

--HG--
extra : moz-landing-system : lando
2019-08-12 19:52:02 +00:00
Shane Caraveo 4321e2c746 Bug 1376932 webrequest onHeadersReceived modification test r=robwu
Tests that onHeadersReceived can modify cached headers.

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

--HG--
extra : moz-landing-system : lando
2019-08-12 21:02:22 +00:00
Bastien Orivel 9c386d0de9 Bug 1573039 - Part 2: Revendor dependencies. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D41489

--HG--
rename : third_party/rust/image/src/hdr/hdr_decoder.rs => third_party/rust/image/src/hdr/decoder.rs
rename : third_party/rust/image/src/hdr/hdr_encoder.rs => third_party/rust/image/src/hdr/encoder.rs
extra : moz-landing-system : lando
2019-08-12 12:39:47 +00:00
Bastien Orivel 4665febab6 Bug 1573039 - Part 1: Update image to 0.22. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D41488

--HG--
extra : moz-landing-system : lando
2019-08-12 20:22:06 +00:00
Ehsan Akhgari da187aab70 Bug 1560741 - Part 2: Remove the now unneeded PERMISSION_REQUEST_THIRD_PARTY_ORIGIN telemetry probe; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41306

--HG--
extra : moz-landing-system : lando
2019-08-12 21:39:05 +00:00
Ehsan Akhgari 64cd489087 Bug 1560741 - Part 1: Disallow notification permission requests from cross-origin iframes; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41305

--HG--
extra : moz-landing-system : lando
2019-08-12 21:38:58 +00:00
Emilio Cobos Álvarez 7e441e1dd8 Bug 1573106 - Use shortest serialization for computed text-emphasis-style too. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D41513

--HG--
extra : moz-landing-system : lando
2019-08-12 21:31:52 +00:00
Haik Aftandilian ecc3193420 Bug 1564434 - MT_safe_localtime generates incorrect value in sandboxed content process r=handyman
Allow access to timezone data files from the content/flash/GMP/utility sandbox.

Remove unneeded regex providing access to ^/private/tmp/KSInstallAction\. files.

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

--HG--
extra : moz-landing-system : lando
2019-08-12 21:36:03 +00:00
harry bb7b264fe5 Bug 1551240 - Remove quantumbar handling from tests. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D41623

--HG--
extra : moz-landing-system : lando
2019-08-12 20:51:06 +00:00
Tim Nguyen f8163ec624 Bug 1572547 - Make about:logins notification bar button point to the right page. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D41644

--HG--
extra : moz-landing-system : lando
2019-08-12 21:35:55 +00:00
Mihai Alexandru Michis e97c3c8e83 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-08-13 00:58:51 +03:00
Mihai Alexandru Michis 83d134b73c Merge inbound to mozilla-central. a=merge 2019-08-13 00:53:10 +03:00
Brindusan Cristian 29eb45c017 Backed out 2 changesets (bug 1560741) for mochitest failures at test_permission_isHandlingUserInput.xul. CLOSED TREE
Backed out changeset c08aa2078829 (bug 1560741)
Backed out changeset 9dc1d39d2786 (bug 1560741)
2019-08-13 00:23:59 +03:00
Bob Clary 084747dfb5 Bug 1572563 - [mozdevice 3.0.5] - sync file system after modifications, r=jmaher.
Depends on D41570

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

--HG--
extra : moz-landing-system : lando
2019-08-12 19:57:01 +00:00
Cosmin Sabou 5264922d4e Bug 1429950 - Disable test_headless_screenshot.html on linux !e10s. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D41474

--HG--
extra : moz-landing-system : lando
2019-08-12 16:25:11 +00:00
rsbrans 7cc1352f45 Bug 1557222 - Remove AppCacheInsecure deprecated operation r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D41462

--HG--
extra : moz-landing-system : lando
2019-08-12 16:26:44 +00:00
Bob Clary 6f8bdebafe Bug 1572563 - [mozdevice 3.0.5] - Continue to use echo adb_returncode=0 hack for emulators regardless of Android version, r=jmaher.
Depends on D41395

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

--HG--
extra : moz-landing-system : lando
2019-08-12 15:38:43 +00:00
Bob Clary a2f6a21c82 Bug 1572563 - [mozdevice 3.0.5] - repeatedly attempt to detect ls through execution to determine which instance is available, r=gbrown,jmaher.
***

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

--HG--
extra : moz-landing-system : lando
2019-08-12 15:32:45 +00:00
Bob Clary 88ded63ad8 Bug 1572563 - [mozdevice 3.0.5] - work around intermittent test path failures on emulators, r=jmaher.
Differential Revision: https://phabricator.services.mozilla.com/D41394

--HG--
extra : moz-landing-system : lando
2019-08-12 20:06:19 +00:00
Mike Conley bffea54155 Bug 1563500 - Avoid accessing bogus reftest gBrowser in SessionStore.onMayChangeProcess. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D40322

--HG--
extra : moz-landing-system : lando
2019-08-12 20:09:21 +00:00
Dylan Roeh 5debf9550f Bug 1573251 - Add missing @returns in ContentBlocking. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D41628

--HG--
extra : moz-landing-system : lando
2019-08-12 20:04:11 +00:00