Commit Graph

488389 Commits

Author SHA1 Message Date
Xidorn Quan
0fab79f248 Bug 1296186 part 1 - Make borrowed type just alias of corresponding pointer type. r=bholley
Compilers would complain about using user-defined type as return type
of extern "C" functions. A struct is considered a user-defined type if
there is any non-trivial constructor.

Having a type without non-trivial constructor for borrowed type would
be very inconvenient. Actually the currently borrowed type doesn't seem
to provide any additional safety / benefit over a plain pointer.

MozReview-Commit-ID: ncxmCEWCkv

--HG--
extra : rebase_source : 43a95bbcb05759f27837629daec6ce915a68b062
extra : source : 2a544c24bfb6a3412e59acbee89a5a393c31d5b6
2016-08-23 10:32:20 +10:00
Xidorn Quan
928683d762 Bug 1291707 part 4 - Not recalc quotes and counters in EndUpdate. r=bz
It will be called in the next flush, so no need to do it eagerly.

MozReview-Commit-ID: 1B8pzn0dqBO

--HG--
extra : rebase_source : 79a4203d13a2b9d48cd9c9d6fa5c5e08974d4765
extra : source : 162b17483adb18d3d05d866853fb8f841dee846d
2016-08-23 10:31:26 +10:00
Xidorn Quan
9d87478fb9 Bug 1291707 part 3 - Use hashtable to track nsGenConNodes related to a frame. r=bz
MozReview-Commit-ID: IgT90GN2R4Z

--HG--
extra : rebase_source : a17776e7a8723f9487100862b630857a85eded98
extra : source : 31269f41019ac267264cafb5f97dd602ba5ec212
2016-08-23 10:31:26 +10:00
Xidorn Quan
fab96c1410 Bug 1291707 part 2 - Add GetAndRemove to nsDataHashtable. r=froydnj
MozReview-Commit-ID: 24zlYwsRGsF

--HG--
extra : rebase_source : 904c62cd779133666904d3167cb7e7c31f95a412
extra : source : 6c1df15aad607e70547b51011bd352d8a8bf826d
2016-08-23 10:31:26 +10:00
Xidorn Quan
a0c0bf51d9 Bug 1291707 part 1 - Change nsGenConList::Remove to Destroy and make it private. r=bz
MozReview-Commit-ID: FxXizoXjRoh

--HG--
extra : rebase_source : 2ee88b7358d9bc92d563546582485ff6e499a667
extra : source : ad53afc0ba0547d0fc992b5dce575e7b65957fea
2016-08-23 10:31:26 +10:00
Jan Varga
787316fb6a Bug 1297056 - Use [must_use] in dom/quota; r=asuth 2016-08-23 08:03:25 +08:00
Steve Fink
2042159803 Backed out 5 changesets (bug 1296878, bug 1296876, bug 1296875) for compilation failures, a=CLOSED TREE
Backed out changeset e000f50cb73d
Backed out changeset 05f3d17beffe (bug 1296878)
Backed out changeset cfbac36772eb (bug 1296878)
Backed out changeset 3fe209e9ca79 (bug 1296878, bug 1296876)
Backed out changeset 8b45dd84cc08 (bug 1296878, bug 1296876, bug 1296875)

--HG--
extra : amend_source : 53a3a3c116844c8ab035c7c85de15abedfc128af
2016-08-22 15:37:06 -07:00
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
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
Julian Descottes
6003c8a0da Bug 1294188 - migrate animation-inspector localized strings to properties file;r=pbro
MozReview-Commit-ID: J41qf2hobbU

--HG--
extra : rebase_source : 565da7941d05f66e5e0b8f9a604f929265ec0287
2016-08-15 17:48:25 +02:00
Kershaw Chang
dc735275b1 Bug 1295309 - Add isTopLevelLoad attribute in nsILoadInfo. r=billm
--HG--
extra : amend_source : 5a6138b38b3ae8fa64194dd0df90f4a5e2fb9a0f
2016-08-21 21:46:09 -04:00
Phil Booth
b1bab4c5a0 Bug 1296328 - Update FxA device registration on password change. r=markh 2016-08-19 04:18:00 -04:00
Wes Kocher
622e92bcb5 Merge m-c to fx-team, a=merge 2016-08-19 18:41:03 -07:00
Wes Kocher
bb22cc4067 Merge inbound to central, a=merge 2016-08-19 18:16:20 -07:00
Wes Kocher
1adf793988 Merge fx-team to central, a=merge 2016-08-19 17:54:55 -07:00
Wes Kocher
3a31be9c17 Backed out 2 changesets (bug 1279086) for failures in browser_menu_item_01.js a=backout
Backed out changeset 00bb53b58e96 (bug 1279086)
Backed out changeset cff59fe2b933 (bug 1279086)
2016-08-19 12:31:55 -07:00
Wes Kocher
5b69f8de72 Bug 1294803 needed a CLOBBER a=CLOBBER
--HG--
extra : rebase_source : 6137d91a9b062af4c27283d61ec24aab55fef66a
2016-08-19 12:12:04 -07:00
Gabriel Luong
48cab5785e Bug 1282726 - Simple CSS Grid highlighter that displays grid lines r=pbro
This adds a new highlighter in devtools/server/actors/highlighters.
For now this highlighter isn't used and can only display grid lines
as provided by node.getGridFragments().
2016-08-19 10:26:39 -07:00
Wes Kocher
7745208efc Merge m-c to fx-team, a=merge 2016-08-19 10:19:30 -07:00
Geoff Brown
97d7d7a146 Bug 1296651 - Avoid Win7 timeout in test_conformance__extensions__oes-texture-float-with-video.html; r=jmaher,a=ryanvm 2016-08-19 10:54:12 -06:00
Geoff Brown
2f25ac86fa Bug 1296644 - Allow test_2_conformance__canvas__rapid-resizing.html to pass on Win 7; r=jmaher,a=ryanvm 2016-08-19 10:54:11 -06:00
Ryan VanderMeulen
7ada7a56fb Bug 1295082 - Fix merge bustage. a=bustage 2016-08-19 10:13:02 -04:00