Commit Graph

606482 Commits

Author SHA1 Message Date
Dão Gottwald
1f4131affa Bug 1473595 - Enable "Ctrl+Tab cycles through tabs in recently used order" feature by default in new profiles. r=jaws
MozReview-Commit-ID: 5lmOj3k4tFf

--HG--
extra : rebase_source : e7ea50f496827a1cdda1ebc9d3f602822bea5468
2018-07-26 11:13:34 +02:00
Ruslan Bekenev
cecc6adc0a Bug 1400775 - reorder tracking protection radio buttons for consistency; r=jaws
MozReview-Commit-ID: 1kHVH7pHXCV

--HG--
extra : rebase_source : adb39932b579360457ec51aaff236535fca3d925
2018-07-26 10:48:00 -07:00
Tarek Ziadé
28b39a5a82 Bug 1478684 - null check the list returned by TabGroup::GetTabGroupList() - r=smaug
MozReview-Commit-ID: 7F1QPvA8Ypf

--HG--
extra : rebase_source : fc079d085634d8d7441a916ab8dd749647101f4c
2018-07-26 17:37:20 +02:00
Rob Wood
8100c5f263 Bug 1476682 - move raptor tests from tier 3 to tier 2; r=igoldan
MozReview-Commit-ID: KhrnmysfnLZ

--HG--
extra : rebase_source : a7adf6f094e2724a25db30480a34e98eb4f1acb6
2018-07-24 16:48:25 -04:00
Andrew Halberstadt
15c53b6d46 Bug 1468812 - [ci] Support MOZ_FETCHES and fetch-content in run-task r=gps
This removes the 'use-artifacts' mechanism in favour of fetches. There are a
few pieces here that need to land atomically:

1. Remove use-artifact related code
2. Call 'fetch-content' from the run-task script
3. Convert existing tasks on top of fetches (jsshell, python unittest)
4. Stop calling 'fetch-content' from toolchain setup tasks (as this now gets handled in run-task)

Depends on D2166.

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

--HG--
extra : moz-landing-system : lando
2018-07-26 17:13:39 +00:00
Gijs Kruitbosch
9d364176db Bug 1478484 - avoid focusing the video element if we get focus events for the controls, r=jaws
MozReview-Commit-ID: 1FEu4Ly701o

--HG--
extra : rebase_source : 2dc90bf571e6ca5c4adc10320fe0ef267378fdeb
2018-07-26 15:12:22 +01:00
Mark Striemer
8aba3fdc96 Bug 1477199 - Show keyboard highlights in all tabs menu after bad rebase r=dao
MozReview-Commit-ID: OySLmFFw2j

--HG--
extra : rebase_source : 06c15c8bebd9dfb5e2ebd2d01281e671aa81e5e0
2018-07-23 16:50:59 -05:00
Dão Gottwald
0bb0b3faba Bug 1478646 - Ctrl+Tab previews should use the keydown event and addSystemEventListener to match tabbox.xml. r=jaws
MozReview-Commit-ID: HVlLTjrEhpz

--HG--
extra : rebase_source : 13ea5b9d947794662b001a72ac4d204b165e3802
2018-07-26 15:20:57 +02:00
Petru Lingurar
4cebd537d7 Bug 1412518 - Photon themed DatePicker; r=jchen
On Api >=21 the Material DatePicker will have applied a Photon style.
Below Api 21 DatePicker will still be using spinners.

MozReview-Commit-ID: LuWP6C1o4Ej

--HG--
extra : rebase_source : 91eccfdeb0c4f17e9f0616fa25463d1b5558009a
2018-07-25 17:17:28 +03:00
Petru Lingurar
9e97ceaf6b Bug 1412518 - Photon themed TimePicker; r=jchen
On Api >=21 the Material TimePicker will have applied a Photon style.
Below Api 21 TimePicker will still be using spinners.

MozReview-Commit-ID: 2jZLPGCx4rI

--HG--
extra : rebase_source : a57376bf59077b6d64bcca8ba704ca1b6324383e
2018-07-25 17:03:15 +03:00
Henrik Skupin
666279a900 Bug 1478368 - [wdspec] Use a default window size of 800x600. r=ato
Previously we set this window size when restoring all default
values for a session during test teardown. Which means that
the very first test after the browser has been started will
run with the browser window default size.

This change enforces that all tests use the default window
size of 800x600.

