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

489177 Коммитов

Автор SHA1 Сообщение Дата
Steve Fink 898aa04e50 No bug. Fix compilation failure. a=CLOSED TREE
--HG--
extra : amend_source : 945ed7cd38c5b7e3bd6f9081966840d9296d8412
2016-08-22 15:30:12 -07:00
Steve Fink f320639a55 Bug 1296878 - TraceLogger: report thread name when available, r=h4writer
--HG--
extra : rebase_source : 9331a4b69cd773c9bfbd100461ee977d89a11d95
2016-08-20 11:56:19 -07:00
Steve Fink 843bd9aad4 Bug 1296878 - Implement js::ThisThread::GetName for limited set of platforms, r=fitzgen
--HG--
extra : rebase_source : 43c3a5efd7e73e7b32728a58648f8606463b0147
2016-08-20 11:55:37 -07:00
Steve Fink 6d99bf51ce Bug 1296876 - TraceLogger: write files to $TLDIR, r=h4writer
--HG--
extra : rebase_source : faaa83213fbf972a695a5a26ecc4c65a351210fb
2016-08-20 11:56:01 -07:00
Steve Fink 4518b4b69c Bug 1296875 - Minor TraceLogger cleanups, comments, refactoring; r=h4writer
--HG--
extra : rebase_source : 68d175b552626f61516e0e443dd75f999335554c
2016-08-18 13:10:07 -07:00
Blake Kaplan 974d3410e3 Bug 1296785 - Make view-source in a new window work correctly. r=mconley
This patch also makes sure that we correctly grab a weak reference to the
related window instead of just setting a "relatedBrowser" property directly on
the JS object (which shadows the XBL property getter).

MozReview-Commit-ID: 97VQyCoY1Cj
2016-08-22 14:49:20 -07:00
Morgan Phillips ffd6e78083 Bug 1296846 - Backout bad Unicode changes 2/2; r=efaust 2016-08-20 04:04:40 -07:00
Morgan Phillips e8d173feb0 Bug 1296846 - Backout bad Unicode changes 1/2; r=efaust 2016-08-20 04:03:51 -07:00
Thomas Wisniewski e1e1d36600 Bug 1296178 - Replace use of PR_MIN with std::max in XMLHttpRequestMainThread.cpp. r=mrbkap
--HG--
extra : rebase_source : 9cf1d363181a7d4f34a2a97ec644cf69d9ede627
2016-08-20 11:58:51 -04:00
Thomas Wisniewski 6c4149c011 Bug 1017704 - Move DropJSObjects into the destructor in AudioBuffer.cpp. r=mccr8
--HG--
extra : rebase_source : a4c5ee7e40bf26814df7b9397b9862fb08684069
2016-08-20 20:32:52 -04:00
Dragana Damjanovic 3cf6ee23d9 Bug 1264578 - NSS support for http with TLS 1.3. r=keeler
--HG--
extra : rebase_source : 26b322f6d6f8e0160087c5214024dc9cccd328f9
2016-08-19 05:01:00 -04:00
Rob Wu be3652cd57 Bug 1287010 - Make environment of Context explicit. r=billm
- Add `envType` to BaseContext.
 - Pass an explicit envType to all `registerSchemaAPI` invocations.
 - The factories passed to `registerSchemaAPI` will be split up later, so
   that content scripts (`content_child`) and addon pages can share
   common implementations.
 - The factories that implement the addon API will also be split up,
   to separate code running in the main process (`addon_parent`) from
   code running in a child process (`addon_child`).
 - Remove the use of a hardcoded list of `namespaces` from ProxyContext.
   Now `envType` is used to specify whether an API should be activated.

MozReview-Commit-ID: Jiff8HIwG92

--HG--
extra : rebase_source : 946a3c0009a4e3223c2d10044b3099a94c845394
2016-08-16 15:51:50 -07:00
Rob Wu 1067b066d5 Bug 1287010 - Add pathObj parameter to Schemas r=billm
Local wrappers currently look up the API object over and over again
whenever a schema API is invoked. This can be optimized by re-using
the lookup result from a `shouldInject` invocation, which is passed
as the `pathObj` parameter to the wrapper methods.

