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

12522 Коммитов

Автор SHA1 Сообщение Дата
Carsten "Tomcat" Book 7e1e3260bd merge mozilla-inbound to mozilla-central a=merge 2017-05-08 10:07:27 +02:00
Iris Hsiao b2235165ae Merge mozilla-central to mozilla-inbound 2017-05-08 11:20:12 +08:00
Iris Hsiao 0b748916e8 merge mozilla-inbound to mozilla-central a=merge 2017-05-08 11:11:20 +08:00
Robert Longson 5bf763e903 Bug 1362400 part 1 - Make it possible for SMIL to change the link state of an SVG anchor element r=jwatt r=smaug (DOM) 2017-05-06 20:32:14 +01:00
Kris Maglione 64c700feea Bug 1359653: Part 7 - Use the script preloader for loading frame scripts. r=billm
MozReview-Commit-ID: L0EjM0Uomfb

--HG--
extra : source : c1b0ed47743f9b09376fbb88ecbd3dcbabe27265
extra : histedit_source : aaae2cb053e9cbd4b62ba2c04aa337d483fc51d5
2017-05-02 15:16:55 -07:00
Sebastian Hengst 7ed4c0581c Backed out changeset c1b0ed47743f (bug 1359653) 2017-05-06 11:02:13 +02:00
Ray Lin fb62d2146b Bug 1361244 - Add an internal -moz-autofill-preview pseudo class for styling preview fields. r=heycam
MozReview-Commit-ID: 6siKEgBPTKt
2017-05-04 13:54:34 +08:00
Kris Maglione e85e66e3a4 Bug 1359653: Part 7 - Use the script preloader for loading frame scripts. r=billm
MozReview-Commit-ID: L0EjM0Uomfb

--HG--
extra : rebase_source : 02cc7f567edcff765c6abffb03be2a4e7f843c78
extra : absorb_source : 1522a5f335eca8188a82f93ac27900cbcd3ef4be
2017-05-02 15:16:55 -07:00
Wes Kocher 6cc5532059 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 3HXDLRcpc9c
2017-05-05 14:20:47 -07:00
Michael Layzell bbb295c668 Bug 1353440 - Annotate background hang reports which occur while the user is interacting with the browser, r=ehsan
MozReview-Commit-ID: CSO0K5wiK5H
2017-05-05 15:21:48 -04:00
Carsten "Tomcat" Book fdc689ba16 merge mozilla-inbound to mozilla-central a=merge 2017-05-05 15:17:26 +02:00
Mats Palmgren ab81bf6d9e Bug 1359411 - Backout bug 1328030 since it caused a hang which is strictly worse than the original problem. r=smaug
MozReview-Commit-ID: C12Tajtc7Vy
2017-05-07 22:54:18 +02:00
Boris Chiou efc7384c17 Bug 1361951 - Add null check for nsIDocument in ComputeAnimationDistance. r=birtles
MozReview-Commit-ID: GFMmT8bMKzP

--HG--
extra : rebase_source : abd2ad259dab39f6a8be0004287a1f054e69d9b0
2017-05-05 11:25:03 +08:00
Iris Hsiao c206e9ec3c Backed out changeset 34f24ca08fac (bug 1345990) for mochitest bc testing uncaught exception at BrowserTestUtils.jsm
CLOSED TREE
2017-05-05 10:20:29 +08:00
Sebastian Hengst 55ee875568 Backed out changeset 4cc80402cf1c (bug 1345990) 2017-05-06 11:27:33 +02:00
Xidorn Quan 98f239480d Bug 1362302 part 1 - Use nsIAtom for counter style names. r=dbaron
MozReview-Commit-ID: 5VK6BgGRVRs

--HG--
extra : rebase_source : 104a28eddeb7984bd9f691693cf8debc1387fb87
2017-05-06 11:34:35 +10:00
Blake Kaplan 331a401c00 Bug 1345990 - Allow creation of new tabs in their own processes. r=mconley
This uses XPCOM to replace the default process selector with one that always
asks for a new process and then put the old one back again. This comes with a
test to prove that it works.

MozReview-Commit-ID: Bq6KP4VzP7W