MozReview-Commit-ID: Kiog3Ri2RJT

--HG--
extra : rebase_source : 971c1a17cdcc97d7880db8d8bdd50314369a2a91
2018-07-26 14:55:04 +02:00
Steve Fink
536abef860 Bug 1477742 - Remove dubious pointer computation optimization, r=jandem
--HG--
extra : rebase_source : 1b6c15a2fe371e4ffdfd1a308be31a83a727c8f9
extra : amend_source : 6273f1ba92c0ebcdac296e7fa1b253533d5eb96f
2018-07-23 10:07:44 -07:00
Eugen Sawin
af49add1ed Bug 1437988 - [2.0] Use progress tracking events for custom tabs progress bar. r=droeh 2018-07-26 18:46:50 +02:00
Eugen Sawin
28404bd49d Bug 1437988 - [1.5] Add progress tracking and expose progress via a delegate callback. r=jchen,snorp,droeh 2018-07-26 18:46:50 +02:00
Thomas P.
cd613a5787 Bug 1477858 - add Qcms fuzzing target dictionary. r=decoder 2018-07-23 22:34:16 +00:00
Jon Coppeard
17384d413d Bug 1477761 - Use using declaration to make time related classes available in GC.cpp r=sfink 2018-07-26 17:24:54 +01:00
Jon Coppeard
1af3359cea Bug 1477761 - Fix sketchy timestamp computation for unlimited slice budget r=sfink 2018-07-26 17:23:18 +01:00
Benjamin Bouvier
962d9c7182 Bug 1416723: Remove SIMD.js support; r=luke, r=nbp
--HG--
extra : rebase_source : d0af6d791d53015f9da0b70ebeda640a4ad5952a
2018-07-24 15:15:01 +02:00
Benjamin Bouvier
e76b83d65b Bug 1416723: Move SIMD code generation to masm methods; r=lth
--HG--
extra : rebase_source : a091d0670f90f9f24182e50266f3894d43258eb8
2018-07-24 19:34:06 +02:00
Paolo Amadini
f06351c23c Bug 1473748 - Part 2 - Simplify how navigable elements are initialized. r=johannh
MozReview-Commit-ID: HN2ZYXNVi6m

--HG--
extra : rebase_source : 4373f26b679296d6f2237640dd248ce5bf8dd63c
2018-07-23 11:28:23 +01:00
Paolo Amadini
7328341032 Bug 1473748 - Part 1 - Use the type of element instead of the "subviewbutton" and "subviewkeynav" classes to initialize the list of navigable elements. r=johannh
MozReview-Commit-ID: IgxwGRNLsct

--HG--
extra : rebase_source : edc897a0c0ac7a8b7b551759a8d69b7c3d3659d5
2018-07-26 14:58:43 +01:00
Paolo Amadini
39cde80193 Bug 1476611 - Part 2 - Flatten the "richlistbox" bindings. r=bgrins
MozReview-Commit-ID: FrXKW1T7wYd

--HG--
extra : rebase_source : ccc7cf027795399be9a2dd6cebb40f8ddebc8bd9
2018-07-26 13:58:58 +01:00
Paolo Amadini
d225b61f3b Bug 1476611 - Part 1 - Remove unused listbox methods. r=bgrins
MozReview-Commit-ID: JDyuZFDPldV

--HG--
extra : rebase_source : 3943daaaaecc28d9b488a98f5d3f436c73624fca
2018-07-26 14:05:16 +01:00
Emilio Cobos Álvarez
517256e365 Bug 1478391: Autogenerate StyleAppearance. r=jwatt
This builds on bug 1428676 and introduces StyleAppearance, which replaces the
NS_THEME_* constants.

Really sorry for the size of the patch.

There's a non-trivial change in the gtk theme, which I submitted separately as
bug 1478385.

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

MozReview-Commit-ID: DiSmMWK7Krp
2018-07-26 17:06:17 +02:00
Emilio Cobos Álvarez
f48df04e5b Bug 1478330: Generate StyleDisplay using cbindgen. r=heycam
We use the same setup WR uses, which is checking-in the files.

But I think it's much better than keeping the two things in sync manually :)

When you add a new value, you need to add it to the rust source, then run the
command, but since it doesn't need to build the style crate (it uses the Rust
AST, doesn't build) there's no problem.

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