This commit adds the necessary changes and tests to allow this to
happen, but does not modify the wrapper in Extension.jsm yet.

Also, this construction allows the `ChildAPIManager` to use a local
implementation if available and fall back to a remote implementation
otherwise.

MozReview-Commit-ID: C9gm7A9Zppb

--HG--
extra : rebase_source : e2ab1e40de72fdea23acc9a68f3cf7d77e3da66f
2016-08-19 00:35:07 -07:00
Rob Wu 459ac122eb Bug 1287010 - Use minimal global scope for ext-*.js scripts r=billm
Currently there is a tight coupling between registered APIs because they
share the same global scope, and the dependencies between the modules
that use these globals are not explicit. Consequently, it would be
possible for APIs to break when the registered APIs run in separate
processes, because then there are separate global scopes.
To mitigate this issue, this patch isolates the global namespaces of
API registrations in different environments, starting with the "chrome"
process. Content and addon processes will follow later.

A new JSM is introduced to avoid hidden dependencies between ext-*.js
and the script loader. ExtensionUtils.jsm would be a natural choice for
this shared utility method, but cannot be used because its local
`EventEmitter` implementation conflicts with the `EventEmitter` import
in ext-tabs.js.

So, this patch provides isolation of global variables declared through
`globals.XXX = ...`, but does not provide isolation for `Cu.import`-ed
logic. Ideally `Cu.import` should always use its second argument to
prevent inadvertent namespace pollution.

MozReview-Commit-ID: 1DTZaKOaeSE

--HG--
extra : rebase_source : 1376a1325fd9bf186e09e1dbe83467f3ad94516f
2016-08-17 20:28:19 -07:00
Ting-Yu Chou 1cd286b79a Bug 1297314 - Initialize IPC union parameters to void_t for the case when RecvKeywordToURI() returns early. r=kanru
MozReview-Commit-ID: DlrROVhekSF

--HG--
extra : rebase_source : fd4b7c73849238776abacebbc3de75f3ce3a0824
2016-08-24 11:23:56 +08:00
Cervantes Yu ade760040e Bug 1295544 - Typo fix of MOZ_CRASHREPORTER build config. r=krizsa
MozReview-Commit-ID: 73DSJTef14E

--HG--
extra : rebase_source : 9d96e86754c455d8cda9d6042d4536f06a676c3a
2016-08-16 19:32:30 +08:00
Sebastian Kaspari 256e0cd83c Bug 1296335 - Update android-api-15-* mozconfig files to point to new gradle folder. r=Callek
MozReview-Commit-ID: 3iKKrXH4rJt

--HG--
extra : rebase_source : 40cba156ae1c5bc193736f944c084fafeac086c4
2016-08-19 16:14:14 +02:00
Sebastian Kaspari a32c591dc0 Bug 1296335 - Update releng.manifest files to point to new gradle archive. r=Callek
MozReview-Commit-ID: 6jwlnzkDVko

--HG--
extra : rebase_source : f3666be4a51b01f02dae312648e5ca9c10c69b89
2016-08-19 16:11:04 +02:00
Sebastian Kaspari 4bd4c46def Bug 1296335 - after.sh: Package gradle binaries as gradle-dist.tar.xz. r=Callek
MozReview-Commit-ID: HkKCc8V5pgf

--HG--
extra : rebase_source : 0f8533f8a97082262800398cf81fd820c58e59e5
2016-08-19 15:06:44 +02:00
Ting-Yu Lin 2a80705ce0 Bug 1296990 - Make AppearanceString() return nsAutoString directly. r=mtseng
MozReview-Commit-ID: IQ3KrFnCswx

