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

620338 Коммитов

Автор SHA1 Сообщение Дата
Andrea Marchesini 17f8a25e39 Bug 1500734 - createImageBitmap should throw RangeError if sw or sh is 0 - r=aosmond 2018-10-23 08:17:28 +02:00
Andrea Marchesini 4439acd683 Bug 1498510 - Move nsICSPEventListener out of CSP object, r=ckerschb 2018-10-23 08:17:13 +02:00
Matthew Noorenberghe 9d8e99883d Bug 1486954 - Fix browser/components/payments/test/browser/head.js eslint issue. r=me 2018-10-22 23:13:54 -07: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
Jim Blandy 12b557b02d Bug 1426467: Part 1: Rewrite test_cache_worker_gc.html to use async functions. r=baku
This just cleans up the function a bit to make the next change easier to see. No
behavior change intended.

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

--HG--
extra : moz-landing-system : lando
2018-10-22 15:34:21 +00:00
Dão Gottwald 1fecf36e2c Bug 1494334 - Implement UrlbarInput::textValue getter. r=Standard8
Depends on D9505

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

--HG--
extra : moz-landing-system : lando
2018-10-23 16:19:56 +00:00
Jan Horak 229b3f0529 Bug 1493081 - Added nsIWidget::GetDesktopToDeviceScaleByScreen for scale factor lookup by window position; r=mattwoodrow
We've added nsIWidget::GetDesktopToDeviceScaleByScreen which will return scale factor of the newly placed window
according to its position on the display. This change is to move implementation to the nsIWidget derived classes.
We need that for GTK Wayland, because on the Wayland we cannot determine absolute position of the window, we
need to use parent's window scale factor. For other platforms the GetDesktopToDeviceScaleByScreen is implemented
in nsBaseWidget.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 12:49:21 +00:00
Michael Ratcliffe 11a5c2ff95 Bug 1498987 - localStorage and sessionStorage display key: key instead of key: value in developer console r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D9397

--HG--
extra : moz-landing-system : lando
2018-10-23 15:33:29 +00:00
Jan de Mooij 68af3a46d9 Bug 1493627 part 3 - Use AutoEnterOOMUnsafeRegion in js::RemapWrapper. r=jonco
Depends on D9254

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

--HG--
extra : moz-landing-system : lando
2018-10-22 15:26:32 +00:00
Jan de Mooij 1dbada33f5 Bug 1493627 part 2 - Unify OOM testing state variables for different kinds to make AutoEnterOOMUnsafeRegion work for stack checks. r=jonco
Depends on D9253

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

--HG--
extra : moz-landing-system : lando
2018-10-23 01:18:22 +00:00
Jan de Mooij d411ccda35 Bug 1493627 part 1 - Change JSObject::swap return type from bool to void (it always returned true). r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D9253

--HG--
extra : moz-landing-system : lando
2018-10-22 15:25:08 +00:00
Masayuki Nakano 871e853d74 Bug 1499996 - Wait to run tests until new window gets focus r=smaug
test_expanding_selection_per_page.html creates another window and requires
focus event on each case which creates editing host because
EditorEventListener::Focus() sets ancestor limit of Selection as the editing
host.  Therefore, if the window itself does not have focus, focus event won't
be fired on editing hosts.  So, the reason why the orange occurs almost all
with opt build is, debug build is enough slow to wait focus of new window
before running test.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 07:34:55 +00:00