MozReview-Commit-ID: DnXkNAzP54H
2018-07-26 17:06:05 +02:00
Ian Moody
f221ebee1f Bug 1477458 - Add test for XML Pretty Print with restrictive CSP. r=bz
MozReview-Commit-ID: 3OkdYbkci40

--HG--
extra : rebase_source : 17aac4bb4b73a52b72e9feaa498270db34543e2f
2018-07-21 13:46:31 +01:00
Ian Moody
e50427aec6 Bug 1477458 - Use <link/> instead of <style/> to insert CSS for XML Pretty Printing to avoid site CSP. r=bz
This only works because the Gecko CSP implementation special-cases linked
stylesheets with chrome:// URLs.
See
https://hg.mozilla.org/mozilla-central/file/085cdfb90903d4985f0de1dc7786522d9fb45596/dom/security/nsCSPService.cpp#l92

MozReview-Commit-ID: EvFTgVObCiS

--HG--
extra : rebase_source : e69a8e297f371e08a1de580b0391d95aa23aadc4
2018-07-21 12:36:39 +01:00
Tarek Ziadé
4c1f27f6b2 Bug 1474286 - Throw a JS exception in ChromeUtils::RequestPerformanceMetrics if pref is off - r=baku
This change will avoid unecessary IPDL messages and potentially, content processes crashes.

MozReview-Commit-ID: HHUEXz7ePEQ

--HG--
rename : dom/tests/browser/browser_test_performance_metrics.js => dom/tests/browser/perfmetrics/browser_test_performance_metrics.js
rename : dom/tests/browser/ping_worker.html => dom/tests/browser/perfmetrics/ping_worker.html
rename : dom/tests/browser/ping_worker.js => dom/tests/browser/perfmetrics/ping_worker.js
rename : dom/tests/browser/ping_worker2.html => dom/tests/browser/perfmetrics/ping_worker2.html
extra : rebase_source : b3d90cd22ed68fe7e09f44fe4145b9cde0dfafa1
2018-07-26 10:28:39 +02:00
Julian Descottes
9efd634745 Bug 1478261 - Enable browser_perf-allocation-data.js in e10s;r=ochameau
MozReview-Commit-ID: v6UZoSx2tY

--HG--
extra : rebase_source : f58c98db64224fdad11fbac7e54e476edff1581e
2018-07-25 12:16:06 +02:00
Gijs Kruitbosch
5c512f312d Bug 1358443 - remove reflows from adjustHeight itself, r=mak,florian
This goes back to relying on rows being the same height.
Places where we replace the popup will likely not use the richlistbox,
and we no longer have code that changes the height or exceeds the maximum
number of visible children with a scrollbar, so we should be OK.

To determine the padding on the richlistbox and the height of the initial
row, I've used a promiseDocumentFlushed callback. It's possible this causes
flicker the first time the popup opens. I can't see any, but it's quite
possible I'm missing something.

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

--HG--
extra : moz-landing-system : lando
2018-07-26 13:17:41 +00:00
Paolo Amadini
4f0be13f9c Bug 1477954 - Remove the "tab-base" binding. r=bgrins
MozReview-Commit-ID: Dq2kVXKxrju

--HG--
extra : rebase_source : 4a38aef4028bef6615c0a4c9246f3a0012eee91f
2018-07-24 11:02:41 +01:00
Martin Stransky
2866163527 Bug 1478661 - Replace IsComposited() with explicit alpha visual state, r=jhorak
IsComposited() does not reflect Visual selected by GLContextGLX::FindVisual()
which is used by WebRender which leads to shaped window rendering with WebRender.

IsComposited() is replaced by mHasAlphaVisual variable which is explicitly
set when we have an alpha visual and we don't need to use shape X11 extension.

MozReview-Commit-ID: 1kDLwkUyHte

--HG--
extra : rebase_source : 3a60fe8fd66f9e89bfcc729fe5e1fa9e1ce8920d
2018-07-26 13:23:34 +02:00
Paul Adenot
7996942c12 Bug 1414366 - Test ConstantSourceNode where stop has been called with the parameter lower or equal than the parameter to start. r=karlt
MozReview-Commit-ID: DDovVAs2M7S

--HG--
extra : rebase_source : 32ee0d65272b5751f2d41b5f6ea1cd3057fcec48
2018-07-25 15:18:34 +02:00
Paul Adenot
bfb0d46900 Bug 1414366 - Fix a few should constructs in constant-source-output.html. r=karlt
The test name was passed as a third argument to `ArrayBuffer.slice`, silently
ignored.

