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

528247 Коммитов

Автор SHA1 Сообщение Дата
Ted Mielczarek 2c431cb961 bug 1275780 - capture Rust panic message in crash reports. r=froydnj
MozReview-Commit-ID: IUlYqPEtkgg

--HG--
extra : rebase_source : c328db9b979eb2ff1f469b6ebc4a63e7ac337c63
2017-03-27 14:40:22 -04:00
Ted Mielczarek 5f9adc61f1 bug 1300152 - Add nsIDebug2::rustPanic to allow triggering Rust panic for testing. r=froydnj
For testing purposes it will be useful to be able to trigger crashes in Rust
code. Being able to trigger a panic seems like a good place to start. This
will make it easier to validate improvements in crash reporting.

MozReview-Commit-ID: Bh5rBieLLWW

--HG--
rename : toolkit/crashreporter/test/unit/test_crash_moz_crash.js => toolkit/crashreporter/test/unit/test_crash_rust_panic.js
extra : rebase_source : ba9f626ca2d2852f966e93401b8f8f7543615310
extra : source : 8c9117de1e7f40af42b7cbce25bc3780c032fe45
2017-03-31 12:08:57 -04:00
Daniel Stenberg 267eba61cb Bug 1346419 - Bail out on zero length data. r=valentin
Since we cannot call .First() on it and since it clearly contains
nothing to show anyway!

--HG--
extra : source : ecd714c21c5bd643875d85101dccaaeff18bd350
extra : amend_source : 22307168ed9289c36dade3f33a7c3ded93b5612c
2017-03-22 10:08:47 +01:00
Benjamin Bouvier a13e9d2f73 Bug 1352500: Baldr: Force stack alignment for asm.js atomics callouts on ARM; r=luke
MozReview-Commit-ID: HsROuItxJMX

--HG--
extra : rebase_source : 03a1030f2279da7c41e687455acc9c736cd47be8
extra : histedit_source : 365f49c34984d150bd99a120379cd54fbf674100
2017-03-31 20:10:18 +02:00
Eric Rahm 9afbcd5a22 Bug 1351831 - Build more xpconnect code in unified sources. r=bholley
These files were being excluding because we thought they used plarena.h, but it
turns out they did not. A few tweaks needed to be made to clarify whether we
wanted to use mozilla::UniquePtr or js::UniquePtr.

MozReview-Commit-ID: 1su5dO3rR0T
2017-03-31 11:00:11 -07:00
Eric Rahm 5e28f26c18 Bug 1351820 - Build more more netwerk files in unified mode. r=mcmanus
This updates the unifed sources for a few netwerk build files. In some cases
files were excluded because we thought they used plarena.h, but that turned
to be false.

A few files needed to be updated to add missing imports/exports due to shifting
of compilation units.

MozReview-Commit-ID: 4mh8VApFoe1
2017-03-31 11:00:10 -07:00
Eugen Sawin fd51be56ce Bug 1346542 - [3.0] Change setState to checkAndSetState to avoid updated state override. r=me 2017-03-31 19:27:46 +02:00
Dão Gottwald 1719c11783 Backed out changeset 438624f92fbc 2017-03-31 19:03:42 +02:00
Paul Adenot 26e9175c0d Bug 1351456 - Fix test logging.
MozReview-Commit-ID: KpyHg95FKcv
2017-03-31 18:51:01 +02:00
Kevin Jones 7b230dd9fb Bug 1352183 - Preserve lazy browsers' lazy state when closing the window. r=dao 2017-03-31 18:45:08 +02:00
Sebastian Hengst d4679cd05d Backed out changeset 15e815413234 (bug 1351980) for asserting on Android, e.g. in test_pseudoElement-get-animations.html. r=backout 2017-03-31 18:39:46 +02:00
Paul Adenot 93f23173cb Bug 1351456 - Add some instrumentation to try to understand a test timeout. irc-r=jesup
MozReview-Commit-ID: 935bdFmhwTq

--HG--
extra : rebase_source : 69f29432b714dffbb2eb9c51098d603744e4ceb6
2017-03-31 17:41:31 +02:00
Tim Taubert ff47acdd0e Bug 1352365 - Remove duplicate PrivacyLevel checks in SessionCookies.jsm r=mikedeboer
PrivacyLevel checks currently allow to disable storing secure cookies and any
cookies belonging to an HTTPS host, or completely disable storing cookies. We
call PrivacyLevel.canSave() for every host found in the shistory of a given
window's tabs. We then call it again for every cookie when retrieving all
cookies stored for a given host.

