Commit Graph

464007 Commits

Author SHA1 Message Date
Marco Castelluccio
991a1d63b2 Bug 1197461 - e10s support for Permissions.revoke. r=poiru 2016-03-02 21:09:48 +00:00
Marco Castelluccio
ff693ea459 Bug 1197461 - Implement Permissions.revoke. r=poiru,baku 2016-03-02 21:09:38 +00:00
Bill McCloskey
e151a9c67c Bug 1170258 - Cache UUID module for context menus (rs=Mossop) 2016-03-02 12:56:51 -08:00
Gregory Arndt
47d20ec1cb Bug 1247085 - Generate empty graph when no try flags given r=wcosta
MozReview-Commit-ID: DOq9gJBTUY6

--HG--
extra : rebase_source : b0c3314e01feac2ccb4647593b92eadee1595708
2016-02-29 09:51:17 -06:00
Nicholas Hurley
0b3b2a68db Bug 1246761 - Properly handle non-terminal 0-length DATA frames. r=mcmanus
--HG--
extra : rebase_source : 756e42ecea9646b5b0e2770060090437b06b9f9d
2016-03-01 16:28:39 -08:00
Byron Campen [:bwc]
f1f2ee96b5 Bug 1037618 - Part 1: Add some logging to highlight TCP connection failures. r=drno
MozReview-Commit-ID: 4q84yGspvyX

--HG--
extra : rebase_source : 099d1dd32cc46ed96ac234fe0a65c85333acfdf1
2016-03-01 12:06:12 -06:00
Aki Sasaki
194b287c27 bug 1244781 - fix unit.sh error when mercurial isn't an old version. r=callek
--HG--
extra : histedit_source : e83e8b1ef9357f7d0fc8c3292cc03407d3b77fe9
2016-02-02 13:54:43 -05:00
Byron Campen [:bwc]
f3294c2565 Bug 1252585: Clear received_ct_ in TestStunServer::Reset r=drno
MozReview-Commit-ID: F7Dgk5gN4cs

--HG--
extra : rebase_source : 5a5b536b906a01dfb171008ba02ce3650abafca9
2016-03-01 13:59:43 -06:00
Byron Campen [:bwc]
8e9153abea Bug 1252163: Fix CheckTcpConnectivity to wait for readable/writeable when necessary. r=drno
MozReview-Commit-ID: 6hz0eCghYE0

--HG--
extra : rebase_source : 46b1221ab29c33455f7ceb3c0e149e4c8aaa2397
2016-02-29 12:33:47 -06:00
Byron Campen [:bwc]
3a66dfe493 Bug 1252171: Update last_used_ on TCP port mappings when they are used, similar to UDP. r=drno
MozReview-Commit-ID: DNinTza44la

--HG--
extra : rebase_source : 5d65d9a4c21ad113a2762ebf397b1e7b8f289dd5
2016-02-29 13:04:42 -06:00
Boris Zbarsky
4f623415e0 Bug 1252565 part 2. Make dom::WarningOnlyErrorReporter handle workers. r=bholley 2016-03-01 16:53:22 -05:00
Boris Zbarsky
94e65058c3 Bug 1252565 part 1. Push the script environment preparer bits up from XPCJSRuntime to CycleCollectedJSRuntime, because we need them on workers to do ctypes on workers properly. r=bholley 2016-03-02 12:38:24 -05:00
Ruxton
01328cb6b4 Bug 1033144 - Part 3: Update web-platform-tests to expect PASS for oncuechange on TextTrack. r=rillian 2016-03-02 11:35:09 -08:00
Ruxton
e8669ba74e Bug 1033144 - Part 2: Add tests for TextTrack cuechange event. r=rillian 2016-03-02 11:35:09 -08:00
Ruxton
24b291374f Bug 1033144 - Part 1: Dispatch 'cuechange' event on TextTracks. r=rillian,bz 2016-03-02 11:35:09 -08:00
Wes Kocher
cba1a7bd55 Backed out 2 changesets (bug 1252565) for windows build bustage CLOSED TREE
Backed out changeset 9de2c10a1cc3 (bug 1252565)
Backed out changeset fc5c4cb02d24 (bug 1252565)

