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

12089 Коммитов

Автор SHA1 Сообщение Дата
Carsten "Tomcat" Book 468f7d8e9f merge mozilla-inbound to mozilla-central a=merge 2017-03-16 15:35:50 +01:00
Bevis Tseng 2a318e8c71 Bug 1332491 - Delete SelectorCacheKey synchronously. r=bz
1. The current asynchronous behavior is pointless, because we still remove the
   hashtable entry synchronously, which deletes the value, and it's the value
   we're using.
2. Trying to asynchronously delete the value is difficult, and not currently
   needed because we can't get a memory-pressure notification while we're using
   the value, and hence can't expire it from the expiration tracker.
   Note: we can't get this memory-pressure notification because the stage 2 of
   mozalloc_handle_oom() to reclaim memory when OOM is not implemented yet.
2017-03-13 14:37:19 +08:00
Kerem KAT 0d9b07ec14 Bug 247996 - Add JS console warnings for every script element with an src that fails to load/execute it. r=bzbarsky
MozReview-Commit-ID: 4fH6UFqUhfY
2017-03-09 19:54:26 +03:00
Wes Kocher 1d6765414b Merge m-c to autoland, a=merge
MozReview-Commit-ID: AcDLWqQhcBe
2017-03-15 14:29:24 -07:00
Sebastian Hengst 827fd8b459 Backed out changeset 26389c6e73ff (bug 1341008) 2017-03-15 13:47:02 +01:00
Carsten "Tomcat" Book 7a55af51fb Merge mozilla-central to mozilla-inbound 2017-03-15 13:17:53 +01:00
Carsten "Tomcat" Book f807b332df merge mozilla-inbound to mozilla-central a=merge 2017-03-15 13:12:42 +01:00
Gabor Krizsanits 9f8f7ef83a Bug 1341008 - Use the preallocated process manager by default. r=billm, r=kmag 2017-03-15 12:59:23 +01:00
Evelyn Hung 00c1af4647 Bug 1347117 - Add Activate/Deactivate/ParentActivated to PContentBridge; r=billm
In a nested content process setup, FocusManager needs to activate focus
to a remote frame through ContentBridgeParent, not ContentParent.
2017-03-15 02:00:00 +01:00
Jessica Jong e6024768b9 Bug 1346084 - Expose mozIntl.getLocaleInfo to ChromeOrXBL. r=smaug 2017-03-14 20:38:00 +01:00
Brad Werth f726f8c19a Bug 1343695 Part 3: Expand tests of GetClientRectsAndTexts to test more cases where rendered text differs from DOM text. r=mats
MozReview-Commit-ID: G0NfRJhAh50

