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

652903 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Kew 56105e859f Bug 1553874 - Skip calling in to GetJISx4051Breaks when line-break:anywhere is in effect. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D32448

--HG--
extra : moz-landing-system : lando
2019-05-24 14:37:43 +00:00
Yury Delendik a78fb97ef2 Bug 1554180 - Use devtools-mc-assets version of dwarf_to_json.wasm r=jlast
Debugger fails with current version of dwarf_to_json.wasm. Using proper version
fixes it when DWARF is used as source maps.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 14:22:40 +00:00
Tom Ritter e06d958abe Bug 1546832 - Adjust letterboxing to take the FindBar and Devtools into account r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D31639

--HG--
extra : moz-landing-system : lando
2019-05-24 07:53:11 +00:00
violet 13e131d652 Bug 1383650 - Support geometry property for SVG image element r=longsonr
The only different part is to resolve intrinsic image size. This patch
implements explicit requirements of the spec, but an edge case is tricky.
It's not clear per spec what the intrinsic image size is for an SVG
without explicit width/height, something like:

<svg>
  <image href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'><rect width='40' height='90' fill='red' /></svg>"/>
</svg>

Chrome treats the intrinsic size of the href svg as the default size of
a replaced element (300x150), our image/VectorImage.cpp doesn't resolve
size in this case.

We can handle this particular case in some seperate bug if necessary, I think.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 12:40:12 +00:00
Emilio Cobos Álvarez 5f33ea86d5 Bug 1553769 - Add a test for switching a tab via window.focus() on a related tab. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D32396

--HG--
extra : moz-landing-system : lando
2019-05-24 14:11:36 +00:00
Kevin Morehouse 25f075630a Bug 1546109 - Replace references to generated properties in the server r=jlast
Replace:
        generatedSourceActor —> sourceActor
        generatedLine —> line
        generatedColumn —> column
        generatedLastColumn —> lastColumn
        generatedUrl —> url
        generatedLocation —> location
        GeneratedLocation —> SourceLocation
        parentGeneratedLocation —> parentLocation
    Replace references in comments to match the above changes.

The affected files are:

    devtools/server/actors/breakpoint.js
    devtools/server/actors/common.js
    devtools/server/actors/frame.js
    devtools/server/actors/thread.js
    devtools/server/actors/utils/TabSources.js

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

--HG--
extra : moz-landing-system : lando
2019-05-24 13:43:11 +00:00
Noemi Erli dde2e3cd9f Backed out 4 changesets (bug 1553482) for build bustages in BinASTTokenReaderBase.h CLOSED TREE
Backed out changeset 49278023aa7d (bug 1553482)
Backed out changeset 57a5c8689ed3 (bug 1553482)
Backed out changeset c50879a48ff8 (bug 1553482)
Backed out changeset 5570e3e6c5e5 (bug 1553482)
2019-05-24 16:49:30 +03:00
Nikki S 7e9e422495 Bug 1552914 - [mozlog] Update formatters to reflect new known_intermittent field. r=jgraham
The in-tree log formatters have been updated to reflect the new `known_intermittent`
field, ensuring that a status matching a `known_intermittent` status  is not logged as an
unexpected failure. A message is printed when there is a test status that matches this.
A test for known intermittents has been added to the test_formatters, following the
same testing style for pass or fail.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 13:30:13 +00:00
David Teller 4eddbb64f5 Bug 1553482 - Use BinASTInterfaceAndField in Context;r=arai
Depends on D32295

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

--HG--
extra : moz-landing-system : lando
2019-05-24 12:11:02 +00:00
David Teller b39f990648 Bug 1553482 - Exposing some of the grammar as macros;r=arai
To extract Huffman tables (see bug 1552435), we need the ability to walk through the grammar.
This patch starts implementing grammar walking, as macros - at this stage, sufficiently to walk
through interfaces and start dealing with their fields.

Depends on D32291

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

--HG--
extra : moz-landing-system : lando
2019-05-24 12:10:29 +00:00
David Teller a0811ecf81 Bug 1553482 - Generating BinASTInterfaceAndField;r=arai
Depends on D32289

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

