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

45961 Коммитов

Автор SHA1 Сообщение Дата
Dave Townsend 936ce348c8 Bug 1172028: Sideloaded add-ons without full signing shouldn't ever be loaded. r=dveditz
--HG--
extra : commitid : 58eDMD7nkod
extra : rebase_source : f10644cd193e5fe0f69ca31b157eff400b320f67
2015-06-05 11:46:11 -07:00
Kathy Brade 8b3f3fad35 Bug 418986 - Resist fingerprinting by preventing exposure of screen and system info. r=mrbkap, r=heycam 2015-06-07 09:02:00 -04:00
David Parks 6bfe79757c Bug 1125325 - Store TabParents with their WindowRoot. r=smaug
nsContentUtils::CallOnAllRemoteChildren calls a callback on all tabs
connected to a given window but it has only worked in Firefox e10s tabs.
This patch adds a list of (weak) references to each top-level document's
WindowRoot so that e.g. the nsPresContext can access them instead of
using nsContentUtils.  This provides a solution to the problem of finding remote PBrowsers generally.
2015-06-07 22:39:39 -07:00
David Parks f412d3f7b6 Bug 1125325 - Make TabParent/TabChild UpdateDimensions messages aware of the display scale. r=kats
When connecting a lowdpi external monitor on hidpi mac, TabChild gets an
UpdateDimensions call, followed by a UIResolutionChanged call.  After
the UpdateDimensions call, the content process is in an incorrect state
where it has the dimensions of the new display and scale of the old one.
After the UIResolutionChanged message, the values are again consistent.
In the interim, reflow resizes layers based on the incorrect (old) scale
and subsequently uses those incorrect values when the new scale comes
in.  This patch normalizes the message parameters by dividing by scale
(the result is what OS X calls point coordinates) so that this doesn't happen.
2015-06-07 22:39:28 -07:00
Ting-Yu Lin 2217c13f8b Bug 1170084 - Dispatch CaretStateChangedEvent via AsyncEventDispatcher. r=mtseng
We should not dispatch an event if it is not safe to run script since
the event handlers might be implemented by Javascript.
To fix this, we always use AsyncEventDispatcher to dispatch the event.

