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

57023 Коммитов

Автор SHA1 Сообщение Дата
Andrew Sutherland 2edcc099d8 Bug 1315913 - Part 2: Convert BroadcastChannel to use StructuredCloneDataNoTransfers instead of copy-and-paste. r=baku 2016-11-21 04:06:41 -05:00
Andrew Sutherland 7390cfe98f Bug 1315913 - Part 1: Move nsFrameMessenger structured clone Build/Unpack into StructuredCloneData and expand to support PBackground. r=baku 2016-11-21 04:06:41 -05:00
Tooru Fujisawa 6359310306 Bug 1318971 - Update !MOZ_WEBSPEECH case in ContentParent::RecvPSpeechSynthesisConstructor to return mozilla::ipc::IPCResult. r=kanru 2016-11-21 15:04:20 +09:00
Tooru Fujisawa 20b9e08d5b Bug 1293305 - Part 1.6: Fix dom test to enable for-each. r=bholley 2016-11-21 15:03:35 +09:00
Catalin Badea 3475196327 Bug 1317266 - Transition ServiceWorker instances when the SW changes states instead of just invalidating them. r=bkelly 2016-11-21 02:14:54 +00:00
Catalin Badea 781c81773d Bug 1317266 - Test registration.installing getting collected before all statechange events are dispatched. r=bkelly 2016-11-21 02:14:53 +00:00
Catalin Badea c50fc1bc10 Bug 1263304 - Add a mochitest for asynchronously calling waitUntil(). r=bkelly 2016-11-21 02:14:53 +00:00
Catalin Badea c9691a4a70 Bug 1263304 - Allow waitUntil() to be called asynchronously. r=bkelly
The behaviour is changed in two ways:
1. waitUntil() will now wait for each promise separately, even if one of
   them is rejected.
2. Extensions can be added asynchronously as long there is a pending
   waitUntil promise.
2016-11-21 02:14:53 +00:00
Catalin Badea 4d1930cd13 Bug 1263304 - Move Service Worker MessageEvent dispatching code to ServiceWorkerPrivate. r=bkelly
This refactoring makes it easier to modify the behaviour of lifetime
extensions by having a single call path for all extendable events.
2016-11-21 02:14:53 +00:00
Nicholas Nethercote 5daac04ccf Bug 1316792 - gtestify toolkit/components/places/tests/cpp/test_IHistory.cpp. r=mak.
This is a most minimal gtest conversion possible. It leaves in place
significant amounts of non-typical-for-gtest code.

Notable changes:

- All the mock Link and URLSearchParams method definitions are no longer
  needed.

- The changes adds a new constructor for Link that doesn't set mHistory.
  Without that, leaked URLs occur at shutdown.

- The output printed by the test is slightly streamlined, mostly by omitting
  the test filename.

- It disables TestMediaFormatReader.cpp, which was causing problems. That test
  is slated for removal in bug 1318225 anyway.

--HG--
rename : toolkit/components/places/tests/cpp/mock_Link.h => toolkit/components/places/tests/gtest/mock_Link.h
rename : toolkit/components/places/tests/cpp/moz.build => toolkit/components/places/tests/gtest/moz.build
rename : toolkit/components/places/tests/cpp/places_test_harness.h => toolkit/components/places/tests/gtest/places_test_harness.h
rename : toolkit/components/places/tests/cpp/places_test_harness_tail.h => toolkit/components/places/tests/gtest/places_test_harness_tail.h
rename : toolkit/components/places/tests/cpp/test_IHistory.cpp => toolkit/components/places/tests/gtest/test_IHistory.cpp
extra : rebase_source : b7def3f9afce3a44e99f5ed35cb220f7814551cd
2016-11-12 06:22:01 +11:00
Panos Astithas e0efffb708 Bug 1282768 - Part 3 - Convert permission notifications to use two buttons and a checkbox instead of multiple secondary actions. r=florian
MozReview-Commit-ID: KNf04CBaLKB

--HG--
extra : rebase_source : 6c89da5ce541922f55db3853a7bf6f3b6cbc74fa
2016-11-20 18:40:26 +01:00
Panos Astithas 64baf2d729 Bug 1282768 - Part 2 - Move the secondary actions of doorhanger notifications to their own menu button. r=paolo
MozReview-Commit-ID: 2cnufF7wZJG