--HG--
extra : moz-landing-system : lando
2019-05-24 12:10:06 +00:00
David Teller 4ea2b0c00a Bug 1553482 - Generating BINAST_TOTAL_NUMBER_OF_FIELDS, BINAST_NUMBER_OF_LIST_TYPES;r=arai
Differential Revision: https://phabricator.services.mozilla.com/D32289

--HG--
extra : moz-landing-system : lando
2019-05-24 12:09:38 +00:00
Edgar Chen 800499a9f9 Bug 1554122 - Rename nsAutoPopupStatePusher* to AutoPopupStatePusher; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D32457

--HG--
extra : moz-landing-system : lando
2019-05-24 12:42:29 +00:00
Edgar Chen 1b791c15c0 Bug 1554122 - Mark nsAutoPopupStatePusher as MOZ_RAII; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D32453

--HG--
extra : moz-landing-system : lando
2019-05-24 12:41:17 +00:00
Jan Odvarko 952295a420 Bug 1552110 - Properly render values in the Security panel r=fvsch
Differential Revision: https://phabricator.services.mozilla.com/D32324

--HG--
extra : moz-landing-system : lando
2019-05-24 13:01:01 +00:00
Julian Seward 95920f18b6 Bug 1554053 - Wasm via Cranelift: size of interrupt check comparison is incorrect. r=bbouvier
This patch changes Wasm-via-CL to always use a 32-bit comparison for interrupt checks.

Wasm-via-Cranelift generates code to do interrupt checks by doing a
machine-word sized comparison. However, the compared-against value,
TlsData::interrupt, is an Atomic<uint32_t, mozilla::Relaxed>, and so the
comparison is incorrect on all 64 bit targets: it also compares the 4 bytes
following TlsData::interrupt, which look to me as if they are an alignment
hole (iow, junk).

This is obviously incorrect, and it's observably inconsistent with what the
-via-Ion and -baseline routes do, which is to always generate a 32-bit
comparison.

It also holds a potential danger of a store-forwarding stall (big read after
small write), although, based on the struct layout and detailed reading of the
Intel opt guide, I think it's probably harmless for the Intel Core
architecture family.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 12:46:24 +00:00
Noemi Erli f19596c1f0 Backed out changeset dc38da197244 (bug 1552464) for devtools failures in browser_telemetry_viewport_change.js 2019-05-24 15:48:34 +03:00
Masayuki Nakano e61b4bc007 Bug 1551185 - Make nsImageFrame::ShouldDisplaySelection() check whether resizer target element is its content or not r=smaug
Currently, `nsISelectionDisplay::DISPLAY_ALL` is used only by `HTMLEditor`.
And only when it's set, `nsImageFrame::ShouldDisplaySelection()` returns `false`
if only its `mContent` is selected.  However, this is based on an assumption,
that is, when only one `<img>` is selected in an HTML editor, it's target of
resizers.  However, this is completely wrong.  Web apps can disable resizers
with `document.execCommand("enableObjectResizing", false, false)` and now,
it's disabled by default.

Therefore, this patch makes the method check whether its `mContent` is
target of resizers at the moment.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 12:02:34 +00:00
ivan 0a329b55e0 Bug 1533857 - Fix the broken link in docs r=sole
Fix the broken link in docs to devtools. The link to chapter about testing.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 12:21:18 +00:00
Gabriele Svelto 00782757b5 Bug 1047408 - Remove nsTWeakRef.h r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D32319

--HG--
extra : moz-landing-system : lando
2019-05-23 20:16:23 +00:00
Jan de Mooij 182c086abf Bug 1551796 part 11 - Move more JitScript code into JitScript.cpp. r=tcampbell
JitScript::initICEntriesAndBytecodeTypeMap is still in BaselineIC.cpp because
it depends on things defined there (like FallbackStubAllocator) and I think it's
not unreasonable to keep it there.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 12:03:13 +00:00
Jan de Mooij 32ffc2b901 Bug 1551796 part 10 - Move JitScript to js::jit namespace. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D32299

--HG--
extra : moz-landing-system : lando
2019-05-24 12:02:51 +00:00
Jan de Mooij a6837b96fa Bug 1551796 part 9 - Merge FillBytecodeTypeMap into JitScript::initICEntries. r=tcampbell
We now do a single pass over the bytecode instead of two.

