gecko/layout/reftests/selection
Nathan Froyd d07142b841 Bug 858203 - mark more reftests as needs-focus; r=dholbert
1. Start headless X server.  Start basic window manager on it.
2. Run reftests with said X server.  Take note of failing tests.
3. Disable all reftests that need focus:

   find $topsrcdir -name '*.list' | xargs sed -i -e '/needs-focus/s/^/#/'

4. Make reftest.js:Focus never focus the window and always return true.
5. Start reftests with said X server again.  Once the tests begin
   running, start a xterm on the same X server.  The window manager will
   focus this xterm and will not return focus to the browser.
6. Compare now-failing tests with baseline.  Mark all such tests as
   needs-focus.

Comments on specific tests:

editor/reftests/
- spellcheck-input-ref.html and spellcheck-textarea-ref.html focus
  input elements and don't work right without the window having focus.
- spellcheck-hyphen-invalid-ref.html and
  spellcheck-hyphen-multiple-invalid-ref.html use @autofocus on
  textarea.
- 674212-spellcheck.html, 338427-2.html, and
  462758-grabbers-resizers.html all wait for onfocus for div elements.

layout/reftests/bugs/
- 652301-1b.html focuses a bogus element with an onfocus handler.

layout/reftests/selection/
- pseudo-element-of-native-anonymous-ref.html .select()s an <input>.
2013-04-04 15:02:30 -04:00
..
addrange-1.html
addrange-2.html
addrange-ref.html
dom-mutations-ref.html
dom-mutations.html
dynamic-text-1-ref.html
dynamic-text-1a.html
dynamic-text-1b.html
extend-1-ref.html
extend-1-sanity.html
extend-1a.html
extend-1b.html
extend-1c.html
extend-1d.html
extend-1e.html
extend-1f.html
extend-1g.html
extend-1h.html
extend-1i.html
extend-2-ref.html
extend-2a.html
extend-2b.html
extend-3-ref.html
extend-3-sanity.html
extend-3a.html
extend-3b.html
extend-3c.html
extend-3d.html
extend-3e.html
extend-3f.html
extend-3g.html
extend-3h.html
extend-3i.html
extend-4-ref.html
extend-4a.html
extend-4b.html
modify-range-ref.html
modify-range.html
non-themed-widget-ref.html
non-themed-widget.html
pseudo-element-of-native-anonymous-ref.html
pseudo-element-of-native-anonymous.html
reftest.list
splitText-normalize-ref.html
splitText-normalize.html
splitText-normalize.js
themed-widget-ref.html
themed-widget.html