MozReview-Commit-ID: GCQedQwqslg

--HG--
extra : amend_source : 5fb6bd99e2ac56c01c06e1004262dfeb2ea56410
2016-03-02 10:44:11 -08:00
Trevor Saunders
9dff1fcf58 bug 1252687 - make the ctor for CycleCollectorStats constexpr r=mccr8 2016-03-02 13:37:01 -05:00
Trevor Saunders
e45a8375fb bug 1252687 - make Migration's ctor constexpr r=bz 2016-03-02 13:37:00 -05:00
Trevor Saunders
966ec780b8 bug 1252687 - get rid of static nsStrings in PerformanceObserver.cpp r=bz 2016-03-02 13:37:00 -05:00
Dan Minor
8fc1f1f3e4 Bug 1251076 - Record ccache stats in build telemetry data r=gps
Using ccache can have a big impact on compile times but we don't currently
capture ccache statistics.

MozReview-Commit-ID: CdrScyAh64I

--HG--
extra : rebase_source : 70dca7ae153ae1c7ce3a241820ab7d18cb6aaa0d
2016-02-25 10:35:07 -08:00
David Keeler
8662000fad bug 1049969 - add symbols file for the test pkcs11 module so it works on Windows r=jcj
MozReview-Commit-ID: KRaAmd7icd8

--HG--
extra : rebase_source : 2c0f1b8cf055574c01d6a6ef15af4246d00151bc
2016-03-01 17:12:38 -08:00
Andrea Marchesini
8c313db5c7 Bug 1252839 - Remove some if stmt after allocation with 'new' - patch 2, r=bz 2016-03-02 18:51:33 +01:00
Andrea Marchesini
5d211456d5 Bug 1252839 - Remove some if stmt after allocation with 'new' - patch 1, r=bz 2016-03-02 18:50:48 +01:00
Nick Alexander
b9a7550646 Bug 1252694 - Set MOZ_ANDROID_GCM_SENDERID directly in branding. r=glandium
Non-Mozilla distributors may wish to run their own autopush endpoint,
using a sender ID and corresponding Google API key that they control.
This simplifies that just a little bit, and gets Mozilla's release
engineering out of the business of managing non-sensitive secrets.

In the future, this sender ID will be baked into the Android APK's
string resources, in accordance with newer Google Play Services
library requirements.

MozReview-Commit-ID: AAxreEP73B0

--HG--
extra : rebase_source : 0a35d18a83558e4d27ac6a47b3833f1d69fed264
2016-03-01 15:31:27 -08:00
Jordan Lund
5ca14dbfe4 Bug 1160385 - Generate checksums rel promotion, full bucket, DONTBUILD NPOTB a=testing r=rail
MozReview-Commit-ID: G3OZPmFyXDx

--HG--
extra : rebase_source : 9d839b5aad980fabdc5aac84c54ae4de83547e19
extra : source : 20618b237669969be83ecb9a480b767a6b64e894
2016-03-01 09:32:37 -08:00
Jordan Lund
5e5115438d Bug 1160385 - adds version, buildnum support from tc releasetasks, DONTBUILD NPOTB a=testing r=rail
MozReview-Commit-ID: 5otLdixBeX

--HG--
extra : rebase_source : fb994369f87dc9b067b4b78b8631e1235356aaf8
extra : source : e0a91fd6584f4d06a8fae84e5ae2c3a96c17fdb0
2016-02-19 14:53:34 -08:00
Nick Alexander
453b47c72a Bug 1247697 - Use Instrumentation context to disable keyguard and take wakelock; ignore SecurityExceptions. r=gbrown
MozReview-Commit-ID: BEeLhxSGQOA

