Margareta Eliza Balazs
448f792f96
Merge inbound to mozilla-central. a=merge
2018-07-13 11:52:00 +03:00
Andrea Marchesini
bc5414c5f3
Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap
2018-07-12 19:33:41 +02:00
Masayuki Nakano
7581aff013
Bug 1450882 - part 4: Make C++ users of nsICommandParams use nsCommandParams directly r=Ehsan
...
nsICommandParams is implemented only by nsCommandParams. So, all C++ users
can treat all instances of nsICommandParams as nsCommandParams. Therefore,
this patch makes all set/get value calls use non-virtual methods and all
constructors directly create nsCommandParams instance.
MozReview-Commit-ID: CscgK0gKp5g
--HG--
extra : rebase_source : 62eb0f60aada795a44cf5496cdafbff6cba80013
2018-07-10 20:04:21 +09:00
Masayuki Nakano
5a2332692a
Bug 1450882 - part 2: Make nsICommandParams::GetCStringValue() and nsICommandParams::SetCStringValue() treat nsACString instead of char r=Ehsan
...
nsICommandParams::GetCStringValue() and nsICommandParams::SetCStringValue()
treat char. However, this makes their callers complicated. So, they should
be rewritten as treating nsACString.
MozReview-Commit-ID: DWO9veSyzyG
--HG--
extra : rebase_source : fbea13f6d7116ea1887434c0842b7768a7dc59ec
2018-07-10 18:04:46 +09:00
Brian Birtles
a2a2e0da37
Bug 1475162 - Drop dom.animations-api.element-animate.enabled pref; r=bz
...
MozReview-Commit-ID: 5xKS30NmNbL
--HG--
extra : rebase_source : c34e8da8a04bee15d40c719db5e57037899cddd8
2018-07-12 15:56:05 +09:00
Andreea Pavel
10f6df7c1f
Merge mozilla-central to autoland. a=merge on a CLOSED TREE
...
--HG--
rename : dom/webidl/ScrollBoxObject.webidl => dom/chrome-webidl/XULScrollElement.webidl
rename : layout/xul/ScrollBoxObject.cpp => dom/xul/XULScrollElement.cpp
rename : layout/xul/ScrollBoxObject.h => dom/xul/XULScrollElement.h
2018-07-13 00:53:43 +03:00
Andreea Pavel
b0e30af17e
Merge mozilla-inbound to mozilla-central. a=merge
2018-07-13 00:51:26 +03:00
Emma Malysz
ce8c74748f
Bug 1454358
, removes unneccessary implementation of ScrollBoxObject rr?enndeakin+6102 r=bz,enndeakin+6102
...
MozReview-Commit-ID: LBQ0RoS0ZVc
--HG--
rename : dom/webidl/ScrollBoxObject.webidl => dom/chrome-webidl/XULScrollElement.webidl
rename : layout/xul/ScrollBoxObject.cpp => dom/xul/XULScrollElement.cpp
rename : layout/xul/ScrollBoxObject.h => dom/xul/XULScrollElement.h
extra : rebase_source : 6a0de76dfdacbc29d261a4aea703a44f87ad7e12
2018-06-25 10:11:31 -07:00
Kris Maglione
03bf0b5bdd
Bug 1463587: Part 2 - Add a shared-memory structured clone key-value store. r=erahm,bz
...
This class allows one read-write copy of a map in the parent process to share
data with multiple read-only copies in child processes. The maps only hold
onto data as structured clone blobs, and deserialize them each time a key is
read.
This commit only provides the bare-bones data structures. Follow-ups will add
bindings, change events, and automatic flushes.
MozReview-Commit-ID: LimwfmFBNOi
--HG--
extra : rebase_source : e43985c39bd1cfd05a2ad536b0d7f74db494a753
extra : source : c27295337b4c16e2a178106a3aa873d2a0e5a1f4
2018-06-22 20:35:49 -07:00
Boris Zbarsky
baa09fe66a
Bug 1465907 part 2. Remove nsIAttribute. r=mccr8
2018-07-12 15:51:52 -07:00
Boris Zbarsky
e503d9a052
Bug 1465907 part 1. Remove nsIAttribute::GetMap, SetMap, SetOwnerDocument, NodeInfo methods. r=mccr8
2018-07-12 15:51:52 -07:00
Mike Conley
8d779048d3
Bug 1474662 - Add tests for chromeOuterWindowID. r=baku
...
MozReview-Commit-ID: 5lMMvtvdVVm
--HG--
extra : rebase_source : 90f6540a937956ea3dd634b639e022de9eef9506
2018-07-11 16:36:24 -04:00
Mike Conley
68124c74d2
Bug 1474662 - Add chromeOuterWindowID to TabContext. r=baku,kmag
...
MozReview-Commit-ID: CAwDMW6rhE7
--HG--
extra : rebase_source : 23ca5d63eeb2ea3ba2bbba37da2bcf55dd7af55a
2018-07-10 22:31:55 -04:00
Hiroyuki Ikezoe
f5027435f0
Bug 1474247 - Introduce nsDOMWindowUtils.isAnimationPending(). r=birtles
...
It might be possible that we can check whether an animation is being tracked
by the pending animation tracker without this function to count layout flush
since we force to flush layout if there is any pending animations [1]. But
it will probably result complicated test cases. So to make test cases simple,
we introduce a new function which just checking whether a given animation is
being tracked by the pending animation tracker.
[1] https://hg.mozilla.org/mozilla-central/file/3d20b0701781/layout/base/nsRefreshDriver.cpp#l1957
MozReview-Commit-ID: 4lWuOYCucaD
--HG--
extra : rebase_source : a42866d1b9828820c112ac8f756372648da8763f
2018-07-12 14:37:50 +09:00
Boris Zbarsky
9f65fcc29a
Bug 1474045
. Make nsIScriptGlobalObject::HandleScriptError non-virtual. r=qdot
2018-07-11 14:17:01 -07:00
Ciure Andrei
a06838e1b6
Backed out 1 changesets (bug 1473637) for frequent wpt failures inputevent-constructor.htm/window-named-properties-002.html CLOSED TREE
...
Backed out changeset 5342b206e024 (bug 1473637)
2018-07-11 21:08:24 +03:00
Emilio Cobos Álvarez
8d2f22c0d8
Bug 1473637: Unbind ShadowRoot during unlinking. r=smaug
...
MozReview-Commit-ID: 7cWtZ5epRqK
2018-07-11 15:42:52 +02:00
Jan de Mooij
4f7b2378dc
Bug 1474273 - Add xpc::CurrentNativeGlobal and use it instead of NativeGlobal(JS::CurrentGlobalOrNull(cx)). r=bz
2018-07-11 14:07:02 +02:00
shindli
c1bbe21ac6
Backed out 2 changesets (bug 1474651) for lint failure in /builds/worker/checkouts/gecko/toolkit/components/antitracking/test/browser/popup.html:8:126 on a CLOSED TREE
...
Backed out changeset f05247b25d5e (bug 1474651)
Backed out changeset acee48580902 (bug 1474651)
2018-07-11 13:57:22 +03:00
Andrea Marchesini
06d77e5419
Bug 1474651 - Grant storage access to 3rd party, tracking resource on window.open(), r=ehsan
2018-07-11 12:38:47 +02:00
shindli
7c9476695a
Merge mozilla-central to inbound. a=merge CLOSED TREE
...
--HG--
rename : tools/tryselect/vcs.py => tools/tryselect/push.py
extra : rebase_source : a9f669ebcc49d48fda0a4eb1eab4f3b9b185eae2
2018-07-11 12:46:51 +03:00
Florian Quèze
b422dc7537
Bug 1474643 - make ReportPerformanceInfo's isTopLevel report the correct information, r=baku.
2018-07-11 10:41:17 +02:00
Chris Peterson
2ef77b9ac9
Bug 1472618 - Make navigator.platform return "Win32", even on Win64 OS. r=peterv
...
navigator.platform returns "Win64" in 64-bit Firefox and IE, but "Win32" in 64-bit Chrome and Edge. "Win32" appears to be the de facto platform value for Windows. This change doesn't hide the OS architecture from web content because navigator.userAgent still mentions "Win64; x64" in 64-bit Firefox, Chrome, Edge, and IE.
MozReview-Commit-ID: CplYnGDQgTe
--HG--
extra : rebase_source : c00a1a7462ea91d44700dd0581c88c1c4cad2346
extra : source : 1976c327f251702be255a9d0769121c6bc5303a1
2018-07-02 11:02:23 -07:00
Cosmin Sabou
26e792fe42
Merge autoland to mozilla-central. a=merge
2018-07-11 00:50:32 +03:00
Andreea Pavel
41fc51d32b
Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
2018-07-10 19:38:34 +03:00
Andreea Pavel
a80651653f
Merge mozilla-inbound to mozilla-central. a=merge
2018-07-10 19:33:22 +03:00
Boris Zbarsky
e2156c39cb
Bug 820891 part 3. Make scroll* properties for tables work with the table wrapper box, not the table box. r=dholbert
...
--HG--
rename : testing/web-platform/tests/css/cssom-view/table-client-props.html => testing/web-platform/tests/css/cssom-view/table-scroll-props.html
2018-07-10 09:28:11 -07:00
Boris Zbarsky
ebe5685319
Bug 820891 part 2. Make client* properties for tables work with the table wrapper box, not the table box. r=dholbert
...
--HG--
rename : testing/web-platform/tests/css/cssom-view/table-offset-props.html => testing/web-platform/tests/css/cssom-view/table-client-props.html
2018-07-10 09:28:09 -07:00
Andrea Marchesini
5fff1762ad
Bug 1418236 - Correct EventTarget for CSP violation events, r=ckerschb
2018-07-10 17:40:21 +02:00
Andrea Marchesini
793d7d9ab1
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 9 - fix a include issue related to window.h, r=smaug
2018-07-10 10:10:00 +02:00
Andrea Marchesini
0a542c2c05
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 7 - cookies, r=ehsan
2018-07-10 10:09:59 +02:00
Andrea Marchesini
d983dd1bcd
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 6 - DOM cache, r=ehsan
2018-07-10 10:09:59 +02:00
Andrea Marchesini
8afcfe8e31
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 4 - workers, r=ehsan
2018-07-10 10:09:59 +02:00
Andrea Marchesini
2227a5e089
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 3 - using permissions, r=ehsan
2018-07-10 10:09:59 +02:00
Andrea Marchesini
ba1f8971c7
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 2 - storing first user interaction in nsILoadInfo, r=ehsan
2018-07-10 10:09:59 +02:00
Andrea Marchesini
e6921e1adc
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 1 - storing first user interaction in a document with an opener window, r=ehsan
2018-07-10 10:09:58 +02:00
Tarek Ziadé
47344f4b4a
Bug 1474253 - Improve ReportPerformanceInfo() - r=baku
...
- modifies how we get the top window id, adds isTopLevel
- renames pwid to windowId, worker to isWorker
- removes the wid field
- uses the url in case the host is empty
It also fixes PerformanceInfoDictionary.host type
MozReview-Commit-ID: 4AzO3UnJ2LM
--HG--
extra : rebase_source : 5dee8a650064fd45e7a9e694c2593d517f74d766
2018-07-10 09:58:48 +02:00
Olli Pettay
942718eef1
Bug 1466581, handle sequential focus also in nested shadow DOM, r=mrbkap
2018-07-10 01:56:42 +03:00
Jan de Mooij
50c616a988
Bug 1473865 part 3 - Inline nsJSUtils::GetStaticScriptGlobal into its callers. r=bz
2018-07-09 12:26:59 +02:00
Jan de Mooij
0f8c18a11f
Bug 1473865 part 2 - Remove unused nsContentUtils::GetDocumentFromCaller. r=bz
2018-07-09 12:26:49 +02:00
Jan de Mooij
6b3e0e4aee
Bug 1473865 part 1 - Remove unused nsJSUtils::GetStaticScriptContext. r=bz
2018-07-09 12:26:39 +02:00
Margareta Eliza Balazs
c37b51f523
Backed out 9 changesets (bug 1469993) for causing bustage in build/srcdom/base/nsGlobalWindowInner.cpp on a CLOSED TREE
...
Backed out changeset e89192032fe2 (bug 1469993)
Backed out changeset 4b261595099d (bug 1469993)
Backed out changeset 37182cfe869c (bug 1469993)
Backed out changeset 5b9870995c73 (bug 1469993)
Backed out changeset 55499fcd9738 (bug 1469993)
Backed out changeset 8c1c838d54ba (bug 1469993)
Backed out changeset 12b9c8bfa41f (bug 1469993)
Backed out changeset 04ab7d6c169a (bug 1469993)
Backed out changeset 53885d61244e (bug 1469993)
2018-07-10 11:32:34 +03:00
Andrea Marchesini
ad48d9c804
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 9 - fix a include issue related to window.h, r=smaug
2018-07-10 10:10:00 +02:00
Andrea Marchesini
de64db476d
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 7 - cookies, r=ehsan
2018-07-10 10:09:59 +02:00
Andrea Marchesini
dd80ba24d3
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 6 - DOM cache, r=ehsan
2018-07-10 10:09:59 +02:00
Andrea Marchesini
a8d6a7382d
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 4 - workers, r=ehsan
2018-07-10 10:09:59 +02:00
Andrea Marchesini
f34232490a
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 3 - using permissions, r=ehsan
2018-07-10 10:09:59 +02:00
Andrea Marchesini
637cab9bf6
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 2 - storing first user interaction in nsILoadInfo, r=ehsan
2018-07-10 10:09:59 +02:00
Andrea Marchesini
4322df2e13
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 1 - storing first user interaction in a document with an opener window, r=ehsan
2018-07-10 10:09:58 +02:00
Andreea Pavel
3e043423dd
Merge mozilla-central to autoland. a=merge on a CLOSED TREE
2018-07-10 19:36:46 +03:00