521181 Commits

Author SHA1 Message Date
Masatoshi Kimura
47d59c07d5 Bug 1338971 - Stop using non-standard JavaScript in AutoConfig files. r=mkaply
MozReview-Commit-ID: F2dDRHAw02S

--HG--
extra : rebase_source : ca74dd69aa51e4eb8d832161e05f98cc2b42df3c
2017-02-13 22:18:12 +09:00
Nicholas Nethercote
e3efc284a6 Bug 1340327 - Set bools earlier in profiler_start(). r=mstange.
They must be set before the call to MaybeSetProfiler(), which checks
gProfileThreads, and before the gTaskTracer check.

This patch fixes the failure of some threads (e.g. Compositor) to be profiled,
as well as allowing TaskTracer to start up again!
2017-02-18 10:16:47 +11:00
Tooru Fujisawa
27c7974fe9 Bug 1340589 - Use JSScript::mainOffset() while checking JSTRY_CATCH in dis() output. r=luke 2017-02-18 07:59:58 +09:00
Tooru Fujisawa
e87582e27e Bug 1340089 - Check the binding name in comprehensionFor. r=till 2017-02-18 07:59:57 +09:00
Brian Hackett
55ab200a7c Bug 1337968 - Add API and shell harness for cooperative multithreading, r=jandem.
--HG--
extra : rebase_source : 077c7f0d3ba4cb5e45303715809be95690294816
2017-02-17 05:13:11 -07:00
Steve Fink
845b81bada Bug 1339481 - Specialize writing bytes in structured clone, r=kanru
--HG--
extra : rebase_source : 5fec9a98f61a448f870609d2f05734b2cc2be395
2017-02-14 21:29:24 -08:00
Robert Strong
ddd054b394 Bug 1329692 - Ship updated Firefox system add-on to change app.update.url preference for Websense with new endpoint version check. r=felipc, r=bsmedberg for data 2017-02-17 14:04:46 -08:00
Wes Kocher
a85d979e21 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 18xg2cleATb
2017-02-17 13:51:01 -08:00
Lee Salzman
f66ac66a97 Bug 1303094 - make SourceSurfaceSkia allocation fallible by using sk_malloc. r=mchang
MozReview-Commit-ID: 7l3fOG0kkq0
2017-02-17 16:41:58 -05:00
Kim Moir
4ecbdfe247 Bug 1339604 - stylo builds + tests should only run on m-c and stylo branch to reduce budget impact r=kmoir a=merge
MozReview-Commit-ID: Lwph8g1ALVt

--HG--
extra : source : 4f8aecb0f44f4801e6c277077e788516e6dd31de
extra : amend_source : 2a26aa2b1904bc1058b41d75283c275570be5e66
2017-02-17 16:38:30 -05:00
Kim Moir
d5636fd62d Bug 1339604 - stylo builds + tests should only run on m-c and stylo branch to reduce budget impact r=kmoir DONTBUILD 2017-02-17 16:38:30 -05:00
Jeff Gilbert
147e826b27 Bug 1338862 - Update tests for WEBGL_debug_renderer_info. - r=daoshengmu
MozReview-Commit-ID: HkFj3pc6EzE
2017-02-17 13:10:02 -08:00
Kim Moir
ab418078b0 Bug 1339604 - stylo builds + tests should only run on m-c and stylo branch to reduce budget impact r=bholley a=merge
MozReview-Commit-ID: 2YlYAeoRHXC

--HG--
extra : source : 2fe83738221a0d438ccd33ffe8c9ee3c980c1ab3
2017-02-17 15:29:47 -05:00
Kim Moir
ee0b5568cc Bug 1339604 - stylo builds + tests should only run on m-c and stylo branch to reduce budget impact r=bholley 2017-02-17 15:29:47 -05:00
Manish Goregaokar
f20f88ea6f Bug 1339252 - Remove csscomment reftest from stylo too; r=bz
MozReview-Commit-ID: FPZFXcwpjKi
2017-02-17 12:18:59 -08:00
Kim Moir
ff5a946da7 Bug 1339604 - stylo builds + tests should only run on limited branches to reduce budget impact r=dustin a=merge
MozReview-Commit-ID: 8SOmDuN6TTL

