Commit Graph

12416 Commits

Author SHA1 Message Date
Brian Birtles
ba8b99bbb7 Bug 1355348 - Move IsFlattenedTreeDescendantOf helper to nsContentUtils; r=heycam
In the next patch in this series we would like to use this functionality in
nsSMILController as well so this patch moves it to somewhere we can share it.

MozReview-Commit-ID: 1IzWoCCw4aD

--HG--
extra : rebase_source : 9f2b230f774135c0c5bf60ebdff358ce0a6bc087
2017-04-26 13:00:10 +09:00
Wes Kocher
226702fd85 Merge m-c to autoland a=merge
MozReview-Commit-ID: LOGgOErcV9L
2017-04-26 17:43:38 -07:00
Wes Kocher
c90904f9bf Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: 9HQViJrDT6S
2017-04-26 17:30:31 -07:00
Sebastian Hengst
f46ebb0d94 Backed out changeset aebb0ceeb20a (bug 1351548) 2017-04-26 13:12:53 +02:00
Jon Coppeard
eb3c9870bf Bug 1352430 - Add barrier to wrapper cache to clear dying objects that have not yet been finalized r=bz r=sfink
* * *
Code review followup

--HG--
extra : rebase_source : 10c1fd603c2dd1ac2ff5770ae9aec2e9131681ce
2017-04-26 11:18:39 +01:00
Shing Lyu
96b400c04a Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: Gn0fbS4PZ7i
2017-04-26 18:21:52 +08:00
Carsten "Tomcat" Book
68e9a2dfd5 Merge mozilla-central to mozilla-inbound 2017-04-26 09:04:59 +02:00
Yoshi Huang
c4b31e21c7 Bug 1359009 - move bug902350 files to browser.ini. r=gps 2017-04-26 14:46:32 +08:00
Carsten "Tomcat" Book
d9cce3c040 merge autoland to mozilla-central a=merge 2017-04-26 08:40:02 +02:00
Nicholas Nethercote
bc1d6a21a2 Bug 1358320 - Make TimeStamp::ProcessCreation()'s outparam optional. r=gsvelto.
TimeStamp::ProcessCreations()'s aIsInconsistent outparam is ignored by the
majority of its caller. This patch makes it optional. Notably, this makes
ProcessCreation() easier to use in a constructor's initializer list.
2017-04-26 14:55:54 +10:00
Wes Kocher
5e8bdb175d Merge inbound to m-c a=merge
MozReview-Commit-ID: A85cs7Yriqj
2017-04-25 13:53:00 -07:00
Emilio Cobos Álvarez
6fe2b3e89d Bug 1355351: Simplify nsLayoutUtils callers, and make child iterators notice display: contents pseudos. r=heycam
This also happens to fix other bugs, like making display: contents pseudos
animatable, which weren't before.

MozReview-Commit-ID: LhwTPNbFvSZ

--HG--
extra : rebase_source : 785105b08d6bfa15ad257e61b769a263c6810ad0
2017-04-19 12:53:57 +02:00
Emilio Cobos Álvarez
de9ddcaddd Bug 1355351: Add a node property to access the ::before and ::after pseudo-elements. r=heycam
MozReview-Commit-ID: FJxJp2U0Lxh

--HG--
extra : rebase_source : 062f952aafcda95ca3b0eba69389999c20cb4458
2017-04-16 17:29:49 +02:00
Christoph Kerschbaumer
7711007990 Bug 1359092 - Extend loadURI within nsIWebNavigation.idl by a triggeringPrincipal argument. r=bz 2017-04-25 12:22:25 +02:00
Andrea Marchesini
4c39212973 Bug 1358115 - Use IPCBlob in DataTransfer, r=smaug 2017-04-24 12:16:50 +02:00
L. David Baron
b8bdb7a778 Bug 1355353 - Give nsINode::GetProperty a fast path for nodes that do not have properties. r=peterv
I wasn't able to measure any performance improvement on talos.  I
haven't tried to measure anything more specific.

However, it seems like avoiding a hashtable lookup should be worthwhile.

(At one point I thought I saw nsINode::GetProperty show up as
significant in a profile, but then I concluded I was mislead, I think
because I had focused on a very small slice of the profile and the
numbers weren't significant.  I don't entirely remember since this was a
while ago.)

MozReview-Commit-ID: A9OoL9qV02D

