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

73427 Коммитов

Автор SHA1 Сообщение Дата
Noemi Erli ff466e94c1 Merge inbound to mozilla-central. a=merge 2018-04-05 13:02:11 +03:00
Nicholas Nethercote 1ad4d0e314 Bug 1451169 - Reduce indirection for static pointers in txCoreFunctionCall.cpp. r=erahm
The patch also adds more `const` to txCoreFunctionDescriptor.

MozReview-Commit-ID: 6VFyAcjD98F

--HG--
extra : rebase_source : db054286e7e236775d686e406c6e05a18d5b5f35
2018-04-03 22:15:31 +10:00
Nicholas Nethercote a560608963 Bug 1451169 - Use `nsStaticAtom*` instead of `nsStaticAtom**` in Element.h. r=baku
And then fix up everything else that needs to change as well.

MozReview-Commit-ID: GDMfERqdQAc

--HG--
extra : rebase_source : 01fe06c3182245a409099a53383d92bf4fa0155c
2018-04-03 13:21:06 +10:00
Nils Ohlmeier [:drno] 05732f56d8 Bug 1446880: updated exception test to new setIdentityProvider API. r=jib
MozReview-Commit-ID: 8gYEUiL1xvd

--HG--
extra : rebase_source : 84f63a03e84fd8cb620c606b2eede78db187ce2d
2018-04-04 20:47:46 -07:00
Narcis Beleuzu 58b4822076 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-05 01:09:42 +03:00
Bobby Holley 7068793c78 Bug 1437998 - Remove SimpleGestureEvent and OfflineResourceList from kInterfaceShims. r=bz
MozReview-Commit-ID: HRQ2rux6tcT
2018-04-04 14:57:04 -07:00
Brendan Dahl 28b0e77359 Bug 1448162 - Crash in the presence of a XUL overlay. r=mystor
MozReview-Commit-ID: 1docjuCTBpE

--HG--
extra : rebase_source : f7794f9b9e1d39acf3f30be4463c8d3ed58780b9
2018-03-23 10:11:09 -07:00
Brendan Dahl 45606c3a4e Bug 1448162 - Remove all XUL overlay tests. r=Gijs
MozReview-Commit-ID: 1hSLa2goMLt

--HG--
extra : rebase_source : 643a82bfab12f2534ad39ca9f95f5e0c0afcbd1a
2018-03-22 16:21:26 -07:00
Cosmin Sabou 91c9d08e42 Merge inbound to mozilla-central. a=merge 2018-04-04 20:53:53 +03:00
Tarek Ziadé f9138cc6f4 Bug 1447768 - part 2 - Dispatch counters in the parent process - r=baku
Chromeutils.RequestPerformanceMetrics() is now composed of two parts:
- calls content processes via IPDL to get their counters
- directly dispatch counters from the parent process

MozReview-Commit-ID: HlgcEOzkyAq

--HG--
extra : rebase_source : 60e81a27cd3a1bf1378e6b977529964507633b63
2018-04-04 13:36:25 +02:00
Tarek Ziadé 0cc1d7259a Bug 1447768 - part 1 - Add PerformanceUtils helpers - r=baku
This new module simplifies how we interact with PerformanceInfo counters:

- CollectPerformanceInfo: returns all PerformanceInfo instances
- NotifyPerformanceInfo: converts PerformanceInfo in XPCOM and notify them

MozReview-Commit-ID: JedKEtsbQTF

--HG--
extra : rebase_source : c87ad34f116a789f909c480963fb99cae3fafa6d
2018-04-04 10:12:02 +02:00
Christoph Kerschbaumer ba87f35e59 Bug 1449845 - Add assertion that all new about: pages ship with a CSP. r=smaug,gijs 2018-04-04 12:37:10 +02:00
Margareta Eliza Balazs 210797c4c1 Merge inbound to mozilla-central. a=merge 2018-04-04 12:43:55 +03:00
Robert Longson 307a272379 Bug 1450643 part 2 - remove SVGAnimationElement wrappers around GetAttr/HasAttr in favour of directly using the Element versions. r=dholbert 2018-04-04 08:16:56 +01:00
Emilio Cobos Álvarez 3218d73ada Bug 1441136: Some other minor cleanup. r=smaug
Now that XBL and Shadow DOM are not entangled we don't really need to do this.

MozReview-Commit-ID: GdgnE5QT2NR
2018-04-04 07:40:50 +02:00
Emilio Cobos Álvarez f004e39cd6 Bug 1441136: Add a fast way to enumerate ShadowRoots in a document. r=smaug
MozReview-Commit-ID: 7QffP56jsyk
2018-04-04 07:40:34 +02:00
Emilio Cobos Álvarez 82573e49d6 Bug 1441136: Cleanup a bit the responsive image content setup. r=smaug
Also, clear it in DestroyElementMaps, as the rest of the code.

