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

392 Коммитов

Автор SHA1 Сообщение Дата
Florian Quèze c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Masayuki Nakano cf83ee7bb4 Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug
Note that this patch also replaces legacy VK_* with KEY_*, and replaces
synthesizeKey() for inputting some characters with sendString() because
it's better and clearer what it does and it sets shiftKey state properly.

MozReview-Commit-ID: De4enbjux3T

--HG--
extra : rebase_source : 2296b84bff8e22f01eeb48cd8614fac5db11136a
2018-02-15 04:15:39 +09:00
Masayuki Nakano 8917ac460f Bug 1436926 - part 2: Remove unnecessary KeyboardEvent.code specification of callers of EventUtils.synthesizeKey() r=smaug
Now, callers of EventUtils.synthesizeKey() don't need to specify
KeyboardEvent.code value anymore if they assume that active keyboard layout
is US keyboard layout.

Note that this patch changes the meaning of only test_bug551434.html.
Some callers in it don't match the key value and code value but that looks
like that they don't checking such odd keyboard events.  So, they must be
bug of the test.

MozReview-Commit-ID: Itxo7yZ9rkK

--HG--
extra : rebase_source : 856ef3715c924ca16e993ea57d92d1243b5cc6be
2018-02-09 19:17:26 +09:00
Kris Maglione 918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou 9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione 6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Nika Layzell e0822be7b9 Bug 1383876 - Part 2: Remove GroupedSHistory and Prerendering logic from JS code, r=freesamael
MozReview-Commit-ID: KwvOcgQKheK
2018-01-12 17:52:54 -05:00
Bill McCloskey 9f4d083047 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-07 12:55:24 -08:00
Andreea Pavel 89531e8dc3 Backed out 9 changesets (bug 1412456) for crashing talos g2 and unexpected network connections in browser-chrome's browser_searchEngine_behaviors.js r=backout a=backout on a CLOSED TREE
Backed out changeset 0c01a98f4fd5 (bug 1412456)
Backed out changeset 27077db47231 (bug 1412456)
Backed out changeset f35ec2a884f8 (bug 1412456)
Backed out changeset 602b30ac3c69 (bug 1412456)
Backed out changeset b1ff1050c589 (bug 1412456)
Backed out changeset f100d953f9eb (bug 1412456)
Backed out changeset d85af60fe259 (bug 1412456)
Backed out changeset 736f38486832 (bug 1412456)
Backed out changeset 13a637602dc2 (bug 1412456)
2017-12-07 12:20:21 +02:00
Bill McCloskey bef7c122df Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 21:17:05 -08:00
Dorel Luca eb65c24c7b Backed out 8 changesets (bug 1412456) for ESlint failure on browser_urlbarKeepStateAcrossTabSwitches.js:13:49 r=backout on a CLOSED TREE
Backed out changeset 0e88de036c55 (bug 1412456)
Backed out changeset 49b93f807db0 (bug 1412456)
Backed out changeset 039e980b7dc6 (bug 1412456)
Backed out changeset c7698410ddbd (bug 1412456)
Backed out changeset e56a1ba26b7c (bug 1412456)
Backed out changeset 0c4506e124ac (bug 1412456)
Backed out changeset a7aec2ce903b (bug 1412456)
Backed out changeset 3e9fb71f1e8e (bug 1412456)
2017-12-07 07:09:33 +02:00
Bill McCloskey be77cf4a01 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 20:46:58 -08:00
Tooru Fujisawa 50f5bf47cd Bug 1418739 - Part 2: Remove unused delayedStartup parameter from BrowserTestUtils.waitForNewWindow. r=smaug 2017-11-21 03:41:56 +09:00
Tooru Fujisawa 40f3a621e4 Bug 1418739 - Part 1: Remove wrong parameter from BrowserTestUtils.waitForNewWindow call in dom/tests/browser/browser_noopener.js. r=smaug 2017-11-21 03:41:56 +09:00
Nika Layzell c6f93a7aad Bug 1384358 - Avoid racy check of focus manager in content process, r=enndeakin
Previously this was safe, as the synthesized mouse event would be processed in
the child process, updating the focus state, in order - before the content
process would try to check its focus state. Now, thanks to multiple event queues
work, this isn't guaranteed.

This patch just adds retrying to the logic, so we retry up to 10 times, 100ms
apart. This should ensure that we don't incorrectly detect a test failure
intermittently.

MozReview-Commit-ID: J4uzl9jeafC
2017-11-17 15:17:56 -05:00
Michael Layzell 1579b1ad20 Bug 1345733 - Increase timeout for large allocation tests, r=smaug 2017-09-26 11:15:50 -04:00
Masatoshi Kimura 60816b85fa Bug 1398445 - Remove window._content. r=mystor,qdot
MozReview-Commit-ID: 13KovslzGnM

--HG--
extra : rebase_source : 801700a3dc0b1ca207e3b47e9f6433fbd2d00505
2017-09-09 10:47:48 +09:00
Andrew McCreight bfd580fb71 Bug 1186409 - Use Cu.getGlobalForObject when importing properties off a JSM global. r=kmag
With JSM global sharing, the object returned by Cu.import() is a
NonSyntacticVariablesObject, rather than a global. Various code tries
to use properties from a JSM global via an import.

Cu.importGlobalProperties can also be used in some places.

MozReview-Commit-ID: HudCXO2GKN0