--HG--
extra : rebase_source : ed646cc89797c104708c55d50a058ddd6c76b5bd
2016-08-21 21:41:32 +08:00
Jean-Yves Avenard a18ecfafaa Bug 1280346: [mp4] Always use SPS dimensions if available. r=gerald,rillian
H264 decoders always use those anyway, so may as well use them in the demuxer if SPS NAL is available.
This guarantees that we have correct dimensions when reading the MP4 metadata, and will have the side benefit that when loadedmetadata is fired, the dimensions provided at the time will be final; not having to wait to decode the first frame.

MozReview-Commit-ID: 3j70Xqw8jJY

--HG--
extra : rebase_source : 6bc0f1fa1c2db35bcaa683cc1a68042d122e2892
2016-08-22 06:39:41 +10:00
Iris Hsiao 1637787858 Backed out changeset e7b0bdaa0661 (bug 1295552) for GTest crashed @mozilla::NrIceCtxHandler::CreateCtx 2016-08-22 11:11:05 +08:00
Masayuki Nakano c3e9f6adc0 Bug 1296578 IMEInputHandler should use insertion point relative query content events during composition r=m_kato
Start offset of composition string is fixed when composition string becomes non-empty in focused editor. In other words, until composition string is fixed, composition start offset may be changed from selection start offset at dispatching compositionstart event.  Especially, in e10s mode, pending keyboard events usually change composition start offset.

So, while there is composition, IMEHandler should use query events querying text rect or text content relative to actual start offset of composition string because native IME believes composition string at selection selection start when starting composition in the main process.

MozReview-Commit-ID: 3hinwozl9Ow

--HG--
extra : rebase_source : 4b79dd4f53aa51edfc78ff08c07a710160a8de01
2016-08-19 21:51:54 +09:00
Fred Lin 279b35c578 Bug 1270321 - Ship remember password doorhanger visibility toggle; r=MattN
MozReview-Commit-ID: 38yX355Memz

--HG--
extra : rebase_source : b3fa0b7a87d6d89ccd35ad4fab58ba1c727e1a5b
2016-08-19 10:21:49 +08:00
Thom Chiovoloni 8fcd1dab90 Bug 1296761 - Handle serverside places root in sync bookmark validator better r=markh
MozReview-Commit-ID: JzNWFCLSMcZ

--HG--
extra : rebase_source : 3eb2c303494b9ee36e73aaca96f8a55b26e73126
2016-08-19 17:49:19 -04:00
Rob Wu 36648bb360 Bug 1286712 - Remove unused ExtensionContext and GlobalManager globals r=billm
The presence of these globals interfere with the attempt to get ext-*.js
scripts to load in a content process because these globals are only
available in the main process.

MozReview-Commit-ID: 7syjAGcuUnu

--HG--
extra : rebase_source : d614424d50bbb2a5dea6c23e4dae1586b9efe4fb
2016-08-16 22:05:05 -07:00
Rob Wu 53ae1a1256 Bug 1286712 - Validate runtime.sendMessage parameters r=billm
The main motive for this patch is to remove the use of the GlobalManager
global (which was used to see if an extension ID is valid, which was
specifically added in order to create thebrowser_ext_lastError.js test).
To preserve test coverage I implemented a full validation of the
runtime.sendMessage method.

Now the error for a non-existent extension is identical in both the
content script and background pages. Note that this also fixes a
minor privacy leak: Previously extensions could see whether another
extension is installed by sending a message to the specified extension
and using the different responses to see whether another extension is
installed.

MozReview-Commit-ID: 82R97Ei25Xr

--HG--
extra : rebase_source : 900a65e695afd6db83d5102f515dc29d46d001f1
2016-08-16 21:36:42 -07:00
Xidorn Quan 33700e24af Bug 1296625 - Replace query to ui.use_activity_cursor pref with a cached bool value. r=smaug
MozReview-Commit-ID: GeTr29JG4qy

--HG--
extra : rebase_source : 2a74d2ca0ffe8fee23230334e01b483cc3abc8f2
2016-08-20 00:43:01 +10:00
Michael Froman 8c9dbf602e Bug 1295552 - restart ice ctx needs stun/turn/dns setup to match original ctx. r=drno
MozReview-Commit-ID: H8o3gEnFfzQ