--HG--
extra : rebase_source : 0da3f53ddbff9323880004249c92dd8ce37605f7
2016-02-29 10:28:51 -08:00
Boris Zbarsky
3bad87c74a Bug 1252565 part 2. Make dom::WarningOnlyErrorReporter handle workers. r=bholley 2016-03-01 16:53:22 -05:00
Boris Zbarsky
3baae07268 Bug 1252565 part 1. Push the script environment preparer bits up from XPCJSRuntime to CycleCollectedJSRuntime, because we need them on workers to do ctypes on workers properly. r=bholley 2016-03-02 12:38:24 -05:00
Boris Zbarsky
4d888c1249 Bug 1250949. Add some better documentation to the dictionary init codegen. r=ehsan 2016-03-02 12:38:24 -05:00
Boris Zbarsky
49c103594d Bug 1252592. JS warnings should not trigger error events on shared workers. r=khuey 2016-03-01 16:53:26 -05:00
Boris Zbarsky
1538f85b56 Bug 1072144 part 6. Switch WorkerRunnable::Run to calling TakeOwnershipOfErrorReporting on its AutoJSAPI/AutoEntryScript and remove the remaining JS_ReportPendingException callers in worker code. r=khuey 2016-03-01 16:52:27 -05:00
Boris Zbarsky
7d17080433 Bug 1072144 part 5. Stop fiddling with compartments on the JSContext before calling PostRun in WorkerRunnable::Run. Add some documentation explaining what's going on. r=khuey 2016-03-01 16:52:26 -05:00
Boris Zbarsky
9679610dbb Bug 1072144 part 4. Add a WorkerRunnable::PreRun so that we can move worker global creation to it and always have an AutoEntryScript by the time we're evaluating the main worker script. r=khuey 2016-03-01 16:52:26 -05:00
Boris Zbarsky
7a1819b93a Bug 1072144 part 3. Hoist the exception reporting out of WorkerRunnable::PostRun into WorkerRunnable::Run and make it unconditional. r=khuey 2016-03-01 16:52:26 -05:00
Boris Zbarsky
c0ea0c742b Bug 1072144 part 2. When UnregisterWorker tries to ScheduleWorker and that throws, just suppress the exception: there is no good place to report it anyway. r=khuey 2016-03-01 16:52:26 -05:00
Boris Zbarsky
f333a329ae Bug 1072144 part 1. Just release-assert that Promise::Resolve does not fail in service worker code. It can only do that on OOM or overrecursion anyway, and overrecursion is not likely if we're coming right off a runnable. r=khuey 2016-03-01 16:52:13 -05:00
Boris Zbarsky
b6a8314d1e Bug 1252905. Don't invoke the interrupt callback while an exception is pending. r=jandem 2016-03-02 12:38:23 -05:00
Syd Polk
8ad4c28b92 Bug 1252586 - Handle |mach firefox-ui-test --binary| correctly - r=whimboo, r=gps
MozReview-Commit-ID: KpncN1uAHUn

--HG--
extra : rebase_source : b46993cffe54bcf40942e180ac9d060cbe0161bd
2016-03-02 11:02:11 -06:00
Felipe Gomes
0fcf346707 Bug 1250744 - Disable e10s add-ons blocking on testing profiles. r=jmaher 2016-03-02 13:50:55 -03:00
Jan-Ivar Bruaroey
fe08f0669c Bug 1250990 - Make RTCRtpEncodingParameters.scaleResolutionDownBy work with H.264 unicast. r=jesup
MozReview-Commit-ID: 2j8rRzZemql

--HG--
extra : rebase_source : c3750d3ed62d99d05cf2b637ef06001b5a9c347e
2016-02-28 09:19:23 -05:00
J. Ryan Stinnett
798c13a0fa Bug 1238160 - Test frame principal when toggling isolation. r=bz
Test frame principals in different configurations to verify the new isolated
attribute works as expected.

