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

575640 Коммитов

Автор SHA1 Сообщение Дата
Prathiksha ba7f1e146f Bug 1428425 - Clean up browser_permissions_dialog.js. r=johannh
MozReview-Commit-ID: 3cBMSVOmgVi

--HG--
extra : rebase_source : 2e1c45582ce04cfd4afb01813be5908bff13ee91
2018-01-06 15:42:07 +05:30
Prathiksha 518d2ef5a8 Bug 1363040 - Stop loading tracking-protection-16.svg in windows that don't display it. r=johannh
MozReview-Commit-ID: I6yN3l47k9l

--HG--
extra : rebase_source : 087bacabc9c32f8ecec0fa70fffbb8e56297af7f
2018-01-04 22:22:19 +05:30
Oriol Brufau 2f51c10cab Bug 1396434 - Test that symbols can be stored as global variables in the console. r=nchevobbe
MozReview-Commit-ID: Ba7Ir2BHEzw

--HG--
extra : rebase_source : 07ff416d5019eb9f2c92c616f2c3e53e55d8c929
2018-01-01 13:17:05 +01:00
Scott Wu d435c59800 Bug 1421538 - Set country field to default country when creating new addresses. r=lchang
MozReview-Commit-ID: 5Bd6TdZOej

--HG--
extra : rebase_source : efe1f7c66ce7ee6291cb56a9eba75b5298b7d79f
2018-01-03 17:50:44 +08:00
abhinav 7ec4689c74 Bug 1420982 - Fix for copy as cURL ignoring PATCH data. r=Honza
MozReview-Commit-ID: 8GDV8ykAIsH

--HG--
extra : rebase_source : 49aced8366e742320a87834acf0a7ab50c789fd7
2017-12-22 00:41:50 +05:30
Emilio Cobos Álvarez 872ec24ce1 Bug 1428353: Allow undisplayed maps to be queried for elements out of the document. r=mats
MozReview-Commit-ID: 69lQNFk5vhG

--HG--
extra : rebase_source : 693f2537039045f765f8a40da84792bc1b60327f
2018-01-06 00:50:58 +01:00
Emilio Cobos Álvarez d39e568a57 Bug 1427677: Remove nsBindingManager::FindNestedInsertionPoint. r=bz
No more callers!

MozReview-Commit-ID: 1mxi4IjViuC
2018-01-06 11:39:48 +01:00
Emilio Cobos Álvarez 7f7f3991e3 Bug 1427677: Get rid of nsContentUtils::HasDistributedChildren. r=bz
The whole function doesn't have much sense.

I killed its only DOM use in bug 1427511.

Now it only has two callers in nsCSSFrameConstructor, which basically only want
to know whether the children of the same node can have different flattened tree
parents.

So let's check that directly instead (checking whether the element has a binding
or a shadow root), and simplify a bit other surrounding code while at it.

Leave the XUL popup / menubar code doing the broken thing they were doing
beforehand, because it doesn't look to me like it's trivial to fix... They're
effectively assuming that the children of the menupopup end up in a single
insertion point, which is true, but doesn't need to be.

Maybe they should walk the DOM tree? Don't want to dig into that right now,
since XUL insertion points can be reordered and all that... Not fun.

MozReview-Commit-ID: L4lspkxKENr
2018-01-06 11:39:16 +01:00
Andreea Pavel 51d4c2d9ce Merge inbound to mozilla-central r=merge a=merge 2018-01-06 11:50:13 +02:00
Mike Hommey 5d73d0f334 Bug 1427339 - Build GCC on a Debian-based docker image. r=gps 2018-01-06 14:19:32 +09:00
Mike Hommey e34ef317f6 Bug 1427339 - Make mozconfig.stdcxx work with both CentOS and Debian-built GCCs. r=gps 2018-01-06 14:19:30 +09:00
Mike Hommey 0c1517dd8c Bug 1427339 - Configure binutils and gcc --with-sysroot=/. r=gps
The system binutils and gcc are built with that option on Debian, but
not on CentOS. That makes no practical difference, except for the fact
that when building GCC, we use our own-built binutils (as per bug
1427316), but use the system GCC. And a GCC built with --with-sysroot=/
doesn't work with a binutils built without. However, a GCC built without
--with-sysroot=/ works fine with a binutils built with it. So this
change is compatible with building our GCC on both CentOS and Debian.
2018-01-06 14:19:29 +09:00
Andrew Sutherland 3f90214c93 Bug 1416879 - Part 6: Test cancellation of diverted client-intercepted streams. r=bkelly
This adds a test where we have a ServiceWorker return 2 different types
of streams that Firefox recognizes as downloads which are handled by
diversion of the channel to the parent.  The diverted downloads are
then cancelled and we verify that cancellation actually results in the
underlying connections being closed and/or the ServiceWorker notified.

