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

11155 Коммитов

Автор SHA1 Сообщение Дата
Phil Ringnalda 430ec9a870 Merge m-c to autoland 2016-11-29 19:31:34 -08:00
J. Ryan Stinnett c8d311072b Bug 1320765 - Test mRemoteBrowser to avoid crash during swapping frame loaders. r=mystor
MozReview-Commit-ID: 9Ypk1FmdjUU

--HG--
extra : rebase_source : 502fc749d50c3457bbe58b5b8e33c130cde76c90
2016-11-29 13:49:17 -06:00
Carsten "Tomcat" Book 68202ee27c merge mozilla-inbound to mozilla-central a=merge 2016-11-29 16:47:18 +01:00
Samael Wang cb7131182c Bug 1310768 - Use CreataAboutBlankContentViewer to stop inactive tabs. Update History API. a=ehsan
MozReview-Commit-ID: LPcaQkQ900G
2016-11-29 17:31:17 +08:00
Andrea Marchesini c741caf609 Bug 1311707 - dom-private-storage2-changed notification, r=janv 2016-11-29 07:19:08 +01:00
Daniel Holbert 954c9e0efa Bug 1319122: Adjust SVG image-document check to happen on display document. r=bz
MozReview-Commit-ID: 8Mg4HlNF14p
2016-11-28 16:31:12 -08:00
Nathan Froyd 2ebbd09068 Bug 1320752 - remove mozilla/Function.h; r=gerald
We have std::function available now, which is likely to be somewhat more
efficient.
2016-11-28 11:03:53 -05:00
Boris Zbarsky afbfd32d9b Bug 781782 part 2. Lowercase the content type in the Blob and File constructors and Blob.slice. r=baku 2016-11-28 15:58:15 -05:00
Olli Pettay 79719d0e36 Bug 1320704 - Disable IntersectionObserver, r=bkelly 2016-11-28 21:11:35 +02:00
Ben Kelly 3c6e68bfe4 Bug 1320235 Test that the browser continues to function during timer floods. r=bz 2016-11-28 10:49:40 -08:00
Andrea Marchesini fd0870b751 Bug 1320297 - Thread-safe use of ErrorResult in WebSocket, r=qdot 2016-11-28 19:12:57 +01:00
Phil Ringnalda dc33a3b7dc Merge m-i to m-c, a=merge 2016-11-25 21:26:21 -08:00
Bobby Holley f8c9d884fc Bug 1317016 - Basic infrastructure for RestyleHint-driven traversal. r=emilio
MozReview-Commit-ID: 7wH5XcILVmX
2016-11-25 10:06:39 -08:00
Carsten "Tomcat" Book 9dd582c3dd Merge mozilla-central to autoland 2016-11-29 11:50:17 +01:00
Alastor Wu 3a6f6a036e Bug 1270738 - don't need to check the playing state for 'test_audioNotificationSilent_audioFile.html'. r=baku
The reason to check the playing state is because we want to make sure the non-audible event is not due to
media element ended. However, in bug 1240423, we introduced the different inactive state (inactive-pause and
inactive-nonaudible), so we don't need to check the playing state anymore, we can just check whether the event
is 'inactive-nonaudible', but not 'inactive-pause'.

MozReview-Commit-ID: 6slOhb68Qp5

--HG--
extra : rebase_source : 08529c37e32a7dacc6b14407d536240fcca510c4
2016-11-21 11:25:10 +08:00
L. David Baron 03d6962a30 Bug 1320815 - DeCOMtaminate nsIFrame::IsSelectable by returning boolean instead of nsresult. r=xidorn
MozReview-Commit-ID: EBxBcEgIvp7