MozReview-Commit-ID: A8D3pgQ8MxX
2018-04-04 07:40:22 +02:00
Robert Longson 7b723d1d6e Bug 1450643 part 1 - add additional overloads to Element for GetAttr/HasAttr for kNameSpaceID_None to complement the existing SetAttr method that does not take a namespace. r=mystor 2018-04-04 04:58:49 +01:00
Ben Kelly 96a73bdbed Bug 1450874 P1 If a service worker script self closes due to a compilation error, then don't re-use the worker for further events. r=asuth 2018-04-03 19:53:21 -07:00
Ben Kelly 9bd4654613 Bug 1450266 P7 Make XMLHttpRequestMainThread check for a valid inner window before dispatching events. r=baku r=smaug 2018-04-03 17:10:17 -07:00
Ben Kelly a32ccf78b7 Bug 1450266 P6 Make IDBDatabase invalidate any transactions on DisconnectFromOwner(). r=asuth 2018-04-03 17:10:17 -07:00
Ben Kelly aeb9d2fe9d Bug 1450266 P5 Make MIDIInput::Receive() check for nullptr GetOwner(). r=qdot 2018-04-03 17:10:16 -07:00
Ben Kelly 25d3f442b6 Bug 1450266 P4 Rebind DETH objects to the new global when document.open() is called. r=smaug 2018-04-03 17:10:16 -07:00
Ben Kelly 852bbba6c0 Bug 1450266 P3 Remove nsGlobalWindowInner::InnerObjectsFreed() in favor of IsDying(). r=smaug 2018-04-03 17:10:16 -07:00
Ben Kelly 7af4cde135 Bug 1450266 P2 Remove duplicate cleanup code from FreeInnerObjects(). r=smaug 2018-04-03 17:10:16 -07:00
Ben Kelly 2c5666c6d8 Bug 1450266 P1 Remove nsGlobalWindowInner::CleanUp() method in favor of FreeInnerObjects(). r=smaug 2018-04-03 17:10:16 -07:00
Jeff Gilbert 1a31f408ad Bug 1449264 - Handle texStorage3D's `levels` better. - r=kvark
MozReview-Commit-ID: G6ubd4iR67s
2018-04-03 16:28:41 -07:00
Jeff Gilbert ad64b41497 Bug 1450148 - Generic TF Buffer slot moved to Context from TFO. - r=kvark
MozReview-Commit-ID: C2YkjedeFTy
2018-04-03 16:25:21 -07:00
Jeff Gilbert e4dc10addd Bug 1446548 - Treat all GLSL versions >=450 as 450. - r=kvark
MozReview-Commit-ID: 4i5IAvWNZb
2018-04-03 16:19:09 -07:00
Ciure Andrei 5ffac2bcd3 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-04-04 00:58:50 +03:00
Ciure Andrei 7208a2fee8 Merge inbound to mozilla-central. a=merge 2018-04-04 00:54:16 +03:00
Xidorn Quan 67fd806b66 Bug 1449087 part 2 - Use Servo data to back @font-face rule. r=emilio
This patch does the following things:
* Create a new class ServoFontFaceRule for CSSOM of @font-face rule
  which mostly follows how nsCSSFontFaceRule was implemented.
* Remove the old nsCSSFontFaceRule and binding code to create it.
* Have FontFace backed by Servo data via making mRule and mDescriptors
  of the class hold RawServoFontFaceRule like ServoFontFaceRule.

To keep this patch small, it effectively just delays the conversion
from Servo data to nsCSSValue from parsing to using. This may cause
worse performance if the font set is flushed repeatedly. Supposing we
don't flush font set very frequently, it may not be a big deal.

We may still want to remove the intermediate nsCSSValue conversion at
some point, and have everything converted to their final form directly
when used, but that can happen in followups.

There are some unfortunate bits from this change:
* We lose style sheet for logging in FontFaceSet. This is probably not
  all that worse, because we wouldn't have that before either if the
  page doesn't use CSSOM to visit it. But we should figure out some
  approach to fix it anyway.
* InspectorFontFace no longer shares the same rule object as CSSOM.
  This isn't really a problem if the @font-face rule isn't very mutable.
  Unless we want to make the rule returned from InspectorFontFace to be
  mutable (i.e. via inspector), not using the same object probably isn't
  too bad.

This patch switches the code we use to serialize stuff in FontFace and
CSSFontFaceRule, which leads to some failures in tests. Specifically,
the expected changes including:
* Value of font-family now can be serialized to identifier sequence like
  font-family property. The old code always serializes it to string,
  but it doesn't seem to have different requirement than the property.
  Blink can serialize to identifier as well.
