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

538283 Коммитов

Автор SHA1 Сообщение Дата
Mats Palmgren 483a804512 Bug 1364805 part 3 - Implement Type() by indexing a static array using the mClass field. Remove the nsIFrame::mType field. r=jfkthame
In the nsWindowMemoryReporter.cpp / nsArenaMemoryStats.h I'm only
including the concrete frame classes now - we obviously never have
instances of the other IDs so there's no need to collect stats for them.

MozReview-Commit-ID: 48uFCZ3xKBC
2017-05-26 12:11:11 +02:00
Mats Palmgren 1242172259 Bug 1364805 part 2 - Add a nsIFrame::mClass field and propagate the concrete class' value up the ctor chain. r=jfkthame
nsIFrame::mClass is of type enum class nsQueryFrame::ClassID which is
a strict subset of the nsQueryFrame::FrameIID values.  For a concrete
frame class, its FrameIID is the same numeric value as its ClassID.

MozReview-Commit-ID: 1N0AkCGo1ol
2017-05-26 12:11:11 +02:00
Mats Palmgren ec6b1ef065 Bug 1364805 part 1 - Make every concrete frame class be a NS_DECL_QUERYFRAME_TARGET. r=jfkthame
MozReview-Commit-ID: Gy9gcEYupeY
2017-05-26 12:11:11 +02:00
Peter Van der Beken c2849d4c0b Bug 1361892 - Null check pointer before calling Release. r=erahm.
--HG--
extra : rebase_source : b80444629fc5cf92431297fd3bae61f805537162
2017-05-08 17:02:12 +02:00
Carsten "Tomcat" Book d2f951ca78 Backed out changeset b3149f82342d (bug 1367365) will land directly on m-c 2017-05-26 11:08:56 +02:00
Valentin Gosu c14921d34f Bug 1367365 - Disable RCWN r=me
MozReview-Commit-ID: GuIC5Gv09Z3
2017-05-26 10:59:16 +03:00
Thomas Nguyen 262347b745 Bug 1351146 - P2 - Update test case and usage of nsIRedirectHistoryEntry interface. r=dragana
MozReview-Commit-ID: s61VV5CLx8
2017-05-25 19:42:00 +02:00
Thomas Nguyen 4fcb94e968 Bug 1351146 - P1 - Add more information to redirect chains. r=dragana
In order to provide more details context of how client arrived at the unsafe
page, particularly in redirect case, we may have to add more information to
redirect chains including:
- referrer (if any)
- remote address.
- URL

We may want to use an idl interface instead of nsIPrincipal to store these
information

MozReview-Commit-ID: 3Uh4r06w60C
2017-05-25 19:42:00 +02:00
Eden Chuang 68cf4559f8 Bug 1345361 - PaymentRequest constructor implementation. r=baku 2017-05-26 01:50:32 +08:00
Nicholas Nethercote a062b9be51 Bug 1366650 (part 2) - In GeckoProfiler, do all pseudo-stack accesses via the PseudoStack class, instead of via raw array manipulation. r=mstange,shu.
- The profiler gives the JS engine a reference to the pseudo-stack via
  SetContextProfiilngStack(). That function now takes a |PseudoStack*| instead
  of a |ProfileEntry*| and pointer to the stack pointer.

- PseudoStack now has a |kMaxEntries| field, which is easier to work with than
  |mozilla::ArrayLength(entries)|.

- AddressOfStackPointer() is no longer needed.

- The patch also neatens up the push operations significantly. PseudoStack now
  has pushCppFrame() and pushJsFrame(), which nicely encapsulate the two main
  cases. These delegate to the updated initCppFrame() and initJsFrame()
  functions in ProfileEntry.

- Renames max_stck in testProfileStrings.cpp as peakStackPointer, which is a
  clearer name.

- Removes a couple of checks from testProfileStrings.cpp. These checks made
  sense when the pseudo-stack was accessed via raw manipulation, but are not
  applicable now because we can't artificially limit the maximum stack size so
  easily.
2017-05-26 09:51:31 +10:00
Nicholas Nethercote 0840bb61c6 Bug 1366650 (part 1) - Move PseudoStack into SpiderMonkey. r=mstange,shu.
This includes renaming its fields to match SpiderMonkey naming conventions
instead of Gecko naming conventions.

This patch is just about moving the code. The next patch will change
SpiderMonkey to actually use PseudoStack directly.