--HG--
extra : transplant_source : %1F%C0%7C%DBGDn%F7%F7%E5%92%18Cw%28%D5C%88%23%9F
2015-06-05 15:03:47 +08:00
Simon Montagu 37f044b028 Bug 1113206: Make nsComboboxControlFrame and nsListControlFrame use logical coordinates and support vertical writing modes - patch by smontagu with additions by jfkthame. r=jfkthame,smontagu 2015-02-08 07:31:14 -08:00
Jonathan Kew ca75cada77 Bug 1171773 - Reftest for grid item with different direction from its container. r=mats 2015-06-06 07:15:39 +01:00
Jonathan Kew ded32b575f Bug 1171773 - Handle reflowing a grid item with different writing mode from its grid container. r=mats 2015-06-06 07:15:36 +01:00
Boris Zbarsky b54f8f42d0 Bug 1171970. Handle super-long lines in CSS files a bit more gracefully if they cause OOM when creating CSS error messages. r=heycam 2015-06-05 23:19:11 -04:00
Daniel Holbert de95224fec Bug 1169432 part 5: Use range-based 'for' loops when walking frame lists, in nsTableFrame. r=mats 2015-06-05 15:39:35 -07:00
Daniel Holbert fff00b71d3 Bug 1169432 part 4: Convert NS_ASSERTION(false, ...) to NS_ERROR(...) in nsTableFrame. r=mats 2015-06-05 15:39:27 -07:00
Daniel Holbert b864ce9764 Bug 1169432 part 3: Use nsTArray::Contains instead of nsTArray::IndexOf(), for brevity, in nsTableFrame. r=mats 2015-06-05 15:39:13 -07:00
Daniel Holbert d19a227430 Bug 1169432 part 2: Refactor nsTableFrame::Init. r=mats 2015-06-05 15:39:06 -07:00
Neil Deakin 2aa057e7ff Bug 1170166, add a capture flag to BrowserTestUtils.waitForEvent, r=paolo 2015-06-05 08:33:29 -04:00
Kyle Zentner 95a87c9836 Bug 1170173 - Parse CSS 'contain' property. r=dholbert
--HG--
extra : rebase_source : 73e15a3049f7e69fdecd7b45157df25fca949b0c
2015-06-04 16:38:00 +02:00
Ms2ger d5fa7d0cfe Bug 1171440 - Stop using for-each loops in reftest.js; r=dbaron
--HG--
extra : commitid : 2mj8f35nTBx
2015-06-05 11:23:14 +02:00
Jonathan Kew 72f7f38b47 Bug 1079151 - patch 4 - Handle unconstrained inline-size when computing constraints for an orthogonal absolutely-positioned block. r=smontagu 2015-06-05 08:47:09 +01:00
Jonathan Kew 3ce4b1f126 Bug 1079151 - patch 3 - Remove failure annotations from the vertical abs-pos reftests. r=smontagu 2015-06-05 08:47:09 +01:00
Jonathan Kew 6dbc322879 Bug 1079151 - patch 2 - Convert nsAbsoluteContainingBlock to use logical coordinates. r=smontagu 2015-06-05 08:47:09 +01:00
Jonathan Kew e4a31ad160 Bug 1079151 - patch 1 - Update constraint calculations in nsHTMLReflowState to work with logical coordinates. r=smontagu 2015-06-05 08:47:09 +01:00
Simon Montagu 2e16faf502 Bug 1147834: tests for overconstrained relative positioning, r=jfkthame 2015-06-04 02:07:59 -07:00
Simon Montagu 7f1b0db94c Bug 1147834: Use abstract coordinates in nsHTMLReflowState, r=jfkthame 2015-06-04 03:43:02 -07:00
Chris Peterson 992e7e882e Bug 1171368 - Fix -Wunreachable-code-break warning in layout/style/nsCSSRuleProcessor.cpp. r=dholbert 2015-06-03 23:12:24 -07:00
Phil Ringnalda bfbcf3c2b8 Back out 60963a019905 (bug 1171371) for still crashing rc1 in testAboutPage
CLOSED TREE
2015-06-04 22:05:50 -07:00
Wes Kocher 42a8fdddc8 Merge m-c to inbound, a=merge 2015-06-04 18:29:42 -07:00
Wes Kocher 507bc0a78c Merge fx-team to central, a=merge 2015-06-04 18:20:38 -07:00
Seth Fowler 457f5493c9 Bug 1171371 - On memory-pressure, remove any stale images from the visible images list. r=tn 2015-06-04 17:37:58 -07:00
Ryan VanderMeulen dafb02e597 Backed out changeset 061363215959 (bug 1171371) for Android testAboutPage crashes.
CLOSED TREE
2015-06-04 17:00:56 -04:00
David Anderson b2eb29a9c5 Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-06-04 16:51:10 -04:00
Ehsan Akhgari cbf85aceea Bug 1171486 - Avoid recursively obtaining the service worker manager service; r=nsm 2015-06-04 16:27:48 -04:00
Seth Fowler 5e88ac1467 Bug 1171371 - On memory-pressure, remove any stale images from the visible images list. r=tn 2015-06-04 11:08:19 -07:00
Kartikaya Gupta 5b6ed7c5d7 Bug 1164218 - Allow running individual mochitests and reftests in chaos mode. r=roc,froydnj 2015-06-04 13:44:55 -04:00
Nicholas Nethercote e6ec6218c6 Bug 1171282 - Avoid some unnecessary |operator new| null-checks in layout/. r=dholbert.
AllocateByObjectID() is infallible. Therefore the |operator new| of nsFrameList,
nsLineBox and nsRuleNode are too, as is nsRuleNode::CreateRootNode().

The patch also removes a couple of comments duplicated in both .h and .cpp
files.