--HG--
extra : rebase_source : 49e5a370df86baec014e99be56b05d451d5ee78c
2016-11-28 15:31:29 -08:00
Michael Layzell 780cf8ac3d Bug 1320997 - Ignore disconnected iframe nsPIDOMWindowOuters in TabGroup::GetTopLevelWindows, r=smaug
MozReview-Commit-ID: 8wQSmcS1sUn
2016-11-29 12:15:01 -05:00
Kearwood (Kip) Gilbert 53f4153710 Bug 1315543 - Eliminate UAF in Navigator::NotifyVRDisplaysUpdated,r=dmu 2016-11-24 11:50:43 -08:00
Sebastian Hengst 934d575f3f Backed out changeset c4669804cc49 (bug 1318472) for failing browser_close_dependent_tabs.js. r=backout 2016-11-24 21:58:41 +01:00
Michael Layzell 612c74d39f Bug 1318472 - Remove inactive hidden tabs when removing the primary tab, r=ehsan
MozReview-Commit-ID: KiMsKOljNpE
2016-11-24 12:23:09 -05:00
Carsten "Tomcat" Book dd36826044 Merge mozilla-central to mozilla-inbound 2016-11-24 16:46:19 +01:00
Carsten "Tomcat" Book 61849e269d merge mozilla-inbound to mozilla-central a=merge 2016-11-24 16:41:59 +01:00
Bob Owen f5830d5e44 Bug 1147911 Part 7: Create browsing context with no opener if URI needs different process. r=smaug
This also means window.open returns null in the same circumstance.
2016-11-24 15:08:31 +00:00
Bob Owen 6b86819989 Bug 1147911 Part 6: Send remote type down to child. r=gijs, r=smaug 2016-11-24 15:08:31 +00:00
Tobias Schneider 4bf964cab8 Bug 1315837 - Crash in mozilla::dom::Element::UpdateIntersectionObservation. r=mrbkap
--HG--
extra : rebase_source : 374b22a8b3fce5b220d323593a712387d6caf7f6
2016-11-23 13:14:00 -05:00
Makoto Kato ba151083a7 Bug 1313986 - Part 2. Add CreateAnonymousElement with nsIAtom. r=masayuki
I would like to nsIAtom and mozilla::dom::Element version of CreateAnonymousElement to clean up code.  When getting/setting attirubte, editor sometimes use string, not nsGkAtoms.  We should use new mozilla::dom::Element methods.

Also, we should add  _moz_anonclass to atom list that uses on editor.

MozReview-Commit-ID: ICaAWVPjcej

--HG--
extra : rebase_source : 9585214aa678c16905250265a75b817c90246fcc
2016-11-24 16:12:04 +09:00
Ting-Yu Lin 754b6c9659 Bug 1317588 Part 3 - Remove #define NS_SIDE_TOP/RIGHT/BOTTOM/LEFT. r=mats
This patch was written with the help of the following script. Also, manually
add mozilla qualifier to the enum values in nsStyleCoord.h, gfxRect.h, and
Types.h to make it build.

function rename() {
find .\
     -type f\
     ! -path "./obj*"\
     ! -path "./.git"\
     ! -path "./.hg"\
     \( -name "*.cpp" -or\
        -name "*.h" \)\
        -exec sed -i -e "s/$1/$2/g" "{}" \;
}

rename "NS_SIDE_TOP" "eSideTop"
rename "NS_SIDE_RIGHT" "eSideRight"
rename "NS_SIDE_BOTTOM" "eSideBottom"
rename "NS_SIDE_LEFT" "eSideLeft"

MozReview-Commit-ID: 9T0ORsqM6nP

--HG--
extra : rebase_source : 884ad96104c6e9cf6c8b3145d2d3a071ecccfe6a
2016-11-18 18:12:25 +08:00
Sebastian Hengst e44f8e0dfe Backed out changeset 360c780c0a95 (bug 1147911) 2016-11-23 18:32:54 +01:00
Sebastian Hengst 3e560293d1 Backed out changeset f8ff074e9145 (bug 1147911) 2016-11-23 18:32:50 +01:00
Bob Owen 3f62d10e4d Bug 1147911 Part 7: Create browsing context with no opener if URI needs different process. r=smaug
This also means window.open returns null in the same circumstance.
2016-11-23 13:36:58 +00:00
Bob Owen b85bbccedd Bug 1147911 Part 6: Send remote type down to child. r=gijs, r=smaug 2016-11-23 13:36:58 +00:00
Boris Zbarsky 921224f8f4 Bug 1319255 part 3. Don't create special elements for <shadow> and <content> unless webcomponents are enabled. r=wchen 2016-11-22 22:41:51 -05:00
Boris Zbarsky 23cc88e459 Bug 1319255 part 2. Stop doing casts to HTMLContentElement* simply based on tag. r=wchen 2016-11-22 22:41:51 -05:00
Boris Zbarsky 3e49872974 Bug 1319255 part 1. Stop doing casts to HTMLShadowElement* simply based on tag. r=wchen 2016-11-22 22:41:51 -05:00
Frederik Braun 69f0475f79 Bug 1316826 - parserCreated should be false for inline events. r=dveditz
MozReview-Commit-ID: 66QkX30BZ77

--HG--
extra : rebase_source : c3b14dc269634f611f423c3016891fc0e303bc51
2016-11-21 15:14:02 -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 20b9e08d5b Bug 1293305 - Part 1.6: Fix dom test to enable for-each. r=bholley 2016-11-21 15:03:35 +09: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
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
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 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
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
Andrea Marchesini 2f974ccbce Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-18 09:33:33 +01:00