--HG--
extra : rebase_source : 6b5fa6f5509397504cb461a761f6cc2399f18c40
2017-06-23 13:51:14 -07:00
Michael Layzell d54cc4e71e Bug 1394596 - Support window.open(undefined, undefined, "noopener") in the child process, r=smaug 2017-08-29 13:17:48 -04:00
Stone Shih 55c5359fa6 Bug 1351148 Part4: Revise those test cases that have some tasks have to be processed before or after the synthesized key events. r=smaug.
Make sure input events are processed before or after the dependent tasks.

MozReview-Commit-ID: 8KfZnT2wjJR
2017-06-07 14:28:16 +08:00
Stone Shih 665fb7cd54 Backed out changeset de4929e39b7e (bug 1351148) 2017-08-11 15:19:30 +08:00
Stone Shih b27577d8d6 Bug 1351148 Part4: Revise those test cases that have some tasks have to be processed before or after the synthesized key events. r=smaug.
Make sure input events are processed before or after the dependent tasks.

MozReview-Commit-ID: 8KfZnT2wjJR
2017-06-07 14:28:16 +08:00
Andrew Sutherland 8e40043ab4 Bug 1350637 - Part 10: Update LocalStorage e10s tests for change to PBackground. r=janv
The e10s tests were written assuming a world where ContentTask.spawn and
LocalStorage were both PContent.  Also, that Quantum DOM labeling wasn't
something to worry about.  These assumptions no longer held, resulting in
the test intermittently failing if all changes hadn't propagated via
PBackground to the tab under test by the time the ContentTask.spawn
state retrieval call made it to the tab's main thread.

This has been corrected by using "storage" events where already in use and
polling where not in use.  Plase see the added comments for more details.
2017-08-07 04:14:17 -04:00
Masatoshi Kimura 49e04cc095 Bug 1149830 - Remove nsIStackFrame::language. r=bz,mccr8
MozReview-Commit-ID: LxTiLFzNJ9Y

--HG--
extra : rebase_source : 98ca14aa59a62309dcbe0c9ed3e961c730ff9db9
2017-08-03 15:50:07 +09:00
Kyle Machulis 2533883d04 Bug 1279218 - Rename HTMLSharedObjectElement to HTMLEmbedElement; r=bz
MozReview-Commit-ID: KkvRkFXAX30

--HG--
rename : dom/html/HTMLSharedObjectElement.cpp => dom/html/HTMLEmbedElement.cpp
rename : dom/html/HTMLSharedObjectElement.h => dom/html/HTMLEmbedElement.h
extra : rebase_source : 460c2a018e2a737b6397e8306127d73bc017d8da
2017-07-28 21:35:43 -07:00
Carsten "Tomcat" Book 2ff6df9177 Backed out changeset 5198322f7a62 (bug 1351148) 2017-07-28 09:20:20 +02:00
Stone Shih a5bccae405 Bug 1351148 Part4: Revise those test cases that have some tasks have to be processed before or after the synthesized key events. r=smaug.
Make sure input events are processed before or after the dependent tasks.

MozReview-Commit-ID: 8KfZnT2wjJR
2017-06-07 14:28:16 +08:00
Florian Quèze fb91723a8a Bug 1374282 - hand cleanup for the script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
Florian Quèze 66f6d259bc Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
Edgar Chen 7b429345fd Bug 1236512 - Part 3: Set docShellIsActive to false when browser window is fully covered by another application; r=mconley
MozReview-Commit-ID: DLsmWp1h8pa
2017-06-05 14:56:00 +08:00
Carsten "Tomcat" Book 7a237f7900 Backed out changeset f9147bef9fc6 (bug 1236512) 2017-06-20 14:30:34 +02:00
Edgar Chen 2ae9d877a0 Bug 1236512 - Part 3: Set docShellIsActive to false when browser window is fully covered by another application; r=mconley
MozReview-Commit-ID: DLsmWp1h8pa
2017-06-05 14:56:00 +08:00
Paolo Amadini 585fbe6cec Bug 1242505 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty

--HG--
extra : rebase_source : b6573f8e2001f91d0e5a50f6376b191459549e94
extra : intermediate-source : 0411e687044ecc7b56684196238e6e6e68a9d685
extra : source : 8d53be05afc59519c5ce8cfae96d284a972fda71
2017-06-18 08:05:06 +01:00
Andrew Sutherland 13e936cdab Bug 1345421 - Part 2: Ensure mOriginsHavingData is up-to-date via flushing. r=baku
The intermittent failure appears to have been due to mOriginsHavingData
only being updated when the db thread flushes.  The db thread has a
hard-coded 5 second flush interval.  It's likely that e10s startup was
previously so slow that we were assured of having a flush happen by the
time our fresh process created its parent actor.

We correct this by reliably ensuring a flush before spinning up the
process to check preload state.  We also ensure a flush at the start of
the test for our check that there was no preload in the initial cases.
We were actually more vulnerable in that case, I believe, but as a
browser chrome test, there were no other tests that would have used
content localStorage.

We additionally ensure that the content process has received and
populated mOriginsHavingData by having the tab opening process wait for
about:blank to load in the process before actually opening our origin.
Prior to this change we were depending on orderings that aren't
guaranteed.