--HG--
extra : rebase_source : 4d22d07c6ccfb42718c65fd80cd8a0e20d02f72c
2017-04-26 17:52:20 -07:00
Chris Peterson 3290f0e066 Bug 1360039 - Spoof navigator.hardwareConcurrency = 2 when privacy.resistFingerprinting = true. r=qdot
Trackers use navigator.hardwareConcurrency as yet another source of entropy to fingerprint users. The Firefox Hardware Report says 70% of Firefox users have exactly 2 cores. When the privacy.resistFingerprinting pref is set, we want to blend into the crowd so spoof navigator.hardwareConcurrency = 2 to reduce user uniqueness. This pref was added in bug 1345322 for the Tor uplift project.

https://metrics.mozilla.com/firefox-hardware-report/#goto-cpu-and-memory

MozReview-Commit-ID: CDWAaxjRpqe

--HG--
extra : rebase_source : a24eabf1d0b0ea1706478306287634dae38a8c52
2017-05-02 14:03:08 -07:00
Wes Kocher 6d6d039d43 Backed out 4 changesets (bug 1358297) for hazard build failures a=backout
Backed out changeset 95211a496191 (bug 1358297)
Backed out changeset 3c1b426a5cce (bug 1358297)
Backed out changeset 9201d345a1d5 (bug 1358297)
Backed out changeset c926817dea60 (bug 1358297)

MozReview-Commit-ID: 874DF43K7Dp
2017-05-05 12:45:46 -07:00
Henri Sivonen 4abd5bbff7 Bug 1358095 - Remove useless interned attributes from the HTML parser. r=wchen
Stuff that's removed includes:
 * IE data binding
 * SVG fonts
 * Web Forms 2.0 templates
 * unsupported math spaces
 * abandoned HTML5 features
 * random inexplicable stuff

MozReview-Commit-ID: 1iiKyFHZQWd

--HG--
extra : rebase_source : d5c2ae8d309e433053b5e9c1579707a24bf903b9
2017-04-20 14:19:12 +03:00
Henri Sivonen c18a3863eb Bug 1269490 - Merge nsHtml5Atoms into nsGkAtoms. r=wchen
MozReview-Commit-ID: EcfnXkFuJy3

--HG--
extra : rebase_source : eb4ba2c1b95a9ccabdcdecf65f3b757691f033b8
2017-04-20 11:47:02 +03:00
Carsten "Tomcat" Book 6ae9b7bb71 Merge mozilla-central to autoland
--HG--
rename : browser/base/content/gcli_sec_bad.svg => devtools/client/themes/images/gcli_sec_bad.svg
rename : browser/base/content/gcli_sec_good.svg => devtools/client/themes/images/gcli_sec_good.svg
rename : browser/base/content/gcli_sec_moderate.svg => devtools/client/themes/images/gcli_sec_moderate.svg
2017-05-05 15:27:55 +02:00
Emilio Cobos Álvarez 38c4e0a7a3 Bug 1361301: Don't toggle focus-within state past the nearest common flattened tree ancestor. r=smaug
MozReview-Commit-ID: 3L5Nr6z4Q9X

--HG--
extra : rebase_source : 0fcd965fbdeb8b9b238db46c8524344104f00820
2017-05-03 12:41:24 +02:00
Emilio Cobos Álvarez 6e1af77eca Bug 1361301: Add nsContentUtils::GetCommonFlattenedTreeAncestor. r=smaug
MozReview-Commit-ID: EVyjTrjpid2

--HG--
extra : rebase_source : 7f0933c88b78275682be96f3ea596bfb24ec9aa4
2017-05-03 12:58:34 +02:00
Emilio Cobos Álvarez 775ab6e694 Bug 1361301: Extract the core algorithm from nsContentUtils::GetCommonAncestor. r=smaug
MozReview-Commit-ID: 7u6YaYN3dhb

--HG--
extra : rebase_source : 4a4c4932a51bab924d55ba54c4e9a4bbf3e48cb5
2017-05-03 12:57:53 +02:00
Milan Sreckovic 196fb1a3bc Bug 1358297: Part 3. Create special case for stripping CR and LF on TSubstring, and use it in all the places that it is called. Use ASCIIMask to make it fast. r=froydnj
MozReview-Commit-ID: 3p97cCGfy6i