MozReview-Commit-ID: KHel7Bc2Qej

--HG--
extra : rebase_source : 4c5e300e140b18d62344cfec083bd39ea426f514
2018-07-25 15:17:24 +02:00
Eric Rahm
c8e70cc096 Bug 1240547 - Part 5: Reorder HttpBaseChannel member variables. r=valentin
--HG--
extra : rebase_source : af73138c747517bb82658a4a1e9f3cf357db2f91
2018-07-20 16:56:22 -07:00
Eric Rahm
34bd603e7b Bug 1240547 - Part 4: Use bitfields for HttpChannelChild bool variables. r=valentin
--HG--
extra : rebase_source : aaba4d19c433485a711bdabb2907984163bb4ed0
2018-07-20 15:39:40 -07:00
Eric Rahm
4fa3e432dd Bug 1240547 - Part 3: Reorder HttpChannelChild member variables. r=valentin
--HG--
extra : rebase_source : f1c33e1b77f9ce0fd70838ed27331c8490163774
2018-07-20 14:11:46 -07:00
Eric Rahm
a388fe4b0c Bug 1240547 - Part 2: Pack HttpChannelParent bool fields. r=valentin
--HG--
extra : rebase_source : 459cb63075b9a328d70c23b30cc9ca76a4a58162
2018-07-19 17:40:43 -07:00
Eric Rahm
bcf9fc80b0 Bug 1240547 - Part 1: Reorder HttpChannelParent member variables. r=valentin
--HG--
extra : rebase_source : 2e60ea6d39d4e2717edd68e4abd1f06acf8bc7d4
2018-07-19 17:19:07 -07:00
David Major
f0f43e919c Bug 1477744 - Re-enable -Werror in clang-cl for Spidermonkey. r=froydnj
--HG--
extra : rebase_source : a2da624418ab3578bfed878628e9ad52beedbbd3
2018-07-26 16:14:27 -04:00
Paul Adenot
338ce05fa4 Bug 1414366 - Update WPT expectations. r=karlt
MozReview-Commit-ID: 3whdi0SXuKK

--HG--
extra : rebase_source : 41f529acd6e3ecaced037a1de9b11be601501951
2018-07-19 17:59:46 +02:00
Paul Adenot
cc16352f8d Bug 1414366 - Take into account start and end time when processing ConstantSource output. r=karlt
MozReview-Commit-ID: IA5sjDTP1t5

--HG--
extra : rebase_source : 056c0bd1e67baf0b42b2d3fe3a67a98b4c3c5fa7
2018-07-19 17:59:19 +02:00
Paul Adenot
9fba355645 Bug 1414366 - Don't assume aStart is aligned on block boundary in AudioParamTimeline::GetValuesAtTime. r=karlt
MozReview-Commit-ID: JQoDwVPQ2s6

--HG--
extra : rebase_source : f9d653ca530a54f310c915d8745de1266cabb71a
2018-07-19 17:58:35 +02:00
Narcis Beleuzu
e5c55dd528 Backed out changeset 6ac896bf7331 (bug 1478005) for Linux build bustages. CLOSED TREE 2018-07-26 17:21:14 +03:00
Kristen Wright
6dbed57356 Bug 1476141 - updated test files to handle a new coarsetype r=jlmb
Some test files were affected by adding a new CoarseType, particularly in XPCShell tests. New rules were added to handle this CoarseType, and in a few cases the IDs of deserialized nodes had to be adjusted. The colors of CoarseTypes have also changed slightly and the resulting tests had to be updated.

--HG--
extra : rebase_source : 06d5203023251665adf933215898f83f991dbd1a
2018-07-17 16:23:29 -07:00
David Major
cdd92f01ee Bug 1478903 - Don't disable PGO for the js shell in clang-cl. r=froydnj 2018-07-27 08:51:19 -04:00
Shane Caraveo
07bf792b4b Bug 1467523 prevent setting host/origin to restricted domains, r=aswan 2018-07-27 09:37:12 -03:00
Eugen Sawin
b4166babb9 Bug 1478777 - [1.0] Remove base URI support from the GeckoSession API. r=snorp 2018-07-27 13:52:59 +02:00
Julian Seward
98670aa15b Bug 1448277 - Generate GVN-able references to indirect wasm globals. r=lth.
Wasm-via-IonMonkey creates accesses to indirect globals using a double
indirection of the form

   * ( *(tls + imm_offset) )