--HG--
extra : rebase_source : 92d3c675cee82ffe8b562e83860601e0c6dc1a9b
2017-06-12 04:52:21 -04:00
Andrew Sutherland c742aa9555 Bug 1345421 - Part 1: Clean up mechanism used to create fresh processes. r=baku
Bug 1345990 introduced a "forceNewProcess" argument in
BrowserTestUtils.openNewForegroundTab.  By switching to this we can
stop bloating the process count pref to try and produce equivalent
results.  To minimize test churn and because it doesn't really hurt to
double-check, the code that asserts that our tabs are each in different
processes and related book-keeping infrastructure have been left intact.

We also set a preference to disable preallocated processes in the interest
of maximizing test consistency and minimizing breakage.  It's conceivable
that a preallocated process might end up creating its StorageDBParent
actor prior to when we want, breaking things.  By ensuring the process
isn't created until we want it, we avoid a lot of brittleness.

--HG--
extra : rebase_source : 5736f7b2d06b720cefbe82eb6052e71b9fc14f23
2017-06-12 03:17:17 -04:00
Michael Layzell c6ad56691f Bug 1371349 - Request an even longer timeout for browser_noopener.js, r=smaug
MozReview-Commit-ID: 7YhR1duEIJr
2017-06-13 12:30:33 -04:00
Michael Layzell f7ba81adf8 Bug 1371100 - Check userContextId in the content process instead of in the chrome process, r=smaug
This is necessary because we asynchronously send the updated UserContextId back
from the child to the parent process, and we would occasionally lose the race on
infrastructure causing us to see the non-updated version.

With this change we explicitly ask the content process, which is not racey.

MozReview-Commit-ID: LODNi1YmBI8
2017-06-08 13:42:14 -04:00
Michael Layzell b8affd20db Bug 1365032 - Part 2: Add a test for propagating properties of windows across window.open, r=smaug
MozReview-Commit-ID: i7cW9rd0eO
2017-06-07 12:55:07 -04:00
Kris Maglione e51750a9c4 Bug 1322235: Part 6 - Replace AddonPolicyService with a stub implementation in ExtensionPolicyService. r=mixedpuppy,zombie
This replaces the JS policy service stubs with a pure C++ version which
directly makes policy decisions based on active WebExtensionPolicy objects.

This is the first step in a larger refactoring, which will remove the
ExtensionManagement module entirely, and replace the current add-on policy
service with direct, non-virtual access to native WebExtensionPolicy objects.

It will also be followed by related changes to migrate the content script and
extension page matching to native code, based on the existing MatchPattern and
WebExtensionPolicy bindings.

MozReview-Commit-ID: 2MpbmXZGiPZ

--HG--
extra : rebase_source : 8b268618164b45605143e858665e592de829a6fa
2017-06-03 17:12:14 -07:00
Joel Maher b44356bc28 Bug 1368364 - backout bug 1242505 as it causes browser/modules/ intermittent failures. r=paolo 2017-06-03 10:34:14 +02:00
Paolo Amadini d7513d1e02 Bug 1242505 - Part 3 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty

--HG--
extra : rebase_source : 64395c5fdf25deebd60dfbf2cf5df3cbf7ca8abb
extra : amend_source : 0a3f13419c050662680f2bd110d724b3bf991732
extra : source : 8d53be05afc59519c5ce8cfae96d284a972fda71
2017-05-28 11:46:45 +01:00
Sebastian Hengst 8d47870cdc Backed out changeset 8d53be05afc5 (bug 1242505) 2017-05-28 11:31:12 +02:00
Paolo Amadini 8edd3b1d5c Bug 1242505 - Part 3 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty

--HG--
extra : rebase_source : 59e5b84cb431f3ca28287d30a3da8fbea1363ec5
2017-05-25 15:00:35 +01:00
Masayuki Nakano 730193bdb6 Bug 1339543 part 2 eKeyPress event should have edit commands for all editor types when it's dispatched to a remote process r=smaug
When eKeyPress event is dispatched from TabParent to a remote process, it
should store edit command for all editor types.  Then, copied
WidgetKeyboardEvent in the remote process doesn't need to request the edit
commands when its ExecuteEditCommands() is called.

Note that this patch also changes a automated test, browser_bug1316330.js,
that uses nsIDOMWindowUtils.dispatchDOMEventViaPresShell() to dispatch
repeated keyboard events in the tab.  However, it should use synthesizeKey()
to emulate everything of native keyboard events and the API can dispatch
repeated keyboard events too.  (And the test has a bug.  It tries to wait 0.5
sec when every keydown or keypress event.  However, it fails since startTime
is never initialized.  This patch fixes this bug too.)

MozReview-Commit-ID: IYhyxqH3Ch8

--HG--
extra : rebase_source : 0db911e8e6ea7fc537bda76f4cc0f8952cc13dd2
2017-05-19 17:24:20 +09:00
Bob Owen 746d38b25f Bug 1351358 Part 8: Check that reload doesn't cause new process when large allocation browser in tab group. r=mystor 2017-05-18 12:08:58 +01:00
Christoph Kerschbaumer e4f38c8d7c Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Mike Conley 58788522cd Bug 1336763 - Update browser_beforeunload_between_chrome_content.js to use ContentTask. r=jessica
By using ContentTask, we get a Promise that resolves once we've heard confirmation from
the content process that the ContentTask function has completed running. This means we
can be certain that browser_beforeunload_between_chrome_content.js has had the beforeunload
event handlers added before attempting to unload the page.