--HG--
extra : rebase_source : a91d9a5e6e61495cfe78b06959b200e48ca16535
2017-05-05 13:37:13 -04:00
Andreas Farre 7cd708c02f Bug 1322184 - Measure time spent in content JS that causes delay in paint. r=billm, data-r=bsmedberg
MozReview-Commit-ID: Iz31CKSnDdc

--HG--
extra : rebase_source : e0db2419ee2ef868d2f4d1b47d45547e55bd2036
2017-05-02 08:10:00 -04:00
Andrea Marchesini 17b0547c06 Bug 1345961 - Fixing an assertion about OriginAttribute comparison in PostMessage, r=tjr
The OriginAttributes of the 2 windows must match but ignoring the
FirstPartDomain isolation.
2017-05-04 15:42:42 +02:00
Tim Taubert 1eae0fcd88 Bug 1361974 - Add nsIDOMWindowUtils API to check usage of a given storage r=mayhemer 2017-05-04 14:29:36 +02:00
Andrea Marchesini 2743450ad5 Bug 1330900 - Implement <script nomodule>, r=bz
This patch implements:
. noModule getter/setter for HTMLScriptElement
. the nomodule attribute for HTMLScriptElement
. and the logic in nsScriptLoader that denies the loading of a nomodule script
. with tests
2017-05-04 10:24:13 +02:00
Boris Zbarsky f11ddd537b Bug 1361274. There's no need to update link :visited state when doing querySelectorAll, since querySelectorAll ignores that state anyway. r=smaug
In our current setup, in which links with an href attribute always match either
:link or :visited, no matter whether that attribute's value is a valid URI,
changes to the attribute always put the element into either the "match nothing"
state or the "match :link" state, via calls to Link::ResetLinkState.

The only thing FlushPendingLinkUpdates is needed for is (lazily, in case it
turns out to not be needed because the element got removed from the DOM anyway)
registering a history observer to switch the link state to :visited as needed.

This means that selector matching consumers that would never expose :visited
state to start with don't need to worry about calling FlushPendingLinkUpdates.
2017-05-03 16:54:25 -04:00
Kris Maglione cfa6b13d1d Bug 1353060: Disable remote frameloaders in small popup widgets. r=kats
Since we now want to support APZ for remote frameloaders in popups, but do not
want to needlessly enable it in simple popup widgets which should never host
remote content, we need to prevent remote content from being loaded into those
popups.

MozReview-Commit-ID: WfjMC2p2eK

--HG--
extra : rebase_source : 51704fa761053e947a2c56706627c8ae903790ee
extra : histedit_source : 463b2c88c28476a824bc2951e0731453016aaa2b
2017-04-17 13:45:08 -07:00
Kris Maglione e77423bec5 Bug 1353060: Use the correct layer manager for frameloaders in <popup>s. r=kats,mattwoodrow
Currently, we only correctly support remote layer trees for frameloaders that
use the same layer manager as their document. Since we need to be able to host
remote <browser> content in popup widgets for remote WebExtensions, we need to
tie the frameloaders to the layer manager of their host element, rather than
the root layer manager for the document.

MozReview-Commit-ID: 4RCsamFBiQw

--HG--
extra : rebase_source : 86bca4ae1c012ff1bb84a9ad796be311cfe580f6
extra : histedit_source : 19577d69430adc8cb38c195f13db2c6de6605c4c
2017-04-17 21:41:18 -07:00
Wes Kocher febd210bd9 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Lm5sPLbtrs
2017-05-03 13:54:34 -07:00
Wes Kocher 21203b47b5 Merge inbound to m-c a=merge
MozReview-Commit-ID: JgXkqrOwl3N
2017-05-03 13:40:24 -07:00
Ben Kelly d9b204c062 Bug 1361754 Don't propagate Navigator object on document.open() any more. r=mrbkap 2017-05-03 13:25:05 -07:00
Andreas Farre 3ce44dbcc6 Bug 1355480 - Add telemetry for measuring timeout execution. r=smaug, data-r=bsmedberg
Measure execution time by adding telemetry probes for tracking
foreground, tracking background, non-tracking foreground and
non-tracking background timeouts.