MozReview-Commit-ID: CQNRo2bK9iU
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett
95f8000ac8 Bug 1238160 - Add assertions in non-desktop code paths. r=bz,fabrice
Several code paths try to ask the principal if it's in a browser element, but
the principal now only knows about *isolated* browser elements.  All such code
paths are currently unused on desktop.  The frame loader now asserts that
isolation remains enabled for cases where apps are used.

MozReview-Commit-ID: 775DZecc35t
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett
764b9f1ffa Bug 1238160 - Set frame type on TabContext. r=billm,mayhemer
This change renames TabContext::IsBrowserElement to IsIsolatedMozBrowserElement.
Other methods that pass these values around also have name changes.

Adds TabContext::IsMozBrowserElement which is set by the frame loader for all
browser frames.  This is in contrast to its previous implementation, which has
since been renamed IsIsolatedMozBrowserElement, since it checks isolated state
in OriginAttributes.

TabContext methods related to browser elements (and their callers) are updated
to use IsIsolatedMozBrowserElement when check isolation / origins and
IsMozBrowserElement when checking frame types.

MozReview-Commit-ID: DDMZTkSn5yd
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett
777c113bb3 Bug 1238160 - Set docshell isolation mode. r=smaug
Renames nsDocShell isBrowser* attributes to add a "Moz" prefix for clarity.

Adds nsDocShell::GetIsIsolatedMozBrowserElement, which parallels
GetIsInIsolatedMozBrowserElement, but only checks the immediate docshell.

Adds nsDocShell::SetIsInIsolatedMozBrowserElement for the frame loader and tab
child to set the isolation state.

nsDocShell methods related to mozbrowser elements (and their callers) are
updated to use GetIs(In)?IsolatedMozBrowserElement when checking isolation /
origins and GetIsMozBrowserElement when checking frame types.

MozReview-Commit-ID: 6pGD5fF47ZN
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett
a6d2c487b5 Bug 1238160 - Set tab context's isolation from frame attr. r=smaug
Renames existing nsFrameLoader::OwnerIsBrowser* methods to add "Moz" prefix for
clarity.

Adds nsFrameLoader::OwnerIsIsolatedMozBrowserFrame which checks the noisolation
attribute of mozbrowser frames, if present.

This is used to set isolation in nsFrameLoader::GetNewTabContext only when true.

MozReview-Commit-ID: Dz02xBoKh1P
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett
5bede71f0d Bug 1238160 - Rename nsILoadContext::GetIsInBrowserElement. r=smaug,mayhemer
This change renames nsILoadContext::GetIsInBrowserElement to
GetIsInIsolatedMozBrowserElement.  Other methods that pass these values around
also have name changes.

Tokens such as "isInBrowserElement" have previously been serialized into cache
keys, used as DB column names, stored in app registries, etc.  No changes are
made to any serialization formats.  Only runtime method and variable names are
updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: CUttXANQjSv
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett
2a55d065b7 Bug 1238160 - Rename OriginAttributes.mInBrowser and associated methods. r=bz,mayhemer
This change renames OriginAttributes.mInBrowser to mInIsolatedMozBrowser and
nsIPrincipal::GetIsInBrowserElement to GetIsInIsolatedMozBrowserElement.  Other
methods that pass these values around also have name changes.

Tokens such as "inBrowser" have previously been serialized into cache keys, used
as DB column names, stored in app registries, etc.  No changes are made to any
serialization formats.  Only runtime method and variable names are updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: 66HfMlsXFLs
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett
1d243be303 Bug 1238160 - Enable mozbrowser frames on desktop. r=bz
MozReview-Commit-ID: cBYm7dgQt1
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett
9ad7daa848 Bug 1238160 - Test mozbrowser APIs to ensure no content exposure. r=bz
Check the various mozbrowser APIs to ensure they are allowed when you have
browser permission and blocked when you don't (like regular web content).

MozReview-Commit-ID: FPDA1lEUwRq
2016-03-02 10:35:56 -06:00