--HG--
extra : transplant_source : 2%B15e1%F3%D7%BD%EFW%9C%97%BC5%BC%BB%943%E57
2017-04-25 16:15:37 +08:00
Carsten "Tomcat" Book
9155c12847 merge autoland to mozilla-central a=merge 2017-04-25 11:23:43 +02:00
Iris Hsiao
3b17383f8d Merge mozilla-central to autoland 2017-04-25 11:28:40 +08:00
Iris Hsiao
1548482ea5 merge mozilla-inbound to mozilla-central a=merge 2017-04-25 11:21:30 +08:00
Wes Kocher
0c551a1721 Merge inbound to central, a=merge
MozReview-Commit-ID: 2tbIf1rfy0p
2017-04-24 15:53:30 -07:00
Carsten "Tomcat" Book
8e84189916 Merge mozilla-central to mozilla-inbound 2017-04-24 16:07:21 +02:00
Sebastian Hengst
d4b4629dd4 Backed out changeset a10d45c7d6de (bug 1358115) for failing mochitest test_blob_worker_xhr_read_slice.html. r=backout 2017-04-24 14:06:29 +02:00
Andrea Marchesini
b48412eef0 Bug 1358115 - Use IPCBlob in DataTransfer, r=smaug 2017-04-24 12:16:50 +02:00
Andrea Marchesini
dca7c55a43 Bug 1353629 - PBlob refactoring - part 14 - tests, r=smaug
--HG--
rename : dom/base/test/browser_bug1307747.js => dom/file/ipc/tests/browser_ipcBlob.js
2017-04-24 12:09:41 +02:00
Daisuke Akatsuka
7074d51c3c Bug 1357993: Set dom.animations-api.core.enabled preference. r=hiro
We need 'dom.animations-api.core.enabled' preference to test animation.
In this patch, set the preference before DOMWindowUtils test with animation.

MozReview-Commit-ID: 9lz0hWvyo83

--HG--
extra : rebase_source : 1972bab70063a354efb57115b8ffed9e1bb41623
2017-04-24 16:53:59 +09:00
Ehsan Akhgari
6399dc4d9a Bug 1356922 - Part 1: Replace the next TabParent global pointer with per-window/tab next TabParent ID; r=billm,mconley
This patch replaces the usage of sNextTabParent pointer to store the next
PBrowser parent actor to be used by the next frame loader with the
following information:

  * In the case where the content JS has requested a new tab, the ID of the
    next TabParent will be stored on the <xul:browser> element.
  * In the case where the content JS has requested a new window, the ID of
    the next TabParent will be stored on the created nsXULWindow.
2017-04-24 14:18:29 -04:00
Ehsan Akhgari
d88f29c686 Bug 1358709 - Part 3: Avoid calling PCToLineNumber before showing the slow script info bar in the content process; r=billm 2017-04-24 14:15:53 -04:00
Ehsan Akhgari
a628d03be7 Bug 1358709 - Part 2: Remove the SlowScriptData.lineno IPDL field and the glue code; r=bill 2017-04-24 14:15:52 -04:00
Carsten "Tomcat" Book
fd0681d297 Backed out changeset 827141143dc9 (bug 1313927) for test failures in own test 2017-04-24 08:08:39 +02:00
Iris Hsiao
8b9629d52e Merge mozilla-central to mozilla-inbound 2017-04-24 12:04:12 +08:00
Tobias Schneider
01c33ba7f8 Bug 1313927 - Create separated test to disable it on Android only. r=jet
--HG--
extra : rebase_source : 86f018772eff4240c6c5415a41b9f0f610a615d6
2017-04-21 12:08:48 -07:00
Masatoshi Kimura
509e520eda Bug 1197497 - Convert the button rect to device coordinates correctly instead of casting CSS coordinates. r=jfkthame
MozReview-Commit-ID: EqyHnJpp2tU