Register pressure of the combined code might be a bit worse but it also
eliminates some duplication so I think it's worth it.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 12:02:38 +00:00
Mihai Alexandru Michis 35449f0689 Backed out changeset e52d041dc3de (bug 1553378) for causing build bustages in ContentEventHandler.cpp. CLOSED TREE
--HG--
extra : amend_source : 36025186ca5788f5889ff7d97252900eefab0a36
2019-05-24 14:32:27 +03:00
alexandru.ionescu fa583b7a2f Bug 1545055 Run warm page load tests against Fennec v64 in CI r=Bebe,stephendonner
Differential Revision: https://phabricator.services.mozilla.com/D31770

--HG--
extra : moz-landing-system : lando
2019-05-24 11:19:07 +00:00
arthur.iakab af8e458c5f Backed out changeset a296439a25ff (bug 1519636) for frequent Windows cppunit failures CLOSED TREE 2019-05-24 14:26:01 +03:00
Cameron McCormack 5bed2b0138 Bug 1553378 - Devirtualize calls to GetText() / TextLength() when we know we have a Text node. r=smaug,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D32100

--HG--
extra : moz-landing-system : lando
2019-05-24 08:10:55 +00:00
Jan Beich 697c499897 Bug 1547193 - Unbreak on platforms without GeckoProfiler after bug 1552530.
Differential Revision: https://phabricator.services.mozilla.com/D32446

--HG--
extra : moz-landing-system : lando
2019-05-24 11:09:59 +00:00
Carolina 0a89a5c5a4 Bug 1541450 - Add a Certs cleaner and defines that object in FLAGS_MAP. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D27193

--HG--
extra : moz-landing-system : lando
2019-05-16 18:45:48 +00:00
Noemi Erli 2f444f16fe Backed out 4 changesets (bug 1553482) for causing build bustages in BinASTTokenReaderBase.h CLOSED TREE
Backed out changeset dea9d20a1162 (bug 1553482)
Backed out changeset f6e6533c5db2 (bug 1553482)
Backed out changeset 82f5e463bcb5 (bug 1553482)
Backed out changeset 9db8b5eba797 (bug 1553482)
2019-05-24 13:05:09 +03:00
Sylvestre Ledru c82ea97226 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-05-24 09:59:17 +00:00
David Teller 2ace306416 Bug 1553482 - Use BinASTInterfaceAndField in Context;r=arai
Depends on D32295

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

--HG--
extra : moz-landing-system : lando
2019-05-24 09:12:22 +00:00
David Teller 1d88f87df3 Bug 1553482 - Exposing some of the grammar as macros;r=arai
To extract Huffman tables (see bug 1552435), we need the ability to walk through the grammar.
This patch starts implementing grammar walking, as macros - at this stage, sufficiently to walk
through interfaces and start dealing with their fields.

Depends on D32291

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

--HG--
extra : moz-landing-system : lando
2019-05-24 09:09:06 +00:00
David Teller 78bb4af250 Bug 1553482 - Generating BinASTInterfaceAndField;r=arai
Depends on D32289

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

--HG--
extra : moz-landing-system : lando
2019-05-24 09:08:58 +00:00
David Teller 14632329cc Bug 1553482 - Generating BINAST_TOTAL_NUMBER_OF_FIELDS, BINAST_NUMBER_OF_LIST_TYPES;r=arai
Differential Revision: https://phabricator.services.mozilla.com/D32289

--HG--
extra : moz-landing-system : lando
2019-05-24 09:08:54 +00:00
Joel Maher 0b6cbb257b Bug 1550141 - disable toolkit/modules/tests/xpcshell/test_DeferredTask.js on osx 10.14. r=Yoric
disable toolkit/modules/tests/xpcshell/test_DeferredTask.js on osx 10.14.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 06:11:29 +00:00
Tim Nguyen cce8333093 Bug 1550559 - Convert findbar XUL textbox to HTML input. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D30542

--HG--
extra : moz-landing-system : lando
2019-05-20 21:54:15 +00:00
Andrea Marchesini 37d54b0154 Bug 1551056 - Get rid of BasePrincipal::CloneForcingFirstPartyDomain, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D30803

