Jan Keromnes
318d0bac14
Bug 1376628 - Use nullptr where possible in dom/base/ (clang-tidy: modernize-use-nullptr). r=ehsan
2017-06-27 17:23:00 -04:00
Michael Layzell
7c9833668a
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-28 12:25:29 -04:00
Bill McCloskey
67e8af4720
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
aff551aa1b
Merge autoland to m-c a=merge
...
MozReview-Commit-ID: LFtpTAueYrF
2017-06-20 18:24:29 -07:00
Ehsan Akhgari
adfd9a2ef3
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
4f73ba039c
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
bbe9441993
Backed out changeset 9846de3bd954 (bug 1372405)
2017-06-20 08:27:02 +02:00
Bill McCloskey
f69608368b
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
bbe33d305d
Bug 1369020 - Remove nsContentUtils::ConvertStringFromEncoding and nsContentUtils::CheckForBOM. r=hsivonen
...
MozReview-Commit-ID: E0w8BsP1Rof
2017-06-16 21:11:03 +09:00
Tim Huang
70b377a07b
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
2017-06-15 16:48:27 +08:00
Cameron McCormack
faf96c287e
Bug 1364361 - Part 3: Remove now-unnecessary clearing of ServoElementData from anonymous content destroyer callback. r=bz
...
MozReview-Commit-ID: 4nCQYU9lzKD
2017-06-16 17:22:34 +08:00
Sebastian Hengst
fa723b145c
Backed out changeset 65c77754d49c (bug 1364361)
2017-06-16 11:18:23 +02:00
Cameron McCormack
2308b0569f
Bug 1364361 - Part 3: Remove now-unnecessary clearing of ServoElementData from anonymous content destroyer callback. r=bz
...
MozReview-Commit-ID: 4nCQYU9lzKD
2017-06-16 15:37:08 +08:00
Sebastian Hengst
7e38af1b57
Backed out changeset 0952bb52c59f (bug 1364361)
2017-06-16 09:27:10 +02:00
Cameron McCormack
ae2deaaef8
Bug 1364361 - Part 3: Remove now-unnecessary clearing of ServoElementData from anonymous content destroyer callback. r=bz
...
MozReview-Commit-ID: 4nCQYU9lzKD
2017-05-22 10:17:21 +08:00
Emilio Cobos Álvarez
be614d0d72
Bug 1371130: Move AllChildrenIterator::AppendNativeAnonymousChildren to nsContentUtils. r=heycam
...
MozReview-Commit-ID: E5kfdxEWTuf
2017-06-20 14:24:34 +02:00
Henri Sivonen
7af0452b6b
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
d7552a9f9d
Bug 1197401 Remove the disabled HTML imports implementation. r=wchen
2017-06-12 07:36:02 -07:00
Eric Rahm
36a6b51f90
Bug 1370070 - Avoid unnecessary string creation. r=smaug
...
MozReview-Commit-ID: LLQQrCpK630
2017-06-09 15:56:35 -07:00
Nicolas B. Pierron
071b2839f8
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
a8091e0a2a
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
8d54146905
Bug 1368675 - Add multiple heuristics to trigger the JS bytecode cache encoding. r=mrbkap
2017-06-05 12:06:20 +00:00
Xidorn Quan
b68a3b8b64
Bug 1262963 - Add env var for bypassing origin check of cssom. r=heycam
...
MozReview-Commit-ID: 2iMx3sz1QKS
2016-11-29 18:03:01 +11:00
Oriol
9107151ceb
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
56fdf7a699
Bug 558184 - Part 4.3 - Load fake plugin handlers as eType_FakePlugin in nsObjectLoadingContent. r=peterv.
2015-05-20 15:30:05 +02:00
Xidorn Quan
151f9df969
Bug 1368418 part 3 - Remove nsCategoryImp. r=emk
...
MozReview-Commit-ID: 5qCoeqfM2s5
2017-05-29 16:17:39 +10:00
Kershaw Chang
b1df92fe41
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.
2017-05-19 01:28:00 -04:00
Michael Layzell
e4c49e7e02
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
69ead96f92
Bug 1365836 - Inline nsContentUtils::InternalContentPolicyTypeToExternal(OrPreload); r=mystor
2017-05-18 15:47:47 -04:00
Aryeh Gregor
ae54180eeb
Bug 1359822 - Match standard for colSpan/rowSpan, r=mystor
...
MozReview-Commit-ID: 6bNJL3QkLg2
2017-05-17 17:29:00 -04:00
Boris Zbarsky
c1afa879e7
Bug 1364589. Include the custom content container in the list AppendDocumentLevelNativeAnonymousContentTo returns. r=heycam
2017-05-15 12:25:00 -04:00
Nicolas Silva
70f7fd76f9
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
673d033d5d
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
5236f828ec
Bug 1361235 - Part 1: Clear ServoElementData from doomed NAC before adding the script runner that would destroy it. r=emilio
...
MozReview-Commit-ID: KqJelGoA4NU
2017-05-11 18:03:02 +08:00
Kris Maglione
252338aa41
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
d91c335fa3
Merge inbound to central, a=merge
...
MozReview-Commit-ID: DfRZi0gKjit
2017-05-10 16:48:03 -07:00
johndai1984
51e081877c
Bug 1340477 - Support feature detection for autocomplete attribute. r=smaug
2017-05-09 22:57:00 -04:00
Milan Sreckovic
381c32b166
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
2017-05-10 13:12:36 -04:00
Carsten "Tomcat" Book
c807d58426
merge mozilla-inbound to mozilla-central a=merge
2017-05-10 15:07:28 +02:00
Kartikaya Gupta
c861a54205
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
dc2648e8f2
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
2017-04-25 09:17:38 +08:00
Iris Hsiao
228fa73db4
Merge mozilla-central to autoland
2017-05-08 11:19:04 +08:00
btian
fdad9d5dc2
Bug 1338059 - Part 2: Implement PromiseRejectionEvent, r=bz
...
MozReview-Commit-ID: 6BZBL9BjO03
2017-05-05 11:30:19 +08:00
Wes Kocher
6818397cb4
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: 3HXDLRcpc9c
2017-05-05 14:20:47 -07:00
Michael Layzell
e61c3d3240
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
4a7222a909
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
2017-05-02 15:21:04 +08:00
Wes Kocher
900a24bea8
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
0e29f38811
Bug 1361301: Add nsContentUtils::GetCommonFlattenedTreeAncestor. r=smaug
...
MozReview-Commit-ID: EVyjTrjpid2
2017-05-03 12:58:34 +02:00
Emilio Cobos Álvarez
da497c56de
Bug 1361301: Extract the core algorithm from nsContentUtils::GetCommonAncestor. r=smaug
...
MozReview-Commit-ID: 7u6YaYN3dhb
2017-05-03 12:57:53 +02:00
Milan Sreckovic
09ead5e859
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
2017-05-05 13:37:13 -04:00