Our 2 types of streams are:
1. A pass-through stream that is incrementally delivered through use of
   an .sjs file that delivers data using setInterval.
2. A SW-authored ReadableStream (which is not enabled by default, so we
   set a pref.)

Determining when the .sjs's stream is canceled is accomplished by
opening a second "monitor" connection that only completes when the
streaming connection is closed.

In all cases we differentiate between cancelation and timeouts firing.

--HG--
extra : rebase_source : bee2d8ae5dedfb88c1bb8fa5cf452014d74afaed
2018-01-04 18:38:43 -05:00
Andrew Sutherland 31246a1058 Bug 1416879 - Part 5: FetchStreamReader needs to cancel its reader when it encounters write errors. r=baku, f=bkelly
Currently, FetchStreamReader never signals to the JS stream code that
the reader has been closed.  This means that when a ServiceWorker
passes a ReadableStream to respondWith and the HTTP Channel gets
canceled, the JS code will keep generating the stream without ever
realizing the data's not going anywhere.  It's necessary to cancel
the reader.  Or do something like that, this seems to work!

--HG--
extra : rebase_source : 559af90ba766ebd4deb5d99b6696cd2207215f9f
2018-01-04 18:09:32 -05:00
Andrew Sutherland 8da7ba26dd Bug 1416879 - Part 4: FetchDriver needs to propagate write failures. r=baku
In the scenario where a ServiceWorker returns a pass-through fetch via
`evt.respondWith(fetch("underlying"))`, in order for the "underlying"
HTTP channel to be canceled when the outer HTTP channel is canceled,
FetchDriver's OnDataAvailable method needs to return an error when
the output pipe experiences an error.

Unfortunately, the contract for ReadSegments is effectively that it
returns NS_OK regardless of what the rv of the write handler returned,
so relying on the returned rv is insufficient.  And because various
Write*() methods will all fast-path to returning NS_OK if a count of 0
is passed, it's necessary to infer a closed/broken pipe by noticing
that we tried to write more than 0 bytes of data but 0 bytes were
written.  (This is safe because the pipe we write into was created
by FetchDriver::OnStartRequest which explicitly creates an infinite
pipe, so it's not possible for the write to fail due to lack of space
in the pipe.)

--HG--
extra : rebase_source : 788dab679298841fc03bb054458b6f8cc4a0a8d9
2018-01-04 18:04:55 -05:00
Andrew Sutherland 35d9749e9b Bug 1416879 - Part 3: (Also Bug 1418795) SyntheticDiversionListener should handle !mIPCOpen. r=bkelly
The SyntheticDiversionListener needs to handle the case where the IPC
connection is gone.  This patch avoids calling Send* methods which will
crash the content process if the actor has already been destroyed.
Additionally, OnDataAvailable will return an error in such a case so
that the caller can properly handle the error rather than continuing to
attempt to send data to a listener that doesn't care.  This latter
change is an artifact of a previous hack attempt to fix a related
diversion issue that is probably not required for this stack, but makes
sense as a fix, so I've left it in.

--HG--
extra : rebase_source : 824d4ab64e92ebb04d8d1ecd4df6d03a2cb37d2f
2018-01-04 13:59:13 -05:00
Andrew Sutherland 5272d9c40a Bug 1416879 - Part 2: Allow for diversion cancellation and trigger for intercepted channels. r=bkelly, r=mayhemer
The diversion mechanism never expected to be dealing with data sourced
from the content process, but that's exactly what happens with
ServiceWorker-intercepted channels with the current child-intercept
situation (which is being fixed).

