Commit Graph

620028 Commits

Author SHA1 Message Date
Julian Descottes
2fcd6cb020 Bug 1499096 - Update tests using ok() to is();r=Standard8
This changeset updates all the test that were wrongly using ok() and wanted to
use is() AND for which the assert is still passing without any modification
required.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 07:12:23 +00:00
Julian Descottes
eac312a589 Bug 1500936 - Run eslint --fix on devtools/client/inspector for comma-dangle;r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D9409

--HG--
extra : moz-landing-system : lando
2018-10-23 07:08:24 +00:00
Julian Descottes
078990ad01 Bug 1500936 - Remove comma-dangle override from devtools/client/inspector;r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D9408

--HG--
extra : moz-landing-system : lando
2018-10-23 07:08:22 +00:00
Xidorn Quan
9de832b381 Bug 1448317 - Don't include absolutely-positioned and float children in element outline. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D9349

--HG--
extra : moz-landing-system : lando
2018-10-23 06:37:16 +00:00
Jim Blandy
a78e7a516e Bug 1499534: Add Pause, Resume, and IsPaused methods to ThrottledEventQueue. r=froydnj
Depends on D8913

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

--HG--
extra : moz-landing-system : lando
2018-10-23 06:21:10 +00:00
Marco Zehe
f1a7d75388 Bug 614572 - Expose the correct new landmark role for HTML aside, header, footer, main and nav elements, r=Jamie
According to the HTML Accessibility API mappings spec, aside, footer, header, main and nav elements should be mapped to the WAI-ARIA landmark role exposure. For footer and header, this is only true if scoped to the body element.

This patch changes the exposed roles to the new landmark mapping for the various platforms.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 06:11:59 +00:00
Dorel Luca
3a7cdf3ced Merge mozilla-central to autoland
--HG--
extra : rebase_source : 55b6c62caabc054e51b6794215a76068e8da3bf1
2018-10-23 07:50:37 +03:00
Ryan Hunt
8a867dafcb Bug 1499554 - Don't blacklist the GPU process for vendors not on the whitelist. r=jrmuizel
We currently allow the GPU process if we are not hardware accelerated. One of the
reasons we might not use hardware acceleration is because the device vendor is
not in the gfxInfo whitelist. In this case, we should be consistent and still
use the GPU process.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 04:43:28 +00:00
Emilio Cobos Álvarez
42f80b2b77 Bug 1500575 - De-fuzz another webrender test. r=me 2018-10-23 04:20:24 +02:00
Daniel Varga
5255e1718f Backed out 6 changesets (bug 1489301) for Linting opt failure at /builds/worker/checkouts/gecko/dom/bindings/parser/WebIDL.py
Backed out changeset 1c0823540b44 (bug 1489301)
Backed out changeset 529524df76a6 (bug 1489301)
Backed out changeset f34bc8a40bec (bug 1489301)
Backed out changeset 168cf9cea716 (bug 1489301)
Backed out changeset 19ca10fa3772 (bug 1489301)
Backed out changeset ff8fb091198e (bug 1489301)
2018-10-23 03:49:00 +03:00
Nika Layzell
10810d7fe5 Bug 1500011 - Use CheckedInt more in CalculateBufferSizeForImage, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D9145
2018-10-22 20:37:06 -04:00
Nika Layzell
b4cc020355 Bug 1489301 - Part 6: Remove references to 'System' from WebIDL.py, r=bzbarsky
'Exposed=System' is no longer used in any webidl files, so we can kill it.

Differential Revision: https://phabricator.services.mozilla.com/D9401
2018-10-22 20:17:14 -04:00
Nika Layzell
bb337a8abf Bug 1489301 - Part 5: Expose all System-only objects on Window, r=bzbarsky
There is a limited number of these, and this allows me to completely remove
mention of the 'System' global.

In the future System-only exposure could be achieved using a [Func] enabler.