--HG--
extra : rebase_source : 6bb9c9f8bd52bd8e6f54cbc2b0ef2760fee25c3a
2016-11-20 18:40:22 +01:00
Jonathan Kingston 74e50ea3c1 Bug 1267604 - Restyle doorhanger notifications. r=paolo
MozReview-Commit-ID: HBykgFhgjmX

--HG--
extra : rebase_source : fd94d5e2549271b4f0696b1435bce9178cb291d1
2016-11-20 18:40:08 +01:00
Sebastian Hengst 0718e6147b Backed out changeset 3421c306d8cf (bug 1311798) for failing event-readystatechange-loaded.htm and unexpected passes. r=backout 2016-11-20 21:39:59 +01:00
Thomas Wisniewski fcc3c463e9 Bug 1311798 - Align XMLHttpRequest.abort() with the spec. r=baku
--HG--
extra : rebase_source : a0b4f89c41fbb15fa7f7acd69b993d14f709863a
2016-11-20 09:32:00 -05:00
Boris Zbarsky 6393f96201 Bug 1318476. Remove various unused nsIDOMNode stuff. r=froydnj 2016-11-18 16:38:29 -05:00
Boris Zbarsky 853b306382 Bug 1318479 part 5. Remove nsIDOMNode::AppendChild from TextTrackCue. r=ehsan 2016-11-18 16:38:29 -05:00
Boris Zbarsky d8b7e88556 Bug 1318479 part 4. Remove use of nsIDOMNode::AppendChild from NS_NewDOMDocument. r=ehsan 2016-11-18 16:38:29 -05:00
Boris Zbarsky afbcfe1a92 Bug 1318479 part 3. Remove uses of nsIDOMNode::AppendChild in HTMLOptionsCollection. r=ehsan 2016-11-18 16:38:29 -05:00
Boris Zbarsky cadde4fe44 Bug 1318479 part 1. Remove uses of nsIDOMNode::AppendChild in XSLT code. r=peterv 2016-11-18 16:38:29 -05:00
Ben Kelly 930dac5b95 Bug 1318084 Make nsGlobalWindow back pressure increase timer delays instead of calling Suspend(). r=smaug 2016-11-17 23:16:20 -08:00
Boris Zbarsky da2b77fe10 Bug 1318471. Get rid of IsCallerChrome calls in scriptsettings code. r=bholley 2016-11-18 16:13:07 -05:00
Boris Zbarsky f3a2614e63 Bug 1318467. Get rid of IsCallerChrome in barprop code. r=bkelly 2016-11-18 16:13:07 -05:00
Boris Zbarsky 1e3ce6af00 Bug 1316616 part 3. Use the new CallerType-getting API in a few places to demonstrate how it works. r=bholley 2016-11-18 16:13:07 -05:00
Boris Zbarsky 584dd93891 Bug 1316616 part 2. Add an nsContentUtils API for getting the CallerType of a JSContext. r=bholley 2016-11-18 16:13:06 -05:00
Boris Zbarsky 884fc2ea5c Bug 1316616 part 1. Replace some redundant code in GetCurrentThreadWorkerPrivate() with a call to a function that we already have. r=bkelly 2016-11-18 16:13:06 -05:00
Boris Zbarsky 96500c4e69 Bug 909656. Remove the legacycaller from HTMLObjectElement/HTMLEmbedElement, since it's not used in the wild, other browsers don't seem to support it, and we're dropping non-Flash plugins anyway. r=bsmedberg 2016-11-18 16:13:06 -05:00
Michael Layzell d77310ec7b Bug 1310771 - Part 2: Emit BrowserWillChangeProcess and BrowserChangedProcess when doing cross-frameloader navigations, r=smaug
With GroupedSHistory, history navigations may now require the browser to
change which frameloader is stored internally from within Core. This
patch adds a mechanism to allow for chrome code to respond to these
changes and both delay the change, or respond once the change is
performed.

Delaying the change is accomplished through the BrowserWillChangeProcess
event, which is fired when it is determined that a process change will
happen for the given browser, but the change has not occured yet. During
this time the nsIFrameLoader::AddProcessChangeBlockingPromise method may
be called on the target browser's frameloader. Any promises passed to
this method will be waited on, and the process change will not occur
until they have all been fulfiled.

Once that has occured, the process change occurs, and the
BrowserChangedProcess event is fired.

This is useful for chrome code which needs to flush state from the
original process before the change, and then which needs to connect
state in the new process with state in the chrome process.