--HG--
extra : source : 5fbcbdd6849379c48ce869d4ed0e8083af9b8d23
2017-02-17 13:31:39 -05:00
Wes Kocher
8c4ce17711 Merge inbound to m-c a=merge
MozReview-Commit-ID: DCUf7VEDrTt
2017-02-17 13:38:51 -08:00
Wes Kocher
700ed47352 Merge autoland to central, a=merge
MozReview-Commit-ID: 3ZIZ9QEVArE
2017-02-17 12:45:42 -08:00
Sebastian Hengst
4a88679614 Backed out changeset 65d7f3924ba6 (bug 1316291) for failing mochitest devtools/client/netmonitor/test/browser_net_copy_headers.js. r=backout 2017-02-17 18:47:59 +01:00
Sebastian Hengst
1c76e41767 Backed out changeset 94ecf75560ac (bug 1316291) 2017-02-17 18:47:21 +01:00
Sebastian Hengst
b7335ca0a0 Backed out changeset 0b49523fc19d (bug 1316291) 2017-02-17 18:47:16 +01:00
Honza Bambas
af9b0f549f Bug 1340260 - Fix gtest Werror build bustage on a CLOSED TREE. 2017-02-17 12:35:59 -05:00
Alex Chronopoulos
3d4c312be6 Bug 1339816 - Update cubeb from upstream to 8977c13b. r=padenot a=needmacnightlyrespin
MozReview-Commit-ID: 942LCa6dOzJ

--HG--
extra : source : 9416a107fa60f31c745acf7821b52cd5a8ef8e98
2017-02-17 19:20:34 +02:00
Alex Chronopoulos
c6c623b8a3 Bug 1339816 - Update cubeb from upstream to 8977c13b. r=padenot
MozReview-Commit-ID: 942LCa6dOzJ
2017-02-17 19:20:34 +02:00
Michael Layzell
68c95714ca Bug 1338241 - Part 4: Add tests for dragging browsers into new windows, r=smaug
MozReview-Commit-ID: XwwrAbeyhy
2017-02-17 12:01:41 -05:00
Michael Layzell
108e36d2e0 Bug 1338241 - Part 3: Relax the SwapWithOtherRemoteLoader swap check, r=bz
In bug 1147911, the concept of a remoteType was added to a xul:browser.
This was an attribute which would control the type of remote process was
intended to be used to load the page.

In order to swap two frameLoaders, it has always been necessary for them
to either both contain remote content, or both contain non-remote
content. This check is made in nsFrameLoader::SwapWithOtherLoader, by
checking `IsRemoteFrame() != aOther->IsRemoteFrame()`, and then
returning `NS_ERROR_NOT_IMPLEMENTED` if that was not the case.

In the follow-up bug 1317293, the check which is being removed here was
added to ensure that the remoteType of two frameLoaders which are being
swapped also matched. This was not a technical limitation, but rather
something which "seemed to make sense to do".

This bug removes that check as it is not a technical limitation and
causes problems in edge cases around Large-Allocation processes now that
the remoteType is being used to denote a Large-Allocation process.
Namely, it means that attempting to drag a Large-Allocation window into
a new window when at the Large-Allocation process cap will fail, due to
being unable to create a new Large-Allocation process in the new window
to swap with.

The new swapping of the attributes which is added below is done with the
intent that the `remoteType` attribute of the xul:browser element should
match the `remoteType` attribute of the frameLoader inside of it at all
times. As the swap can now occur between two different `remoteType`s,
this is necessary to keep that constraint.