--HG--
extra : rebase_source : d5b1d8a4beb7f2ad1cb76391c09efc01735771ad
2016-08-18 17:29:49 -05:00
Steve Chung 0538b97e3b Bug 1295390 - Don't hold search result after clearing inspector-searchbox by inspector-searchinput-clear. r=ntim
MozReview-Commit-ID: xmLhuQBgaV
2016-08-16 18:18:48 +08:00
Tim Nguyen f45ea01381 Bug 1254386 - Test for device list. r=jryans
MozReview-Commit-ID: KhxfaGnuuUd
2016-08-23 01:51:17 -07:00
Tim Nguyen 2d9de1deca Bug 1254386 - Add user agent emulation to new RDM. r=jryans
MozReview-Commit-ID: EBWBJV20KLV
2016-08-23 01:51:17 -07:00
Tim Nguyen f570480cfd Bug 1254386 - Change old RDM to use emulation actor. r=jryans
MozReview-Commit-ID: EQawVubnMAp
2016-08-23 01:51:17 -07:00
Tim Nguyen b120997df1 Bug 1254386 - Move custom UA emulation to emulation actor. r=jryans
MozReview-Commit-ID: 9005ktskEVk
2016-08-23 01:51:16 -07:00
Gerald Squelart fb84b054bc Bug 1295763 - Allow ThreadSafeAutoRefCnt with XPCOM_GLUE - r=froydnj
Removed '#ifndef XPCOM_GLUE' that blocked usage of thread-safe ref-counting
from XPCOM_GLUE code.

MozReview-Commit-ID: Hm0rdTKK46l

--HG--
extra : rebase_source : cd2779d0b39c5319cfdb5d12e8f4ac6f38945e7b
2016-08-16 14:07:16 +10:00
Gijs Kruitbosch 40188f3de6 Bug 1297479 - create a pref to turn off UI to undo automatic migration for use by funnelcake builds, r=Dolske
MozReview-Commit-ID: JZQuhMxxrXU

