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

2408 Коммитов

Автор SHA1 Сообщение Дата
George Wright 51a59d1d02 Bug 1314426 - Add a method to nsIDOMWindowUtils to terminate the GPU process and get the GPU process pid r=smaug,dvander 2016-11-07 14:22:48 -05:00
Phil Ringnalda b6eec64324 Merge m-c to a CLOSED TREE m-i
MozReview-Commit-ID: 2JxLeQ8GYIX
2016-10-27 20:36:38 -07:00
Michael Layzell de29c95ed2 Bug 1303196 - Part 7: Updates to apply correctly after noopener changes, r=smaug
MozReview-Commit-ID: 25Ew2PLpP5c
2016-10-27 15:53:35 -04:00
Michael Layzell f9eea2d135 Bug 1303196 - Part 2: Connect the DocGroup and TabGroup objects to nsGlobalWindow and nsDocument, ensuring that Opener is set early enough that it is correct, r=smaug
MozReview-Commit-ID: 3rZfLw3dXkF
2016-10-27 15:53:35 -04:00
Kan-Ru Chen 1f00a5d169 Bug 1300474 - Replace nsAutoPtr usages in geolocation with UniquePtr. r=jdm
MozReview-Commit-ID: KcJj8VKjLpj

--HG--
extra : rebase_source : 11205452dd23a99b7f555c5069e22997d750739d
2016-10-24 14:40:18 +08:00
Ehsan Akhgari e3186e29a7 Bug 1310910 - Remove ChromeNotifications; r=baku
This partially backs out bug 967475.
2016-10-18 09:41:56 -04:00
Ehsan Akhgari f13c011369 Bug 1310895 - Remove support for app default and manifest CSP enforcement; r=baku 2016-10-18 09:40:41 -04:00
Ehsan Akhgari c1d2c29601 Bug 1310094 - Part 2: Remove UserCustomizations.jsm; r=myk 2016-10-17 14:08:30 -04:00
Ehsan Akhgari 4a51ebacfa Bug 1310378 - Remove support for mozwidget; r=baku 2016-10-17 13:15:36 -04:00
Ehsan Akhgari e2fdfd7548 Bug 1310366 - Remove support for app redirects; r=baku 2016-10-17 13:15:36 -04:00
Samael Wang 8216d5293a Bug 1276553 - Part 3: Add groupedSHistory related functions to nsIBrowser. r=smaug
Add swapBrowsers() for frameloader or other platform components to swap frameloaders
and <xul:browser> listeners.

Add closeBrowser() for chrome process top-level frameloader to correctly remove /
close a tab.

MozReview-Commit-ID: KzM0xL8goUN

--HG--
extra : rebase_source : 87fe1a611b8d5094b0cdc09d503e6793799bab03
2016-10-18 16:15:32 -04:00
Samael Wang 421b32c7bd Bug 1276553 - Part 2: Move nsIBrowser to dom/interfaces/base. r?=smaug
nsIBrowser looks not strictly related to IPC but more like an XPCOM
representation of <xul:browser>. Since even nsIRemoteBrowser which is
for <xul:remote-browser> lives in dom/interfaces, moving nsIBrowser
to dom/interfaces makes more sense.

MozReview-Commit-ID: 5DnWaBrkzaJ

--HG--
rename : dom/ipc/nsIBrowser.idl => dom/interfaces/base/nsIBrowser.idl
extra : rebase_source : 68fed039fda73b60683b3297d14b2bad78e07483
2016-10-18 16:14:10 -04:00
Boris Zbarsky 668b8a8b2d Bug 1298243 part 6. Remove the unused xpidl versions of DataTransfer.types and DataTransfer.getData. r=mystor 2016-10-10 21:07:47 -04:00
Yoshi Huang 2a51f65d99 Bug 1237152 - rename clear-origin-data to clear-origin-attributes-data, r=smaug
find \( -name '*.cpp' -o -name '*.h' -o -name '*.js' -o -name '*.jsm' -o -name '*.idl' -o -name '*.html' \) \
-a -type f -exec sed -i 's/clear-origin-data/clear-origin-attributes-data/g' {} \;
2016-10-07 17:45:10 +08:00
Julian Descottes 9ee4ee975c Bug 1153292 - part3: aboutdebugging: expose sw state from registration, notify listeners on statechange;r=bkelly
As it turns out, the workaround used to detect "not activated" service worker registrations works only
in e10s pages. In non e10s, service worker registrations are returned even if they are not in activated
state. Here we add the currently associated worker to the registration info, which will be used
to determine if the service worker is activated by about debugging.

MozReview-Commit-ID: ImeZcXQdBtO