--HG--
extra : rebase_source : 27e77ddf950201eb6bdba60003218056442cf7ab
2017-05-26 09:37:28 +10:00
Ryan VanderMeulen a71f4a2308 Merge m-c to inbound. a=merge 2017-05-25 21:31:19 -04:00
Ryan VanderMeulen e38fed0cd1 Merge inbound to m-c. a=merge 2017-05-25 21:30:20 -04:00
Samuel Vargas 3f8de3214a Bug 1366425 - Avoid losing context on out of memory error for ANGLE - r=jgilbert 2017-05-25 16:11:40 -07:00
Samuel Vargas 67ca0e362c Bug 1364169 - on ANGLE context creation asks for robustness but does not get it - r=jgilbert 2017-05-25 16:11:25 -07:00
Samuel Vargas 70e5692daa Bug 1365067 - rbab is requested on ANGLE but is not implemented - r=jgilbert 2017-05-25 16:11:05 -07:00
Samuel Vargas 861a75bd94 Bug 1364592 - Enable asserts in moz.build for ANGLE - r=jgilbert 2017-05-25 16:10:36 -07:00
Jim Chen 46ed8bc7f8 Bug 1367234 - 2. Hide action bar on full screen in geckoview_example; r=droeh
Hide the action bar on full screen in geckoview_example so the page
content covers the entire screen.

MozReview-Commit-ID: IbLj7gei7ct
2017-05-25 18:35:19 -04:00
Jim Chen a96d808466 Bug 1367234 - 1. Support fullscreen for e10s GeckoView; r=droeh
Add event listeners and implement basic messages between chrome and
content so let e10s content in GeckoView request/exit fullscreen. Once
we're on the parent side, we still go through the normal fullscreen flow
so there is no platform or Java change involved.

MozReview-Commit-ID: G1tBIOoFqkB
2017-05-25 18:35:19 -04:00
Jim Chen c4f7fca79b Bug 1366716 - Encode crash submission URI correctly; r=snorp
Correctly encode the crash submission URI so it's valid.

MozReview-Commit-ID: KFqloHXDCSd
2017-05-25 18:35:19 -04:00
Jim Chen 97df49f5c2 Bug 1365711 - Set GeckoInterface from GeckoApplication; r=snorp
Now that GeckoInterface only contains openUriExternal and
getHandlersFor* methods, we can set GeckoInterface from GeckoApplication
only, and not GeckoApp or GeckoView. This also lets us get rid of
BaseGeckoInterface.

MozReview-Commit-ID: KQloIO6ITlK
2017-05-25 18:33:30 -04:00
Jim Chen e7f79e098e Bug 1363885 - 2. Remove ViERenderer dependency on orientation listener; r=snorp
ViERenderer is not used anywhere but has a couple calls to the obsolete
GeckoAppShell orientation listener. The entire ViERenderer.java file is
getting removed in the upcoming WebRTC update, so we should just go
ahead and remove those lines.

MozReview-Commit-ID: AwG7dBg5MV8
2017-05-25 18:33:30 -04:00
Jim Chen b63492861c Bug 1363885 - 1. Remove GeckoAppShell.AppStateListener; r=droeh
Remove GeckoAppShell.AppStateListener and its associated methods in
GeckoInterface (orientation listener and app state listener methods).

MozReview-Commit-ID: 4BCrTysSEHZ
2017-05-25 18:33:30 -04:00
Ryan VanderMeulen df9dd3967c Backed out changeset 437d6df1859c (bug 1345361) for ESLint failures. 2017-05-25 18:05:15 -04:00
Eden Chuang 80717194b1 Bug 1345361 - PaymentRequest constructor implementation. r=baku 2017-05-26 01:50:32 +08:00
Ryan VanderMeulen 3b4c1cc790 Bug 1367892 - Upgrade to SQLite 3.19.2. r=mak 2017-05-25 17:03:46 -04:00
Ryan VanderMeulen f319a0cdcd Bug 1367898 - Update pdf.js to version 1.8.384. r=bdahl
--HG--
extra : rebase_source : 33466d04c6fc3b0314f7f8865d345821f04448d2
2017-05-25 17:01:21 -04:00
Jim Chen f3b0a31d44 Bug 1366404 - Add AArch64 Nightly build; r=nalexander r=dustin
Add configurations for building and uploading AArch64 Nightly builds, in
tier 1 and without artifact support for now.

As for not denoting AArch64 builds as "api-21", I don't really think we
will split AArch64 the way we split ARMv7 before.  Originally, we split
into API 9 and API 11+ because of lots of "constrained" devices that
were stuck with API 9. We made an API 9 APK in order to lower our
footprint on those devices. That probably will not be a problem for
AArch64, because devices with API 21+ and AArch64 support are usually
more than capable for running Fennec. Secondly, it was a big change for
Android going from API 9 to API 11+, so we saved quite a bit of
code/resources when we stripped out API 11+.  I don't see such drastic
changes going from API 21 to upcoming versions, so even if we did split,
I don't think it'll get us much benefit.

MozReview-Commit-ID: 7N7Slv1pPgb
2017-05-25 16:53:33 -04:00
Ryan VanderMeulen ac35891cc9 Merge m-c to inbound. a=merge 2017-05-25 16:35:51 -04:00
Ryan VanderMeulen 8543438674 Merge inbound to m-c. a=merge 2017-05-25 16:34:16 -04:00
Ryan VanderMeulen b8ba243c22 Merge autoland to m-c. a=merge 2017-05-25 16:31:52 -04:00
Aaron Klotz f2c01f6b99 Bug 1354077: Fix some problems with RegGetValue call failing due to failed type checking; r=jimm
MozReview-Commit-ID: 5iTEAW9CyJS