Differential Revision: https://phabricator.services.mozilla.com/D9400
2018-10-22 20:17:14 -04:00
Nika Layzell
0562b4b23b Bug 1489301 - Part 4: Remove unnecessary [Exposed=System] annotations, r=bzbarsky
We don't need to expose on both Window and System anymore, as Window now
implies System. I don't remove unnecessary [Exposed=Window] annotations, as
WebIDL upstream has removed PrimaryGlobal.

Differential Revision: https://phabricator.services.mozilla.com/D9399
2018-10-22 20:15:47 -04:00
Nika Layzell
b54aa3a790 Bug 1489301 - Part 3: Fix test expecting interfaces not exposed on System, r=bzbarsky
The `Window` interface is now exposed on system globals, so the check is now
invalid.

Differential Revision: https://phabricator.services.mozilla.com/D9403
2018-10-22 20:12:55 -04:00
Nika Layzell
0f6872435c Bug 1489301 - Part 2: Fix broken [Func] condition assuming Window object, r=bzbarsky
This condition unwraps the global to a window, and doesn't check before
dereferencing. This is no longer valid now that the corresponding interfaces
are exposed on BackstagePass.

Differential Revision: https://phabricator.services.mozilla.com/D9402
2018-10-22 20:12:55 -04:00
Nika Layzell
cc852930f1 Bug 1489301 - Part 1: Expose Window interfaces on System by default, r=bzbarsky
This is done by adding BackstagePass the exposure set of Window.

Differential Revision: https://phabricator.services.mozilla.com/D9398
2018-10-22 20:12:55 -04:00
Boris Zbarsky
c4ab99ad31 Bug 1500956 part 3. Fix our DOM pre-insertion checks to actually match the spec. r=smaug 2018-10-23 00:32:01 +02:00
Boris Zbarsky
ba8cc6ef72 Bug 1500956 part 2. Change our EnsurePreInsertionValidity implementation to follow the spec more closely. r=smaug
This is basically putting in
https://dom.spec.whatwg.org/#concept-node-ensure-pre-insertion-validity step 3
and moving step 4 to the right place in the order of steps.  This matters,
because step 3 throws a different exception from all the other steps.
2018-10-23 00:32:00 +02:00
Boris Zbarsky
5bb4f3a8ba Bug 1500956 part 1. Change IsAllowedAsChild to take an ErrorResult instead of returning a boolean. r=smaug
The spec algorithms have a step that throws NotFoundError in between steps that
throw HierarchyRequestError.  We can't really implement that with our current
setup.

This changeset does not change observable behavior.
2018-10-23 00:32:00 +02:00
Daniel Varga
b8e466e4e8 Backed out 5 changesets (bug 1419091) for reftest failure at tests/layout/reftests/bugs/1377447-1.html.
Backed out changeset 15811bce212a (bug 1419091)
Backed out changeset 2224ee809328 (bug 1419091)
Backed out changeset ac56492b6ed6 (bug 1419091)
Backed out changeset 72ccc9444916 (bug 1419091)
Backed out changeset 58d5a882493d (bug 1419091)

--HG--
extra : rebase_source : d0bb1df6e29618f515a5c1860db41ff1e3f4c6a3
2018-10-23 01:08:26 +03:00
Perry Jiang
0516414da1 Bug 1399446 - implement ServiceWorkerGlobalScope and ServiceWorkerContainer onmessageerror event handlers r=edenchuang,baku
Differential Revision: https://phabricator.services.mozilla.com/D5213

--HG--
extra : moz-landing-system : lando
2018-10-22 21:22:25 +00:00
Kartikaya Gupta
2c29b10d55 Bug 1469403 - Skip DL dumps when the DL builder is from an inactive docshell. r=mattwoodrow
Depends on D9141

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

--HG--
extra : moz-landing-system : lando
2018-10-22 23:42:05 +00:00
Kartikaya Gupta
1c01a94201 Bug 1469403 - Set a flag on the DL builder to indicate if the docshell is active. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D9141

--HG--
extra : moz-landing-system : lando
2018-10-22 23:41:47 +00:00
Dana Keeler
5af8762bc6 bug 1499766 - rework the threading model of OSKeyStore r=jcj
The original threading model of OSKeyStore could lead to a deadlock if an
asynchronous event were dispatched and then the isNSSKeyStore attribute were
queried. This patch removes that pitfall by moving the determination of the
attribute to OSKeyStore rather than the underlying implementation.

