Граф коммитов

536152 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky cba820b01b Bug 1189822 part 2. Remove the DOM proxy expando object hashtable in xpconnect. r=peterv 2017-05-17 00:52:53 -04:00
Boris Zbarsky 17e91105ca Bug 1189822 part 1. Switch DOMProxyHandler::EnsureExpandoObject to using normal wrapper preservation instead of RegisterDOMExpandoObject. r=peterv 2017-05-17 00:52:52 -04:00
David Major 519ddbd6c7 Bug 1349801: Allow sub-millisecond profiler intervals with a busy wait on Windows. r=mstange
Given that this basically hogs a core per Firefox process, this code only kicks in if you explicitly select a sub-millisecond resolution.

--HG--
extra : rebase_source : 58ca6f8f6537bc4b809e1634ed177c5d47fd499c
2017-05-16 11:07:28 -04:00
David Major 546b2aa408 Bug 1349801: Make aMicroseconds unsigned to avoid a bunch of checks. r=mstange
We already do a max(0,...) before calling anyway.

--HG--
extra : rebase_source : 6cb3fa135e87cb12152e5b2cc8c2a7640489a0c4
2017-05-16 11:06:18 -04:00
David Major 8184a04278 Bug 1349801: Make SleepMicro a method of SamplerThread. r=mstange
So that I can use mIntervalMicroseconds in a later patch.

--HG--
extra : rebase_source : bd7f3de95ca06c19b3572f20fed8f679600ebacb
2017-05-16 11:03:33 -04:00
L. David Baron 6fa3cf9282 Bug 944200 followup - Consistently use nscoord_MIN for uninitialized mFloatEdgeIStart/End. r=mats
This fixes an inconsistency in part 2 (32faa7c639ff), which wrote the
constant for uninitialized in two different ways.

The constructor uses nscoord_MIN for uninitialized, and that's also what
GetFloatEdges tests for, so this should use nscoord_MIN as well.

I believe this is because the review comment in comment 29 was only
partially addressed.

I noticed the difference because it caused broken behavior in a tree
with my patch for bug 1227493, which defines NS_INTRINSIC_WIDTH_UNKNOWN
differently.  Some text was disappearing on github (email and website
on user pages), slack (usernames of private chats in the sidebar), and
twitter (username of user who tweeted a quoted tweet).

MozReview-Commit-ID: Ah9FUPf2dw4

--HG--
extra : rebase_source : 2d947e017647bc6d6029169ef57cddca5aa4f3a9
2017-05-16 14:31:30 -07:00
Matt Howell 8312cf3057 Bug 1355818 - followup to fix eslint error. r=me
MozReview-Commit-ID: 3Gudztk76qG

--HG--
extra : rebase_source : 87dc1d6421f1638ff2f10c38dd80b974ffdd7bc5
2017-05-16 19:34:49 -07:00
Felipe Gomes 661ee07d3c Bug 1317856 - Make the Flash plugin Click-to-Activate by default on Nightly. r=bsmedberg
This also activates the Favor fallback mode to give preference for HTML <video> content over Flash objects, and to not load Flash when the page has not speficied a src url (as the data attribute).

MozReview-Commit-ID: Lo4eWGbWyOt
2017-05-16 22:56:23 -03:00
Felipe Gomes e334e15634 Bug 1317856 - Ensure that flashblock tests are not affected by nosrc fallback rule. r=bytesized
With the activation of Ask-to-Activate mode by default, we'll also activate the fallback rule that favors fallback content when the object has not provided a src, so we need to prepare this test for that

MozReview-Commit-ID: JmmxJEiziHW

--HG--
rename : layout/generic/crashtests/simple_blank.swf => toolkit/components/url-classifier/tests/browser/simple_blank.swf
2017-05-16 22:56:23 -03:00
Felipe Gomes b5204da9bc Bug 1364505 - Write tests for plugin favor-fallback mode. r=qDot
MozReview-Commit-ID: AefeRMb9t9q

--HG--
rename : layout/generic/crashtests/simple_blank.swf => browser/base/content/test/plugins/plugin_simple_blank.swf
2017-05-16 22:56:22 -03:00
Felipe Gomes c18d8c931c Bug 1364505 - Add a rule to favor plugin fallback content when no srcURI has been specified. r=qDot
MozReview-Commit-ID: 18VcbxHmi0c
2017-05-16 22:56:22 -03:00
Julian Descottes dce52337e9 Bug 1365314 - Remove link between code mirror and document when destroying editor. r=jlast
Port the fix made on Github https://github.com/devtools-html/debugger.html/pull/2129