MozReview-Commit-ID: BHFgjwRGrge
2017-02-17 12:01:24 -05:00
Michael Layzell
01804ef221 Bug 1338241 - Part 2: Simplify the in large allocation process logic, r=smaug
MozReview-Commit-ID: 6aF2wlLgy42
2017-02-17 12:00:45 -05:00
Michael Layzell
3f762bbaf0 Bug 1338241 - Part 1: Use remoteType to propagate Large-Allocation status, r=mikedeboer
MozReview-Commit-ID: LfavqjMcZUq
2017-02-17 12:00:43 -05:00
ffxbld
59cd73fbfa No bug, Automated blocklist update from host bld-linux64-spot-381 - a=blocklist-update 2017-02-17 07:06:40 -08:00
ffxbld
a565a10373 No bug, Automated HPKP preload list update from host bld-linux64-spot-381 - a=hpkp-update 2017-02-17 07:06:37 -08:00
ffxbld
5c04bdbade No bug, Automated HSTS preload list update from host bld-linux64-spot-381 - a=hsts-update 2017-02-17 07:06:35 -08:00
Honza Bambas
bb033696f7 Bug 1324419 - Use QueryObject for nsHttpChannel. r=mcmanus
--HG--
extra : rebase_source : 192a4705e4e91bc393a283743a1ad8880da6aeba
2017-02-17 08:08:00 -05:00
Honza Bambas
5d95d03e70 Bug 1340260 - Fix potentially wrong string returned from Tokenizer::ReadUntil, keep Record/Claim work after ReadUntil. r=froydnj
--HG--
extra : rebase_source : 1029f9b6743085b7865554fdedc1c96e9239b13a
2017-02-17 08:13:00 -05:00
Carsten "Tomcat" Book
afe4d4b240 merge mozilla-inbound to mozilla-central a=merge 2017-02-17 13:24:55 +01:00
Dale Harvey
8ad9541ad3 Bug 1321320 - Track installed manifests. r=marcos, r=s.kaspari 2017-02-17 08:24:06 +00:00
Xidorn Quan
16f8dd152a Bug 1340439 - Update mochitest expectation. r=xidorn
MozReview-Commit-ID: Cc53GLynT19

--HG--
extra : rebase_source : 0f03c608ac6db14f649afa620a7bfa89a468fc9d
2017-02-17 18:42:12 +11:00
Henri Sivonen
9e44819763 Bug 1334290 - Remove useless fields from nsScanner. r=mrbkap.
MozReview-Commit-ID: 6LnvmOGrGwz
2017-02-17 08:44:49 +02:00
Xidorn Quan
2654587b27 Bug 1340439 - Update expectation. r=heycam
MozReview-Commit-ID: Ady5bbJ5tTi

--HG--
extra : rebase_source : 34b545d1db3d8c0cf7804634ec7e0407ced553a8
2017-02-17 17:31:19 +11:00
Phil Ringnalda
87ae1a50e4 Backed out 5 changesets (bug 1284897) for mozilla::SandboxPermissions::RemovePermissionsForProcess crashes
Backed out changeset 19b2fcee13a9 (bug 1284897)
Backed out changeset a5171791437f (bug 1284897)
Backed out changeset 3ea8b8a18515 (bug 1284897)
Backed out changeset 21497a4e3bde (bug 1284897)
Backed out changeset 12e17d5f0fa9 (bug 1284897)
2017-02-16 22:14:15 -08:00
Bobby Holley
ebddba2ae4 Bug 1340333 - Eagerly compute whether a frame is really a browser. r=smaug
MozReview-Commit-ID: Gm0oYaSKpUY
2017-02-16 21:57:50 -08:00
Bobby Holley
d05a45802c Bug 1340339 - Generalize the mechanism for accessing servo style structs without side effects and use it in CalcStyleDifferenceInternal. r=heycam
MozReview-Commit-ID: 54cL2ePc0OF
2017-02-16 21:57:48 -08:00
Phil Ringnalda
772c6230fa Backed out changeset 33d14dcc5ca1 (bug 1335697) for frequently exceeding the timeout threshold in browser_extension_permissions.js on Linux32 debug 2017-02-16 21:27:10 -08:00
Andrzej Hunt
89530eaabc Bug 1339520 - Keep existing TopPanel when cursor is swapped r=sebastian
By default RecyclerView assumes any item change *might* need animation. It then
creates a new copy of the item that has changed, and interpolates between the two
to "animate" the change. We don't need that for topsites (the RecyclerView's we use
inside each TopSitePanel already animate changes, the overall size doesn't change -
moreover ViewPager state gets lost if you create a new panel), so we override
this behaviour to retain the existing panel. This stops the previously visible
horrible flickering.