The two different privacy checks exist because in the past an HTTP site could
send a secure cookie too. Since Firefox 52 this isn’t possible anymore, only
HTTPS sites can send secure cookies. So as soon as nsICookie.isSecure=true
we know the site was loaded over TLS.

That means there are the following scenarios:

[PRIVACY_LEVEL=NONE] (default)
We store all cookies.

[PRIVACY_LEVEL=FULL]
We store no cookies at all.

[PRIVACY_LEVEL=ENCRYPTED]
HTTP site sends cookie: Store.
HTTP site sends secure cookie: Can't happen since Fx52
HTTPS site sends cookie: Store. The site is HTTPS but we should store the
cookie anyway because the "Secure" directive is missing. That means the
site wants us to send it for HTTP requests too.
HTTPS site sends secure cookie: Don't store.

This allows us to simplify the code and remove the per-host PrivacyLevel
checks. Checking nsICookie.isSecure is enough to tell whether we want
to keep a cookie or not.
2017-03-31 11:54:18 +02:00
Ehsan Akhgari a3580de587 Bug 1351980 - Initialize the UserAgentOverrides.jsm module at startup and shut it down at shutdown for all Gecko applications instead of relying on each one to do it on its own; r=schien 2017-03-31 09:54:28 -04:00
Sebastian Hengst e3bcc5dcd8 Backed out 2 changesets (bug 1351980) for asserting in Android tests, e.g. test_hc_noderemovechildnode.html. r=backout
Backed out changeset fbc8e05e5251 (bug 1351980)
Backed out changeset 1c7c92033bb1 (bug 1351980)
2017-03-31 15:38:38 +02:00
Carsten "Tomcat" Book 4ac9c2ffb1 Merge mozilla-central to mozilla-inbound 2017-03-31 14:47:54 +02:00
Carsten "Tomcat" Book 095969b8ee merge mozilla-inbound to mozilla-central a=merge 2017-03-31 14:45:33 +02:00
Sebastian Hengst d722cb70d6 Bug 1351980 - Initialize the UserAgentOverrides.jsm module at startup and shut it down at shutdown for all Gecko applications instead of relying on each one to do it on its own: Replace RESPATH with BINPATH to fix mobile builds. r=bustage-fix 2017-03-31 14:22:25 +02:00
Ehsan Akhgari af1cabba18 Bug 1351980 - Initialize the UserAgentOverrides.jsm module at startup and shut it down at shutdown for all Gecko applications instead of relying on each one to do it on its own; r=schien 2017-03-31 07:37:59 -04:00
Eugen Sawin 4573e30ad0 Bug 1346542 - [2.1] Fix code style. r=jchen 2017-03-31 13:12:21 +02:00
Eugen Sawin 80710c9297 Bug 1346542 - [1.2] Move state holder to GeckoView::Window and set ready state when reattaching to window. r=jchen 2017-03-31 13:12:21 +02:00
Timothy Nikkel b3137a6749 Bug 1348941. r=njn 2017-03-31 06:07:29 -05:00
Jon Coppeard 3905bf8fc4 Bug 1350844 - Don't add dead proxy zone edges for zones which are not being collected r=sfink a=abillings 2017-03-31 11:16:42 +01:00
Jon Coppeard 5a0d815ca0 Bug 1352114 - Improve jsapi-test failure messages r=luke 2017-03-31 11:16:09 +01:00
Cameron McCormack a051e59594 Bug 1341102 - stylo: Add some fuzziness to box-decoration-break-with-inset-box-shadow-1.html. 2017-03-31 17:41:44 +08:00
Benjamin Bouvier 1397cfaed9 Bug 1352073: Follow-up: don't use reserved() in opt builds; r=bustage
Also fix style to make it match local style.

MozReview-Commit-ID: D2HTik6HwxJ