--HG--
extra : rebase_source : 7652400494eaa2cf88f18699ac8c415b11ab09c6
2017-03-13 13:15:17 -07:00
Boris Zbarsky 5a5123809e Bug 1276186. Stop using the locale-sensitive AppendPrintf in code that is supposed to always use '.' as a decimal separator. r=dbaron
MozReview-Commit-ID: ILXSgv5QUr4
2017-03-14 23:16:32 -04:00
Wes Kocher 0902d5e08e Merge m-c to inbound, a=merge
MozReview-Commit-ID: AzYu7EXTIlg
2017-03-14 17:23:26 -07:00
Wes Kocher a7c590aa9c Merge inbound to central, a=merge
MozReview-Commit-ID: KWDF34vWlBx
2017-03-14 17:18:59 -07:00
Sebastian Hengst 3bdfbf08cc Backed out changeset cca9db8d2256 (bug 1337056) 2017-03-15 00:46:11 +01:00
Sebastian Hengst e96286a94b Backed out changeset 40b8605b5e48 (bug 1337056) 2017-03-15 00:46:06 +01:00
Samael Wang 2cd1696dc6 Bug 1346703 - Replace PR_LogPrint with MOZ_LOG, remove unnecessary checks and add a nullptr check. r=ehsan 2017-03-14 16:58:45 +08:00
Michael Layzell a5740e4923 Bug 1337056 - Part 8: Add nsIRequest::LOAD_HTML_OBJECT_DATA flag to identify requests loaded by nsObjectLoadingContent, r=mcmanus
MozReview-Commit-ID: 3hgLRCeuiyD
2017-03-14 14:56:09 -04:00
Michael Layzell 7a7e5daeef Bug 1337056 - Part 7: Refactor nsObjectLoadingContent::GetTypeOfContent logic out into nsContentUtils, r=qdot
MozReview-Commit-ID: IJQNhQZzx3y
2017-03-14 14:56:08 -04:00
Michael Layzell 352feff91a Bug 1347179 - Mark contentOpener as unused in some optimized builds, r=ehsan
MozReview-Commit-ID: 27LBQ0mGNaj
2017-03-14 14:29:26 -04:00
Carsten "Tomcat" Book fb74131fe7 Merge mozilla-central to mozilla-inbound 2017-03-14 14:26:07 +01:00
Carsten "Tomcat" Book dba578960e merge mozilla-inbound to mozilla-central a=merge 2017-03-14 14:23:03 +01:00
Yoshi Huang e57e010266 Bug 1301649: Use MOZ_ASSERT_IF instead. r=smaug 2017-03-14 16:23:52 +08:00
Zibi Braniecki fbfa4998fa Bug 1346819 - Port SanitizeAsBCP47 to LocaleService. r=baku,jfkthame
MozReview-Commit-ID: 2SXD5HaJPXr

--HG--
extra : rebase_source : 44404dfd577f13fde722ef5c13a29f853766786d
2017-03-13 08:31:43 -07:00
Ehsan Akhgari d8777448ae Bug 1346981 - Add a Gecko Profiler label to WindowDestroyedEvent::Run; r=mystor
This function can potentially take a very long time.  This label helps us
identify it in BHR data via telemetry.
2017-03-13 19:11:41 -04:00
Andrea Marchesini b400713a16 Bug 1346801 - Make Directory object always cloneable, r=qdot 2017-03-14 11:38:31 +01:00
Ben Kelly ded5d4f5c4 Bug 1346426 Don't crash if a window is frozen while there is a dummy timer in the list. r=ehsan 2017-03-13 15:26:22 -04:00
Carsten "Tomcat" Book c1edc7067d merge mozilla-inbound to mozilla-central a=merge 2017-03-13 15:22:26 +01:00
Brad Werth d2ed12d9e6 Bug 1343695 Part 1: Retrieve text content with GetRenderedText. r=mats
MozReview-Commit-ID: 4VLoaTlDELG

--HG--
extra : rebase_source : d48bc3f175cc88d76087e4371e2b9efead517613
2017-03-01 16:15:22 -08:00
Wes Kocher 8f1654d5da Merge m-c to autoland, a=merge
MozReview-Commit-ID: FnlgTDNtM67
2017-03-14 17:24:12 -07:00
Kirk Steuber bae89898aa Bug 1345611 - Change behavior of subdocument Flash blocking to be Third-Party Flash blocking r=bsmedberg,qdot
The previous implementation regarding to the Flash Blocking Subdocument list blocked all subdocuments that matched the list. This patch changes that so that subdocuments are only blocked if they are on the Subdocument Block List and also are loaded in a Third-Party context.

The changes to cert8.db and key3.db add the https certificate for subdocument.example.com so that testing can verify that a scheme mismatch between the document and its parent results in a third-party classification.

MozReview-Commit-ID: IXnA4iPzB4y

--HG--
extra : rebase_source : 103c1e184d4219e6db9d00da1ea54674a0e216dd
2017-03-10 10:50:21 -08:00
Sebastian Hengst 20b211c7e9 Backed out changeset 7ce372883419 (bug 1151421) for failures in Android mochitests, e.g. test_bug1151421.html. r=backout 2017-03-14 18:46:26 +01:00
Manish Goregaokar b427546203 Bug 1296477 - Part 4: stylo: Update test expectations; r=heycam
MozReview-Commit-ID: 9fff2Pme3ey