--HG--
extra : rebase_source : 2a1d5b4684e2fba9913e7d185738c3f5d711da8f
2017-05-25 14:08:55 -06:00
L. David Baron 9d25ba2b78 Bug 1367413 - Fix assertion that can occur when paginating abs-pos elements with a transform. r=mats
I confirmed that the test crashes in the crashtest harness without the
patch (although the harness doesn't exit!), whereas it passes with the
patch.

MozReview-Commit-ID: 37S6i1kvw37

--HG--
extra : transplant_source : %9F%A91%90%3F%93%1F%E5%B3%ACHf%8C%BD%BA%C9%12%97%83I
2017-05-25 16:21:20 -04:00
Aaron Klotz 0c65052029 Bug 1367715: Convert IsProxy check to assertion to avoid unnecessary and potentially incorrect off-main-thread QIs on release builds; r=jimm
MozReview-Commit-ID: 9WYbiW7pBjh

--HG--
extra : rebase_source : 7b04e9959f1ba2c5dcfeff384f3e3cf32b445c39
2017-05-25 12:10:30 -06:00
Andrew Osmond 459f477d40 Bug 1367058 - Clarify CanvasRenderingContext2D::GetImageDataArray when there is no overlapping data to read. r=mchang 2017-05-25 14:54:15 -04:00
Boris Zbarsky d50c80150f Bug 1364360 part 3. Don't flush layout when setting scrollTop to 0. r=ehsan 2017-05-25 13:39:44 -04:00
Boris Zbarsky 42c1cf9ea3 Bug 1364360 part 2. Make Element::GetScrollFrame take a flush type, not a "should I flush?" boolean. r=ehsan 2017-05-25 13:39:44 -04:00
Boris Zbarsky 3119ff4e5e Bug 1364360 part 1. Make Element::GetScrollFrame follow the spec more closely in the quirks mode case. r=ehsan 2017-05-25 13:39:44 -04:00
Boris Zbarsky c896640c0e Bug 1367662. Link pingsender to mozglue if we're using things that are defined in mfbt. r=gsvelto 2017-05-25 13:39:44 -04:00
L. David Baron a71e3087cd Backed out changeset 659898a1c1b8 (bug 1367577) for breaking stylo builds. 2017-05-25 13:20:31 -04:00
Josh Matthews 8d68854821 servo: Merge #17039 - Update openssl source download location (from servo:jdm-patch-1); r=nox
The openssl.org webpage has been reorganized and the old URL no longer works.

Source-Repo: https://github.com/servo/servo
Source-Revision: 83f82cb4d380f2bdd02f388702d6162af9a3c9bc

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f4f5a984196edb87c05c9e382989013bc363550c
2017-05-25 12:20:20 -05:00
Geoff Brown 84f58746fc Bug 1285864 - Increase timeout in test_TelemetryControllerShutdown.js; r=gfritzsche
Test has been failing intermittently on Android Debug only.
2017-05-25 11:18:33 -06:00
Robert Strong 0059f15fa9 Bug 1301517 - Cleanup the setting of post update values added by bug 1301288. r=mhowell
With these changes the latest update in updates.xml is always the latest update in progress even before applying the update. This makes it so that after a successful update the code in nsBrowserContentHandler.js will always get the correct custom update property.
2017-05-25 09:52:51 -07:00
Paul Bignier 9e1d02605d Bug 1367577 - change theme constants from #defines to enum ThemeWidgetType. r=dbaron 2017-05-25 12:44:59 -04:00
Honza Bambas b852ed009a Backout of 7f28c1084c47 (bug 1319111) for security checks breakage, r=me 2017-05-25 18:16:02 +02:00
Lee Salzman 4dfbb20ffb Bug 1364691 - add assertions to help figure out why Skia's AAA is crashing. r=jrmuizel
MozReview-Commit-ID: 4J8ztujEe1I
2017-05-25 11:52:49 -04:00
ffxbld 3d5d49ce51 No bug, Automated HPKP preload list update from host bld-linux64-spot-308 - a=hpkp-update 2017-05-25 08:19:09 -07:00
ffxbld 56535cde6c No bug, Automated HSTS preload list update from host bld-linux64-spot-308 - a=hsts-update 2017-05-25 08:19:07 -07:00
Jon Coppeard 18e5503795 Bug 1365539 - Refactor GC statistics phase stack to use a vector r=sfink
--HG--
extra : rebase_source : 4145be8b618e3331b078ade4e2a4f89fb5231535
2017-05-25 10:54:45 -04:00
Stephen A Pohl b633564ae8 Bug 1367720: Restore ability to drag & drop files from Finder to Firefox. r=mstange 2017-05-25 10:54:52 -04:00