--HG--
extra : rebase_source : 73d5a6d63597764d904f2d254ced08192871fdc0
2017-03-31 11:01:35 +02:00
Jan de Mooij 1ad92e7cc7 Bug 1350760 part 6 - Add a Zone cache for recently atomized strings. r=jonco 2017-03-31 10:54:16 +02:00
Jan de Mooij 35bd8c0bf9 Bug 1350760 part 5 - Make sure various hashtable lookups get inlined when atomizing strings. r=luke 2017-03-31 10:53:39 +02:00
Jan de Mooij 9dff76b861 Bug 1350760 part 4 - Call JSString::validateLength only when we have to allocate a new atom. r=luke 2017-03-31 10:53:03 +02:00
Jan de Mooij 0a9d9be761 Bug 1350760 part 3 - Add AtomMarkingRuntime::inlinedMarkAtom to eliminate markAtom call overhead when atomizing. r=jonco 2017-03-31 10:52:09 +02:00
Jan de Mooij 4994bed355 Bug 1350760 part 2 - Ensure SparseBitmap::setBit gets inlined. r=sfink 2017-03-31 10:51:21 +02:00
Jan de Mooij d3aa9773ba Bug 1350760 part 1 - Templatize and optimize AtomMarkingRuntime::markAtom. r=jonco 2017-03-31 10:50:52 +02:00
Benjamin Bouvier 0eeedcfb9c Bug 1352073: Fix off-by-one in Vector::insert; r=luke
MozReview-Commit-ID: HY0DYSAbi6M

--HG--
extra : rebase_source : 15aaf8576c6c78e1dd097685947507445808ee0c
extra : histedit_source : 9ece90f05a7666784a381be085a82231aef5ef29
2017-03-30 16:20:30 +02:00
Dão Gottwald 6de398fc4f Bug 1350873 - Remove border and background fallback styling from spinbuttons.css. r=Nihanth 2017-03-31 09:04:31 +02:00
Iris Hsiao c598161942 Backed out changeset 0edd9de2ca10 (bug 1317783) for duplicate checkin to autoland 2017-03-31 14:02:07 +08:00
Iris Hsiao a4e80da339 Backed out changeset 40eb77a98bcf (bug 1300152) 2017-03-31 13:47:37 +08:00
Iris Hsiao 4241e9748a Backed out changeset 23c5ecf4d92e (bug 1275780) for xpcshell perma-failing in Win8 2017-03-31 13:47:33 +08:00
Franziskus Kiefer c2c9435c51 Bug 1345368 - land NSS 215207b4864c, r=me
--HG--
extra : rebase_source : 727d919dd9bd85ee2a5b6dc3d71653d022d136ad
2017-03-31 06:01:05 +02:00
Felipe Gomes 93b3d9b7c7 Bug 1350381 - Define this pref so that the test doesn't fail. r=me a=test-fix
MozReview-Commit-ID: hwIFebaw3B

--HG--
extra : source : 1edf2dfa3809bdaaa83a3b8914fe80d4fe91a912
2017-03-30 23:08:30 -03:00
Geoff Brown f04ad9ab13 Bug 1348653 - Increase fuzziness for reftest 722923-1.html; r=me,test-only
Checked with :mats about this.
2017-03-30 21:42:04 -06:00
Geoff Brown d88e730a52 Bug 1284763 - Request longer timeout for test_anchor_area_referrer.html; r=jmaher
This test runs 276 seconds on average on Android Debug; when it takes longer
than 300 seconds, the test times out, producing intermittent failures.
2017-03-30 21:42:02 -06:00
L. David Baron 28b9e9b1d4 Bug 1351359 - Make nsGridContainerFrame call ReflowInput::SetBResize(true) because of auto-block-size swapping between measuring reflows and regular reflows. r=mats
This fixes the failure of
layout/reftests/css-grid/grid-min-max-content-sizing-002.html with the
primary patch in bug 1308876 (which causes a child whose parent is dirty
to pick up the dirty bit from the parent only the first reflow of the
child if the parent reflows the child multiple times).  A simplified
testcase for that failure is
https://bugzilla.mozilla.org/attachment.cgi?id=8849771 .