(Every time history changes, which can happen if sync is working, or even if a page
finishes loading in the background, the DB is changed, and a reload is triggered.
Prior to this commit, topsites would flicker horribly, and would reset back to the first
topsites page. After this commit the page is retained, and the visible topsites
are rearranged by the inner RecyclerView's animations. You can test this by pinning a
site on the first page, the pinned site will shift to the front, the other sites smoothly
move to the right.)

MozReview-Commit-ID: CnocNfdQ2FS

--HG--
extra : rebase_source : 3a4e1d86c786126aee1e08ab020b855056e4f921
2017-02-16 18:42:46 -08:00
Andrzej Hunt
9915444198 Bug 1339520 - Don't refresh topsites pages, only modify if needed r=sebastian
If we clear and recreate pages every time the cursor changes, we'll (A) lose
the current page position and (B) create a new RecyclerView per page, resulting
in flickering. We also need to make sure positioning is correctly handled (i.e. pages
never move, they only get added or removed).

We also switch to an ArrayList: the number of pages will be fixed for most users,
and searching an ArrayList could potentially be slightly faster than with the LinkedList.
There's little advantage to a LinkedList here.

MozReview-Commit-ID: 6NIfc2otQMV

--HG--
extra : rebase_source : 86b51be92c18e791f8049b5c90441370c6bace9a
2017-02-16 18:39:08 -08:00
Matt Brubeck
be415107d3 servo: Merge #15594 - Fix initial value of align-content and justify-content (from mbrubeck:align-content-fix); r=Manishearth
This fixes a trivial mistake in #15533, caused by me misreading the spec. r? @Manishearth

Source-Repo: https://github.com/servo/servo
Source-Revision: 3fa9ce16db910c0b44617dafdcd8e76b6f813c61

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 668d521e0ecc9c92b9d5f7af48d72eeffc490815
2017-02-16 18:16:28 -08:00
Cameron McCormack
dfe8d7eb9f Bug 1340407 - revendor rust dependencies after 2017-02-16 servo commits
CLOSED TREE
2017-02-17 12:20:24 +08:00
Kris Maglione
8de024d1d5 Bug 1339144 - Use windowless browser for remote background pages. r=aswan
MozReview-Commit-ID: LfmPbkTsgwu

--HG--
extra : rebase_source : 1cec29f836884b7f5ac400f0a0af904bad6488a8
extra : intermediate-source : c122b0183c7c94342c7bac953987ca1ed9c94625
extra : source : 2ba94924e6d7959f5d8850e6ab14008d4a1c6288
2017-02-16 17:26:15 -08:00
Ehsan Akhgari
345db1efc9 Bug 1340650 - Update clang-tidy to LLVM r295482; r=mystor
This revision includes the upstream fixes that we need for the
./mach static-analysis command.
2017-02-17 14:49:50 -05:00
Luke Wagner
346c5c24dd Bug 1338002 - Baldr: update spec tests (r=sunfish)
MozReview-Commit-ID: 5Ix5HsYmjVu

--HG--
extra : rebase_source : 76510546d51af88b7a420e8102353d014d5648ee
2017-02-17 13:22:54 -06:00
Luke Wagner
be1be82732 Bug 1338002 - Baldr: validate unreachable code with polymorphic type checking (r=sunfish)
MozReview-Commit-ID: 71NtyT7Khl8

--HG--
extra : rebase_source : 2ef7a174e222660793399d6a4b6e14d9971b135c
2017-02-17 13:21:43 -06:00