--HG--
extra : rebase_source : f7e023708f8954b978b189025fd0b06c587d6a8e
2016-09-15 14:47:15 +02:00
Andrea Marchesini b3b8830fcc Bug 1306220 - Get rid of nsIDOMDataTransfer::clearData and mozClearDataAt, r=ehsan 2016-09-29 22:47:01 +02:00
James Willcox c6292bac48 Bug 1278581 - Add 'millisSinceLastUserInput' to nsIDOMWindowUtils r=smaug 2016-09-29 08:27:54 -05:00
Boris Zbarsky 6a6430cf38 Bug 1305580 part 1. Remove all the methods from nsIDOMXMLDocument and make it not inherit from nsIDOMDocument anymore. r=smaug
This will let us know for sure that we're being called from script in things
like nsXMLDocument::Load.
2016-09-28 15:46:44 -04:00
Wes Kocher 63caea8af6 Backed out 2 changesets (bug 1305580) for Windows svgr crashes a=backout CLOSED TREE
Backed out changeset 1124e3458403 (bug 1305580)
Backed out changeset 521286426a93 (bug 1305580)
2016-09-28 16:52:15 -07:00
Boris Zbarsky 6d5e95674f Bug 1305580 part 1. Remove all the methods from nsIDOMXMLDocument and make it not inherit from nsIDOMDocument anymore. r=smaug
This will let us know for sure that we're being called from script in things
like nsXMLDocument::Load.
2016-09-28 15:46:44 -04:00
Tooru Fujisawa e933275fe8 Bug 92737 - Part 3: Open multiple tabs when multiple items are dropped on remote content area. r=enndeakin 2015-11-11 07:35:12 +09:00
Bill McCloskey 50c44c717c Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap) 2016-09-16 20:35:11 -07:00
Boris Zbarsky 0fd831e559 Bug 1302304. Remove IDL bits that reference nsIDOMMediaError; it's not needed anymore. r=bkelly 2016-09-15 11:41:35 -04:00
Carsten "Tomcat" Book d2c3fe7fd3 merge autoland to mozilla-central a=merge 2016-09-14 12:07:02 +02:00
Thomas Wisniewski e6afa43d92 Bug 812701 - Drop the prefixed version of the Visibility API. r=bz
--HG--
extra : rebase_source : 2d989414b2ccbb9c712e711c8373bdca6f87fc4b
2016-09-13 09:56:14 -04:00
Carsten "Tomcat" Book c737c8cee6 Merge mozilla-central to autoland 2016-09-13 13:09:21 +02:00
Ho-Pang Hsu bb6962b37c Bug 1285804 - Part 1: Introduce a new message to nsIDOMWindowUtils::sendMouseEvent() for test automation. r=smaug, f=btseng
--HG--
extra : rebase_source : 60a0e28ee3c063e730844874cca6b7f002c35fe4
extra : histedit_source : 02a45d4783e7fbb8ad30847e5f49f7a0e62cfeac
2016-09-12 13:51:10 +08:00
Jean-Yves Avenard 9be58da88a Bug 1299072: P1. Add message attribute to MediaError object, r=bz,Ehsan,gerald
MozReview-Commit-ID: HT6mIg4X0Sz

--HG--
extra : rebase_source : f2f0bac85df1347c0df236741efe92cac78bf969
2016-09-09 15:43:25 +10:00
Kaku Kuo cca4120327 Bug 1284350. Reland on top of backouts "Bug 1282710 - Part 1 - implement the suspend and resume logics in HTMLMediaElement.cpp according to visibility events; r=cpearce r=kamidphish" r=kaku
Instead of "not visible", "approximately visible", and "visible" (in display port) we now have "approximately not visible", and "approximately visible" which includes "visible".
2016-07-04 13:26:40 +08:00
Timothy Nikkel 4a590050bf Bug 1284350. Backed out changeset 1bbb1ab928c7 (Bug 1282710 - Part 1 - implement the suspend and resume logics in HTMLMediaElement.cpp according to visibility events; r=cpearce r=kamidphish) 2016-09-12 00:19:06 -05:00
J. Ryan Stinnett b7ca8b1d80 Bug 1301514 - Destroy browser API frame scripts during swap. r=kanru
When swapping content from <iframe mozbrowser> to <xul:browser>, we now stop the
frame scripts that implement the content side of the browser API since they are
no longer needed and can cause issues if they remain active.

MozReview-Commit-ID: JrecxA4MI93

--HG--
extra : rebase_source : cc68b975c7d82035410a647ff66eab130055ed04
2016-09-08 16:00:12 -05:00
Boris Zbarsky 058c0dac3f Bug 1300005. Make sure that our PositionOptions structs are always owned by someone in geolocation code. r=kanru 2016-09-02 17:55:37 -04:00
Stone Shih 4c774b11b2 Bug 1292070 - Part 2: Add API to synthesize mouse event with buttons. f=bevistseng, r=smaug
--HG--
extra : rebase_source : c676026e30c857b2a19854285f8bb40c47c58267
extra : histedit_source : c1ee981e9ab821a51d3abb96b1d2d334ffe8e0d2
2016-08-18 11:58:48 +08:00
Kartikaya Gupta 114ff898bb Bug 1299488 - Remove TabParent::InjectTouchEvent as it is unused but error-prone. r=botond
MozReview-Commit-ID: EVBRK70veT1
2016-08-31 16:54:23 -04:00
Kartikaya Gupta c372a788a5 Bug 1292781 - Add a test. r=tnikkel
MozReview-Commit-ID: f0UvsKMwAL
2016-08-24 09:15:42 -04:00
Edouard Oger 83666a61d8 Bug 1287643 - FxA Push registration and handling of device disconnection message. r=kitcambridge,nalexander
MozReview-Commit-ID: 8IH3kBivp26