MozReview-Commit-ID: DhoTsOZ4BNk

--HG--
extra : rebase_source : ee31ed4e9a8fe0b734a5961c8b0d47d75ccb6703
2017-04-27 12:46:59 -04:00
Mike Conley 021b4cf90f Bug 1336763 - Regression tests that exercise nsITabParent's hasBeforeUnload attribute. r=Ehsan
MozReview-Commit-ID: 5prqteICE7M

--HG--
extra : rebase_source : 6ef3060590051f7f3187734cf6c84acf2f437d91
2017-04-14 18:32:37 -04:00
Andrea Marchesini 26843e3f98 Bug 1357473 - Update Console to the latest spec - part 7 - test updated, r=bgrins 2017-04-20 13:52:43 +02:00
Andrea Marchesini 9a89dabb3e Bug 1357473 - Update Console to the latest spec - part 3 - Console.groupEnd(), r=bgrins, r=nchevobbe 2017-04-18 10:04:00 +02:00
Florian Queze 37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze 95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Michael Layzell 64b0637518 Bug 1347983 - Part 2: Add a test to ensure that forms submitted from a large-allocation page behave correctly, r=smaug
MozReview-Commit-ID: Af44H11AFMf
2017-03-16 14:32:30 -04:00
Michelangelo De Simone ef7392e0f4 Bug 1341928 - Tag the Geolocation test suite. r=jdm
MozReview-Commit-ID: 9bNXMQNsL1a

--HG--
extra : rebase_source : 99ed74fc1c64472d29687d541d4b254c6b4ba2d8
2017-02-22 15:49:59 -08:00
Michelangelo De Simone 22a7c10b2c Bug 1072859 - Disable Geolocation on non-secure origins. r=jdm
MozReview-Commit-ID: KnHOb0aN4nE

--HG--
extra : source : 07ead25d0bdae2e62c116da16f70f5599513d00f
extra : histedit_source : 19e33405ac6e7b228179e397a80bd39a44651f4a%2C04a0bb8d5aaa06b8780f1937cc836b404bd8d1f7
2017-03-08 16:45:44 -08:00
Sebastian Hengst dd5376d924 Backed out changeset 8b1c50cdb50c (bug 1072859) for failing devtools/client/responsive.html/test/browser/browser_permission_doorhanger.js. r=backout a=merge
MozReview-Commit-ID: LaknhYl9fEw

--HG--
extra : source : 6263649f857f55b11a6060d4a8735bdc8dbb0971
2017-03-09 00:46:17 +01:00
Michelangelo De Simone 1cd6de26c9 Bug 1072859 - Disable Geolocation on non-secure origins. r=jdm
MozReview-Commit-ID: KnHOb0aN4nE