--HG--
extra : rebase_source : 046b39dbd5f5977459154e30a3358151b923d4d5
2017-04-22 08:51:18 +09:00
Wes Kocher
c296c00a82 Merge m-c to autoland, a=merge
MozReview-Commit-ID: FvBazP0CwKm
2017-04-21 17:39:39 -07:00
Nicolas B. Pierron
cf3fce3eb4 Bug 900784 part 1.6 - Add a test case for the JS start-up bytecode cache. r=mrbkap 2017-04-21 16:57:58 +00:00
Nicolas B. Pierron
c6509f9e01 Bug 900784 part 1.5 - Encode JS bytecode when no more scripts are executed. r=mrbkap 2017-04-21 16:57:58 +00:00
Nicolas B. Pierron
5b59221f67 Bug 900784 part 1.4 - Decode JS bytecode either off/on-main-thread. r=mrbkap 2017-04-21 16:57:58 +00:00
Nicolas B. Pierron
86094a7a6d Bug 900784 part 1.3 - Add SRI hash import/export code from/to JS bytecode cache. r=francois,mrbkap 2017-04-21 16:57:57 +00:00
Nicolas B. Pierron
287c866026 Bug 900784 part 1.2 - Request JS bytecode if any is present in the cache. r=mrbkap 2017-04-21 16:57:57 +00:00
Nicolas B. Pierron
d52b01efa3 Bug 900784 part 1.1 - Add nsScriptLoader::mDataType to track the type of the loaded content. r=mrbkap 2017-04-21 16:57:57 +00:00
Nicolas B. Pierron
49b55aae35 Bug 900784 part 1.0 - Add nsJSUtils functions for encoding and decoding the bytecode. r=mrbkap 2017-04-21 16:57:57 +00:00
Nicolas B. Pierron
0e685e0450 Bug 900784 part 0.12 - Assert nsScriptLoadRequest::mProgress state in nsScriptLoader methods. r=mrbkap 2017-04-21 16:57:57 +00:00
Carsten "Tomcat" Book
975e251aff merge mozilla-inbound to mozilla-central a=merge 2017-04-21 10:57:02 +02:00
Masayuki Nakano
3d8bbc6723 Bug 1217700 part.3 Expose text change, selection change and position change notifications to nsITextInputProcessorCallback with nsITextInputProcessorNotification r=smaug
For testing IMEContentObserver, text change, selection change and position change notifications should be exposed to JS with nsITextInputProcessorNotification.

MozReview-Commit-ID: 3PUhKXRwnAn

--HG--
extra : rebase_source : fce7a73683a2d4811070453629ef48d3ad15c8c8
2017-04-20 20:17:03 +09:00
Mike Conley
cb7e9a244f Bug 1348409 - Stop supporting the showDialog argument for window.find r=mrbkap
The dialog functionality of the non-standard window.find API has been broken
with e10s since it shipped, and bug 1182569 or bug 1232432 (or both) have
broken it for non-e10s.

This patch remove showDialog support entirely, for both e10s and non-e10s,
in a more deliberate way. We now ignore the argument.

MozReview-Commit-ID: 1CTzgEkDhHW

--HG--
extra : rebase_source : 9aa9623ef649fb2c42ad22738130c361acf6b8cc
2017-04-13 11:54:15 -04:00
Dão Gottwald
68cae4872b Bug 1358809 - Remove unnecessary layout flush for outerWidth and outerHeight. r=bz
MozReview-Commit-ID: KxHerjjGF9Z

--HG--
extra : rebase_source : 6248d8bea2629be0c5d93e7377dae4213fd715dd
2017-04-25 12:25:03 +02:00
Morris Tseng
7eb27c99ad Bug 1358961 - IsPartOfOpaqueLayer should consider ColorLayer as well. r=mattwoodrow
MozReview-Commit-ID: 9PUKdz7m1uJ
2017-04-25 11:02:48 +08:00
Luke Chang
03c1939e54 Bug 1355438 - [Form Autofill] Implement an internal-only pseudo-class for highlighting elements with an autofilled value. r=heycam
MozReview-Commit-ID: BUqAWSekPsh

--HG--
extra : rebase_source : c3c9b7a98ca5895eb56c8b07b4c3845e6ac71de0
2017-04-20 17:44:14 +08:00
Wes Kocher
5ce5528fb1 Merge inbound to m-c a=merge
MozReview-Commit-ID: DQDuEiYLWCO
2017-04-20 15:30:43 -07:00
Wes Kocher
2fce16d9d0 Backed out changeset d20f6afea6f0 (bug 1348409) for android failures in test_no_find_showDialog.html a=backout
MozReview-Commit-ID: Hq6Ebrk1OJ0

--HG--
extra : source : 732dd62950212183eb8c3351be00b17980547468
2017-04-20 13:20:47 -07:00
Sebastian Hengst
6ec8cf2a49 Backed out changeset d4ab7cc36551 (bug 1353629)
--HG--
rename : dom/file/ipc/tests/browser_ipcBlob.js => dom/base/test/browser_bug1307747.js
2017-04-20 18:36:23 +02:00