The failure was caused by an error in height calculation of the first
<x> in the test.  The div that is the parent of that x has a definite
height (presumably due to rules in grid), and the x has a specified
height.  The div gets three reflows:  two measuring reflows (from
MinContentContribution and then from MaxContentContribution) and then a
final reflow from nsGridContainerFrame::ReflowInFlowChild.  Prior to the
primary patch in this bug, the div was marked dirty on all three
reflows, but with it it is marked dirty only on the first.  This means
that, without the block-resize flag, the div optimizes away the reflow
of its children, since ShouldReflowAllKids returns false because
IsBResize() is false, even though NS_FRAME_CONTAINS_RELATIVE_BSIZE is
correctly set.

In order to fix this, we need to make sure the BResize flag on the
reflow state in at least some cases (see the comments in the patch for
when, and for how the cases could be optimized in the future).

Note that:

 * when the dirty bit is set on the grid container, the new behavior
   (with the combination of the patches) is strictly more efficient than
   the old, since we will sometimes do non-dirty reflows on the grid
   items (with the b-resize flag)

 * when the dirty bit is *not* set on the grid container, the new
   behavior is less efficient than the old, since we will set the
   b-resize flag when we did not do so before.  However, this slowdown
   fixes existing bugs such as the one in the reftest.

Given that I was able to construct a reftest that triggers the failure
without the changes from bug 1308876, I've moved this to a separate bug.
Without the patch, grid-measuring-reflow-resize-dynamic-001.html fails,
but grid-measuring-reflow-resize-static-001.html passes.  With the patch
both tests pass.  (And without the patch, doing a text zoom on the
dynamic test fixes the layout error.)

MozReview-Commit-ID: JQOdVTQIkU0

--HG--
extra : transplant_source : %8B%2ARO%3B%D0%7B%EC%C9_%B3%60Sp%F9T%14X%85%DC
2017-03-30 22:56:14 -04:00
L. David Baron 14dccbfd0b Bug 1352056 - Call nsIFrame::StyleDisplay less from nsFrame::FinishAndStoreOverflow. r=dholbert
MozReview-Commit-ID: 5zuNLfyPv8o

--HG--
extra : transplant_source : %17%5Bm6%BE%DF%D0%12%19%8BZ%FE%E4%EE%E2%7F%9FR%DF%BA
2017-03-30 22:56:14 -04:00
L. David Baron eb43b5f7d9 Bug 1352056 - Add nsIFrame::Style*WithOptionalParam helpers. r=dholbert
MozReview-Commit-ID: DFGBeKtg7hI

--HG--
extra : transplant_source : %F1%A7%FF%1Bo7%BD%FBkB%3D%F7%06C0%0B%18Z%B4%8F
2017-03-30 22:56:14 -04:00
Edgar Chen f76afcbcd5 Bug 1351979 - Change CustomElementRegistry::Define code to properly propagate out JS exceptions; r=wchen 2017-03-30 11:44:09 +08:00
Phil Ringnalda 57f1484fe3 Backed out changeset ada34cba0052 (bug 1348941) for image-related bustages
CLOSED TREE
2017-03-30 19:28:00 -07:00
Phil Ringnalda 4cb08c4110 Backed out 2 changesets (bug 1351831, bug 1351820) for Windows build bustage
CLOSED TREE

Backed out changeset 91c2f1592df1 (bug 1351831)
Backed out changeset f825bdbb2ece (bug 1351820)
2017-03-30 19:21:06 -07:00
Eric Rahm 02c3c2e880 Bug 1351831 - Build more xpconnect code in unified sources. r=bholley
These files were being excluding because we thought they used plarena.h, but it
turns out they did not. A few tweaks needed to be made to clarify whether we
wanted to use mozilla::UniquePtr or js::UniquePtr.

MozReview-Commit-ID: 1su5dO3rR0T
2017-03-30 18:32:18 -07:00
Eric Rahm e5c9b989b3 Bug 1351820 - Build more more netwerk files in unified mode. r=mcmanus
This updates the unifed sources for a few netwerk build files. In some cases
files were excluded because we thought they used plarena.h, but that turned
to be false.

A few files needed to be updated to add missing imports/exports due to shifting
of compilation units.

MozReview-Commit-ID: 4mh8VApFoe1
2017-03-30 18:32:17 -07:00
Nicholas Nethercote 6e2f13d8c2 Bug 1351946 (part 2) - Inline and remove GetEntries() and GetInterval(). r=mstange.
--HG--
extra : rebase_source : 127ff560940a93bf9bd5298ac6ab92812bdd94c7
2017-03-30 17:49:27 +11:00