--HG--
extra : rebase_source : a04cb5f52614889e83d8bcf5d8345f2559878b94
2017-03-06 14:10:13 -08:00
Kris Maglione 85333437e5 Bug 1314361 - Part 3: Stop using origin attributes for add-on ID in console filtering. r=baku 2017-02-26 13:13:45 -08:00
Andrew Sutherland 7a796ee397 Bug 1341161 - Handle "dom.ipc.keepProcessesAlive.web" pref not existing, fixing permaorange on aurora. r=baku
--HG--
extra : rebase_source : 870812dc3d5ff08245ab24c6c7fa6994e3c65520
2017-02-20 22:19:16 -05:00
Andrew Sutherland 0ce2fb42e7 Bug 1285898 - [e10s-multi] LocalStorage e10s Test. r=baku
--HG--
extra : rebase_source : 27e7ae089b79b8d4b90315a11cc7eb05d285c643
extra : intermediate-source : 8bbe285cf5c03f6df3b199374310ff5150664290
extra : source : 6fdb24e1256d20fc1ff22f20cc47c1955a3962c4
2017-02-07 04:05:07 -05: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 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 0515563c38 Bug 1339153 - Part 2: Add a test to ensure that view-source pages are not loaded as though they have a Large-Allocation header, r=smaug
MozReview-Commit-ID: CDYNC6UDScJ
2017-02-13 14:42:24 -05:00
Jessica Jong ed17f6c827 Bug 1316330 - Cancel delayed keypress events if last keydown was canceled. r=smaug
--HG--
extra : histedit_source : 7d2215d9c049b01b883e194e0efd0e61845223a3%2C135d6e6cef429efc19bba2c03a0f73fc6441d3a1
2017-02-03 05:16:00 -05:00
Phil Ringnalda b1aadb3572 Backed out 5 changesets (bug 1285898) for causing the crashes of bug 1336242
Backed out changeset 15b3b9feb54f (bug 1285898)
Backed out changeset 1d0bfb02d6c0 (bug 1285898)
Backed out changeset bc99844772ee (bug 1285898)
Backed out changeset 8bbe285cf5c0 (bug 1285898)
Backed out changeset e56108122b90 (bug 1285898)
2017-02-02 22:02:24 -08:00
Andrew Sutherland 93beea7eba Bug 1285898 - [e10s-multi] LocalStorage e10s Test. r=baku
--HG--
extra : rebase_source : 9e67a030af0a653c7382bc9c1c790a8af60a968a
extra : source : 6fdb24e1256d20fc1ff22f20cc47c1955a3962c4
2017-01-18 17:45:09 -05:00
Michael Layzell 086fc9186e Bug 1331087 - Part 1: Disable the largeAllocation header by default outside of Win32 builds, r=ehsan
MozReview-Commit-ID: 4jUFLv4fMZa
2017-01-31 14:08:20 -05:00
Michael Layzell e05f540cb8 Bug 1333936 - Lift the Large-Allocation header process cap to 10, r=smaug
MozReview-Commit-ID: L3dvIhhV2Ga
2017-01-31 14:08:20 -05:00
Michael Layzell 7a66b1dc95 Bug 1334210 - Handle Large-Allocation process exhaustion more smoothly, r=ehsan
MozReview-Commit-ID: KxnFTSXxWVi
2017-01-31 14:08:20 -05:00
Michael Layzell 149c8c2a40 Bug 1332343 - Fix browser_largeAllocation.js in multi-e10s, r=smaug
MozReview-Commit-ID: EdNYf1saOI0
2017-01-31 14:08:20 -05:00
Phil Ringnalda 85843f4cff Backed out 4 changesets (bug 1285898) for browser_localStorage_e10s.js failure
Backed out changeset 9c6057cde326 (bug 1285898)
Backed out changeset bd68ebab64fa (bug 1285898)
Backed out changeset 6fdb24e1256d (bug 1285898)
Backed out changeset 6681b50c1f6d (bug 1285898)
2017-01-30 21:49:42 -08:00
Andrew Sutherland 57b997c027 Bug 1285898 - [e10s-multi] LocalStorage e10s Test. r=baku 2017-01-30 22:47:28 -05:00
Florian Quèze 2cf30507bd Bug 1334261 - script-generated patch to remove more newURI null parameters, r=jaws. 2017-01-27 10:51:02 +01:00
Florian Quèze 0e0865f4fc Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Gabor Krizsanits 216527edfc Bug 1303113 - Turn e10s-multi on in Nightly. r=me 2017-01-23 14:15:30 +01:00
Carsten "Tomcat" Book 0367e7729d Backout bug 1316330 on developers request 2017-01-20 14:16:13 +01:00
Michael Layzell ccc271ebd2 Bug 1330332 - Update prerendering tests to validate global history state, r=smaug
MozReview-Commit-ID: BlmyzkURF9t
2017-01-19 15:26:18 -05:00
Wes Kocher 32faf4c617 Backed out changeset 0c891a3aff93 (bug 1303113) for test-oop-extensions failures a=backout CLOSED TREE
MozReview-Commit-ID: AU5hIBAmFKw
2017-01-19 11:29:42 -08:00
Gabor Krizsanits c56ff65186 Bug 1303113 - Turn e10s-multi on in Nightly. r=me 2017-01-19 17:43:05 +01:00
Jessica Jong cb707ac950 Bug 1326779 - [e10s] Fire beforeunload event when navigating to a page in different process. r=smaug
--HG--
extra : rebase_source : f1268fbb9c2725e79fef2d6627e9e11e6e000acc
2017-01-16 21:33:00 -05:00
Florian Quèze 85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Michael Layzell 32925494c4 Bug 1329331 - Add tests for not leaving the Large-Allocation process when there are other toplevel windows, r=smaug
MozReview-Commit-ID: JVM8SxleFe8


--HG--
rename : dom/tests/browser/test_largeAllocation.html => dom/tests/browser/test_largeAllocation2.html
2017-01-16 14:03:09 -05:00
Michael Layzell 3a272149c6 Bug 1329331 - Leave the Large-Allocation process after subsequent navigations, r=smaug
MozReview-Commit-ID: DfivmSEvzBu
2017-01-16 14:03:09 -05:00
Olli Pettay cb443e8ff8 Bug 1330252, try to avoid flooding child process with repeated key events, r=masayuki
--HG--
extra : rebase_source : 53241a14eae10852024d68837d377b91a2f7fbec
2017-01-16 11:29:37 +02:00
Jessica Jong 4d95d705cd Bug 1316330 - Cancel delayed keypress events if last keydown was canceled. r=smaug
--HG--
extra : rebase_source : 77456a1ef26a765d7710d51317e547495ac00993
2016-12-02 15:35:28 +08:00
Florian Quèze a03918c148 Bug 1330147 - automatic removal of the third boolean parameter in removeObserver calls, r=jaws. 2017-01-11 22:27:42 +01:00
Florian Quèze fc6379e827 Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws. 2017-01-09 20:27:26 +01:00
Samael Wang 1e9e35e6e1 Bug 1323651 - Rename Partial/GroupedSessionHistory to Partial/GroupedSHistory. r=ehsan
MozReview-Commit-ID: G2GW4ZPIfH3
2016-12-22 16:06:50 +08:00
Michael Layzell 157bf6ad49 Bug 1315105 - Part 4: Add a test for basic prerendering functionality, r=smaug
MozReview-Commit-ID: JYIpE8aeJRX