MozReview-Commit-ID: C0Xn6pfruB2
2016-11-18 16:00:43 -05:00
Michael Layzell faee358314 Bug 1310771 - Part 1: Add an aFlags argument to nsIBrowser::SwapBrowsers, r=mconley
This adds a single flag, SWAP_KEEP_PERMANENT_KEY, which tells the
browser that when it performs the swap, the permanent key should stick
with the browser, rather than following the frameLoader.

This patch also adds the implementation of tabbrowser.swapBrowsers,
which was previously absent, despite being referenced.

MozReview-Commit-ID: CLwJYzpY8Pp
2016-11-18 16:00:43 -05:00
Kevin Chen 368a498322 Bug 1317131 - Fix the incorrect AutoTextureLock lifecycle. r=dvander 2016-11-17 01:57:00 -05:00
Ethan Lin f54337e8e6 Bug 1316245 - In ZeroTextureData, bind texture before cleaning it. r=jgilbert 2016-11-18 00:16:00 -05:00
Alex Chronopoulos 8e7c373a79 Bug 1221574 - [06] Disable one media test in case of Android. r=jesup
MozReview-Commit-ID: 1xoauN0vIMy
2016-11-18 18:00:49 +02:00
Alex Chronopoulos b57ed55e85 Bug 1221574 - [05] Fix MediaStreamGraph lifecycle logs in case of Android. r=jesup
MozReview-Commit-ID: czoHOOCqSu
2016-11-18 18:00:48 +02:00
Alex Chronopoulos 936044eee1 Bug 1221574 - [04] Change assert of expected devices in case of Android. r=jesup
MozReview-Commit-ID: 5ueMnCqi5Me
2016-11-18 18:00:48 +02:00
Alex Chronopoulos 5dac7099f3 Bug 1221574 - [03] Hardcode expected mic device on Android. r=jesup
MozReview-Commit-ID: 5sTPpwskJCC
2016-11-18 18:00:48 +02:00
Alex Chronopoulos 1bb3f66458 Bug 1221574 - [02] Fix build erros with the new backend. r=jesup
MozReview-Commit-ID: n27saMBWfw
2016-11-18 18:00:48 +02:00
Carsten "Tomcat" Book 0317ea2aa6 Merge mozilla-central to mozilla-inbound 2016-11-18 16:53:55 +01:00
Carsten "Tomcat" Book 866da9f9c6 merge mozilla-inbound to mozilla-central a=merge 2016-11-18 16:51:17 +01:00
Ehsan Akhgari a0a6c1cd33 Bug 1318562 - Remove Navigator.updateManager; r=baku 2016-11-18 09:01:49 -05:00
Ehsan Akhgari f0f85366d9 Bug 1318218 - Remove PermissionsTable; r=baku,jryans
This also removes the WebIDE UI for viewing the permissions table.
2016-11-18 08:59:35 -05:00
Olli Pettay b205f5cdb9 Bug 1317805, ensure to update MediaRecorder when document's activity state changes, r=bechen
--HG--
extra : rebase_source : f9a6dca24ec7e29e73b67002a2cf9470f4768743
2016-11-18 13:29:13 +02:00
Cameron McCormack 4406edcd3a Bug 1318238 - Clear all ServoNodeData during style set shutdown. r=bholley
MozReview-Commit-ID: 9MvBTAWeawC
2016-11-18 16:54:10 +08:00
Phil Ringnalda f55ce4a38c Merge m-c to autoland 2016-11-17 22:57:50 -08:00
Phil Ringnalda 4a8366dabc Bug 1304934 - disable test_presentation_mixed_security_contexts.html on Android for constant failures, a=nnoyance 2016-11-17 21:34:35 -08:00
Phil Ringnalda 61baa2aa9a Merge m-i to m-c, a=merge
MozReview-Commit-ID: A3wgReQAalj
2016-11-17 19:21:20 -08:00
Chih-Yi Leu 3988aaaef5 Bug 1316544 - Fix conformance test fail in texture-image-webgl-specific r=jgilbert 2016-11-17 21:22:00 +01:00
Ehsan Akhgari d07f79a266 Bug 1318210 - Remove nsIAppsService; r=baku 2016-11-17 10:41:36 -05:00
Dave Huseby 4e53da9544 Bug 1309067 - adding asserts to ensure boolean and OA private browsing values match. r=ehsan 2016-11-17 12:14:00 +01:00
Andrea Marchesini 42cdd9436b Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 2, r=qdot 2016-11-18 09:33:50 +01:00
Andrea Marchesini 2f974ccbce Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-18 09:33:33 +01:00