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

463979 Коммитов

Автор SHA1 Сообщение Дата
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
Geoff Brown 2fc80985f9 Bug 1252868 - Do not install superfluous addons for Android tests; r=jmaher 2016-03-02 09:23:42 -07:00
Nathan Froyd 3f6ef6aa59 Bug 1252198 - use UniquePtr instead of ScopedFreePtr in MediaEngineTabVideoSource; r=gerald
UniquePtr is more standard than ScopedFreePtr; using standard constructs
whenever possible is preferable.  In this case, we're allocating a
simple block of memory, so we can allocate an |unsigned char[]| via
MakeUnique for the same effect.
2016-02-29 10:20:01 -05:00
Varun Joshi 7daf2ed79a Bug 1252744 - Add --disable-mock to desktop_l10n.py r=rail DONTBUILD 2016-03-02 10:55:30 -05:00
Jonathan Watt 1c0c9bcf8a Bug 763784 - Make VectorImage::GetAnimated check for CSS animations. r=dholbert 2016-02-22 13:05:20 +00:00
Jonathan Watt 8429c38aa7 Bug 1248843 - Make it clearer that DebugOnly uses up space even in optimized, non-DEBUG builds. r=Waldo
--HG--
extra : rebase_source : 6de3e55b8a7c4272bec3b5b8b8eb5da7ad78e9cf
2016-02-19 12:57:42 +00:00
Carsten "Tomcat" Book 32191b51ac Merge mozilla-central to mozilla-inbound 2016-03-02 16:09:27 +01:00
Carsten "Tomcat" Book de8d151c26 merge mozilla-inbound to mozilla-central a=merge 2016-03-02 15:54:19 +01:00
JW Wang 69ca12a319 Bug 1252344. Part 2 - remove unnecessary checks from MediaDecoderStateMachine::NeedToDecodeAudio(). r=bechen.
MozReview-Commit-ID: LiFvkp9RNsI
2016-03-02 10:39:22 +08:00
JW Wang c3f95d4dba Bug 1252344. Part 1 - remove unnecessary checks from MediaDecoderStateMachine::NeedToDecodeVideo(). r=bechen.
MozReview-Commit-ID: Jgo9g5B9yq
2016-03-02 10:39:20 +08:00
Michael Comella a2c3666a0b Bug 1249092 - Log profile path in debug mode. r=rnewman
MozReview-Commit-ID: BhK3YFbglee

--HG--
extra : rebase_source : 9a582249312814bc929bcdc691992e7d7e9c3d2c
2016-03-01 11:44:53 -08:00
Michael Comella 9bf7de38e4 Bug 1252557 - Suppress ParcelCreator in AndroidFxAccount. r=nalexander
MozReview-Commit-ID: B2YEmQNBWTz

--HG--
extra : rebase_source : c5b3348c900be8b399d774f60a623bda2ece0e74
2016-03-01 11:10:20 -08:00
Michael Comella 4fc3a874b1 Bug 1252557 - Add warning for GoogleAppIndexingDeepLinkError. r=nalexander
afaict, we don't currently support app indexing (bug 1252569) so this should be
okay to reduce the warning level. We can ignore it if we decide we don't want
to support this feature.

MozReview-Commit-ID: 2q4zqEHw2B5

--HG--
extra : rebase_source : d556e26607e6ad6c9d005f2d67e2d4b689cb9695
2016-03-01 10:57:17 -08:00
Michael Comella c8e0a3a64f Bug 1252557 - Add ignore for HardcodedDebugMode. r=nalexander
MozReview-Commit-ID: JxPAavBCqN1

--HG--
extra : rebase_source : b6db0f3a678a3311fcd26fd678a73e328f179414
2016-03-01 10:40:19 -08:00
Nick Fitzgerald a9e7879204 Bug 1249779 - Remove the "invert tree" checkbox and make inverting a property of the "group by" selection; r=jsantell
Effectively, this moves `inverted` from a global and per-census state, to a
per-`breakdownModel` state. Additionally, a `breakdownModel` is not just a
breakdown spec anymore, but also some extra associated metadata. As such, it has
been split in two and renamed to "censusDisplayModel" and
"dominatorTreeDisplayModel".