--HG--
extra : rebase_source : 8a3dd513399df3c2e7f08ace0023fd2cb00e9721
2016-12-19 15:06:30 +08:00
Carsten "Tomcat" Book 4accb2ccc4 Backed out changeset 5414d6a71785 (bug 1315105)
--HG--
extra : rebase_source : 32ab8a0003ae643e467bcc24bd857ce58679c82f
2016-12-19 15:58:54 +01:00
Michael Layzell 83167f96d3 Bug 1315105 - Part 4: Add a test for basic prerendering functionality, r=smaug
MozReview-Commit-ID: JYIpE8aeJRX
2016-12-19 15:06:30 +08:00
Andrea Marchesini 3f9ca03e22 Bug 1323676 - Remove ConsoleTimerStart.started, r=bgrins 2016-12-16 22:42:10 +01:00
Tooru Fujisawa 515ef9ba45 Bug 1321218 - Remove legacy generator from dom/. r=smaug 2016-12-01 18:11:32 +09:00
Andrea Marchesini 2f974ccbce Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-18 09:33:33 +01:00
Sebastian Hengst 7110a88674 Backed out changeset d43b778d95c6 (bug 1318273) for failing mochitest fetch/test_formdataparsing.html. r=backout on a CLOSED TREE 2016-11-17 20:58:38 +01:00
Andrea Marchesini cf2ad8072f Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-17 19:36:01 +01:00
Andrea Marchesini 3120de1ea7 Bug 1315905 - Cleanup Necko http security check - part 2 - tests, r=valentin 2016-11-17 14:53:30 +01:00
Neil Deakin 3e2bb046b6 Bug 1310403, Remove special mouse handling for buttons which fixes extra focus events, r=smaug 2016-11-11 10:30:36 -05:00
Sebastian Hengst 41d0a78bc2 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/tests. r=RyanVM
MozReview-Commit-ID: 83L2jqWhzZe

--HG--
extra : rebase_source : 58c7339e13a0abdb3da2c6ccd2dc424b51869b08
2016-11-05 11:29:18 +01:00
Michael Layzell 063bebec5e Bug 1304140 - Part 2: Add tests for the Large-Allocation header, r=smaug
MozReview-Commit-ID: B2UpbKd2ptp
2016-10-31 16:38:54 -04:00
Ehsan Akhgari 9de6bbbaec Bug 1261019 - Part 3: Remove Navigator.mozApps and code depending on it; r=myk,jryans,fabrice,mcmanus,peterv 2016-10-13 13:18:41 -04:00
Blake Kaplan 34e6eff4f8 Bug 1304531 - Remove CPOW usage from browser_ConsoleStorageAPITests.js. r=Felipe
This was a little tricky to get right. The "spin the event loop" bit is weird
but doing a setTimout to call resolve is already redundant since resolve calls
the promise callbacks on the next turn of the event loop anyway. Basically,
the test just needed to move more stuff to the content process.

MozReview-Commit-ID: KrZZU5reJf7

--HG--
extra : rebase_source : 0817cdefc2e3941a5f59e3e8365d72395d8c4869
2016-09-20 18:04:15 -07:00
Michael Layzell 420156f40f Bug 1271819 - Rewrite browser_focus_steal_from_chrome to avoid race condition, r=enndeakin 2016-08-03 13:25:06 -04:00
Blake Kaplan b43a6820bf Bug 1267479 - Use ContentTask to avoid using intermittent CPOWs in browser_bug396843.js. r=wchen 2016-07-22 16:45:47 -07:00
Mike Conley 0c3578df60 Bug 1276738 - Tag a bunch of tests that exercise opening windows with openwindow. r=me
There are a series of tests strewn about the tree that seem to exercise window
opening in one form or another, so I thought I'd put them under a tag.

MozReview-Commit-ID: 74JwLUTzaMU

--HG--
extra : rebase_source : 87439bacd9643ab63d015f58f44af2f8a74675a0
extra : source : 9d903a6a12aa7182252ec3e220c89b569c14e11b
2016-04-29 14:29:03 -04:00
Carsten "Tomcat" Book a91653581d Backed out changeset 9d903a6a12aa (bug 1276738) for test failures in test_blank_named_window.html on a CLOSED TREE
--HG--
extra : rebase_source : cd1218144d092a62764b014cffb6b0a92b5f9141
2016-06-02 08:13:16 +02:00
Mike Conley 0d5fa55d26 Bug 1276738 - Tag a bunch of tests that exercise opening windows with openwindow. r=me
There are a series of tests strewn about the tree that seem to exercise window
opening in one form or another, so I thought I'd put them under a tag.

MozReview-Commit-ID: 74JwLUTzaMU