* Family name inside local() is also changed to use the same way as
  family names elsewhere (i.e. can be identifier sequence). Blink has
  the same behavior as the old code, but I don't think it's a big deal.
* The order of descriptors serialized gets changed. I don't think it
  matters at all.
* Empty string as font-family via using string syntax is no longer
  considered invalid for FontFace. I don't find it is mentioned anywhere
  that it should be specifically treated invalid.


MozReview-Commit-ID: 32Fk3Fi9uTs

--HG--
extra : rebase_source : 6221ec8fc56de357b06dd27e770fb175348a2f77
2018-04-04 08:42:10 +10:00
Haik Aftandilian c6b21edd12 Bug 1437281 - OSX dragging image to desktop changes OSX File associations r=mystor
On Mac, when dragging an image, add the image request's MIME type to
the transfer so that the MIME-extension check can be done in the
parent process to avoid content sandboxing issues.

MozReview-Commit-ID: 3cb4fCr6GnL

--HG--
extra : rebase_source : 43720237b467765401b5504c57bbc1b43d4dfdc0
2018-03-27 14:55:33 -07:00
Dave Townsend e2dffad4ac Bug 1448500: Add speculative request content policy type. r=bz, r=kmag
Adds a new TYPE_SPECULATIVE to nsIContentPolicy uses it as the type for
speculative connection channels from the IO service. I believe I've added it to
all the content policies in tree to make sure it behaves the same as TYPE_OTHER
used to.

The webextension test shows that the webextension proxy API sees speculative
lookups requested through the IO service.

MozReview-Commit-ID: DQ4Kq0xdUOD

--HG--
extra : rebase_source : d9460fdac118bc68f0db79749a16f181b580f2e7
2018-03-23 15:27:08 -07:00
Ciure Andrei b861d14e56 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-04 00:56:56 +03:00
Olli Pettay abe47d910c Bug 1449268 - Treat document-level touch event listeners as passive, r=kats
--HG--
extra : rebase_source : 0ea948a612dfbd46b80b52985f96685b012e0079
2018-04-04 19:19:54 +03:00
Boris Zbarsky 764cd472b6 Bug 1445710. Reduce codesize a bit by removing DOM DefineInterfaceObject methods. r=peterv
MozReview-Commit-ID: 6JRYz4FV9vP
2018-04-04 15:32:19 -04:00
Boris Zbarsky 5ae1563978 Bug 1450422. Get rid of nsIDOMDataChannel. r=mystor
MozReview-Commit-ID: Dei5EEd0FZO
2018-04-04 15:32:19 -04:00
Boris Zbarsky b808305604 Bug 1450182. Remove the EventListenerWasAdded/Removed hooks from DOMEventTargetHelper. r=smaug
MozReview-Commit-ID: GWnAvK61hVT
2018-04-04 15:32:19 -04:00
Boris Zbarsky 2c63cffb46 Bug 1447454. Stop allowing implicit downcasts in StrongOrRawPtr. r=peterv
MozReview-Commit-ID: BSXp3ThY1dC
2018-04-04 15:32:19 -04:00
Boris Zbarsky aa63116f80 Bug 1085062 followup. Actually address the review comments. r=peterv 2018-04-04 14:43:41 -04:00
Boris Zbarsky c6d492b79e Bug 1445670. Make sure to clear out the pending request when our image gets blocked by the data document policy. r=jdm 2018-04-04 14:40:01 -04:00
Boris Zbarsky fe15e92e6b Bug 1085062. Remove hasXPConnectImpls support from bindings codegen. r=peterv 2018-04-04 14:39:52 -04:00
Boris Zbarsky 419465b581 Bug 1085061. Remove the hasXPConnectImpls flag from EventTarget. r=peterv
This is the behavior change.  The cleanup will be in bug 1085062.
2018-04-04 14:39:48 -04:00
Ben Kelly 489c37ab4f Bug 1450358 P8 Test that SharedWorker does not leak windows through its event listener. r=baku 2018-04-04 11:25:43 -07:00
Ben Kelly 41c2f967ce Bug 1450358 P7 Test MessageChannel for event listener leaks. r=baku 2018-04-04 11:25:43 -07:00
Ben Kelly 0e1f0b0b34 Bug 1450358 P6 Add BroadcastChannel event listener leak test. r=baku 2018-04-04 11:25:43 -07:00
Ben Kelly a7d24d8541 Bug 1450358 P5 Test EventSource for event listener leaks. r=baku 2018-04-04 11:25:43 -07:00
Ben Kelly 79bfa1d9c8 Bug 1450358 P3 Verify that Animation does not leak via event listeners. r=baku 2018-04-04 11:25:43 -07:00
Ben Kelly 0b6897561a Bug 1450358 P2 Test AbortSignal for event listener related runtime leaks. r=baku 2018-04-04 11:25:42 -07:00