Additionally, the original threading model was inefficient in that it created
and destroyed a thread per asynchronous operation. This patch reworks this to
only ever create one worker thread.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 01:14:14 +00:00
Ted Campbell
4e4300d5dd Bug 1500822 - Fix a try-note range check in the debugger r=jorendorff
This should symptomless since the extra op should always be a JSOP_GOTO
which will be skipped over anyways. Fix for our sanity.

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

--HG--
extra : moz-landing-system : lando
2018-10-22 21:47:47 +00:00
Ted Campbell
bc10597940 Bug 1500822 - Make TryNote::start relative to JSScript::code() r=jorendorff
Currently it is relative to JSScript::main(), but it is the only part of
the engine that uses this definition to describe a "pcOffset". This is
unnecessarily confusing, and fixing it is easy.

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

--HG--
extra : moz-landing-system : lando
2018-10-22 21:42:55 +00:00
Dorel Luca
43200da1bc Backed out changeset 29c73665ba19 (bug 1478216) for mochitest failure on dom/canvas/test/webgl-conf/generated/test_2_conformance2__rendering__framebuffer-texture-changing-base-level.html
--HG--
extra : rebase_source : 1957b4c0bc1725c1e4f514c76bdcca579c644215
2018-10-23 03:50:22 +03:00
Dustin J. Mitchell
75afd73a9e Bug 1501048 - remove bogus code; r=bstack
This was likely the result of a merge error.  The code is not needed, and
anyway appears before a docstring.

--HG--
extra : rebase_source : a8ecb8596abc498e2e74d4fb903e3087dec5a381
2018-10-22 19:58:40 +00:00
Daniel Varga
bcb62edefd Backed out 2 changesets (bug 1498371, bug 1498047) pushed on the wrong tree.
Backed out changeset 1eaa48d8b75d (bug 1498371)
Backed out changeset 9e28ac6527a9 (bug 1498047)
2018-10-23 00:23:41 +03:00
Justin Wood
d83c794486 Bug 1475512 - Fix .zip fetch tasks on windows. r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D9329

--HG--
extra : moz-landing-system : lando
2018-10-22 18:23:05 +00:00
Andrew McCreight
0ee66a7f4f Bug 1497707, part 5 - Inline mozilla::ModuleLoader into mozJSComponentLoader. r=froydnj
Now that the XPCOM component loader infrastructure has stopped
pretending to support other file extensions, this intermediate
interface is no longer needed.

Depends on D8171

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

--HG--
extra : moz-landing-system : lando
2018-10-23 00:46:49 +00:00
Andrew McCreight
f7cab62df4 Bug 1497707, part 4 - Only support loading JS files in the component manager. r=froydnj
JS is the only file extension actually supported, and there are a few
layers of cruft that can be eliminated if we specialize it.

This eliminates one XPCOM registration of the JS component loader.

Depends on D8170

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

--HG--
extra : moz-landing-system : lando
2018-10-23 00:47:38 +00:00
Andrew McCreight
678b7ca2b3 Bug 1497707, part 3 - Remove various unused things from nsComponentManager. r=froydnj
Depends on D8169

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

--HG--
extra : moz-landing-system : lando
2018-10-23 00:47:31 +00:00
Andrew McCreight
5c342e70f3 Bug 1497707, part 2 - The second argument to nsComponentManagerImpl::RegisterModule is always null. r=froydnj
This allows some code to be deleted, including a KnownModule ctor.

Depends on D8168

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

--HG--
extra : moz-landing-system : lando
2018-10-23 00:47:24 +00:00
Andrew McCreight
4c274219f8 Bug 1497707, part 1 - Get rid of xpcIJSModuleLoader. r=kmag
This interface is only used for a few testing functions. Just move
them to Cu.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 00:47:16 +00:00
Emilio Cobos Álvarez
d62a793992 Bug 1500575 - Map inset clip paths to WR complex clip regions. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D9412