--HG--
extra : moz-landing-system : lando
2019-05-22 22:35:40 +00:00
Martin Stransky ba6373e9aa Bug 1531338 - [Linux/Gtk] Get and use Gtk theme text color for active/pressed button, r=dao,emilio
- Follow Gtk and get theme button text color directly from "button" CSS node instead of "button label"
- Provide new -moz-gtk-buttonactivetext color for active/pressed button text color
- Replace ButtonText color with -moz-gtk-buttonactivetext when it's appropriate

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

--HG--
extra : moz-landing-system : lando
2019-05-24 08:51:48 +00:00
Razvan Caliman 49cc754a87 Bug 1552464 - Add telemetry probe to count the number of viewport changes in RDM. r=mtigley,nchevobbe.
This patch adds telemetry instrumentation to count the number of times the RDM viewport properties are changed (dimensions and rotation). This count will be correlated with the panel open count and time spent open to refine the baseline for RDM usage and filter out accidental usage.

A new Redux middleware, `telemetryMiddleware`, is introduced to the RDM Redux store. This observes actions dispatched to the store. For `RESIZE_VIEWPORT` and `ROTATE_VIEWPORT` actions, it increases a numeric value for the new scalar telemetry probe, `"devtools.responsive.viewport_change_count"`.

Other actions may be observed in this middleware for future telemetry instrumentation of RDM.

The `RESIZE_VIEWPORT` action is a dispatched with a high frequency when dragging to resize. Therefore, we debounce logging for this action. To ensure the test can reliably test counting this action without adding needless complexity to account for the asynchronicity, the `debounce()` utility is extended with an `immediate` parameter to cause the very first call to be executed immediately before going into the debounce behaviour.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 08:52:41 +00:00
Makoto Kato d05eeb5f3a Bug 1520456 - test_CF_HTML_clipboard.html should skip non-mac platform instead of detecting platform in html file. r=masayuki
test_CF_HTML_clipboard.html does nothing if platform isn't mac. But according
to intermittent failure log, this is often failure on Android.

I guess that this is infra issue, but we should use skip-if to avoid this
failure instead.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 06:28:02 +00:00
Luca Greco 44c9db5f88 Bug 1454192 - Add expected storage site permissions to extensions if missing on APP_STARTUP. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D32121

--HG--
extra : moz-landing-system : lando
2019-05-22 14:56:55 +00:00
Emily Toop 454438c657 Bug 1549633- Update GeckoViewExample to show new `MediaDelegate` recording device status handling. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D31073

--HG--
extra : moz-landing-system : lando
2019-05-24 07:45:48 +00:00
Emily Toop f00e577132 Bug 1549633 - Enable listening for `recording-device-events`. r=esawin,geckoview-reviewers,snorp
This is to allow us to detect the enabling and disabling of recording so that we can notify the embedding application of the change in status.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 07:45:41 +00:00
Jan de Mooij 8a0554624b Bug 1551796 part 8 - Rename ShouldReleaseTypes to ShouldDiscardJitScripts. r=tcampbell
"Discard" instead of "Release" for consistency with ShouldDiscardBaselineCode.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 07:34:04 +00:00
Jan de Mooij 2f3fb6a047 Bug 1551796 part 7 - Improve the JitScript comment a bit. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D32293

--HG--
extra : moz-landing-system : lando
2019-05-24 07:33:47 +00:00
Jan de Mooij dcec7d8e19 Bug 1551796 part 6 - Use DefaultInitializeElements to initialize JitScript's StackTypeSet array. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D32292

--HG--
extra : moz-landing-system : lando
2019-05-24 07:33:27 +00:00
Jan de Mooij 44a53da96b Bug 1551796 part 5 - Make JitScript::destroy static. r=tcampbell
The destroy() call in JSScript::finalize was moved into DestroyJitScripts for
consistency with BaselineScript and IonScript.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 07:33:12 +00:00
Bastien Orivel 85c6ac0805 Bug 1520166 - Part 2: revendor dependencies. r=jcj
Differential Revision: https://phabricator.services.mozilla.com/D32222

--HG--
extra : moz-landing-system : lando
2019-05-24 07:31:35 +00:00
Bastien Orivel d24b02b94c Bug 1520166 - Part 1: Use a vendored version of authenticator. r=jcj
This replaces the in-tree u2fhid (which has been renamed to
authenticator) by the published crate.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 07:31:26 +00:00