--HG--
extra : rebase_source : f796b9504e10aa0e19a57ea312ebe337dcdb1e1d
2016-08-23 19:30:32 +01:00
Ryan VanderMeulen 90610d7084 Bug 1297276 - Fix another instance of mozilla/unused.h that snuck in.
CLOSED TREE
2016-08-25 09:31:35 -04:00
Ryan VanderMeulen 074ba60dd0 Merge m-c to autoland. a=merge CLOSED TREE 2016-08-25 09:01:10 -04:00
Ryan VanderMeulen e5adfbffe6 Merge m-c to autoland. a=merge
--HG--
rename : accessible/tests/browser/browser_caching_attributes.js => accessible/tests/browser/e10s/browser_caching_attributes.js
rename : accessible/tests/browser/browser_caching_description.js => accessible/tests/browser/e10s/browser_caching_description.js
rename : accessible/tests/browser/browser_caching_name.js => accessible/tests/browser/e10s/browser_caching_name.js
rename : accessible/tests/browser/browser_caching_relations.js => accessible/tests/browser/e10s/browser_caching_relations.js
rename : accessible/tests/browser/browser_caching_states.js => accessible/tests/browser/e10s/browser_caching_states.js
rename : accessible/tests/browser/browser_caching_value.js => accessible/tests/browser/e10s/browser_caching_value.js
rename : accessible/tests/browser/browser_events_caretmove.js => accessible/tests/browser/e10s/browser_events_caretmove.js
rename : accessible/tests/browser/browser_events_hide.js => accessible/tests/browser/e10s/browser_events_hide.js
rename : accessible/tests/browser/browser_events_show.js => accessible/tests/browser/e10s/browser_events_show.js
rename : accessible/tests/browser/browser_events_statechange.js => accessible/tests/browser/e10s/browser_events_statechange.js
rename : accessible/tests/browser/browser_events_textchange.js => accessible/tests/browser/e10s/browser_events_textchange.js
rename : accessible/tests/browser/browser_treeupdate_ariadialog.js => accessible/tests/browser/e10s/browser_treeupdate_ariadialog.js
rename : accessible/tests/browser/browser_treeupdate_ariaowns.js => accessible/tests/browser/e10s/browser_treeupdate_ariaowns.js
rename : accessible/tests/browser/browser_treeupdate_canvas.js => accessible/tests/browser/e10s/browser_treeupdate_canvas.js
rename : accessible/tests/browser/browser_treeupdate_cssoverflow.js => accessible/tests/browser/e10s/browser_treeupdate_cssoverflow.js
rename : accessible/tests/browser/browser_treeupdate_doc.js => accessible/tests/browser/e10s/browser_treeupdate_doc.js
rename : accessible/tests/browser/browser_treeupdate_gencontent.js => accessible/tests/browser/e10s/browser_treeupdate_gencontent.js
rename : accessible/tests/browser/browser_treeupdate_hidden.js => accessible/tests/browser/e10s/browser_treeupdate_hidden.js
rename : accessible/tests/browser/browser_treeupdate_imagemap.js => accessible/tests/browser/e10s/browser_treeupdate_imagemap.js
rename : accessible/tests/browser/browser_treeupdate_list.js => accessible/tests/browser/e10s/browser_treeupdate_list.js
rename : accessible/tests/browser/browser_treeupdate_list_editabledoc.js => accessible/tests/browser/e10s/browser_treeupdate_list_editabledoc.js
rename : accessible/tests/browser/browser_treeupdate_listener.js => accessible/tests/browser/e10s/browser_treeupdate_listener.js
rename : accessible/tests/browser/browser_treeupdate_optgroup.js => accessible/tests/browser/e10s/browser_treeupdate_optgroup.js
rename : accessible/tests/browser/browser_treeupdate_removal.js => accessible/tests/browser/e10s/browser_treeupdate_removal.js
rename : accessible/tests/browser/browser_treeupdate_table.js => accessible/tests/browser/e10s/browser_treeupdate_table.js
rename : accessible/tests/browser/browser_treeupdate_textleaf.js => accessible/tests/browser/e10s/browser_treeupdate_textleaf.js
rename : accessible/tests/browser/browser_treeupdate_visibility.js => accessible/tests/browser/e10s/browser_treeupdate_visibility.js
rename : accessible/tests/browser/browser_treeupdate_whitespace.js => accessible/tests/browser/e10s/browser_treeupdate_whitespace.js
rename : accessible/tests/browser/doc_treeupdate_ariadialog.html => accessible/tests/browser/e10s/doc_treeupdate_ariadialog.html
rename : accessible/tests/browser/doc_treeupdate_ariaowns.html => accessible/tests/browser/e10s/doc_treeupdate_ariaowns.html
rename : accessible/tests/browser/doc_treeupdate_imagemap.html => accessible/tests/browser/e10s/doc_treeupdate_imagemap.html
rename : accessible/tests/browser/doc_treeupdate_removal.xhtml => accessible/tests/browser/e10s/doc_treeupdate_removal.xhtml
rename : accessible/tests/browser/doc_treeupdate_visibility.html => accessible/tests/browser/e10s/doc_treeupdate_visibility.html
rename : accessible/tests/browser/doc_treeupdate_whitespace.html => accessible/tests/browser/e10s/doc_treeupdate_whitespace.html
rename : accessible/tests/browser/events.js => accessible/tests/browser/e10s/events.js
rename : browser/components/extensions/test/browser/browser_ext_pageAction_context.js => browser/components/extensions/test/browser/browser_ext_pageAction_title.js
rename : browser/components/extensions/test/browser/browser_ext_pageAction_context.js => browser/components/extensions/test/browser/head_pageAction.js
rename : dom/events/test/pointerevents/pointerevent_element_haspointercapture.html => dom/events/test/pointerevents/pointerevent_element_haspointercapture-manual.html
rename : dom/events/test/pointerevents/test_pointerevent_element_haspointercapture.html => dom/events/test/pointerevents/test_pointerevent_element_haspointercapture-manual.html
rename : gfx/thebes/DeviceManagerD3D11.cpp => gfx/thebes/DeviceManagerDx.cpp
rename : gfx/thebes/DeviceManagerD3D11.h => gfx/thebes/DeviceManagerDx.h
rename : media/webrtc/trunk/tools/gyp/test/compiler-override/compiler.gyp => media/webrtc/trunk/tools/gyp/test/compiler-override/compiler-exe.gyp
rename : media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist.strings => media/webrtc/trunk/tools/gyp/test/ios/app-bundle/TestApp/English.lproj/InfoPlist-error.strings
rename : media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist.strings => media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist-error.strings
rename : media/webrtc/trunk/tools/gyp/test/mac/gyptest-postbuild-static-library.gyp => media/webrtc/trunk/tools/gyp/test/mac/gyptest-postbuild-static-library.py
rename : media/webrtc/trunk/tools/gyp/test/rules/src/subdir4/asm-function.asm => media/webrtc/trunk/tools/gyp/test/rules/src/subdir4/asm-function.assem
rename : mfbt/unused.h => mfbt/Unused.h
rename : testing/web-platform/tests/pointerevents/pointerevent_element_haspointercapture.html => testing/web-platform/tests/pointerevents/pointerevent_element_haspointercapture-manual.html
extra : rebase_source : a3de7d91a61df9b14fe07a89f5b0184a067549cf
2016-08-25 08:14:36 -04:00
Sebastian Hengst 0b4287e91c Backed out changeset eb0c3d8a6d53 (bug 1281220) for crashing in testBug1217581 in rc3. r=backout on a CLOSED TREE 2016-08-25 14:22:47 +02:00
Sebastian Hengst 4fea2f775e Backed out changeset 8ad552de5fa6 (bug 1295608) for not finding devtools/client/shared/l10n in mochitest-chrome. r=backout 2016-08-25 14:21:04 +02:00
Sebastian Hengst a75ae94d08 Backed out changeset 3c716a5a7906 (bug 1295608) 2016-08-25 14:20:10 +02:00
Sebastian Hengst fc382e1dda Backed out changeset 51bd96b9f93d (bug 1295608) 2016-08-25 14:20:06 +02:00
Sebastian Hengst 50c983455a Backed out changeset 85fabbd4395a (bug 1295608) 2016-08-25 14:20:02 +02:00
Sebastian Hengst cac7ee194a Backed out changeset 69d2ac816444 (bug 1295608) 2016-08-25 14:19:58 +02:00
Sebastian Hengst 11a5600e59 Backed out changeset 20f2ba4d1247 (bug 1295608) 2016-08-25 14:19:54 +02:00
Sebastian Hengst 9d9abd0302 Backed out changeset e6adad24f5ec (bug 1294614) for failing own test test_smilCSSFromBy.xhtml on Linux pgo. r=backout 2016-08-25 13:46:01 +02:00
Sebastian Hengst 6a9bdf10bf Backed out changeset e262963372ae (bug 1294614) 2016-08-25 13:45:09 +02:00
Sebastian Hengst 44b57c7e2d Backed out changeset ac729cd10150 (bug 1294614) 2016-08-25 13:45:05 +02:00
JW Wang 2fa66fff7d Bug 1295906 - Remove the call to |mVideoFrameContainer->ClearCurrentFrame()| from ReleaseResources(). r=jya
ReleaseResources() is called when MDSM enters dormant or during shutdown.

When it is called in response to dormant request, we don't want to clear
current frames so we are able to enter dormant state more aggressively
even when the media element is visible to the user.

When it is called from MediaDecoderReader::Shutdown(), it doesn't really
call ClearCurrentFrame() because MediaFormatReader::Shutdown clears the
|mVideoFrameContainer| pointer. So it doesn't make a difference to remove
the call.


MozReview-Commit-ID: IakGHbSMWTv

--HG--
extra : rebase_source : 7a25de39e04f5c7728bf65fcd447cc67b7a85411
extra : source : 44ff0ffaf63ad51a7a382cf0ee1c16e64ade63b9
2016-08-17 17:11:19 +08:00