--HG--
rename : devtools/client/memory/reducers/breakdown.js => devtools/client/memory/reducers/census-display.js
rename : devtools/client/memory/reducers/dominatorTreeBreakdown.js => devtools/client/memory/reducers/dominator-tree-display.js
rename : devtools/client/memory/test/browser/browser_memory_allocationStackBreakdown_01.js => devtools/client/memory/test/browser/browser_memory_allocationStackDisplay_01.js
rename : devtools/client/memory/test/browser/browser_memory_breakdowns_01.js => devtools/client/memory/test/browser/browser_memory_displays_01.js
rename : devtools/client/memory/test/unit/test_action-set-breakdown-and-refresh-02.js => devtools/client/memory/test/unit/test_action-set-display-and-refresh-02.js
2016-03-01 16:20:45 -08:00
Wes Kocher 356fd48c1d Merge m-c to fx-team, a=merge
MozReview-Commit-ID: LQ4NtghbPdw
2016-03-01 15:30:35 -08:00
Myk Melez 8d82189ac0 Bug 1252670 - hard-code URL to SUMO article about desktop runtime being disabled; r=marco 2016-03-01 15:00:52 -08:00
Jordan Santell 677cbcffcd Bug 1251084 - Remove WebConsoleUtils.abbreviateSourceURL with source-utils function. r=linclark 2016-03-01 14:32:11 -08:00
Myk Melez c200991831 Bug 1252635 - confirm mozApps is defined before checking for updates; r=marco 2016-03-01 14:30:22 -08:00
Myk Melez 1286a545f5 Bug 1245204 - warn user that runtime will be disabled; r=marco 2016-03-01 14:29:41 -08:00
Myk Melez 4885e02748 Bug 1252519 - specify compatible version range in runtime error about Firefox not being found; r=marco 2016-03-01 14:29:17 -08:00
Andrzej Hunt 3d131923c5 Bug 1252610 - Don't insert suggested sites into topsites table unless they actually exist r=rnewman
MozReview-Commit-ID: 8MPLvxQ0FWu

--HG--
extra : rebase_source : 10cc13bfd1377f980e88a53645b28564e5aa1063
2016-03-01 13:54:24 -08:00
Wes Kocher 0a821e96e6 Backed out changeset af1b34021a32 (bug 1119537) for SM timeouts a=backout
MozReview-Commit-ID: JJ73O16XHh3

--HG--
extra : source : 5c0bc38a3b8839e358dc627aa3c7a357a35b3154
2016-03-01 12:00:50 -08:00
Wes Kocher dd419760c1 Backed out 2 changesets (bug 1251714, bug 1251715) for gtest failures in media code a=backout
Backed out changeset 1bbd0cd10f76 (bug 1251714)
Backed out changeset 80b197c5608f (bug 1251715)

MozReview-Commit-ID: EHOtiKLS4Xr

--HG--
extra : source : 7e80b936414e259da594168b3791d5d4ccd5b9d9
2016-03-01 11:36:35 -08:00
Andrzej Hunt 5b52c00996 Bug 1252500 - Provide all the necessary columns when retrieving topsites r=rnewman
MozReview-Commit-ID: IYeQ3Z6LLPy

--HG--
extra : rebase_source : 89c91e34b3d7f723e88a607d3aadacd09d47139a
2016-03-01 10:10:47 -08:00
Andrzej Hunt 29a8726dae Bug 1252499 - only insert blank tile when really needed r=liuche
MozReview-Commit-ID: 5O7gUBDl1D4

--HG--
extra : rebase_source : 485fcc15de36edb66862588a9821e3af0b47f160
2016-03-01 09:32:16 -08:00
Kris Maglione 265035a442 Bug 1248855 - [webext] Follow-up: Add matching "array-bracket-spacing" rule. r=me
MozReview-Commit-ID: HALx5dbLxpj

--HG--
extra : rebase_source : ba0fef28778bc7b489cf907a59525156a1190ecf
2016-03-01 13:49:48 -08:00
Hiroyuki Ikezoe 09b0051cfd Bug 1244897 - Use TimerlineConsumers in PopProfileTimelineMarkers to ensure that all methods acquire TimelineConsumers Mutex. r=vporof
MozReview-Commit-ID: 5VzLfT5SUjI

--HG--
extra : rebase_source : 12df03d9d05698057686113145ddb33b3dd5e0ea
2016-03-01 19:54:47 +09:00
Henrik Skupin e8e4dcf68d Bug 1252446 - Sync global .gitignore and .hgignore for various missing unwanted files. r=gps DONTBUILD
MozReview-Commit-ID: 8OoQ8Ep2JMl

--HG--
extra : rebase_source : 454cea343266744397017755e5cbde029dacc950
2016-03-01 15:18:22 +01:00