--HG--
extra : rebase_source : 0c92084914ffe44a781f034b2416e17905656607
2016-04-29 14:29:03 -04:00
Michael Layzell 1a795be9f7 Bug 1270115 - Rewrite browser_ConsoleStorageAPITests.js to run in e10s. r=bz 2016-05-19 09:38:03 -04:00
Michael Layzell 3c3f655608 Bug 1271067 - Make test_bug1004814 more reliable on non-e10s, r=baku 2016-05-19 09:37:51 -04:00
Michael Layzell a0e9525087 Bug 1270299 - Modify browser_ConsoleAPITests.js to run in e10s, r=baku 2016-05-16 13:54:55 -04:00
Michael Layzell 5d45419a2c Backout Bug 1270115 - Rewrite browser_ConsoleStorageAPITests.js to run in e10s for bustage 2016-05-06 15:33:19 -04:00
Michael Layzell 295b6efb5a Bug 1270509 - Enable browser_ConsoleStoragePBTest_perwindowpb.js on e10s, r=enndeakin 2016-05-06 13:52:48 -04:00
Michael Layzell 2696694ada Bug 1270115 - Rewrite browser_ConsoleStorageAPITests.js to run in e10s. r=bz 2016-05-06 13:52:47 -04:00
Michael Layzell 1a54e3cc12 Bug 1270121 - Rewrite test_bug1004814 to work in e10s, r=baku 2016-05-06 13:52:45 -04:00
Michael Layzell 78593ea848 Bug 1270509 - Enable browser_xhr_sandbox.js on e10s, r=enndeakin 2016-05-06 13:52:43 -04:00
Michael Layzell 3082b353b8 Bug 1270117 - Modify browser_focus_steal_from_chrome_during_mousedown to run on e10s, r=enndeakin 2016-05-06 13:52:42 -04:00
Michael Layzell 7ed351b002 Bug 1270118 - Modify browser_focus_steal_from_chrome to run on e10s, r=enndeakin 2016-05-06 13:52:40 -04:00
Michael Layzell fe89e56dfa Bug 1270119 - Rewrite browser_localStorage_privatestoragevent.js to run on e10s, r=jdm 2016-05-06 13:52:38 -04:00
Tracy Walker c660026541 Bug 1265436 - modernize dom/tests/browser/browser_bug396843.js to work in e10s, also re-enable dom/tests/browser/browser_bug1238427.js as it works as is. r=jimm 2016-04-21 16:12:40 -05:00
Luca Greco 7cf178484c Bug 1264106 - Fix browser_ConsoleAPI_originAttributes.js permafail on DevEdition. r=baku
- the test case was failing because of an additional error message which is logged only on DevEdition.
- this patch makes the assertions on the cached messages more resilient to this kind of changes in the logged messages, by filtering the cached messages and then making assertions on the length of the messages found.

MozReview-Commit-ID: GIPOkWzM9Bo

--HG--
extra : rebase_source : ba0b92859105afcc6f2101a95e74b99b5a3f9aae
2016-04-13 00:48:01 +02:00
Gijs Kruitbosch 30a0ac0ed8 Bug 1253673, r=bz
MozReview-Commit-ID: eyZ0XvZkfM