--HG--
extra : rebase_source : 0b9e195fd547fdd53ddad7bb461ff5f5c2016fce
2015-06-03 23:45:11 -07:00
J. Ryan Stinnett 0db3f776d9 Bug 1169901 - View source menu covers full height. r=heycam
--HG--
extra : transplant_source : %D9%E0%F49%40%ED%9ET%A7o%1E%28F%FCm%D5%D1k%FB%B2
2015-06-02 18:09:46 -05:00
Daniel Holbert 67155b11c0 Bug 1171158: Convert some code to use range-based for loops in nsPresShell.cpp. r=mats 2015-06-03 21:13:37 -07:00
Eric Rahm 75c4bebb79 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Eric Rahm 60ccf43cb3 Bug 1165515 - Part 7: Convert PR_LOG_DEBUG + 1 to PR_LOG_VERBOSE. rs=froydnj
Used the command: |sed -E -i -e 's/PR_LOG_DEBUG\s*\+\s*1/PR_LOG_VERBOSE/g'|
2015-06-03 15:22:32 -07:00
Eric Rahm cc58068318 Bug 1165515 - Part 5: Convert instances of PR_LOG_ALWAYS. r=froydnj
Most instances were converted to PR_LOG_INFO, some to PR_LOG_DEBUG, and some
to PR_LOG_ERROR.
2015-06-03 15:22:30 -07:00
Eric Rahm f50b813989 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-03 15:22:28 -07:00
Mason Chang 1ab5797256 Bug 1169956. Backout bug 1073209 for tiled image regressions on OS X. r=jrmuizel 2015-06-04 15:59:11 -07:00
Ryan VanderMeulen 0d430ff1b0 Backed out changesets b2fb4270e0a6 and 2a0493fb37db (bug 1051148) for introducing new rooting hazards.
CLOSED TREE IGNORE IDL

--HG--
extra : rebase_source : 97a096424b43fc4bed692182841843131fdcee13
extra : histedit_source : 4754300927dac90f0ae879e90896e36f1aa28b49
2015-06-03 13:14:59 -04:00
Eric Rahm 0fe3472d8b Bug 1170642 - Silence nsDocumentViewer::GetInImage warnings. r=ehsan 2015-06-03 08:22:04 -07:00
Andrew Comminos 065394444c Bug 1170158 - Apply GTK2 reftest exceptions to GTK3. r=karlt 2015-06-02 13:47:00 -04:00
Kelly Davis bf300061b2 Bug 1051148 - Part 1: Patch that introduces WebSpeech API implementation. r=smaug
IGNORE IDL

--HG--
extra : histedit_source : d9d8b673d22c90cfc0e9c58e8599a2b34167c913
2015-05-27 21:48:00 -04:00
Kelly Davis ea77b93523 Bug 1051146 - Part 4: Introduce build system changes for the MOZ_WEBSPEECH_TEST_BACKEND flag. r=smaug, r=gps 2015-05-21 07:40:00 -04:00
Kelly Davis 966d7398dc Bug 1051146 - Part 3: Introduce build system changes for the new Pocketsphinx and Sphinxbase code. r=smaug, r=gps 2015-05-27 21:39:00 -04:00
Jonathan Kew 8b2e5a46d4 Bug 1163238 - Reftest for auto margins on orthogonal flow. 2015-06-03 11:17:27 +01:00
Jonathan Kew 0dce4f8719 Bug 1163238 - Don't set available block-size to unconstrained for orthogonal-block reflow state until after InitConstraints etc. r=dholbert 2015-06-03 11:17:24 +01:00
Nicholas Nethercote 383a496bf6 Bug 1170416 (part 5) - Remove PLDHashTable::IsInitialized(). r=froydnj.
|mOps| is always non-null now, and there's no longer any distinction between
and uninitialized and initialized table. Yay.

--HG--
extra : rebase_source : 3d1fb72aee4dd21ff20db0ff3166d4e932ade897
2015-05-20 21:23:55 -07:00
Nicholas Nethercote e849e6588b Bug 1170416 (part 3) - Remove the PLDHashTable2 typedef. r=froydnj.
--HG--
extra : rebase_source : 9510ea47204fffa163cac43aeaaac6ae1ad80419
2015-05-19 16:46:17 -07:00