e0d46353854c42beef011a1d818ca0477ef4374e: Bug 1312244 - Autocomplete popup does not close when anchor clicked a second time. r?Enn
draft
Mike Conley <mconley@mozilla.com> - Mon, 24 Oct 2016 11:32:10 -0400 - rev 428744
Push
33411 by mconley@mozilla.com at Mon, 24 Oct 2016 15:45:02 +0000
Bug 1312244 - Autocomplete popup does not close when anchor clicked a second time. r?Enn
The popuphiding / popuphidden events are fired synchronously when the popup manager
decides we're doing a "rollup" (closing the popups due to "outside" events). In the case
of this bug, the "outside" event is a click on the input element in content.
Here's the kicker though: we handle that popuphidden event and queue a message to content
_before_ the mouse event that caused the roll-up is dispatched to content. This means that
browser-content.js hears that the popup closed due to popuphidden first, sets its internal
state of popupClosed to true, and then the MouseDown on the input field is processed. The
nsFormFillController then queries browser-content's AutoCompletePopup, sees its closed,
and tells the parent to open it again.
This patch adds the norolluponanchor attribute to the panel, which causes us to ignore the
rollup event if it happens to be targeted within the anchor rect. This means that we need
to trust content to tell us to close the autocomplete popup if the input is clicked when
the popup is open (and this is what
bug 1183037, which this bug depends on, does).
MozReview-Commit-ID: 4A9qVfTYIUz
6f334e502eec9f25fb1dde6b5db98e9c0b826dba: Bug 1183037: Ensure that autocomplete popups can be displayed again after being dismissed the first time. r=mconley
draft
Mike Conley <mconley@mozilla.com> - Mon, 24 Oct 2016 11:43:54 -0400 - rev 428743
Push
33411 by mconley@mozilla.com at Mon, 24 Oct 2016 15:45:02 +0000
Bug 1183037: Ensure that autocomplete popups can be displayed again after being dismissed the first time. r=mconley
MozReview-Commit-ID: 1MTGIgcWeh4
dd3dc34a032f22abf3fd7f85556b47ffbeec55b2: Bug 1311606 Rename |result| of nsresult variants to |rv| in editor r=smaug
draft
Masayuki Nakano <masayuki@d-toybox.com> - Tue, 25 Oct 2016 00:43:49 +0900 - rev 428742
Push
33410 by masayuki@d-toybox.com at Mon, 24 Oct 2016 15:44:48 +0000
Bug 1311606 Rename |result| of nsresult variants to |rv| in editor r=smaug
For conforming to our coding rules, |result| of nsresult variants should be renamed to |rv|.
MozReview-Commit-ID: Bk8CyLAnvXQ
aec15addce71c2d503179943552d5de910534fe6: Bug 1312244 - Autocomplete popup does not close when anchor clicked a second time. r?Enn
draft
Mike Conley <mconley@mozilla.com> - Mon, 24 Oct 2016 11:32:10 -0400 - rev 428741
Push
33409 by mconley@mozilla.com at Mon, 24 Oct 2016 15:42:20 +0000
Bug 1312244 - Autocomplete popup does not close when anchor clicked a second time. r?Enn
The popuphiding / popuphidden events are fired synchronously when the popup manager
decides we're doing a "rollup" (closing the popups due to "outside" events). In the case
of this bug, the "outside" event is a click on the input element in content.
Here's the kicker though: we handle that popuphidden event and queue a message to content
_before_ the mouse event that caused the roll-up is dispatched to content. This means that
browser-content.js hears that the popup closed due to popuphidden first, sets its internal
state of popupClosed to true, and then the MouseDown on the input field is processed. The
nsFormFillController then queries browser-content's AutoCompletePopup, sees its closed,
and tells the parent to open it again.
This patch adds the norolluponanchor attribute to the panel, which causes us to ignore the
rollup event if it happens to be targeted within the anchor rect. This means that we need
to trust content to tell us to close the autocomplete popup if the input is clicked when
the popup is open (and this is what
bug 1183037, which this bug depends on, does).
MozReview-Commit-ID: 4A9qVfTYIUz
db7cd1b378b56e9036f041446addddcd5af1bad7: Bug 1285555 - [flake8] Automatically install/update flake8 package to correct version r?ahal
draft
Francesco Pischedda <francesco.pischedda@gmail.com> - Sat, 15 Oct 2016 09:45:22 +0200 - rev 428740
Push
33408 by bmo:francesco.pischedda@gmail.com at Mon, 24 Oct 2016 15:39:26 +0000
Bug 1285555 - [flake8] Automatically install/update flake8 package to correct version r?ahal
Changed flake8 installation strategy, try to update it using testings/lint/flake8_requirements.txt
moved flake8_requirements to tools/lint/flake8 directory
extracted common pip invocations to _run_pip function
minor fixes
fixed calls to check_process (concatenating list to tuple)
removed update_pip function and its error message variable
if flake8 installation reports and error print pip command output
MozReview-Commit-ID: Fmq22aL8dMq
46277881f3eb0d9c21a273884db638438b5bc2ab: Bug 1311606 Rename |result| of nsresult variants to |rv| in editor r=smaug
draft
Masayuki Nakano <masayuki@d-toybox.com> - Tue, 25 Oct 2016 00:37:32 +0900 - rev 428739
Push
33407 by masayuki@d-toybox.com at Mon, 24 Oct 2016 15:39:12 +0000
Bug 1311606 Rename |result| of nsresult variants to |rv| in editor r=smaug
For conforming to our coding rules, |result| of nsresult variants should be renamed to |rv|.
MozReview-Commit-ID: Bk8CyLAnvXQ
b218e92e8b1a40e7d98161a734e72faade20eb4f: Bug 1311606 Rename |result| of nsresult variants to |rv| in editor r=smaug
draft
Masayuki Nakano <masayuki@d-toybox.com> - Tue, 25 Oct 2016 00:32:51 +0900 - rev 428738
Push
33406 by masayuki@d-toybox.com at Mon, 24 Oct 2016 15:34:22 +0000
Bug 1311606 Rename |result| of nsresult variants to |rv| in editor r=smaug
For conforming to our coding rules, |result| of nsresult variants should be renamed to |rv|.
MozReview-Commit-ID: Bk8CyLAnvXQ
ed4e3959562ad852bcab8c15d7741102d951f57c: Bug 1312304: Don't MOZ_CRASH when we use ICE policy "none". r?drno
draft
Byron Campen [:bwc] <docfaraday@gmail.com> - Mon, 24 Oct 2016 10:32:34 -0500 - rev 428737
Push
33405 by bcampen@mozilla.com at Mon, 24 Oct 2016 15:32:53 +0000
Bug 1312304: Don't MOZ_CRASH when we use ICE policy "none". r?drno
MozReview-Commit-ID: CmRk7o4GdLc
c845bfd0accb7e0c29b41713255963b08006e701: merge mozilla-inbound to mozilla-central a=merge
Carsten "Tomcat" Book <cbook@mozilla.com> - Mon, 24 Oct 2016 16:55:47 +0200 - rev 428736
Push
33405 by bcampen@mozilla.com at Mon, 24 Oct 2016 15:32:53 +0000
merge mozilla-inbound to mozilla-central a=merge
08efaee1d568cea9e70c86a7eca49c3c53553ed8: Bug 1308440 - fix related contextMenu tests; r=Tomcat
Fred Lin <gasolin@mozilla.com> - Mon, 24 Oct 2016 03:21:00 +0200 - rev 428735
Push
33405 by bcampen@mozilla.com at Mon, 24 Oct 2016 15:32:53 +0000
Bug 1308440 - fix related contextMenu tests; r=Tomcat
MozReview-Commit-ID: BXBm42C1Xu
c0a8fecacb46f22d16205470dfdeb5e6aea815f8: Bug 1287007 - Fix timing issue in browser_ext_windows_create_tabId.js r=billm
Rob Wu <rob@robwu.nl> - Fri, 21 Oct 2016 01:35:03 +0200 - rev 428734
Push
33405 by bcampen@mozilla.com at Mon, 24 Oct 2016 15:32:53 +0000
Bug 1287007 - Fix timing issue in browser_ext_windows_create_tabId.js r=billm
When tabs.onUpdated is called before the promise of windows.create
resolves, the test fails.
This test failure was observed on almost every try run with non-e10s,
and sometimes (rarely) with e10s.
MozReview-Commit-ID: 3znCP1uAUSB
f10221d238ac3f5bb4e0f2a00591291d4ee4cee9: Bug 1287007 - Work-around for test failure in test_ext_cookies.html r=billm
Rob Wu <rob@robwu.nl> - Wed, 12 Oct 2016 19:13:46 +0200 - rev 428733
Push
33405 by bcampen@mozilla.com at Mon, 24 Oct 2016 15:32:53 +0000
Bug 1287007 - Work-around for test failure in test_ext_cookies.html r=billm
There is a timing-sensitive bug in window.create and/or cookies API.
I haven't figured out the exact details, but created a minimal
test case and reported it at bugzil.la/1309637
Without this patch, the test will fail as described in that bug report.
MozReview-Commit-ID: DiJOao8h8Q7
434598e8b200a661b6a4dafb667ad9299ed92396: Bug 1287007 - Fix timing issue in browser_ext_contextMenus.js r=billm
Rob Wu <rob@robwu.nl> - Wed, 12 Oct 2016 01:10:33 +0200 - rev 428732
Push
33405 by bcampen@mozilla.com at Mon, 24 Oct 2016 15:32:53 +0000
Bug 1287007 - Fix timing issue in browser_ext_contextMenus.js r=billm
MozReview-Commit-ID: D7No2zFUWjf
424e3fa0b282b076767bbf13d61db59f1b03acae: Bug 1287007 - Adjust state test in browser_ext_windows_update.js on Linux r=kmag
Rob Wu <rob@robwu.nl> - Mon, 03 Oct 2016 01:13:32 +0200 - rev 428731
Push
33405 by bcampen@mozilla.com at Mon, 24 Oct 2016 15:32:53 +0000
Bug 1287007 - Adjust state test in browser_ext_windows_update.js on Linux r=kmag
The test/browser/browser_ext_windows_update.js test fails on Linux.
The window ID is not expected to change, add assertion for it to
eliminate causes for test failures.
Ultimately, it turns out that the test failure is caused by a defect
in the implementation, not the test itself, see bugzil.la/1307759
MozReview-Commit-ID: Lo8IIvcfYQ2
3915db2d27b13a14d1647ceb5370d6cbc04582e5: Bug 1287007 - Fix timing issue in browser_ext_tabs_onUpdated.js r=billm
Rob Wu <rob@robwu.nl> - Sat, 01 Oct 2016 01:07:22 +0200 - rev 428730
Push
33405 by bcampen@mozilla.com at Mon, 24 Oct 2016 15:32:53 +0000
Bug 1287007 - Fix timing issue in browser_ext_tabs_onUpdated.js r=billm
Reload about:blank tab after opening it and registering the
`tabs.onUpdated` event. This is needed because about:blank loads very
fast, before the callback of `tabs.create` is invoked. This effect is
amplified by the fact that the APIs are now proxied.
MozReview-Commit-ID: DgPtIqHSUDx
e6a612e71387531f50d8fab977f3c6151cf2f561: Bug 1287007 - Remove contextMenusInternal.onClicked r=billm
Rob Wu <rob@robwu.nl> - Sat, 01 Oct 2016 00:46:19 +0200 - rev 428729
Push
33405 by bcampen@mozilla.com at Mon, 24 Oct 2016 15:32:53 +0000
Bug 1287007 - Remove contextMenusInternal.onClicked r=billm
contextMenusInternal.onClicked is already inlined in context_menus.json.
It should be removed because otherwise the
`browser.contextMenusInternal.onClicked` API would be generated.
MozReview-Commit-ID: LAKd2IGM5GU
daf166cb192a1d04c7a2703d89b5c626f356c070: Bug 1287007 - Fix timing issue in test_delay_update_webextension.js r=rhelmer
Rob Wu <rob@robwu.nl> - Sat, 24 Sep 2016 14:54:53 +0200 - rev 428728
Push
33405 by bcampen@mozilla.com at Mon, 24 Oct 2016 15:32:53 +0000
Bug 1287007 - Fix timing issue in test_delay_update_webextension.js r=rhelmer
The onUpdateAvailable listener is asynchronously notified, so the caller
(i.e. the test) cannot assume that a message sent immediately after
triggering an update would trigger the `browser.test.onMessage` listener
that was added in the onUpdateAvailable event handler.
MozReview-Commit-ID: 12n64f5l3RA
2b6e6f6614091834bcadaca619909b2a2033fa5c: Bug 1287007 - Make browser_ext_tabs_executeScript.js reliable r=billm
Rob Wu <rob@robwu.nl> - Thu, 15 Sep 2016 15:53:03 -0700 - rev 428727
Push
33405 by bcampen@mozilla.com at Mon, 24 Oct 2016 15:32:53 +0000
Bug 1287007 - Make browser_ext_tabs_executeScript.js reliable r=billm
The ProxyMessenger registers a listener whenever the first addon
starts. Although the map does not have any listeners any more at
the end of the test, the listener itself is not removed because
the message-manager-close notification is not sent for them.
So do not count these persistent message managers in the test.
The actual message managers of interest are those associated with
the (closed) tab.
Note: When the test is run in isolation, it may still fail due
to bugzil.la/1293583. See bug for work-around if you want to test.
MozReview-Commit-ID: IiDHhmvQPcv
437ef72ca3543d70dd1e106830ec5fee02e03d97: Bug 1287007 - Make window.close in extension pages async r=billm
Rob Wu <rob@robwu.nl> - Tue, 13 Sep 2016 20:26:18 -0700 - rev 428726
Push
33405 by bcampen@mozilla.com at Mon, 24 Oct 2016 15:32:53 +0000
Bug 1287007 - Make window.close in extension pages async r=billm
Test coverage by tabs.onRemoved + window.close() in:
toolkit/components/extensions/test/mochitest/test_ext_tab_teardown.html
MozReview-Commit-ID: 7asg2XGrTaQ
919c8b9e2ab4ef7aa51f7cf91c6c738a77e592e2: Bug 1287007 - Remove .contentWindow from ProxyContext r=billm
Rob Wu <rob@robwu.nl> - Tue, 13 Sep 2016 16:02:03 -0700 - rev 428725
Push
33405 by bcampen@mozilla.com at Mon, 24 Oct 2016 15:32:53 +0000
Bug 1287007 - Remove .contentWindow from ProxyContext r=billm
MozReview-Commit-ID: ASNigrM07yz