--HG--
rename : browser/base/content/test/general/dummy_page.html => dom/tests/browser/dummy.html
extra : amend_source : 0ceb77aae62ed163362e794b9aed8f92849e3e6d
extra : histedit_source : 60dbd015a6909a0023dc26613530c89a16de6ea7%2Ca5ea96457b370e57e3a73c19bea08e157f16ac4f
2016-04-19 09:56:19 +01:00
Tracy Walker 52c3feb502 Bug 1262831 - Enable browser_frame_elements.js, browser_test_content.js and browser_test_new_window_from_content.js in dom/tests/browser/browser.ini. r=jimm
--HG--
extra : rebase_source : a4a457014e2b4024537328d50f1ba8bc69878d43
2016-04-11 15:41:50 -05:00
Chris Manchester f7a1b3fb60 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Luca Greco 2a28dabb62 Bug 1211665 - Save originAttributes in the console event messages. r=baku
Save the originAttributes of the current principal into the console events,
so that we can filter the console messages by originAttributes (e.g.
WebExtensions console events can be filtered using the addonId that the
ExtensionPages' originAttributes contain.

MozReview-Commit-ID: 5v9BWLbgskd

--HG--
extra : transplant_source : %2C%A1%D4%8AEp%E6G%8A%2C%DA%A8%EE%B3%EA%0E%84xk%FF
2016-04-01 13:55:40 +02:00
Ehsan Akhgari 3482a3267c Bug 1229220 - Update the scrollbar visibility prefs when initializing a TabChild; r=smaug
This will make sure that window.scrollbars correctly reflects the respective
chrome flags in e10s mode.

We also update nsXULWindow::SetContentScrollbarVisibility() to the new
nsContentUtils helper.  That code is responsible for doing this work in the
single process case.
2016-03-18 11:13:20 -04:00
Sebastian Hengst 9526b58457 Backed out changeset 66fdeb1acce5 (bug 1229220) for M-e10s failure in test_fullscreen-api.html. r=backout on a CLOSED TREE 2016-03-14 23:03:37 +01:00
Ehsan Akhgari ce1ef38b75 Bug 1229220 - Update the scrollbar visibility prefs when initializing a TabChild; r=smaug
This will make sure that window.scrollbars correctly reflects the respective
chrome flags in e10s mode.

We also update nsXULWindow::SetContentScrollbarVisibility() to the new
nsContentUtils helper.  That code is responsible for doing this work in the
single process case.
2016-03-14 16:03:21 -04:00
Neil Deakin 7e8e97329b Bug 1246654, enable browser_bug1008941_dismissGeolocationHanger.js in e10s, r=mconley 2016-03-09 09:11:46 -05:00
Neil Deakin 01667b7d93 Bug 1246635, enable browser_autofocus_preference.js in e10s, r=mrbkap 2016-03-09 09:11:35 -05:00
Neil Deakin 3c1f661ece Bug 1246635, enable browser_autofocus_background.js in e10s, r=mrbkap 2016-03-09 09:11:12 -05:00
Mike de Boer c326e059de Bug 1241930: Part 5 - convert all assertion methods used inside content tasks to the Assert.* family in dom tests. r=mconley 2016-03-04 14:32:32 +01:00
Blake Kaplan 8b6148f70d Bug 1245723 - Fix browser_frame_elements and re-enable now-passing tests. r=felipe 2016-02-09 14:40:36 -08:00
Andrew McCreight 9f632b6e53 Bug 1238427 - Avoid a strong reference from the timeout timer to nsGeolocationRequest. r=jdm
The timeout timer of a geolocation request holds a strong reference to
the request. This can cause the window to leak if the request is not
completed before the tab containing the window is closed.

To fix this, I made the timer instead hold a strong reference to a
wrapper class that has only a weak reference to the request. The
request destructor must now cancel the timeout timer.

I also outlined a call to StopTimeoutTimer() in
nsGeolocationRequest::Shutdown().
2016-01-21 09:57:30 -08:00
Phil Ringnalda 8b079b3e4c Back out 0014798942e0 (bug 1238427) for its bad implicit conversion constructor for 'TimerCallbackHolder'
CLOSED TREE
2016-01-20 21:17:44 -08:00
Andrew McCreight c2fbfc9add Bug 1238427 - Avoid a strong reference from the timeout timer to nsGeolocationRequest. r=jdm
The timeout timer of a geolocation request holds a strong reference to
the request. This can cause the window to leak if the request is not
completed before the tab containing the window is closed.

To fix this, I made the timer instead hold a strong reference to a
wrapper class that has only a weak reference to the request. The
request destructor must now cancel the timeout timer.

I also outlined a call to StopTimeoutTimer() in
nsGeolocationRequest::Shutdown().
2016-01-19 14:09:00 -05:00
Mike Conley 5433e47dd6 Bug 1218594 - Regression test. r=felipe
--HG--
extra : commitid : GFWHfGonWSr
extra : rebase_source : a5cf935ce2f1cb1ead5a70b162e3a93be03e8269
extra : histedit_source : f75bab77d2743c8b549d10da5654b3b57294f90f
2016-01-04 13:46:58 -05:00
Mike Conley f9c6c36436 Bug 1218594 - Fix some bad test assertion strings. r=felipe
--HG--
extra : commitid : 3FIPSOKEnYS
extra : rebase_source : 4bf04136cba0c19bf444db94b127fcd36d335e7c
extra : histedit_source : 7336bc9c3b80c30fe2ac1a71b5913f88b9c932cb
2016-01-04 13:46:40 -05:00
Phil Ringnalda 1d8e579544 Bug 1079617 - Increase the timeout of browser_test_new_window_from_content.js 2015-11-14 15:00:33 -08:00
Antonio de Luna e7cdfb81f4 Bug 1210482 - regression tests for 1194897 in which window.[location|menu|personal|status|tool]bar.visible broke for e10s, we're testing these behave appropiately both in content and chrome. r=mconley
--HG--
extra : rebase_source : 72470770cf6ae64e24e3b6216f26673fc1978a8e
2015-11-09 15:53:00 +01:00
Mike Conley c569672024 Bug 1095236 - Test that windows opened from content with dialog=1 still open. r=mrbkap.
Relanding CLOSED TREE

--HG--
extra : source : 11cb6379251ae9efd70bf3bc1f8fab9b66b3d964
extra : amend_source : 6a585ebc1cb80896b598a76cb4275b4ee9f1cee8
2015-10-02 19:08:20 -04:00
Mike Conley d8c70c1560 Bug 1095236 - Simplify browser_test_new_window_from_content.js to use BrowserTestUtils. r=mrbkap
--HG--
extra : source : a179310161fb9240245995f86a31ef45cace38f6
2015-10-02 19:44:48 -04:00
Wes Kocher 73e113381f Backed out 3 changesets (bug 1095236) for possibly spiking the frequency of VP(b-m) failures CLOSED TREE
Backed out changeset 11cb6379251a (bug 1095236)
Backed out changeset 856b7b90184f (bug 1095236)
Backed out changeset a179310161fb (bug 1095236)
2015-10-13 10:08:11 -07:00
Mike Conley 00646ae181 Bug 1095236 - Test that windows opened from content with dialog=1 still open. r=mrbkap.
--HG--
extra : commitid : K0O9jLpNT8J
extra : rebase_source : c2451a8d140b99435af9c754a5656648d6ab946f
extra : histedit_source : 93dab434745a51088d77e5b33dbef0a9161ea51c
2015-10-02 19:08:20 -04:00
Mike Conley b98d93ada9 Bug 1095236 - Simplify browser_test_new_window_from_content.js to use BrowserTestUtils. r=mrbkap
--HG--
extra : commitid : Ia8rS8t1WAn
extra : rebase_source : e5a9f99eb8c900dacb363658973050f78320be29
extra : histedit_source : 28435fa0ad3292ca096f79b53c91ef9ea6305ffd
2015-10-02 19:44:48 -04:00
Tooru Fujisawa af8ef74cc6 Bug 1207494 - Part 12: Remove use of expression closure from dom/tests/. r=jst
--HG--
extra : commitid : JmNDjAIaG9G
extra : rebase_source : e5829f84f053b3840b8c4568d8d26352e0119b29
2015-09-23 18:39:15 +09:00
Gijs Kruitbosch 5dd3837ea4 Bug 636905 - part 3: flip prefs in tests to keep them working, r=jaws
--HG--
extra : commitid : 5ctg1uTZzZd
extra : rebase_source : 953ba9df408b24a340074abeb1a05a2c02b2bbf6
2015-09-26 15:01:51 +01:00
Shu-yu Guo 64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00