--HG--
extra : rebase_source : 99a224155a876e25c99229ae48dc4a92dd420ae2
2017-03-12 21:12:08 -07:00
Brad Werth b8a9918a1c Bug 1151421 Part 1: Change Window scroll and offset properties to be doubles instead of ints. r=smaug
MozReview-Commit-ID: KeTokCIO5D9

--HG--
extra : rebase_source : 980eaf8ba3f6d4c502f9b86839ef637f4f5647c4
2017-03-02 13:01:31 -08:00
Tobias Schneider b7b6c5f6b1 Bug 1319137 - (intersection-observer) Add isIntersecting property to IntersectionObserverEntry r=mrbkap,mstange
MozReview-Commit-ID: GmwpD0FYWAa

--HG--
extra : rebase_source : b87bff385f10ee97d491548d98557e0e2cd2ad21
2017-02-08 11:22:53 -08:00
David Major dc67bfc9a3 Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron
There's an antipattern where nsLiteralString is used as an unnecessary intermediary in converting from CharT* to CharT*,
e.g. CallAFunctionThatTakesACharPointer(NS_LITERAL_CSTRING("foo").get());
or
NS_NAMED_LITERAL_STRING(foo, "abc");
CallAFunctionThatTakesACharPointer(foo.get());

This patch rewrites the callsites that can be trivially changed to use char*/char16_t*.

I'd somewhat like to remove nsTLiteralString::get() altogether, but in code that's less straightforward than these examples, get() is useful enough to keep.

MozReview-Commit-ID: Kh1rUziVllo

--HG--
extra : rebase_source : c21a65694d6e1c42fd88f73632f7ac8f38d005ae
2017-03-14 15:26:27 +13:00
Masayuki Nakano 6449c8aac8 Bug 1318312 part.3 Selection should move focus at every selection change when it's called by JS r=smaug
Selection may be changed by methods of Selection or methods of Range retrieved by Selection.getRangeAt().  Selection::NotifySelectionListeners() is called after every selection change of each of them, so, this method must be a good point to move focus.

If new common ancestor of all ranges is editable and in an editing host, we should move focus to it.  Otherwise, if an editing host has focus but new common ancestor is not editable, we should move focus from the editing host.

For consistency with the other browsers, this patch doesn't move focus to other focusable element.

MozReview-Commit-ID: 6sNsuzwqECX

--HG--
extra : rebase_source : 9ba52ab0bd1249abded81019847c85182ca1926e
2017-03-14 10:36:21 +09:00
Masayuki Nakano a959abd5c5 Bug 1318312 part.2 Mark Selection as "called by JS" when every Selection API which may cause changing selection is called by JS r=smaug
Selection needs to be able to distinguish if every selection change is caused by JS (i.e., via Selection API) or the others.

This patch maps some methods of Range and Selection to *JS().  Each of them marks its instance as "used by JS" and calls corresponding method.

With this change, Selection::NotifySelectionListeners() can move focus only when it's caused by Selection API.

MozReview-Commit-ID: 1GoLHiIJ10Y

--HG--
extra : rebase_source : 02d497f9e55b3325a2e01c3041cadb90881dccb8
2017-03-10 16:55:12 +09:00
Iris Hsiao 5cece96e1c Backed out 12 changesets (bug 1344629) for stylo build bustage
Backed out changeset cf4273d3ac30 (bug 1344629)
Backed out changeset a96390e044e0 (bug 1344629)
Backed out changeset d9b330f9bc24 (bug 1344629)
Backed out changeset 2b460fe020af (bug 1344629)
Backed out changeset 0ada91b0452e (bug 1344629)
Backed out changeset 083304fcd6bd (bug 1344629)
Backed out changeset 53d7d1ce2c97 (bug 1344629)
Backed out changeset 55eee7078ae4 (bug 1344629)
Backed out changeset 7d3c06b3eca9 (bug 1344629)
Backed out changeset e5df14c3db61 (bug 1344629)
Backed out changeset 636095ff2815 (bug 1344629)
Backed out changeset 0be052ad24c1 (bug 1344629)
2017-03-14 11:52:24 +08:00
David Major 40f4821701 Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron
There's an antipattern where nsLiteralString is used as an unnecessary intermediary in converting from CharT* to CharT*,
e.g. CallAFunctionThatTakesACharPointer(NS_LITERAL_CSTRING("foo").get());
or
NS_NAMED_LITERAL_STRING(foo, "abc");
CallAFunctionThatTakesACharPointer(foo.get());

