Wes Kocher
aef6a66634
Backed out 4 changesets (bug 1343728) for failures in test_group_mouseevents.html a=backout
...
Backed out changeset 2029cb6bce86 (bug 1343728)
Backed out changeset 0169e09f6030 (bug 1343728)
Backed out changeset 831e95b29f66 (bug 1343728)
Backed out changeset d5630ef01b17 (bug 1343728)
MozReview-Commit-ID: 2RRBTmp5FGj
--HG--
extra : source : 14f84d3b3233a87af51f5ad8302ee24cc2371a01
2017-06-21 17:13:49 -07:00
Michael Layzell
f6a1ba145d
Bug 1343728 - Part 3: Add StableStateEventTarget, an event target which runs dispatched runnables at the next stable state, r=smaug
...
MozReview-Commit-ID: 8dlo5Z60qsG
2017-06-21 14:23:13 -04:00
Carsten "Tomcat" Book
8a1350b5a6
Backed out changeset 4f6302a98ae4 (bug 1372405
)
...
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Bill McCloskey
6b3e84ed5f
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Wes Kocher
c0e1236f1a
Merge autoland to m-c a=merge
...
MozReview-Commit-ID: LFtpTAueYrF
2017-06-20 18:24:29 -07:00
Ehsan Akhgari
4eac977034
Bug 1373857 - Part 3: Optimize the PostHandleEvent() events that we dispatch for checkboxes and radiocontrols when they get toggled in order to make it use direct WidgetEvent dispatch; r=smaug
2017-06-20 13:59:52 -04:00
Ehsan Akhgari
9d4ea70f49
Bug 1373857 - Part 1: Add some nsContentUtils helpers for dispatching WidgetEvents directly; r=smaug
2017-06-20 13:59:52 -04:00
Carsten "Tomcat" Book
ea1b86680c
Backed out changeset 9846de3bd954 (bug 1372405
)
...
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey
4592152411
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Masatoshi Kimura
9865b2fdeb
Bug 1369020 - Remove nsContentUtils::ConvertStringFromEncoding and nsContentUtils::CheckForBOM. r=hsivonen
...
MozReview-Commit-ID: E0w8BsP1Rof
--HG--
extra : rebase_source : db95e1e7fc60c9b9c8e6d7fcc5329421ec97e811
2017-06-16 21:11:03 +09:00
Tim Huang
7d1c0f2d14
Bug 1369303 - Part 2: Marking the performance timing API always reports 0 and the access of resource timing and user timing becomes NOP when 'privacy.resistFingerprinting' is true. r=arthuredelstein,baku
...
This patch is going to neutralize the threat of fingerprinting of performance API
by spoofing the value of performance timing into 0, making getEntries* functions
always returns an empty list and making mark() and measure() into NOP methods.
In addition, this patch changes nsContentUtils::ShouldResistFingerprinting() to
allow it can be called in both main thread and worker threads.
MozReview-Commit-ID: C8Jt7KEMe5e
--HG--
extra : rebase_source : 85cbf66881c868ca5109022ffd4af81e3ab0a049
2017-06-15 16:48:27 +08:00
Cameron McCormack
fdf5336fc8
Bug 1364361 - Part 3: Remove now-unnecessary clearing of ServoElementData from anonymous content destroyer callback. r=bz
...
MozReview-Commit-ID: 4nCQYU9lzKD
--HG--
extra : rebase_source : 0fa4962efe97f03f311c18692acf99d3913ea347
2017-06-16 17:22:34 +08:00
Sebastian Hengst
3ed689e8af
Backed out changeset 65c77754d49c (bug 1364361)
2017-06-16 11:18:23 +02:00
Cameron McCormack
671a338aa9
Bug 1364361 - Part 3: Remove now-unnecessary clearing of ServoElementData from anonymous content destroyer callback. r=bz
...
MozReview-Commit-ID: 4nCQYU9lzKD
--HG--
extra : rebase_source : e2d33d980af1516daebbdc78022f29480ac426ad
2017-06-16 15:37:08 +08:00
Sebastian Hengst
2647eaf65c
Backed out changeset 0952bb52c59f (bug 1364361)
2017-06-16 09:27:10 +02:00
Cameron McCormack
ff9958da41
Bug 1364361 - Part 3: Remove now-unnecessary clearing of ServoElementData from anonymous content destroyer callback. r=bz
...
MozReview-Commit-ID: 4nCQYU9lzKD
--HG--
extra : rebase_source : 38408cd79b4f2704a2790aec1ebaea0b4fbdac11
2017-05-22 10:17:21 +08:00
Emilio Cobos Álvarez
cbba1b6268
Bug 1371130: Move AllChildrenIterator::AppendNativeAnonymousChildren to nsContentUtils. r=heycam
...
MozReview-Commit-ID: E5kfdxEWTuf
2017-06-20 14:24:34 +02:00
Henri Sivonen
432653453a
Bug 1261841 part 2 - Use encoding_rs instead of uconv. r=emk,mystor.
...
MozReview-Commit-ID: 15Y5GTX98bv
2017-06-13 13:23:23 +03:00
Ben Kelly
bd95903746
Bug 1197401 Remove the disabled HTML imports implementation. r=wchen
2017-06-12 07:36:02 -07:00
Eric Rahm
a758e6ab82
Bug 1370070 - Avoid unnecessary string creation. r=smaug
...
MozReview-Commit-ID: LLQQrCpK630
2017-06-09 15:56:35 -07:00
Nicolas B. Pierron
45f5fab197
Bug 1370345 - Create JS bytecode mime type based on the platform BuildID instead of MOZ_BUILDID macro. r=mrbkap
2017-06-09 13:52:52 +00:00
Michael Layzell
ac7ba92fd5
Bug 1368046 - Part 1: Propagate window.name across processes for RecvCreateWindowInDifferentProcess, r=smaug
...
MozReview-Commit-ID: 6xmLN9pbCKd
2017-06-07 12:54:53 -04:00
Nicolas B. Pierron
6534093b4d
Bug 1368675 - Add multiple heuristics to trigger the JS bytecode cache encoding. r=mrbkap
2017-06-05 12:06:20 +00:00
Xidorn Quan
9640535b81
Bug 1262963 - Add env var for bypassing origin check of cssom. r=heycam
...
MozReview-Commit-ID: 2iMx3sz1QKS
--HG--
extra : rebase_source : 747934a807246b7a61b78275fdabe3cf4df46c40
2016-11-29 18:03:01 +11:00
Oriol
ece0618ecc
Bug 1369246 - Check if window pointer is null before attempting to call a method. r=baku
2017-06-01 06:45:00 -04:00
John Schoenick
4ce6580106
Bug 558184 - Part 4.3 - Load fake plugin handlers as eType_FakePlugin in nsObjectLoadingContent. r=peterv.
...
--HG--
extra : rebase_source : 4683568e90fd65a38c974aa755dd5f6f94479ee3
extra : source : 8e4be859c1a1ec73b29df98422d5ee6935cd9aa9
2015-05-20 15:30:05 +02:00
Xidorn Quan
ac6cc1d36a
Bug 1368418 part 3 - Remove nsCategoryImp. r=emk
...
MozReview-Commit-ID: 5qCoeqfM2s5
--HG--
extra : rebase_source : 6dc1693ce61bea4ec35469a3388c75a9fb64e5b3
2017-05-29 16:17:39 +10:00
Kershaw Chang
383c9e3e60
Bug 1312515 - Part 1: Lower the channel's priority if this XHR is created from tracking script. r=baku
...
With nsIDocument::IsScriptTracking, we know that whether a script is a tracking script. If the XHR is created by a tracking script, we want to lower the priority of the http channel.
--HG--
extra : rebase_source : 7c9d2a545968a50c8ec34a3395132f0d99087058
2017-05-19 01:28:00 -04:00
Michael Layzell
0700aeac13
Bug 1360441 - Disable the IsHandlingUserInput timeout for execCommand(copy/cut) commands, r=ehsan
...
MozReview-Commit-ID: 341K1DEsVCg
2017-05-18 16:51:48 -04:00
Ehsan Akhgari
c390c86ef6
Bug 1365836 - Inline nsContentUtils::InternalContentPolicyTypeToExternal(OrPreload); r=mystor
2017-05-18 15:47:47 -04:00
Aryeh Gregor
c25169914e
Bug 1359822 - Match standard for colSpan/rowSpan, r=mystor
...
MozReview-Commit-ID: 6bNJL3QkLg2
2017-05-17 17:29:00 -04:00
Boris Zbarsky
42bf67a17e
Bug 1364589. Include the custom content container in the list AppendDocumentLevelNativeAnonymousContentTo returns. r=heycam
2017-05-15 12:25:00 -04:00
Nicolas Silva
882493b81e
Bug 1362303 - Don't use a Shmem we failed to allocate in nsContentUtils. r=Bas
2017-05-15 12:15:48 +02:00
Michael Layzell
c0af0974b3
Bug 1353440 - Part 2: Don't register the annotator until after the HangMonitor has started, r=ehsan
...
MozReview-Commit-ID: 2QJMRAUQraL
2017-05-12 19:47:40 -04:00
Cameron McCormack
61b9d0300f
Bug 1361235 - Part 1: Clear ServoElementData from doomed NAC before adding the script runner that would destroy it. r=emilio
...
MozReview-Commit-ID: KqJelGoA4NU
--HG--
extra : rebase_source : eaa5e9fa6bc990fc3032768e47ca03227d035747
2017-05-11 18:03:02 +08:00
Kris Maglione
503713f913
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
2017-04-17 21:41:18 -07:00
Wes Kocher
1b5ad2c128
Merge inbound to central, a=merge
...
MozReview-Commit-ID: DfRZi0gKjit
2017-05-10 16:48:03 -07:00
johndai1984
2ce869a458
Bug 1340477 - Support feature detection for autocomplete attribute. r=smaug
2017-05-09 22:57:00 -04:00
Milan Sreckovic
725d1c193f
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: 5ugh3Ma0OtH
--HG--
extra : rebase_source : 956a7a0535c3b7433fadfa65d0cfc26d9915f61a
2017-05-10 13:12:36 -04:00
Carsten "Tomcat" Book
d66b9f27d5
merge mozilla-inbound to mozilla-central a=merge
2017-05-10 15:07:28 +02:00
Kartikaya Gupta
9e5e792b0f
Back out bug 1353060 (3 csets) for possibly causing a checkerboarding regression. r=backout
...
MozReview-Commit-ID: AIHvzAUUCeu
2017-05-09 13:23:20 -04:00
Tom Tung
0e308b0c4f
Bug 1348050 - Part 3: Mark channel as urgent-start for loading image. r=baku,mayhemer
...
This part is mainly to mark the channel as urgent-start if src related
attributes in HTMLImageElement and HTMLInputElement is set and the channel is
open due to user interaction. Unfortunately, we cannot just check the event
state just after creating channel since some loading image tasks will be queue
and execute in stable state. Thus, I store the event state in elements and
pass it to the place where create the channel.
MozReview-Commit-ID: GBdAkPfVzsn
--HG--
extra : rebase_source : 715352317b4b600f8a7f78b7bc22b894bb272d27
2017-04-25 09:17:38 +08:00
Iris Hsiao
51711c7e82
Merge mozilla-central to autoland
2017-05-08 11:19:04 +08:00
btian
4a15743eb6
Bug 1338059 - Part 2: Implement PromiseRejectionEvent, r=bz
...
MozReview-Commit-ID: 6BZBL9BjO03
--HG--
extra : rebase_source : 1f7aece35191a23b6db9f574fdfdc3a634c9a634
2017-05-05 11:30:19 +08: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
Tim Huang
a0b6e42c61
Bug 1330890 - Part 1: Spoofing the time zone as UTC when fingerprinting resistance is enabled (adopt from Tor #16622 ). r=arthuredelstein,Ehsan
...
This patch adds a new service for fingerprinting resistance, which is called
nsRFPService. This service will be put in /toolkit/components/resistfingerprinting.
This service is responsible for observing the change of pref 'privacy.resistfingerprinting'
and doing underlying jobs. And it also in charge of caching pref setting of
'privacy.resistfingerprinting' and changing environment value 'TZ'.
This service will be initialized within nsContentUtils::Init(). During initialization,
it will store the original TZ value and set the value according to 'privacy.resistfingerprinting'.
It also changes environment value 'TZ' and calls nsJSUtils::ResetTimeZone() in
response to the change of the pref.
This service is only a nsIObserver for now. In the future, however, it will be
responsible for more fingerprinting resistance jobs, like changing prefs after
'privacy.resistfingerprinting' is changed.
The environment variable 'TZ' will be set to 'UTC' when 'privacy.resistFingerprinting'
is true. By doing so, Firefox will use UTC as its local time zone instead of the
default local time zone. This prevents a browser be fingerprinted through the local time zone.
After the 'privacy.resistFingerprinting' is turned off, the service will restore
'TZ' back to the original TZ setting, the user's setting or the default system timezone.
MozReview-Commit-ID: 8V47ZATgrKE
--HG--
extra : rebase_source : a35d35e8f8bbf5f5015271d3df3c32420702506c
2017-05-02 15:21:04 +08: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
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