In order to allow timely cancellation of diverted intercepted
channels, there needs to be a way to relay to the HttpChannelChild
that it needs to be canceled so that the synthesized pump can be
canceled and diversion can be marked as complete.  This patch adds
such a mechanism to ADivertableParentChannel and PHttpChannel for the
exclusive use of InterceptedHttpChannel and then uses it.

--HG--
extra : rebase_source : 59d3aa5e541d2a404c6320ae9fce03e7c9cd8b81
2018-01-04 18:38:07 -05:00
Andrew Sutherland 7f86d0ce4a Bug 1416879 - Part 1: DivertComplete should only be sent at OnStopRequest for synthesized responses. r=bkelly
Diversion for intercepted channels with a synthesized response is a
special case.  It is not appropriate to send DivertComplete when
mEventQ has been drained, because we are not dealing with the usual
mEventQ-enqueued OnDataAvailable payloads that had been received over
the network and sent down to the child.  In this case, all the data
originates in the child and does not go through mEventQ.  As such,
the correct place to send DivertComplete is at OnStopComplete for the
synthesized response.

--HG--
extra : rebase_source : 2209c25ad6f2b5655728d8dc07ef7f8b64df6ea6
2018-01-04 18:56:46 -05:00
Ben Kelly 64ef60ebaa Bug 1428447 Set a loading principal on ServiceWorker WorkerPrivate objects. r=asuth 2018-01-05 19:50:09 -05:00
Sebastian Hengst 6c6df154cd merge mozilla-central to mozilla-inbound. r=merge a=merge 2018-01-06 01:56:19 +02:00
Sebastian Hengst 2928d8ae82 Bug 1425975 - Follow-up: Move method to correct position. r=merge-fix a=merge-fix 2018-01-06 01:51:46 +02:00
Jeff Gilbert f106df25cd Bug 1427668 - Flush on mac after EndTransformFeedback. - r=daoshengmu
MozReview-Commit-ID: A0Tbk2pIng
2018-01-05 15:28:01 -08:00
Jeff Gilbert 68be900a6c Bug 1427668 - Require frag_color_float for color_buffer_*float extensions. - r=daoshengmu
Add probe for faulty frag_color_float implementations.