--HG--
extra : source : 69439c0cd3e6d118681d1bb6586cb0a7b4bb85fc
2017-05-02 07:23:00 -04:00
Swapnesh Kumar Sahoo c11cf34901 Bug 1354331 - Remove network.http.enablePerElementReferrer usages. r=valentin r=baku 2017-05-01 00:12:34 +05:30
Gabor Krizsanits eb829f971b Bug 1341008 - Use the preallocated process manager by default. r=billm, r=kmag
To mitigate the delay that a new content process startup might cause, when the
browser reaches a non-busy state we attempt to prelaunch an empty content process
in the background that can be grabbed and used the next time we need one. This patch
enables the preallocated process manager by default and attempts to fix all the
issues that prevented us doing this sooner.
2017-05-03 12:00:20 +02:00
Jessica Jong 57c042eeb9 Bug 1358448 - Add radio back to a radio group after moving out of a form. r=smaug
The container of a radio group is the form, if it belongs to a form, or the
document object otherwise.
When moving a radio out of a form, we should add it back to a radio group.
Similary, before moving the radio to a form, we should remove it from the
original radio group.

MozReview-Commit-ID: 22WsEhz2SXH

--HG--
extra : rebase_source : 68dbd50da523b734086d8e5de6e6ae179b0b4af0
2017-05-01 23:10:00 +02:00
Carsten "Tomcat" Book b0e1da2a90 merge mozilla-inbound to mozilla-central a=merge 2017-05-03 10:11:26 +02:00
Ehsan Akhgari e43761fc39 Bug 1360799 follow-up: Fix the comment in the header after addressing the review comment 2017-05-02 20:46:20 -04:00
Wes Kocher 5b73758a65 Merge m-c to inbound, a=merge
MozReview-Commit-ID: ILz91Vj4gT5
2017-05-02 17:39:58 -07:00
Ehsan Akhgari 66f333029f Bug 1360799 - Expose the requestIdleCallback API to chrome code unconditionally; r=bzbarsky
We need to use this API in the front-end code, and in the off-chance
that we end up turning it off for the Web for whatever reason, or if
someone has turned off the pref, we should make sure our UI code does
not break.
2017-05-02 19:01:27 -04:00
Sebastian Hengst 2ed9a7bb99 Backed out changeset 69439c0cd3e6 (bug 1355480) on suspicion of triggering assertion CompositorThreadHolder::IsInCompositorThread() on Windows 8 x64 M-e10s. r=backout 2017-05-02 23:41:44 +02:00
Sebastian Hengst d94e350008 Backed out changeset d40e448b1a33 and 195d6bc4e2ca (bug 1358882) for asserting and failing in wpt circular-module-import-with-syntax-error.html. r=backout 2017-05-02 21:18:02 +02:00
Jon Coppeard 756162222b Bug 1358882 - Fix android bustage r=me 2017-05-02 18:23:38 +01:00
Andreas Farre 0205fac807 Bug 1355480 - Add telemetry for measuring timeout execution. r=smaug, data-r=bsmedberg
Measure execution time by adding telemetry probes for tracking
foreground, tracking background, non-tracking foreground and
non-tracking background timeouts.

--HG--
extra : rebase_source : f638cc4422a777bbd093d5bbb2d5852c19b1c9d1
2017-05-02 07:23:00 -04:00
Jon Coppeard 639071303d Bug 1358882 - Check for failed instantiation when starting to fetch module dependencies r=smaug 2017-05-02 18:01:51 +01:00
Brad Werth 0214fa7d70 Bug 1348481 Part 1b: Generalize FindDocStyleSheetInsertionPoint so it doesn't require an array of RefPtrs. r=heycam
MozReview-Commit-ID: Aqnow6hFw5i

--HG--
extra : rebase_source : 9fc2ecbd81eecf8e1d6cceb8e8fa4a4e44bbdac9
2017-05-01 16:12:04 -07:00