MozReview-Commit-ID: AS0hoo2tbqL
2017-05-16 09:18:37 +02:00
Thinker K.F. Li 25a2560576 Bug 1364926 - Fix operand type of localno annotated in the comments. r=jandem 2017-05-16 07:56:00 -04:00
André Bargull f87976d623 Bug 1361143 - Enforce lookahead restriction for "async function" in expression statements. r=shu
--HG--
extra : rebase_source : b192181d5f5f89c9895216862770e28d3ac16515
2017-05-02 13:01:09 -07:00
André Bargull 7a7d850eb6 Bug 1360220 - Replace emitRequireObjectCoercible with JSOP_CHECKOBJCOERCIBLE. r=shu
--HG--
extra : rebase_source : cef0f46847a0aded63dbbcdfa497dc9b5a7d5259
2017-04-27 09:24:08 -07:00
Matt Howell e32594a18e Bug 1355818 - Wait for staging to finish in the update wizard if downloading is done before the download page appears. r=rstrong
MozReview-Commit-ID: 1hTj35SYnDi

--HG--
extra : source : 7bc7221adbf29c5c2c0237a85291a606fcce3475
extra : amend_source : 3760803c007a4612b7661754cf768c8ec8b5b96c
2017-05-14 10:23:43 -07:00
Ryan VanderMeulen 4b4b439b5e Merge inbound to m-c. a=merge
CLOSED TREE
2017-05-16 20:10:26 -04:00
Ryan VanderMeulen 1719d6cced Merge autoland to m-c. a=merge
CLOSED TREE
2017-05-16 20:09:53 -04:00
Kris Maglione 9b92568bf5 Bug 1365256: Don't register chrome for disabled, restartful add-ons. r=aswan a=RyanVM CLOSED TREE
MozReview-Commit-ID: H6dfuBCTSAE

--HG--
extra : rebase_source : a45e69777371d6d33c97578a64395a0bb207025a
extra : amend_source : 8740e036fb9a65c6dc09196cad17466bcb7623d2
2017-05-16 09:10:11 -07:00
ffxbld 9a7fbdee1d No bug, Automated blocklist update from host bld-linux64-spot-380 - a=blocklist-update 2017-05-16 08:13:57 -07:00
ffxbld b2cb7e672d No bug, Automated HPKP preload list update from host bld-linux64-spot-380 - a=hpkp-update 2017-05-16 08:13:54 -07:00
ffxbld 19e0f277b1 No bug, Automated HSTS preload list update from host bld-linux64-spot-380 - a=hsts-update 2017-05-16 08:13:51 -07:00
Carsten "Tomcat" Book 6095625a0e Merge mozilla-central to autoland on a CLOSED TREE 2017-05-16 15:11:18 +02:00
Carsten "Tomcat" Book c8ef78fe63 Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2017-05-16 15:08:58 +02:00
Carsten "Tomcat" Book e83697008e merge mozilla-inbound to mozilla-central a=merge 2017-05-16 15:04:38 +02:00
Carsten "Tomcat" Book 99e95f665f merge autoland to mozilla-central a=merge 2017-05-16 12:33:48 +02:00
Carsten "Tomcat" Book 44cc861d1a Backed out changeset aed8ff339114 (bug 1364911) for memory leaks and making Bug/test failure bug 1340425 perma fail 2017-05-16 12:18:46 +02:00
Iris Hsiao 9a2799794a Backed out 4 changesets (bug 1343912) for test_timer_flood.html perma-failing
Backed out changeset b2a7fe15c578 (bug 1343912)
Backed out changeset 69a33656f4a3 (bug 1343912)
Backed out changeset f370c47abb14 (bug 1343912)
Backed out changeset 7ff1878374dd (bug 1343912)
2017-05-16 17:43:57 +08:00
Yoshi Huang 813b4a07d3 Bug 1363673 - fix tests that use data:image/png. r=smaug
Once we turn off security.data_uri.inherit_security_context, data: URI
will be considered as a CORS request, so those tests replying on
canvas.toDataURL() will fail if crossorigin is not specified. So I
add crossorigin attribute into those <image>.
2017-05-16 16:57:21 +08:00
Yoshi Huang 176b6aa83c Bug 1364369 - update more files to use srcdoc attr. r=smaug 2017-05-16 16:57:20 +08:00
Yoshi Huang b823849d69 Bug 1363632 - rewrite test_497898.html. r=smaug
test_497898.html uses encoded URI in data:text/html, so I am going to
replace it with srcdoc attribute and also decode the URI into plain
html.
2017-05-16 16:57:20 +08:00
Yoshi Huang 87ffcf52fe Bug 1363612 - Part 3: fix for moz-binding: url. r=smaug
Also seperate this to make sure I modified the test correctly.
2017-05-16 16:57:20 +08:00
Yoshi Huang ebfed92e7e Bug 1363612 - Part 2: move files for bug 677495. r=smaug
These two tests use 'media document', so I made this as a seperate patch
to let reviewer to make sure I am doing it correctly.
2017-05-16 16:57:19 +08:00
Yoshi Huang 9af1bdc477 Bug 1363612 - Part 1: move to seperate files. r=smaug 2017-05-16 16:57:19 +08:00
Yoshi Huang 13715ecf38 Bug 1363597: dont use data: URI for form action. r=smaug 2017-05-16 16:57:19 +08:00
Marco Castelluccio 11243e335a Bug 1353882 - Disable TestArenaAllocator.AllocationsPerChunk and TestArenaAllocator.MemoryIsValid tests in code coverage builds. r=jmaher
--HG--
extra : rebase_source : 7a77f473f4fde7794cd70c17d8fdc4e8aa847061
2017-05-16 10:39:22 +02:00
Christoph Kerschbaumer df574a1368 Bug 1362993 - Followup: Use gBrowser.addTab with explicit triggeringPricnipal instead of BrowserTestUtils. r=kmaglione 2017-05-16 08:03:04 +02:00
Hiroyuki Ikezoe 58df9c7c0c Bug 1364412 - Update reftest expectations for pseudo-elements selectors. r=me
MozReview-Commit-ID: 3MAHKCMp8k1
2017-05-16 14:58:15 +09:00
Hiroyuki Ikezoe 8fdb42c08d Bug 1364412 - Update reftest and mochitest expectations for pseudo-elements selectors. r=me
MozReview-Commit-ID: CGcljQLeS8c
2017-05-16 14:08:04 +09:00
Brian Birtles 56a6846b66 Bug 1355348 - Drop extra eRestyle_StyleAttribute hint from Element::SetSMILOverrideStyleDeclaration; r=dbaron
This was originally added in bug 1133439 but it's not clear that it is needed.
It may be that we thought that new SMIL animations should trigger transitions
but that's not the case.