--HG--
extra : moz-landing-system : lando
2018-10-23 00:10:00 +00:00
Emilio Cobos Álvarez
ba7599486e Bug 1498221 - Don't apply layer scaling to fallback filters. r=mattwoodrow
Using layer scaling confuses the filter code (see bug 1497239).

Right now we're sort-of double-scaling. Looks like what the filter code expects
is just getting the scaling passed down, see bug 1224207.

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

--HG--
extra : moz-landing-system : lando
2018-10-22 23:41:30 +00:00
Jeff Gilbert
019db5ebb4 Bug 1478216 - Don't init tex images in FBAttachment::IsComplete. r=kvark
Also:
- Only init the base tex level for GenerateMipmap.
- Change ZeroTextureData warning into a perf warning.

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

--HG--
extra : moz-landing-system : lando
2018-10-22 16:44:16 +00:00
Nils Ohlmeier [:drno]
2907e6ba61 Bug 1227519: remove DHE ciphers from WebRTC DTLS handshake. r=mt
Differential Revision: https://phabricator.services.mozilla.com/D7965

--HG--
extra : moz-landing-system : lando
2018-10-22 22:58:48 +00:00
David Walsh
7aef56cc4e Bug 1314057 - Remove old debugger assets. r=jdescottes 2018-10-22 17:19:00 -05:00
tb120
e996e1e744 Convert NS_STYLE_ANIMATION_PLAY_STATE_* to scoped enum StyleAnimationPlayState (Bug 1500439) r=emilio
This change removes directives NS_STYLE_ANIMATION_PLAY_STATE_* and replaces the values with those from a scoped enum called StyleAnimationPlayState.

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

--HG--
extra : moz-landing-system : lando
2018-10-22 21:58:01 +00:00
Dorel Luca
c366888702 Backed out 2 changesets (bug 1423839) for xpcshell failures on netwerk/test/unit/test_NetUtil.js
Backed out changeset 501fffbf872d (bug 1423839)
Backed out changeset 406ca9722ffa (bug 1423839)
2018-10-23 00:49:18 +03:00
Dana Keeler
c6f2578c07 bug 1496736 - check if we actually have a new key DB before removing the old one r=jcj
In bug 1475775, we added code to remove the old NSS key DB if the user has set a
password on the grounds that the old DB could potentially be unencrypted and
contain secrets. However, we did so with the assumption that we were using the
new DB, which is not necessarily true when the system has been configured to
always use the old DB, as with some RedHat products. This patch checks for the
existence of the new DB before proceeding with deleting the old DB. Technically
this isn't sufficient, because the new DB could be present even if we're not
using it. However, we've already gone far into "this configuration isn't
supported" territory.

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

--HG--
extra : moz-landing-system : lando
2018-10-22 19:52:10 +00:00
Dorel Luca
30d59d3613 Backed out changeset d4cbc3865457 (bug 1499010) for spidermonkey failure 2018-10-23 00:24:34 +03:00
Felipe Gomes
a75d58e727 Bug 1371509 - Make the test browser_auto_close_window.js wait for the correct URL before continuing. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D9432

--HG--
extra : moz-landing-system : lando
2018-10-22 21:02:55 +00:00
Sean Stangl
bc9aaf0cf8 Bug 1499536 - Implement CodeGeneratorARM64::visitShiftI and visitUrshD. r=mgaudet
Fixes ion/bug1000960.js.
2018-10-22 14:00:00 -04:00
Sean Stangl
04f43bdaab Bug 1498371 - Implement visitCompareBitwise. Fixes basic/testScriptCloning.js. a=nbp 2018-10-11 14:01:00 +03:00
Sean Stangl
a1e70818c8 Bug 1498047 - Fix generateInvalidator(). r=nbp 2018-10-10 15:41:00 -04:00
Sean Stangl
e7903c1595 Bug 1498371 - Implement visitCompareBitwise. r=nbp
Fixes basic/testScriptCloning.js.
2018-10-11 14:01:00 -04:00