MozReview-Commit-ID: E2I0mrDuicV
2018-01-05 15:27:59 -08:00
Jeff Gilbert db4f0399df Bug 1427668 - Fixes and spew. - r=daoshengmu
MozReview-Commit-ID: 9NPkWsh2rxE
2018-01-05 15:27:56 -08:00
Jeff Gilbert 8fc8584d67 Bug 1427668 - Disable MakeCurrent TLS for ANGLE for now. - r=daoshengmu
MozReview-Commit-ID: HzKKivtXeHX
2018-01-05 15:27:54 -08:00
Jeff Gilbert 8ab9a9aa21 Bug 1427668 - Assert that no-alpha backbuffers have 0xff alpha. - r=daoshengmu
MozReview-Commit-ID: 5UJdoud0f2C
2018-01-05 15:27:51 -08:00
Jeff Gilbert 7edc1cd1d7 Bug 1427668 - Lose context if EnsureDefaultFB fails. - r=daoshengmu
MozReview-Commit-ID: 8OqXYXpUv4I
2018-01-05 15:27:48 -08:00
Jeff Gilbert 3331434de7 Bug 1427668 - Unify MaxRenderbufferSize and MaxTextureSize. - r=daoshengmu
MozReview-Commit-ID: AFS0IqmkQEo
2018-01-05 15:27:46 -08:00
Jeff Gilbert 182a604cde Bug 1427668 - Special-case lazy glEnable caps. - r=daoshengmu
MozReview-Commit-ID: KD5N2y1U804
2018-01-05 15:27:43 -08:00
Jeff Gilbert fad02050d8 Bug 1427668 - Use shadows instead of calling into GL. - r=daoshengmu
MozReview-Commit-ID: 1ZFwDNboet3
2018-01-05 15:27:41 -08:00
Jeff Gilbert 768a9730e5 Bug 1427668 - InvalidateFB should accept incomplete FBs, but just skip them for now. - r=daoshengmu
MozReview-Commit-ID: LZtVwzZ1HK8
2018-01-05 15:27:38 -08:00
Jeff Gilbert 9e26c20b7f Bug 1427668 - ColorMask(0xf) for backbuffer resolve. - r=daoshengmu
MozReview-Commit-ID: KZJZ0Lc0vbC
2018-01-05 15:27:36 -08:00
Jeff Gilbert 79fa5ae9cf Bug 1427668 - Reject too-large MozFramebuffer requests. - r=daoshengmu
MozReview-Commit-ID: G2jqeb7QqhE
2018-01-05 15:27:33 -08:00
Jeff Gilbert df8e8db803 Bug 1427668 - Move the webgl backbuffer into webgl. - r=daoshengmu
MozReview-Commit-ID: 2WpG7mfMRQ8
2018-01-05 15:27:30 -08:00
Jeff Gilbert 3f0aacfb10 Bug 1427668 - Add MozFramebuffer. - r=daoshengmu
MozReview-Commit-ID: CX0wxs7Gqvp
2018-01-05 15:27:28 -08:00
Florian Quèze e44246d6d2 Bug 1428401 - Remove obsolete getPref helpers, r=Gijs. 2018-01-06 00:25:51 +01:00
Sebastian Hengst a149c84834 Bug 1425975 - Fix merge bustage. r=bustage-fix a=bustage-fix 2018-01-06 01:10:52 +02:00
Coroiu Cristina ebae541f60 Backed out 1 changesets (bug 1297740) for mingw32 build failure at src/ipc/chromium/src/base/process_util_win.cc r=backout on a CLOSED TREE
Backed out changeset e2501f2e295e (bug 1297740)
2018-01-06 00:59:25 +02:00
Sebastian Hengst d52c7b3231 merge inbound to central. r=merge a=merge 2018-01-06 00:27:10 +02:00
arthur.iakab edc6a0cc48 Merge autoland to mozilla-central r=merge a=merge 2018-01-05 23:51:43 +02:00
ffxbld 0f63741b8e No bug, Automated HPKP preload list update from host bld-linux64-spot-037 - a=hpkp-update 2018-01-05 12:22:25 -08:00
ffxbld 0046f0f438 No bug, Automated HSTS preload list update from host bld-linux64-spot-037 - a=hsts-update 2018-01-05 12:22:21 -08:00
Emilio Cobos Álvarez bab6ad290a Bug 1427824: Remove invalid assertion in presence of display: contents. r=bz
MozReview-Commit-ID: 4jFGHcD5wds

--HG--
extra : rebase_source : 23afb26dd3a93d4693def423a7ee3f3f95ed91a7
2018-01-05 19:12:42 +01:00
Ryan VanderMeulen 49536acddf Bug 1428405 - Update pdf.js to version 2.0.250. r=bdahl 2018-01-05 13:09:53 -05:00
Johan Lorenzo 3757bebc72 Bug 1385401 - Fetch Google Play listings outside of the push-apk task r=aki
MozReview-Commit-ID: 2PTvLx4Atj5

--HG--
extra : rebase_source : e455755b3a20c290b0a54fb60b90efb6ca756fb4
2018-01-05 13:49:59 +01:00
Jorg K bc6ff2f863 Bug 1427553 - Handle mull gracefully in ellipseString(). r=bobowen 2018-01-05 06:52:00 -05:00
Tiberius Oros 0a895028f7 Merge inbound to mozilla-central r=merge a=merge 2018-01-05 11:57:58 +02:00
Tiberius Oros b61fe475c8 Merge autoland to mozilla-central r=merge a=merge 2018-01-05 11:56:24 +02:00
Myk Melez c3da3e7642 Bug 1379338 - scriptify preferences XBL; r=jaws
MozReview-Commit-ID: Egyzs2KxhzH
2018-01-04 21:37:47 -08:00
Andreea Pavel b88f05e893 Backed out changeset 3a55b10a6974 (bug 106327) for build bustage on
/builds/worker/workspace/build/src/layout/xul/nsMenuFrame.cpp r=backout a=backout on a CLOSED TREE

--HG--
extra : amend_source : e09bf154093728898ad2c27dd185108f9ff3b009
2018-01-05 04:46:46 +02:00