We want to remove this as part of this bug since Servo_NoteExplicitHints is
currently not capable of handling animation restyle hints and non-animation
restyle hints at the same time.

--HG--
extra : rebase_source : 729947c29efc51864333397cf772079646c1f197
2017-05-16 12:46:51 +09:00
Jim Chen 76a5c980cb Bug 1363567 - 3. Remove GeckoInterface.getPluginContainer; r=me
GeckoInterface.getPluginContainer is no longer used anywhere and can be
removed. r=me for trivial patch.

MozReview-Commit-ID: 2IoQPqecWus
2017-05-15 23:11:18 -04:00
Jim Chen 3858e8e18e Bug 1363567 - 2. Move onFullScreenPluginHidden to GeckoApp; r=rbarker
Move the native call onFullScreenPluginHidden from GeckoAppShell to
GeckoApp itself.

MozReview-Commit-ID: APhGRBTNl0X
2017-05-15 23:11:18 -04:00
Jim Chen d0aff50e27 Bug 1363567 - 1. Remove addPluginView/removePluginView methods; r=rbarker
Remove the addPluginView and removePluginView methods from
GeckoInterface. Instead, move the JNI calls directly to GeckoApp itself.
GeckoApp then uses GeckoActivityMonitor to find the current activity,
instead of using GeckoAppShell.getGeckoInterface().

MozReview-Commit-ID: 7ym8kuElADV
2017-05-15 23:11:17 -04:00
Jim Chen 3f65d0de71 Bug 1362192 - Remove GeckoInterface.getDefaultUAString; r=snorp
Move GeckoInterface.getDefaultUAString() to GeckoApplication.

MozReview-Commit-ID: FHsRrbiqJ3F
2017-05-15 23:11:17 -04:00
Jim Chen e53a5e57a0 Bug 1325112 - 2. Purge caches in debug geckoview_example; r=rbarker
Preload Gecko with the "-purgecaches" flag in debug builds of
geckoview_example, similar to what we do for Fennec.

MozReview-Commit-ID: dBZgBbDUQ9
2017-05-15 23:11:17 -04:00
Jim Chen cf5d7c70ea Bug 1325112 - 1. Remove GeckoInterface.isOfficial; r=nalexander
There are two callers of isOfficial() in GeckoThread. For purging the
startup cache, the code to add the extra argument is moved to
GeckoApplication/GeckoApp/GeckoService. For logging the arguments, the
"debug" flag is used instead of the "official" flag.

MozReview-Commit-ID: 9atEWY1MVVt
2017-05-15 23:11:17 -04:00
Jim Chen c0ecba00ed Bug 1363167 - Remove GeckoInterface.getActivity; r=snorp
Use available Context or GeckoActivityMonitor to derive an Activity
instance, instead of using GeckoInterface.getActivity().

MozReview-Commit-ID: GHLMtnQkr2l
2017-05-15 23:11:11 -04:00
Jim Chen 7f18399feb Bug 1362231 - Remove GeckoInterface.getProfile; r=snorp
Since we only support one profile per process, replace all calls to
GeckoInterface.getProfile() with calls to GeckoThread.getActiveProfile().

MozReview-Commit-ID: 9PZOoBZt7Er
2017-05-15 23:11:10 -04:00
Stephen A Pohl 99336e02ef Bug 429824: Properly forward native OSX events to the native menu bar if they haven't been handled by the child process in e10s. r=mstange,masayuki 2017-05-15 22:59:35 -04:00
Stephen A Pohl 340eaff79d Bug 429824: Let OSX's native menu system handle keyboard shortcuts that we did not handle ourselves via XBL prototype handlers. This allows for handling of custom shortcuts, but does not allow for reassignment of existing shortcuts. r=mstange 2017-05-15 22:59:28 -04:00