This patch rewrites the callsites that can be trivially changed to use char*/char16_t*.

I'd somewhat like to remove nsTLiteralString::get() altogether, but in code that's less straightforward than these examples, get() is useful enough to keep.

MozReview-Commit-ID: Kh1rUziVllo

--HG--
extra : rebase_source : c21a65694d6e1c42fd88f73632f7ac8f38d005ae
2017-03-14 15:26:27 +13:00
Wes Kocher 33cca3c72a Backed out 2 changesets (bug 1343695) for osx chrome mochitest assertions a=backout
Backed out changeset e5db40a036fe (bug 1343695)
Backed out changeset 687ffd715113 (bug 1343695)

MozReview-Commit-ID: 2CN1gipg3ia
2017-03-13 16:44:23 -07:00
Wes Kocher 8010f266fb Merge m-c to autoland, a=merge
MozReview-Commit-ID: Hikpu6ARByb
2017-03-13 16:40:18 -07:00
Xidorn Quan 064bdeb45a Bug 1345804 part 3 - Change will-change to store nsIAtom rather than nsString. r=heycam
MozReview-Commit-ID: 5ISVZwKw6LI

--HG--
extra : rebase_source : 7613db7ee5cd2f4c06fd2f8a4f1b6398fd70f094
2017-03-10 12:26:53 +11:00
Brad Werth 4b0debb93b Bug 1343695 Part 2: Expand tests of GetClientRectsAndTexts to test more cases where rendered text differs from DOM text. r=mats
MozReview-Commit-ID: G0NfRJhAh50

--HG--
extra : rebase_source : eeaf09ac6bc08b29586fa28c136045bdda164788
2017-03-13 13:15:17 -07:00
Brad Werth 1a39a40cd5 Bug 1343695 Part 1: Retrieve text content with GetRenderedText. r=mats
MozReview-Commit-ID: 4VLoaTlDELG

--HG--
extra : rebase_source : 4cc21c8d0de752ef927982e9d451bf46d3ca9877
2017-03-01 16:15:22 -08:00
Blake Kaplan b48fcd2501 Bug 1340665 - Fix warnings on shutdown. r=billm
The code to make a ValidatingDispatcher break cycles when we're done with it
assumes that XPCOM is still up and running. This isn't the case during
shutdown. When XPCOM shuts down, we should avoid do_GetMainThread.

MozReview-Commit-ID: 5Gpko9FbFxl

--HG--
extra : rebase_source : 8c00c83b06e890802ade0d6df2a93f64dc8ea376
2017-03-10 17:55:35 -08:00
Stone Shih 229b4ba331 Bug 606885 - Fire drag events with keyboard modifiers. r=enn
--HG--
extra : rebase_source : c6e4ac37ea2397d86368cb59b0a68aa3a9f43d79
2017-02-17 11:29:42 +08:00
Randall Barker 51681eda82 Bug 1334676: Prevent nsDOMWindowUtils::ZoomToFocusedInput from panning and zooming when focused element is fixed position r=tnikkel 2017-03-10 14:17:21 -08:00
Kershaw Chang 845499b928 Bug 1309653 - Part2: Send an update of current top level, r=smaug
--HG--
extra : rebase_source : 9396e842b09436727e01cc07fed577a250de8c93
2017-03-10 01:34:00 +01:00
Christoph Diehl 4d87f0665b Bug 777600 - Add MessageManager Fuzzer. r=billm
--HG--
extra : rebase_source : 2e37fe0109e45216820543512dfbe58f1fba15fe
2017-02-28 16:24:43 -08:00