--HG--
extra : rebase_source : b3e2d2587f111c9d2c8d0eab887027caf92fe859
2016-07-20 10:47:04 -07:00
Wes Kocher a58f8b89a0 Merge m-c to inbound, a=merge 2016-08-18 16:32:58 -07:00
Jimmy Wang f1deff206d Bug 1261299 - Add testing method GetSelectionAsPlaintext to DomWindowUtils which returns the text selection that was sent to the osx service menu nsChildView.mm. r=masayuki
MozReview-Commit-ID: JFzgyTmFDp2

--HG--
extra : rebase_source : 4bc04539a88d123e3ff70d07303adc759bace5b8
2016-07-08 11:35:39 -04:00
Thomas Wisniewski fe6139c017 Bug 932755 - Add support for input/textarea minLength and tooShort. r=mrbkap
--HG--
extra : rebase_source : 064985cbb241ef8705dcec28f60db9f4caf65ae4
2016-08-17 00:11:24 -04:00
Michael Layzell 8e946df619 Bug 1293001 - Part 2: Change the BinaryName of nsIContentSecurityPolicy::getPolicy from GetPolicy (which overloaded another virtual method), to GetPolicyString, r=froydnj
MozReview-Commit-ID: 4XWRar3Uuw
2016-08-11 15:49:40 -04:00
James Andreou 3585e16752 Bug 1283281 - Remove PB Flag from DOMStorage. r=jdm 2016-06-29 14:01:00 +02:00
David Zbarsky e0691abc04 Bug 824592 part 3. Get rid of nsIDOMElementCSSInlineStyle. r=peterv 2016-08-02 11:05:38 -07:00
Stone Shih f8f5ef1c1a Bug 1285128 - Should not generate pointer events for those synthesized events that are not dispatched to DOM. r=smaug 2016-07-07 15:28:11 +08:00
Gabor Krizsanits 8de309e78f Bug 1234583 -Expose OS Pid in nsITabParent. r=billm 2016-08-01 12:26:48 +02:00
Matthew Gregan 5e5637e77f Bug 1288980 - Add libcubeb backend to about:support. r=felipc 2016-07-26 10:50:14 +12:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Carsten "Tomcat" Book 37cacb6747 Merge mozilla-central to fx-team 2016-07-08 12:17:32 +02:00
Boris Zbarsky 3b1ead601a Bug 1282150 part 5. Kill off all the unused GetJSContextForEventHandlers cruft. r=bholley 2016-07-07 20:08:26 -04:00
Jan Henning 47101d08ae Bug 1282902 - Part 3 - Let the MobileViewportManager recalculate the saved resolution if the display width changed before restoring. r=kats
The mobile session store saves the current document resolution in order to restore the previous zoom level when restoring a page. If the display width has changed since the session data was captured (e.g. because the device was rotated), the resolution might have to be scaled appropriately.
Currently, the session store does this scaling by itself by comparing the stored and current window widths, however this implementation is slightly simplified and doesn't cover all use cases, which means some pages can be restored at a wrong zoom level after rotation. To correctly cover all cases, the session store would have to compare viewport widths, too.

Because the MobileViewportManager doesn't wait for the session store to set the restore resolution, the latter has to call setRestoreResolution() as early as possible in order to guarantee that the restore resolution is set before the first paint of the document. Therefore the session store currently calls this after receiving a LocationChange notification. However at that time, the correct viewport for the current document is not yet available, which means the resolution cannot be recalculated by the session store at that point.

Therefore, this patch changes the approach taken and lets the MVM handle all resolution calculations instead. The session store now simply passes the stored previous display dimensions along with the previous document resolution to the MVM, which can then compare them to the current display and viewport widths and scale the resolution appropriately before using it during first paint.


MozReview-Commit-ID: IGxWw87yftK

--HG--
extra : transplant_source : e%8D%BD%26%D2%C3%8E5%E3%2B%C0t%BA%DB%C1%BBs%3F%13%1F
2016-07-01 21:23:25 +02:00
Jan Henning b357e8c764 Bug 1282902 - Part 1 - Add a helper method for getting the content viewer size in device pixels. r=kats
The intention is for the session store to record the current window size and then pass it to the MobileViewportManager for restoring, so the latter can correctly scale the stored resolution if the display width has since changed. However currently all window dimensions available from the JS side are measured in CSS pixels rounded to integers. Transforming those values back into display pixels by multiplying them with "window.devicePixelRatio" (or accessing window.gScreenWidth/Height, which does the same thing internally) unfortunately introduces some rounding errors.

Therefore this patch introduces a new helper method in DOMWindowUtils which allows to access the content window width as measured in device pixels from the JS side, too.

MozReview-Commit-ID: FGNQlXhkgrU

--HG--
extra : transplant_source : %8B%90G%5C%C7%87%B8%8F%0D%EA%3B%FF%3AU%D5%07%81%E7%7Cq
2016-06-30 23:15:41 +02:00