The inner load produces a pointer to the global cell holding the global's
value, and the outer load or store reads or writes the actual value.
Currently both accesses are represented by a single MIR node,
WasmLoadGlobalVar or WasmStoreGlobalVar respectively.  This has the
disadvantage that it inhibits CSEing of the |*(tls + imm_offset)| part,
which generates poor code when the same indirect global is referred to
repeatedly, which is a common idiom.  For example

  (set_global 0 (i32.add (get_global 0) (i32.const 1)))

produces

  [Codegen] instruction WasmLoadGlobalVar
  [Codegen] movq       0x40(%r14), %rcx
  [Codegen] movl       0x0(%rcx), %eax
  [Codegen] instruction AddI
  [Codegen] addl       $1, %eax
  [Codegen] instruction WasmStoreGlobalVar
  [Codegen] movq       0x40(%r14), %rcx  <-- a load we want to avoid
  [Codegen] movl       %eax, 0x0(%rcx)

It also causes confusion in specifying the aliasing behaviour for
Wasm{Load,Store}GlobalVar.  See bug 1467415.

This patch splits Wasm{Load,Store}GlobalVar in two:

* Wasm{Load,Store}GlobalVar is reduced in scope, so that it now loads/stores
  *only* at |tls + imm_offset| -- the inner load/store in the description
  above.

* Wasm{Load,Store}GlobalCell performs the outer load/store.

As a result, Wasm{Load,Store}GlobalVar no longer have an |isIndirect| boolean.
Instead, a direct global access is expressed using Wasm{Load,Store}GlobalVar
alone, and an indirect global access is expressed using WasmLoadGlobalVar to
acquire the cell address, followed by Wasm{Load,Store}GlobalCell to access the
cell.

MWasmLoadGlobal{Var,Cell}::mightAlias are updated accordingly.  We believe the
resulting alias analysis to be non-optimal in that there are certain
known-not-to-alias cases that are not discovered.

Most of the changes are boilerplate:

* js/src/jit/AliasAnalysisShared.cpp GetObject(const MDefinition* ins)
  - Handle new MIR node types.

* js/src/jit/CodeGenerator.cpp
  - New functions {Load,Store}PrimitiveValue, to avoid code duplication
  - CodeGenerator::visitWasmLoadGlobalVar
    CodeGenerator::visitWasmLoadGlobalCell
    CodeGenerator::visitWasmStoreGlobalVar
    CodeGenerator::visitWasmStoreGlobalCell
    CodeGenerator::visitWasmLoadGlobalVarI64
    CodeGenerator::visitWasmLoadGlobalCellI64
    CodeGenerator::visitWasmStoreGlobalVarI64
    CodeGenerator::visitWasmStoreGlobalCellI64:
    new/refactored code gen fns

* js/src/jit/Lowering.cpp
  - LIRGenerator::visitWasmLoadGlobalVar
    LIRGenerator::visitWasmLoadGlobalCell
    LIRGenerator::visitWasmStoreGlobalVar
    LIRGenerator::visitWasmStoreGlobalCell:
    route through to the above code gen fns
  - MWasmLoadGlobalVar::mightAlias
  - MWasmLoadGlobalCell::mightAlias:
    updated
  - MWasmLoadGlobalVar::congruentTo: updated
  - MWasmLoadGlobalCell::congruentTo: new function

* js/src/jit/MIR.h
  - class AliasSet {
    add WasmGlobalCell
  - other classes:
    remove |isIndirect| flag from MWasm{Load,Store}GlobalVar
    add classes MWasm{Load,Store}GlobalCell{,I64}

* js/src/wasm/WasmIonCompile.cpp  class FunctionCompiler
  - loadGlobalVar(), storeGlobalVar():
    actually take notice of |isIndirect|
    and generate one or two MIR nodes accordingly

* js/src/jit-test/tests/wasm/globals-impl.js
  - New test case.

--HG--
extra : rebase_source : 6944f01757421d4a6f07211166bb167fc714ec2d
2018-07-27 12:11:31 +02:00
Dorel Luca
e549807ade Merge mozilla-central to mozilla-inbound 2018-07-27 13:48:50 +03:00